What would you do if you knew? Teradata Debugger for C/C++ UDF User Guide Release B K January 2016

Size: px
Start display at page:

Download "What would you do if you knew? Teradata Debugger for C/C++ UDF User Guide Release B K January 2016"

Transcription

1 What would you do if you knew? Teradata Debugger for C/C++ UDF User Guide Release B K January 2016

2 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active Data Warehousing, Active Enterprise Intelligence, Applications-Within, Aprimo Marketing Studio, Aster, BYNET, Claraview, DecisionCast, Gridscale, MyCommerce, QueryGrid, SQL-MapReduce, Teradata Decision Experts, "Teradata Labs" logo, Teradata ServiceConnect, Teradata Source Experts, WebAnalyst, and Xkoto are trademarks or registered trademarks of Teradata Corporation or its affiliates in the United States and other countries. Adaptec and SCSISelect are trademarks or registered trademarks of Adaptec, Inc. AMD Opteron and Opteron are trademarks of Advanced Micro Devices, Inc. Apache, Apache Avro, Apache Hadoop, Apache Hive, Hadoop, and the yellow elephant logo are either registered trademarks or trademarks of the Apache Software Foundation in the United States and/or other countries. Apple, Mac, and OS X all are registered trademarks of Apple Inc. Axeda is a registered trademark of Axeda Corporation. Axeda Agents, Axeda Applications, Axeda Policy Manager, Axeda Enterprise, Axeda Access, Axeda Software Management, Axeda Service, Axeda ServiceLink, and Firewall-Friendly are trademarks and Maximum Results and Maximum Support are servicemarks of Axeda Corporation. Data Domain, EMC, PowerPath, SRDF, and Symmetrix are registered trademarks of EMC Corporation. GoldenGate is a trademark of Oracle. Hewlett-Packard and HP are registered trademarks of Hewlett-Packard Company. Hortonworks, the Hortonworks logo and other Hortonworks trademarks are trademarks of Hortonworks Inc. in the United States and other countries. Intel, Pentium, and XEON are registered trademarks of Intel Corporation. IBM, CICS, RACF, Tivoli, and z/os are registered trademarks of International Business Machines Corporation. Linux is a registered trademark of Linus Torvalds. LSI is a registered trademark of LSI Corporation. Microsoft, Active Directory, Windows, Windows NT, and Windows Server are registered trademarks of Microsoft Corporation in the United States and other countries. NetVault is a trademark or registered trademark of Dell Inc. in the United States and/or other countries. Novell and SUSE are registered trademarks of Novell, Inc., in the United States and other countries. Oracle, Java, and Solaris are registered trademarks of Oracle and/or its affiliates. QLogic and SANbox are trademarks or registered trademarks of QLogic Corporation. Quantum and the Quantum logo are trademarks of Quantum Corporation, registered in the U.S.A. and other countries. Red Hat is a trademark of Red Hat, Inc., registered in the U.S. and other countries. Used under license. SAP is the trademark or registered trademark of SAP AG in Germany and in several other countries. SAS and SAS/C are trademarks or registered trademarks of SAS Institute Inc. Simba, the Simba logo, SimbaEngine, SimbaEngine C/S, SimbaExpress and SimbaLib are registered trademarks of Simba Technologies Inc. SPARC is a registered trademark of SPARC International, Inc. Symantec, NetBackup, and VERITAS are trademarks or registered trademarks of Symantec Corporation or its affiliates in the United States and other countries. Unicode is a registered trademark of Unicode, Inc. in the United States and other countries. UNIX is a registered trademark of The Open Group in the United States and other countries. Other product and company names mentioned herein may be the trademarks of their respective owners. The information contained in this document is provided on an "as-is" basis, without warranty of any kind, either express or implied, including the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. Some jurisdictions do not allow the exclusion of implied warranties, so the above exclusion may not apply to you. In no event will Teradata Corporation be liable for any indirect, direct, special, incidental, or consequential damages, including lost profits or lost savings, even if expressly advised of the possibility of such damages. The information contained in this document may contain references or cross-references to features, functions, products, or services that are not announced or available in your country. Such references do not imply that Teradata Corporation intends to announce such features, functions, products, or services in your country. Please consult your local Teradata Corporation representative for those features, functions, products, or services available in your country. Information contained in this document may contain technical inaccuracies or typographical errors. Information may be changed or updated without notice. Teradata Corporation may also make improvements or changes in the products or services described in this information at any time without notice. To maintain the quality of our products and services, we would like your comments on the accuracy, clarity, organization, and value of this document. Please teradata-books@lists.teradata.com Any comments or materials (collectively referred to as "Feedback") sent to Teradata Corporation will be deemed non-confidential. Teradata Corporation will have no obligation of any kind with respect to Feedback and will be free to use, reproduce, disclose, exhibit, display, transform, create derivative works of, and distribute the Feedback and derivative works thereof without limitation on a royalty-free basis. Further, Teradata Corporation will be free to use any ideas, concepts, know-how, or techniques contained in such Feedback for any purpose whatsoever, including developing, manufacturing, or marketing products or services incorporating Feedback. Copyright 2016 by Teradata. All Rights Reserved.

3 Table of Contents Preface...5 Purpose... 5 Audience... 5 Revision History... 5 Supported Releases... 5 Additional Information...6 Related Links...6 Related Documentation...6 Customer Education... 6 Product Safety Information...6 Chapter 1: Introduction...7 Teradata Debugger for C/C++ UDF Overview... 7 Capabilities... 7 Recommended Test Environment... 8 Debug Configuration Types... 8 Working with Online Help... 9 Setting the Key Binding... 9 Chapter 2: Configuring a Debug Session...11 Running a UDF Query in Debug Mode Adding the Debugger Port Debug Configurations...11 Project and Source Code Management Linking a Source Folder to a Project...13 Creating a Remote Debug Configuration Creating a Local Debug Configuration Starting a Debug Session Teradata Debugger for C/C++ UDF User Guide, Release

4 Table of Contents Chapter 3: Working with the Debugger...17 Editor View Displaying Source Code Setting a Line Breakpoint Setting a Function Breakpoint Setting a Conditional Breakpoint Debug View...19 Basic Debug View Functions...20 Teradata Debug View Functions...20 Aborting a Query Adding a UDF...21 Holding and Unholding UDF Threads...21 Locating the Current Thread Secondary Breakpoints Teradata Watchpoint View...22 Opening the Teradata Watchpoint View Adding a Watchpoint Removing a Watchpoint Teradata Map View Opening the Teradata Map View...24 Console View Monitoring the Backend Teradata Debugger for C/C++ UDF User Guide, Release 15.10

5 Preface Purpose The Teradata Debugger for C/C++ UDF User Guide describes how to use the Teradata Debugger for C/C++ UDF Eclipse plug-in to debug Teradata Database user-defined functions (UDFs), user-defined methods (UDMs), and external stored procedures. Audience This guide is intended for use by: Teradata Database administrators Developers of C/C++ user-defined functions, user-defined methods, and external stored procedures Revision History Date Release Description January Initial release Supported Releases The Teradata Debugger for C/C++ UDF Eclipse plug-in supports Teradata Database release and later releases. Teradata Debugger for C/C++ UDF User Guide, Release

6 Preface Additional Information Related Links URL Description Use Teradata At Your Service to access Orange Books, technical alerts, and knowledge repositories, view and join forums, and download software packages. External site for product, service, resource, support, and other customer information. Related Documentation Documents are located at Title Teradata Debugger for C/C++ UDF Installation Guide Publication ID B Describes how to install the Teradata Debugger for C/C++ UDF Eclipse plug-in. SQL External Routine Programming B Describes how to program Teradata Database user-defined functions (UDFs), user-defined methods (UDMs), and external stored procedures. SQL Data Control Language B Describes the Teradata SQL Data Control Language (DCL) statements used to manage access to the database objects and data in the system. Customer Education Teradata Customer Education delivers training for your global workforce, including scheduled public courses, customized on-site training, and web-based training. For information about the classes, schedules, and the Teradata Certification Program, go to Product Safety Information This document may contain information addressing product safety practices related to data or property damage, identified by the word Notice. A notice indicates a situation which, if not avoided, could result in damage to property, such as equipment or data, but not related to personal injury. Example Notice: Improper use of the Reconfiguration utility can result in data loss. 6 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

7 CHAPTER 1 Introduction Teradata Debugger for C/C++ UDF Overview The Teradata Debugger for C/C++ UDF Eclipse plug-in (referred to hereafter as the Debugger) provides a full-featured graphical user interface to the Teradata UDF Debugger (referred to as tdgdb). Prior to the introduction of this plug-in, users could only run the tdgdb executable from a Linux command line. The command line option is still available for those users who prefer it. The Debugger provides an integrated Teradata Database debugging environment that enhances the information available from tdgdb and frees users from having to remember tdgdb commands. The Debugger supports external routines running in secure or protected mode. It does not support routines running in unprotected mode. UDFs that are intended to run in unprotected mode can be debugged in secure or protected mode and then altered to run in unprotected mode when they are working properly. The Debugger enables users to debug the following external routines from a Windows, SLES11, or Mac OS client machine: User-defined functions (UDFs), including scalar, aggregate, table functions, and table operators User-defined methods (UDMs) External stored procedures that do not use Call-Level Interface Version 2 (CLIv2) The Debugger documentation uses the term UDFs to refer collectively to UDFs, UDMs, and external stored procedures. Capabilities Debugging external routines poses challenges in a Teradata Database environment. Due to the massively parallel nature of Teradata Database, external routines can run in multiple processes on multiple nodes. Standard debuggers, such as GDB, require users to attach to each UDF server process manually, in separate debugging sessions. The Teradata UDF Debugger (tdgdb) attaches automatically to every UDF server process associated with a SQL request and controls those UDFs from a single debugging session. Teradata Database users can debug a UDF within a SQL session if they have the necessary permissions, which are documented in the SQL Data Control Language publication, B Security is provided so that multiple users can concurrently debug their UDFs running on the same Teradata Database system. Users can only debug the UDFs running in Teradata Debugger for C/C++ UDF User Guide, Release

8 Chapter 1 Introduction their own SQL sessions. Nothing from other sessions is visible, and the debugger encrypts its message traffic to deter eavesdropping. The Debugger enables users to perform most of the operations that GDB provides, but some functionality is optimized for a parallel environment. For example, when a breakpoint is hit in one UDF thread, all UDF threads in that debugger session are stopped. Step commands are performed on the current thread, while the rest of the UDF threads remain suspended. When the Resume command is entered, all threads resume execution, with the exception of threads that have been explicitly held via the Hold command. Users can perform basic debug operations including: Setting and displaying breakpoints Displaying variables and modifying their values Watching variables or memory locations Stepping through code Suspending, resuming, and terminating a debug session Displaying the function call stack Displaying the source code In addition, the Debugger provides functionality for new GDB commands including: Listing the UDFs available for debugging Joining UDFs to a debugger session Aborting the current database request Recommended Test Environment Notice: Debugging on a production system is not recommended. The Debugger is intended for use only on development or test systems. Running it in a production environment raises the risk of debugging activities impacting critical workloads in a number of ways. Potential impacts on workloads include, but are not limited to, skewed performance measurement due to long-running UDFs, database locks held by UDFs being debugged, and additional memory consumption due to debugger processing. Debug Configuration Types Teradata Debugger for C/C++ UDF offers two debug configurations, each corresponding to a different method of running Teradata UDF Debugger (tdgdb) to debug UDFs. Method Remote: Run tdgdb on the Teradata Database system Requirements A Linux account has been created on Teradata Database. Note that root privileges are not required to run Teradata UDF Debugger (tdgdb). SSH port 22 is open on the Teradata Database system. 8 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

9 Chapter 1 Introduction Method Local: Run tdgdb on the local machine Requirements Teradata UDF Debugger (tdgdb) is available on the local machine. Teradata UDF Debugger port 6276 is open on the Teradata Database system. You must select one of these two types when you configure a debugging session. Working with Online Help Eclipse online help includes extensive documentation for a variety of users and purposes. This user guide focuses on documenting what is different and specific to the Debugger. The contents of this user guide are available in Eclipse's online help by searching for "CUDB." In addition, you can view context-sensitive online Help by pressing the F1 key. Setting the Key Binding Pressing the F1 key should display context-sensitive help. If it does not, use the procedure below to set the key binding. 1 From the Window menu, select Preferences > General > Keys. 2 From the Command list, click Dynamic Help. 3 In the Binding box, enter F1. 4 Click OK. Teradata Debugger for C/C++ UDF User Guide, Release

10 Chapter 1 Introduction 10 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

11 CHAPTER 2 Configuring a Debug Session Running a UDF Query in Debug Mode The UDF must be installed and the session debug feature enabled on Teradata Database prior to running the query. You also need appropriate privileges. If you are the creator of the UDF, you already have all the required privileges to debug the UDF. If you are debugging a UDF created by another user, you must have EXECUTE and DROP privileges on the UDF in order to be able to see its source code. 1 Type set session debug function FunctionName on;, where FunctionName is replaced by the actual name of the UDF you want to debug. For example, type: set session debug function udf_add on; 2 Type the query line as usual. For example, type: sel udf_add(1,2); After the two lines are submitted the query is suspended in debug hold mode, pending attachment to the Debugger. Adding the Debugger Port If you are using Teradata UDF Debugger (tdgdb) on your local machine to connect to the Debugger server on Teradata Database, port 6276 must be open on the Teradata Database server. 1 Add the following line to /etc/services on your local system: udfdbg 6276/tcp # PDE UDF Debugger Debug Configurations The Debug Configurations dialog box enables you to create, manage, and run debug configurations. The pane on the left side lists the debugging configuration types, and you can click each type to open up a list of the defined configurations of that type. There are two types of Teradata C/C++ UDF debugging configurations listed. You must first select a configuration type in order to create the configuration. Teradata Debugger for C/C++ UDF User Guide, Release

12 Chapter 2 Configuring a Debug Session Teradata Debugger for C/C++ UDF (Local), for debugging UDFs using local Teradata UDF Debugger (tdgdb) Teradata Debugger for C/C++ UDF (Remote), for debugging UDFs using an SSH connection The toolbar buttons at the top of the left pane enable you to create and manage debug configurations. Icon Description Creates a new debug configuration Duplicates the selected configuration Deletes the selected configuration When you create or duplicate a configuration, the configuration fields display in the right pane. You must enter a Name for each configuration you create. This name is displayed as the launch name in the Debug view. Use the Connect tab to configure connection settings. Field Connection New Edit Teradata Server Teradata Username Teradata Password TDGDB Debugger Project Change session/udf Description Lists SSH connection names. Select the connection to be used in the debug configuration, or click New to create a new connection. Enables creation of a new SSH connection. Clicking this button opens the New Connection dialog box. Designate a Host name and Connection name and click Finish to create a new connection. Enables you to edit the selected SSH connection. Clicking this button opens the Properties dialog box for the selected SSH connection. Modify the information in the fields as needed, and click Finish to save the changes. The target Teradata Database server for configurations that connect using Teradata UDF Debugger (tdgdb) on the local machine. The Teradata Database username. This username must be the same as the username that submits the query to call the UDF to debug. The password of the Teradata Database user. Enables you to enter or browse to the location on your local machine where Teradata UDF Debugger (tdgdb) is installed. Enables you to select the project that contains the UDF source code. Indicates whether you want to debug a new UDF session or name (selected) or debug the same one as the last time (deselected). Use the Source tab to designate one or more source lookup paths. Button Add Description Enables you to add a path, directory, path, folder, or project 12 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

13 Chapter 2 Configuring a Debug Session Button Edit Remove Restores Default Description Modifies the content of the selected source container Removes the selected lookup path Restores the default lookup path Project and Source Code Management When debugging, the source code of the UDF must be accessible. The Debugger provides two options for managing the project and source code: Project-less debugging The Debugger creates a default project called "defaultudf" if you leave the Project box empty when creating a new configuration using the Debug Configurations view. You can then add the source code lookup path using the Source tab in the Debug Configurations view before running the debugger or at the initial debug stop. New project creation You can create a new C/C++ project in the C/C++ perspective of Eclipse, and either create the source file in the project or link the source folder to the project. Linking a Source Folder to a Project If you create an Eclipse project for use with the Debugger, you can link the folder with the source code to it. If you choose not do this, you can still specify a source lookup path when you designate a debug configuration. 1 In the Project Explorer view, right-click the new project name and select Properties. 2 In the left panel, under C/C++ General, click Paths and Symbols. 3 Click the Source Location tab, and then Link Folder. 4 Select the Link to folder in the file system check box. 5 Click Browse, navigate to the folder, and click OK to close the New Folder dialog box. 6 Click OK to close the Properties dialog box. Creating a Remote Debug Configuration Use the Debug Configurations dialog box to designate connection and source settings for your debug configurations. 1 In the Eclipse toolbar, click and select Debug Configurations. 2 In the left pane, select the Teradata Debugger for C/C++ UDF (Remote) launch configuration type. Teradata Debugger for C/C++ UDF User Guide, Release

14 Chapter 2 Configuring a Debug Session 3 Click. The launch configuration fields are displayed in the right panel. 4 Enter a Name for the debug configuration. The name is displayed as the launch name in the Debug view. 5 Configure the connection to Teradata Database by doing the following: a b c d e f Click New to open the New Connection dialog box. Enter the Host name or IP address of the target Teradata Database system. Enter the Connection name that is unique to the profile. [Optional] Enter a Description. [Optional] Select Verify host name to verify that a host of the given name or IP address exists. Click Finish. 6 Enter the Teradata Username for the target Teradata Database. This user name must be the same as the one that submits the query that calls the UDF to debug. 7 Enter the Teradata Password for the Teradata Database user. 8 Click the Save password check box if you want the password to be retained. By default, it is not selected. 9 For the Project field, do one of the following: Leave the field blank. When you launch the configuration, the Debugger automatically creates a project, assigning it the name defaultudf. Click Select to choose the project that contains the UDF source code. 10 For the Change session/udf check box, do one of the following: If you want to debug a new UDF session or name, select the check box. If you want to debug the same one as the last time, clear the check box. 11 Click Apply. Creating a Local Debug Configuration Use the Debug Configurations dialog box to designate connection and source settings for your debug configurations. 1 In the Eclipse toolbar, click and select Debug Configurations. 2 In the left pane, select the Teradata Debugger for C/C++ UDF (Local) launch configuration type. 3 Click. 14 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

15 Chapter 2 Configuring a Debug Session The launch configuration fields are displayed in the right panel. 4 Enter a Name for the debug configuration. The name is displayed as the launch name in the Debug view. 5 Enter the Teradata Server name. 6 Enter the Teradata Username for the target Teradata Database. This user name must be the same as the one that submits the query that calls the UDF to debug. 7 Enter the Teradata Password for the Teradata Database user. 8 Click the Save password check box if you want the password to be retained. By default, it is not selected. 9 Enter the path of the location on your local machine where the TDGDB Debugger is installed or click Browse and navigate to it. 10 For the Project field, do one of the following: Leave the field blank. When you launch the configuration, the Debugger automatically creates a project, assigning it the name defaultudf. Click Select to choose the project that contains the UDF source code. 11 For the Change session/udf check box, do one of the following: To debug a new UDF session or name, select the check box. To debug the same UDF as the last time, clear the check box. 12 Click Apply. Starting a Debug Session Prerequisite: You must have executed the Set Session Debug Function command for the UDF and submitted the query that calls it. You must have created a debug configuration with all the required information. 1 In the Eclipse toolbar, click and select Debug Configurations. 2 Select the Connection from the list. 3 Click Debug. If this is the first time using a new SSH connection to a Teradata Database system in an Eclipse session, an Enter Password dialog box opens. Otherwise the UDF Sessions and Names dialog box opens. a For a new SSH connection, enter the User ID and system Password in the Enter Password dialog box and click OK. 4 In the UDF Sessions and Names dialog box, select the UDF to debug from the list. You may need to click to update the list. Teradata Debugger for C/C++ UDF User Guide, Release

16 Chapter 2 Configuring a Debug Session 5 [Optional] Select the Debug all UDFs in this session check box to debug any UDFs other than the selected one later in the same SQL session. 6 Click Debug. The session is at the initial debug stop, and the Debug view display all UDF threads in the current debug session. 16 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

17 CHAPTER 3 Working with the Debugger Editor View The Editor view displays the source C or C++ code of the UDF so that you can set breakpoints and view the code as the Debugger navigates through it. It includes a syntax highlighting feature and integrates with the basic debug functions. The Editor view does not contain a toolbar itself, but you can use the following basic debug buttons in the main Eclipse toolbar and follow the code in the Editor as it is executed. Toolbar Button Action Description Step Into Step Over Step Return Executes the current line, including any routines, and proceeds to the next statement. Executes the current line, following execution inside a routine. Continues execution to the end of the current routine, then follow execution to the routine's caller. In addition the context menu displayed when you right-click enables you to perform the following Debugger activities. Context Menu Graphic Label Run to Line Move to Line Resume at Line Add Teradata Watchpoint Description Places a temporary breakpoint at the selected line and continues execution of the code until that breakpoint, unless another breakpoint is reached before that line. Skips over (does not execute) the code from the current line until the selected line, at which point execution halts. Skips over (does not execute) the code from the current line until the selected line, at which point execution continues. Adds a special breakpoint that stops the execution of the UDF whenever the watched address is written to, read from, or executed. The Editor view is associated with the Outline view that shows the structure of the active C or C++ file. The Outline view is updated when you edit the file. Teradata Debugger for C/C++ UDF User Guide, Release

18 Chapter 3 Working with the Debugger Displaying Source Code You can open the source code for the UDF before beginning the debug session so that the code is displayed in the Editor view and you can set breakpoints. 1 Click File > Open File. 2 Navigate to and select the UDF source code file. 3 Click Open. The source file is displayed in the Editor view. Setting a Line Breakpoint You can set a line breakpoint on an executable line of the UDF so that the execution suspends before that line of code executes. 1 Open the source file to display it in the Editor view. 2 Right-click in the vertical blue area to the left of the line number at which you want to set a breakpoint, and select one of the following: Option Add Breakpoint Description Opens a dialog box that enables you to designate breakpoint properties and sets the breakpoint. Toggle Breakpoint Sets the breakpoint using default properties. Click again to remove the breakpoint. A line breakpoint symbol appears to the left of the line number to indicate that a breakpoint is set, and the breakpoint is listed in the Breakpoints view. Setting a Function Breakpoint You can set a breakpoint at the beginning of a function. 1 Open the source file to display it in the Editor view. 2 In the associated Outline view, right-click on the function where you want to set a breakpoint, and select Toggle Breakpoint. A function breakpoint symbol appears to the left of the line number to indicate that a breakpoint is set, and the breakpoint is listed in the Breakpoints view. Setting a Conditional Breakpoint You can set a conditional breakpoint so that the value of an expression is evaluated when the breakpoint is reached and execution stopped if the condition is true. 1 Open the source file to display it in the Editor view. 18 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

19 Chapter 3 Working with the Debugger 2 Do one of the following: Option Create a new conditional breakpoint Add a condition to an existing breakpoint Description a. Right-click in the vertical blue area to the left of the line number and select Add Breakpoint. b. Enter the expression in the Condition box. c. Click OK. a. Right-click on the breakpoint icon and select Breakpoint Properties. b. In the left pane, select Common. c. Enter the expression in the Condition box. d. Click OK. A conditional breakpoint symbol appears to the left of the line number to indicate that a conditional breakpoint is set, and the breakpoint is listed in the Breakpoints view. Debug View The Debug view shows the target debugging information in a tree hierarchy. As the UDF code is executed, each virtual processor (vproc) and process being used is displayed, with their associated threads and tasks displayed underneath. When a breakpoint is hit, all UDF threads in the debug session will be stopped. The thread that reaches the breakpoint first is identified as the primary thread, and is displayed as the Current Thread with the notation Suspended: Breakpoint. Any other threads that would have reach a breakpoint when being stopped are labeled as Secondary Breakpoint threads, and are highlighted in light green. The Debug view has a toolbar with buttons for three special Debugger functions. Toolbar Button Action Description Locate Current Thread Abort Query Add UDF Locates and selects the current thread in the view. Due an Eclipse CDT limitation, this action might not work when a stack frame entry was selected beforehand. Aborts the current database request. Adds an additional UDF to the current session while the debug session is suspended or in debug stop. In addition you can Hold and Unhold specific threads from running when execution is resumed by selecting those commands from the context menu that opens when you rightclick within the Debug view. Teradata Debugger for C/C++ UDF User Guide, Release

20 Chapter 3 Working with the Debugger Basic Debug View Functions The Debug view enables you to perform many common debug functions. You can access these functions using the toolbar at the top of the Eclipse interface, by right-clicking open a context menu, or by displaying the Debug Toolbar from the View menu of the Debug view. Resume Suspend Terminate Step Into Step Over Step Return Continues the execution of all UDF processes/threads except those that were held. Halts execution of all UDF processes/threads. Ends the UDF debug session. Executes the current line of the active thread, including any routines, and proceeds to the next statement. All other threads remain suspended. Executes the current line, following execution inside a routine. Continues execution to the end of the current routine for the active thread, then follows execution to the routine's caller. All other threads remain suspended. Teradata Debug View Functions In addition to the basic debug functions, the Debug view enables you to perform some other functions that are very helpful in debugging UDFs running in a Teradata Database environment. You can right-click within the view to select these actions from the context menu. Abort Query Add UDF Hold Unhold Aborts the current database request while the debug session is suspended or in debug stop. Adds additional UDFs to the current session while the debug session is suspended or in debug stop. Holds the selected thread so that it does not execute when execution is resumed. Releases the selected thread so that it executes when execution is resumed. 20 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

21 Chapter 3 Working with the Debugger Locate the Current Thread Aborting a Query Locates and selects the current thread in the view. Due an Eclipse CDT limitation, this action might not work when a stack frame entry was selected beforehand. You can abort the current database request while the debug session is suspended or in debug stop. After this function is executed, the debug session remains in debug stop. If more than one database session is attached to the debugging session, the Abort Query command ends debugging of any active SQL requests from all joined sessions, but only aborts the request for the current UDF. Database sessions can then restart queries to continue debugging their UDFs. 1 In the Debug view toolbar, click. Adding a UDF You can add additional UDFs to the current session while the debug session is suspended or in debug stop. 1 In the Debug view toolbar, click. 2 In the UDF Sessions and Names dialog box, select the UDF to debug from the list and click Debug. 3 [Optional] Add breakpoints for the new UDF. 4 Click. The Debug view displays the threads of all UDFs that are being debugged. Holding and Unholding UDF Threads You can use the Hold command to control which UDF threads run when Resume commands are submitted. Threads that are held do not execute, but other threads continue to do so. You can use the Unhold command to release the hold so that the thread will run again when execution is resumed. You can use Hold and Unhold together. For example, you could use the Hold All command and then Unhold only the thread you want to execute. Note: The Hold command only applies to use of the Resume command. The Step commands implicitly hold all threads when it is executed. 1 In the Debug view, right-click and select any of the following. Option Hold Hold All Unhold Unhold All Description Holds the selected thread Holds all threads Releases the selected thread Releases all threads Teradata Debugger for C/C++ UDF User Guide, Release

22 Chapter 3 Working with the Debugger Locating the Current Thread You can easily locate the current thread if a configuration, process, or thread line was previously selected. This functionality does not work if a stack frame entry was previously selected. 1 In the Debug view toolbar, click. The current thread is highlighted. Secondary Breakpoints A UDF that accesses data on multiple AMPs may have several threads running concurrently (one thread per AMP). When execution is resumed, as soon as one thread hits a breakpoint, all threads in the debug session are stopped. Any other threads that would have hit a breakpoint had execution continued are highlighted with a light green background and marked Secondary Breakpoint. You can select any thread to view its contents and perform debug actions on it. In the Debug view shown below, all threads are suspended because Thread 3, marked as the Current Thread, has already encountered its breakpoint at line 22. When execution is resumed, Thread 1, marked as Secondary Breakpoint, will continue running, executing lines 22 and later. Teradata Watchpoint View A Teradata watchpoint is a special breakpoint that stops the execution of the UDF whenever the watched address is written to, read from, or executed. The Teradata Watchpoint view displays information about the current watchpoints for the selected thread. A thread can have up to four watched addresses. The watched locations directly reference the Intel debug x8664 registers. 22 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

23 Chapter 3 Working with the Debugger Each watchpoint is bound to a certain thread. When the thread exits, the watchpoint expires and is automatically removed from the Teradata Watchpoint view. When the watchpoint is set on a local variable, the Debugger will stop the execution twice: first when the variable changes value, and again when the watchpoint goes out of scope. When the watchpoint goes out of scope, it is no longer in effect. You can set the watchpoint again as needed. You can add a watchpoint, remove a watchpoint, and remove all watchpoints from this view. Opening the Teradata Watchpoint View 1 From the Window menu, select Show View > Other. 2 Expand Teradata Debugger for C/C++ UDF and select Teradata Watchpoint. Adding a Watchpoint 1 Do one of the following to open the Add Teradata Watchpoint dialog box. Option In Variables view Description Right-click on the variable you want to watch and select Add Teradata Watchpoint. In Teradata Watchpoint view Click. In Editor view Select the variable or expression, right-click and select Add Teradata Watchpoint. 2 Under Expression to watch, enter or select the expression to be watched. 3 Select one of the following: Option Write Read Execute Description Halt execution when the specified address is written to. Halt execution when the specified address is read from. Halt execution when the specified address is executed. 4 Click OK. The watchpoints are displayed in the Teradata Watchpoint view. When execution is resumed and a watchpoint is hit, a popup message will appear at the bottom right corner of the screen to alert the user, and the Debug view will show the thread that just hit the watchpoint. Removing a Watchpoint 1 In the Teradata Watchpoint view, click the watchpoint you want to remove. Teradata Debugger for C/C++ UDF User Guide, Release

24 Chapter 3 Working with the Debugger 2 Click. The watchpoint information is removed from the list. Teradata Map View The Teradata Map view shows the memory usage map. For each segment in the address space of the process being debugged, it shows its base address, size, access permissions, and the name of the file if this memory is a mapped file. Opening the Teradata Map View 1 From the Window menu, select Show View > Other. 2 Expand Teradata Debugger for C/C++ UDF and select Teradata Map. Console View The Console view enables you to select from and display a number of different consoles. Most important for the Debugger, it enables you to view traces in order to monitor what is happening on the backend, in Teradata UDF Debugger (tdgdb). Monitoring the Backend You can view Teradata UDF Debugger (tdgdb) traces in order to monitor any detailed communication messages and the tdgdb backend status. 1 In the toolbar of the Console view, click. 2 Select the gdb traces console for your launch configuration. 24 Teradata Debugger for C/C++ UDF User Guide, Release 15.10

Teradata BAR Backup Application Software Release Definition

Teradata BAR Backup Application Software Release Definition What would you do if you knew? Teradata BAR Backup Application Software Release Definition Teradata Appliance Backup Utility Teradata Extension for NetBackup Teradata Extension for Tivoli Storage Manager

More information

Hortonworks Data Platform for Teradata Installation, Configuration, and Upgrade Guide for Customers Release 2.3, 2.4 B K March 2016

Hortonworks Data Platform for Teradata Installation, Configuration, and Upgrade Guide for Customers Release 2.3, 2.4 B K March 2016 What would you do if you knew? Hortonworks Data Platform for Teradata Installation, Configuration, and Upgrade Guide for Customers Release 2.3, 2.4 B035-6036-075K March 2016 The product or products described

More information

What would you do if you knew? Hortonworks Data Platform for Teradata Release Definition Release 2.3 B C July 2015

What would you do if you knew? Hortonworks Data Platform for Teradata Release Definition Release 2.3 B C July 2015 What would you do if you knew? Hortonworks Data Platform for Teradata Release Definition Release 2.3 B035-6034-075C July 2015 The product or products described in this book are licensed products of Teradata

More information

Unity Ecosystem Manager. Release Definition

Unity Ecosystem Manager. Release Definition Unity Ecosystem Manager Release Definition Release 14.10 B035-3200-014C January 2014 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Aster Database Drivers and Utilities Support Matrix

Teradata Aster Database Drivers and Utilities Support Matrix Teradata Aster Database Drivers and Utilities Support Matrix Versions AD 6.20.04 and AC 7.00 Product ID: B700-6065-620K Published: May 2017 Contents Introduction... 1 Aster Database and Client Compatibility

More information

Teradata Administrator. User Guide

Teradata Administrator. User Guide Teradata Administrator User Guide Release 15.10 B035-2502-035K March 2015 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active

More information

Aster Express Getting Started Guide

Aster Express Getting Started Guide Aster Express Getting Started Guide Release Number 6.10 Product ID: B700-6082-610K May 2016 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Aster Database Platform/OS Support Matrix, version 6.10

Aster Database Platform/OS Support Matrix, version 6.10 Aster Database Platform/OS Support Matrix, version 6.10 Versions AD6.10 Product ID: B700-6041-610K Published on December 2015 Contents Introduction... 2 Support for Teradata Aster MapReduce Appliance 2...

More information

Teradata Administrator. User Guide

Teradata Administrator. User Guide Teradata Administrator User Guide Release 14.10 B035-2502-082K March 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active

More information

What would you do if you knew?

What would you do if you knew? What would you do if you knew? Teradata Data Lab User Guide Release 15.10 B035-2212-035K March 2015 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata Schema Workbench. Release Definition

Teradata Schema Workbench. Release Definition Teradata Schema Workbench Release Definition Release 14.10 B035-4108-053C September 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata Aster Database Platform/OS Support Matrix, version AD

Teradata Aster Database Platform/OS Support Matrix, version AD Teradata Aster Database Platform/OS Support Matrix, version AD6.20.04 Product ID: B700-6042-620K Published: March 2017 Contents Introduction... 2 Support for Teradata Aster Big Analytics Appliance 3 and

More information

Teradata Parallel Transporter. Quick Start Guide

Teradata Parallel Transporter. Quick Start Guide Teradata Parallel Transporter Quick Start Guide Release 15.00 B035-2501-034K March 2014 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata OLAP Connector. Release Definition

Teradata OLAP Connector. Release Definition Teradata OLAP Connector Release Definition Release 14.10 B035-4107-053C September 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Studio and Studio Express Installation Guide

Teradata Studio and Studio Express Installation Guide What would you do if you knew? Installation Guide Release 16.10 B035-2037-067K June 2017 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata SQL Assistant for Microsoft Windows. User Guide

Teradata SQL Assistant for Microsoft Windows. User Guide Teradata SQL Assistant for Microsoft Windows User Guide Release 15.10 B035-2430-035K March 2015 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Aster Database Drivers and Utilities Support Matrix

Aster Database Drivers and Utilities Support Matrix Aster Database s and Utilities Support Matrix Versions AD and AC Product ID: B700-2002-510K Revision 4 published on 9/4/2013 Contents Introduction... 1 Aster Database and Client Compatibility Matrix...

More information

Teradata Visual Explain. User Guide

Teradata Visual Explain. User Guide Teradata Visual Explain User Guide Release 14.00 B035-2504-071A November 2011 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active

More information

Aster Database Platform/OS Support Matrix, version 5.0.2

Aster Database Platform/OS Support Matrix, version 5.0.2 Aster Database Platform/OS Support Matrix, version 5.0.2 Contents Introduction... 2 Support for Teradata Aster MapReduce Appliance 2... 2 Support for Teradata Aster Big Analytics Appliance 3H... 2 Teradata

More information

Teradata Query Scheduler. User Guide

Teradata Query Scheduler. User Guide Teradata Query Scheduler User Guide Release 12.00.00 B035-2512-067A July 2007 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, BYNET,

More information

Aster Development Environment. User Guide

Aster Development Environment. User Guide Aster Development Environment User Guide Release Number 6.00 Product ID: B700-6031-600K September 2014 The product or products described in this book are licensed products of Teradata Corporation or its

More information

Aster Development Environment. User Guide

Aster Development Environment. User Guide Aster Development Environment User Guide Release Number 5.10 Product ID: B700-6030-510K May 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Aster Database Platform/OS Support Matrix, version 6.00

Aster Database Platform/OS Support Matrix, version 6.00 Aster Database Platform/OS Support Matrix, version 6.00 Versions AD6.00 Product ID: B700-6042-600K First Published on 12/18/2013 Contents Introduction... 2 Support for Teradata Aster MapReduce Appliance

More information

What would you do if you knew? Teradata Database Nodes Preparing to Move from SLES 10 to SLES 11 B K April 2015

What would you do if you knew? Teradata Database Nodes Preparing to Move from SLES 10 to SLES 11 B K April 2015 What would you do if you knew? Teradata Database Nodes Preparing to Move from SLES 10 to SLES 11 B035-5970-124K April 2015 The product or products described in this book are licensed products of Teradata

More information

Teradata Studio User Guide

Teradata Studio User Guide What would you do if you knew? Teradata Studio User Guide Release 16.00 B035-2041-126K March 2017 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata Business Intelligence Optimizer. Release Definition

Teradata Business Intelligence Optimizer. Release Definition Teradata Business Intelligence Optimizer Release Definition Release 13.10 B035-4104-051C May 2011 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata Aster Client 6.22 Release Notes

Teradata Aster Client 6.22 Release Notes Teradata Aster Client 6.22 Release Notes Product ID: B700-2003-622K Released: May, 2017 Aster Client version: 6.22 Summary This document describes the new features and enhancements in the AC 6.22 and AC

More information

Teradata Schema Workbench. User Guide

Teradata Schema Workbench. User Guide Teradata Schema Workbench User Guide Release 15.00 B035-4106-034K June 2014 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active

More information

Teradata Query Scheduler. Administrator Guide

Teradata Query Scheduler. Administrator Guide Teradata Query Scheduler Administrator Guide Release 14.00 B035-2511-071A August 2011 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Extension for NetBackup. Administrator Guide

Teradata Extension for NetBackup. Administrator Guide Teradata Extension for NetBackup Administrator Guide Release 15.10 B035-2400-035K March 2015 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Unity Data Mover Release Definition Release B C April 2014

Unity Data Mover Release Definition Release B C April 2014 Release Definition Release 14.11 B035-4100-044C April 2014 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active Data Warehousing,

More information

ODBC Driver for Teradata. User Guide

ODBC Driver for Teradata. User Guide ODBC Driver for Teradata User Guide Release 16.00 B035-2509-086K November 2016 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

What would you do if you knew? Teradata ODBC Driver for Presto Installation and Configuration Guide Release B K October 2016

What would you do if you knew? Teradata ODBC Driver for Presto Installation and Configuration Guide Release B K October 2016 What would you do if you knew? Teradata ODBC Driver for Presto Installation and Configuration Guide Release 1.1.4 B035-6060-106K October 2016 The product or products described in this book are licensed

More information

Teradata Parallel Transporter. Reference

Teradata Parallel Transporter. Reference Teradata Parallel Transporter Reference Release 14.00 B035-2436-071A June 2012 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Aggregate Designer. User Guide

Teradata Aggregate Designer. User Guide Teradata Aggregate Designer User Guide Release 14.00 B035-4103-032A June 2012 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active

More information

Teradata Workload Analyzer. User Guide

Teradata Workload Analyzer. User Guide Teradata Workload Analyzer User Guide Release 14.10 B035-2514-082K March 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active

More information

Teradata Tools and Utilities. Installation Guide for Microsoft Windows

Teradata Tools and Utilities. Installation Guide for Microsoft Windows Teradata Tools and Utilities Installation Guide for Microsoft Windows Release 12.00.00 B035-2407-067A September 2007 The product or products described in this book are licensed products of Teradata Corporation

More information

What would you do if you knew? Teradata Data Warehouse Appliance 2750 Platform Hardware Replacement Guide for Customers B K February 2016

What would you do if you knew? Teradata Data Warehouse Appliance 2750 Platform Hardware Replacement Guide for Customers B K February 2016 What would you do if you knew? Teradata Data Warehouse Appliance 2750 Platform Hardware Replacement Guide for Customers B035-5545-103K February 2016 The product or products described in this book are licensed

More information

Teradata Workload Analyzer. User Guide

Teradata Workload Analyzer. User Guide Teradata Workload Analyzer User Guide Release 16.00 B035-2514-086K November 2016 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Schema Workbench. User Guide

Teradata Schema Workbench. User Guide Teradata Schema Workbench User Guide Release 14.10 B035-4106-053K September 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

What would you do if you knew?

What would you do if you knew? What would you do if you knew? Teradata Database Support Utilities Release 16.00 B035-1180-160K December 2016 The product or products described in this book are licensed products of Teradata Corporation

More information

What would you do if you knew? Teradata ODBC Driver for Presto Installation and Configuration Guide Release December 2015

What would you do if you knew? Teradata ODBC Driver for Presto Installation and Configuration Guide Release December 2015 What would you do if you knew? Teradata ODBC Driver for Presto Installation and Configuration Guide Release 1.0.0 December 2015 The product or products described in this book are licensed products of Teradata

More information

Teradata Database. SQL Data Control Language

Teradata Database. SQL Data Control Language Teradata Database SQL Data Control Language Release 14.0 B035-1149-111A June 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Database on AWS Getting Started Guide

Teradata Database on AWS Getting Started Guide What would you do if you knew? Teradata Database on AWS Getting Started Guide B035-2800-036K November 2016 The product or products described in this book are licensed products of Teradata Corporation or

More information

Teradata Studio, Studio Express, and Plug-in for Eclipse Installation Guide

Teradata Studio, Studio Express, and Plug-in for Eclipse Installation Guide What would you do if you knew? Teradata Studio, Studio Express, and Plug-in for Eclipse Installation Guide Release 15.12 B035-2037-086K August 2016 The product or products described in this book are licensed

More information

Electronic Software Distribution Guide

Electronic Software Distribution Guide What would you do if you knew? Electronic Software Distribution Guide BCDO-0718-0000 July 2017 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata Call-Level Interface Version 2. Reference for Network-Attached Systems

Teradata Call-Level Interface Version 2. Reference for Network-Attached Systems Teradata Call-Level Interface Version 2 Reference for Network-Attached Systems Release 13.00.00 B035-2418-088A April 2009 The product or products described in this book are licensed products of Teradata

More information

Basic Teradata Query. Reference

Basic Teradata Query. Reference Basic Teradata Query Reference Release 15.10 B035-2414-035K March 2015 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active Data

More information

What would you do if you knew? Teradata JDBC Driver for Presto Installation and Configuration Guide Release B K May 2016

What would you do if you knew? Teradata JDBC Driver for Presto Installation and Configuration Guide Release B K May 2016 What would you do if you knew? Teradata JDBC Driver for Presto Release 1.0.0 B035-6068-056K May 2016 The product or products described in this book are licensed products of Teradata Corporation or its

More information

Teradata Preprocessor2 for Embedded SQL. Programmer Guide

Teradata Preprocessor2 for Embedded SQL. Programmer Guide Teradata Preprocessor2 for Embedded SQL Programmer Guide Release 14.10 B035-2446-082K March 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata Tools and Utilities. Installation Guide for UNIX and Linux

Teradata Tools and Utilities. Installation Guide for UNIX and Linux Teradata Tools and Utilities Installation Guide for UNIX and Linux Release 12.00.00 B035-2459-067A September 2007 The product or products described in this book are licensed products of Teradata Corporation

More information

Teradata Replication Services Using Oracle GoldenGate

Teradata Replication Services Using Oracle GoldenGate Teradata Replication Services Using Oracle GoldenGate Release 12.0 B035-1152-067A July 2010 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Basic Teradata Query. Reference

Basic Teradata Query. Reference Basic Teradata Query Reference Release 14.10 B035-2414-082K November 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active

More information

Teradata Aster Analytics on Azure Getting Started Guide

Teradata Aster Analytics on Azure Getting Started Guide What would you do if you knew? Teradata Aster Analytics on Azure Getting Started Guide Release AD B700-3040-620K May 2017 The product or products described in this book are licensed products of Teradata

More information

Teradata Studio, Studio Express and Plug-in for Eclipse Release Definition Release B C November 2015

Teradata Studio, Studio Express and Plug-in for Eclipse Release Definition Release B C November 2015 What would you do if you knew? Teradata Studio, Studio Express and Plug-in for Eclipse Release Definition Release 15.10.01 B035-2040-045C November 2015 The product or products described in this book are

More information

Teradata JSON Release B K December 2015

Teradata JSON Release B K December 2015 What would you do if you knew? Teradata Database Teradata JSON Release 15.10 B035-1150-151K December 2015 The product or products described in this book are licensed products of Teradata Corporation or

More information

Teradata Parallel Transporter. User Guide

Teradata Parallel Transporter. User Guide Teradata Parallel Transporter User Guide Release 12.0 B035-2445-067A July 2007 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Database. Teradata Replication Services Using Oracle GoldenGate

Teradata Database. Teradata Replication Services Using Oracle GoldenGate Teradata Database Teradata Replication Services Using Oracle GoldenGate Release 13.0 B035-1152-098A April 2011 The product or products described in this book are licensed products of Teradata Corporation

More information

Teradata OLAP Server. User Guide

Teradata OLAP Server. User Guide Teradata OLAP Server User Guide Release 15.00 B035-4109-034K June 2014 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active Data

More information

Teradata ServiceConnect Enhanced Policy Server Installation and Configuration Guide. Powered by Axeda

Teradata ServiceConnect Enhanced Policy Server Installation and Configuration Guide. Powered by Axeda Teradata ServiceConnect Enhanced Policy Server Installation and Configuration Guide Powered by Axeda B035-5374-022K October 2012 The product or products described in this book are licensed products of

More information

Aprimo Marketing Studio Configuration Mover Guide

Aprimo Marketing Studio Configuration Mover Guide Aprimo Marketing Studio 9.0.1 Configuration Mover Guide The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Aprimo and Teradata are registered

More information

Teradata Tools and Utilities for Microsoft Windows Installation Guide

Teradata Tools and Utilities for Microsoft Windows Installation Guide What would you do if you knew? Teradata Tools and Utilities for Microsoft Windows Installation Guide Release 16.20 B035-2407-117K November 2017 The product or products described in this book are licensed

More information

Teradata Alerts Installation, Configuration, and Upgrade Guide Release B K March 2014

Teradata Alerts Installation, Configuration, and Upgrade Guide Release B K March 2014 Teradata Alerts Installation, Configuration, and Upgrade Guide Release 15.00 B035-2211-034K March 2014 The product or products described in this book are licensed products of Teradata Corporation or its

More information

Teradata Virtual Machine Base Edition Installation, Configuration, and Upgrade Guide Release B K April 2016

Teradata Virtual Machine Base Edition Installation, Configuration, and Upgrade Guide Release B K April 2016 What would you do if you knew? Teradata Virtual Machine Base Edition Installation, Configuration, and Upgrade Guide Release 15.10 B035-5945-046K April 2016 The product or products described in this book

More information

Teradata Virtual Machine Developer Edition Installation, Configuration, and Upgrade Guide Release B K April 2016

Teradata Virtual Machine Developer Edition Installation, Configuration, and Upgrade Guide Release B K April 2016 What would you do if you knew? Teradata Virtual Machine Developer Edition Installation, Configuration, and Upgrade Guide Release 15.10 B035-5938-046K April 2016 The product or products described in this

More information

Teradata Database on VMware Enterprise Edition Getting Started Guide

Teradata Database on VMware Enterprise Edition Getting Started Guide What would you do if you knew? Teradata Database on VMware Enterprise Edition Getting Started Guide B035-5945-086K November 2016 The product or products described in this book are licensed products of

More information

What would you do if you knew?

What would you do if you knew? What would you do if you knew? Teradata Aster Execution Engine Aster Instance Installation Guide for Aster-on-Hadoop Only Release 7.00.02 B700-5022-700K July 2017 The product or products described in this

More information

What would you do if you knew? Teradata Viewpoint Installation, Configuration, and Upgrade Guide for Customers Release B K May 2015

What would you do if you knew? Teradata Viewpoint Installation, Configuration, and Upgrade Guide for Customers Release B K May 2015 What would you do if you knew? Teradata Viewpoint Installation, Configuration, and Upgrade Guide for Customers Release 15.10 B035-2207-035K May 2015 The product or products described in this book are licensed

More information

What would you do if you knew?

What would you do if you knew? What would you do if you knew? Teradata Database SQL Fundamentals Release 16.00 B035-1141-160K December 2016 The product or products described in this book are licensed products of Teradata Corporation

More information

Aster Database Installation and Upgrade Guide

Aster Database Installation and Upgrade Guide Aster Database Installation and Upgrade Guide Release Number 6.10 Product ID: B700-6023-610K December 2015 The product or products described in this book are licensed products of Teradata Corporation or

More information

Teradata Query Director. User Guide

Teradata Query Director. User Guide Teradata Query Director User Guide Release 12.00.00 B035-2510-067A August 2007 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Linux, Windows Server 2003, MP-RAS

Linux, Windows Server 2003, MP-RAS What would you do if you knew? Teradata Database Node Software Upgrade Guide: Overview and Preparation Linux, Windows Server 2003, MP-RAS Release 14.0 and Later B035-5921-161K July 2017 The product or

More information

Teradata Database. Resource Usage Macros and Tables

Teradata Database. Resource Usage Macros and Tables Teradata Database Resource Usage Macros and Tables Release 14.10 B035-1099-112A August 2014 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

IBM CICS Interface for Teradata. Reference

IBM CICS Interface for Teradata. Reference IBM CICS Interface for Teradata Reference Release 15.10 B035-2448-035K March 2015 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Aster R User Guide

Teradata Aster R User Guide Teradata Aster R User Guide Release Number: 6.20 Product ID: B700-2010-620K September, 2015 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata Profiler. Plug-in for Eclipse User Guide

Teradata Profiler. Plug-in for Eclipse User Guide Teradata Profiler Plug-in for Eclipse User Guide Release 15.0 B035-2304-064A June 2014 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

What would you do if you knew?

What would you do if you knew? What would you do if you knew? Teradata Database Teradata DATASET Data Type Release 16.00 B035-1198-160K December 2016 The product or products described in this book are licensed products of Teradata Corporation

More information

Teradata Aster Analytics Release Notes Update 2

Teradata Aster Analytics Release Notes Update 2 What would you do if you knew? Teradata Aster Analytics Release Notes Update 2 Release 7.00.02 B700-1012-700K September 2017 The product or products described in this book are licensed products of Teradata

More information

Teradata Tools and Utilities. Release Definition

Teradata Tools and Utilities. Release Definition Teradata Tools and Utilities Release Definition Release 14.10 B035-2029-082C November 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata JDBC Driver for Presto Installation and Configuration Guide

Teradata JDBC Driver for Presto Installation and Configuration Guide What would you do if you knew? Teradata JDBC Driver for Presto Installation and Configuration Guide Release 1.0.12 B035-6068-126K December 2016 The product or products described in this book are licensed

More information

Teradata Database. Resource Usage Macros and Tables

Teradata Database. Resource Usage Macros and Tables Teradata Database Resource Usage Macros and Tables Release 14.0 B035-1099-111A September 2013 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata Extension for Tivoli Storage Manager Administrator Guide

Teradata Extension for Tivoli Storage Manager Administrator Guide What would you do if you knew? Teradata Extension for Tivoli Storage Manager Administrator Guide Release 16.10 B035-2444-057K May 2017 The product or products described in this book are licensed products

More information

Teradata Database on VMware Developer Edition Getting Started Guide

Teradata Database on VMware Developer Edition Getting Started Guide What would you do if you knew? Teradata Database on VMware Developer Edition Getting Started Guide Release 15.10, 16.00 B035-5938-017K January 2017 The product or products described in this book are licensed

More information

Teradata Database. Resource Usage Macros and Tables

Teradata Database. Resource Usage Macros and Tables Teradata Database Resource Usage Macros and Tables Release 13. B35-199-98A October 211 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Database. SQL Data Control Language

Teradata Database. SQL Data Control Language Teradata Database SQL Data Control Language Release 13.10 B035-1149-109A August 2010 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Data Warehouse Appliance Platform Product and Site Preparation Quick Reference B K May 2011

Teradata Data Warehouse Appliance Platform Product and Site Preparation Quick Reference B K May 2011 Teradata Data Warehouse Appliance 2650 Platform Product and Site Preparation B035-5439-051K May 2011 The product or products described in this book are licensed products of Teradata Corporation or its

More information

Teradata Extension for Tivoli Storage Manager. Administrator Guide

Teradata Extension for Tivoli Storage Manager. Administrator Guide Teradata Extension for Tivoli Storage Manager Administrator Guide Release 13.01 B035-2444-020A April 2010 The product or products described in this book are licensed products of Teradata Corporation or

More information

Teradata Studio Express

Teradata Studio Express Teradata Studio Express User Guide Release 16.20 April 2018 B035-2042-518K Copyright and Trademarks Copyright 2006-2018 by Teradata. All Rights Reserved. All copyrights and trademarks used in Teradata

More information

Teradata Viewpoint Configuration Guide

Teradata Viewpoint Configuration Guide Teradata Viewpoint Configuration Guide Release 14.01 B035-2207-102K October 2012 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Database. SQL Reference. Stored Procedures and Embedded SQL

Teradata Database. SQL Reference. Stored Procedures and Embedded SQL Teradata Database SQL Reference Stored Procedures and Embedded SQL Release V2R6.2 B035-1148-096A September 2006 The product described in this book is a licensed product of Teradata, a division of NCR Corporation.

More information

Teradata Virtual Storage. Release 14.0 B A January 2012

Teradata Virtual Storage. Release 14.0 B A January 2012 Teradata Virtual Storage Release 14.0 B035-1179-111A January 2012 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Active Enterprise

More information

Enterprise Vault.cloud CloudLink Google Account Synchronization Guide. CloudLink to 4.0.3

Enterprise Vault.cloud CloudLink Google Account Synchronization Guide. CloudLink to 4.0.3 Enterprise Vault.cloud CloudLink Google Account Synchronization Guide CloudLink 4.0.1 to 4.0.3 Enterprise Vault.cloud: CloudLink Google Account Synchronization Guide Last updated: 2018-06-08. Legal Notice

More information

Teradata Preprocessor2 for Embedded SQL. Programmer Guide

Teradata Preprocessor2 for Embedded SQL. Programmer Guide Teradata Preprocessor2 for Embedded SQL Programmer Guide Release 13.10 B035-2446-020A August 2010 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Teradata Data Stream Architecture (DSA) User Guide

Teradata Data Stream Architecture (DSA) User Guide What would you do if you knew? Teradata Data Stream Architecture (DSA) User Guide Release 16.10 B035-3150-087K August 2017 The product or products described in this book are licensed products of Teradata

More information

EnterpriseTrack Reporting Data Model Configuration Guide Version 17

EnterpriseTrack Reporting Data Model Configuration Guide Version 17 EnterpriseTrack EnterpriseTrack Reporting Data Model Configuration Guide Version 17 October 2018 Contents About This Guide... 5 Configuring EnterpriseTrack for Reporting... 7 Enabling the Reporting Data

More information

CodeWarrior Development Studio for etpu v10.x Quick Start SYSTEM REQUIREMENTS

CodeWarrior Development Studio for etpu v10.x Quick Start SYSTEM REQUIREMENTS CodeWarrior Development Studio for etpu v10.x Quick Start SYSTEM REQUIREMENTS Hardware Operating System Software Disk Space Intel Pentium 4 processor, 2 GHz or faster, Intel Xeon, Intel Core, AMD Athlon

More information

Teradata Database. Utilities: Volume 2 (L-Z)

Teradata Database. Utilities: Volume 2 (L-Z) Teradata Database Utilities: Volume 2 (L-Z) Release 15.0 B035-1102-015K March 2014 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

More information

Teradata Database. SQL Data Types and Literals

Teradata Database. SQL Data Types and Literals Teradata Database SQL Data Types and Literals Release 15.0 B035-1143-015K September 2015 The product or products described in this book are licensed products of Teradata Corporation or its affiliates.

More information

Basic Teradata Query. Reference

Basic Teradata Query. Reference Basic Teradata Query Reference Release 13.10 B035-2414-020A August 2010 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, BYNET,

More information

01.15 EB6120 PROFITABILITY ANALYTICS. Teradata Value Analyzer

01.15 EB6120 PROFITABILITY ANALYTICS. Teradata Value Analyzer 01.15 EB6120 PROFITABILITY ANALYTICS Teradata Value Analyzer Table of Contents 2 Executive Overview 3 Purpose and Process 3 Client Data Sources 4 General Components 6 Summary of Data Sources and Uses 8

More information