Teradata Workload Analyzer. User Guide

Size: px
Start display at page:

Download "Teradata Workload Analyzer. User Guide"

Transcription

1 Teradata Workload Analyzer User Guide Release B K November 2016

2 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, Applications-Within, 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. Amazon Web Services, AWS, [any other AWS Marks used in such materials] are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries. 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. CENTOS is a trademark of Red Hat, Inc., registered in the U.S. and other countries. Cloudera, CDH, [any other Cloudera Marks used in such materials] are trademarks or registered trademarks of Cloudera Inc. in the United States, and in jurisdictions throughout the world. 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. 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 by Teradata. All Rights Reserved.

3 Preface Purpose This book provides information about Teradata Workload Analyzer, which is a Teradata Tools and Utilities product. Teradata Tools and Utilities is a group of products designed to work with Teradata Database. Teradata Workload Analyzer (Teradata WA) is a tool that analyzes and generates candidate workloads from a Windows PC. Teradata WA provides three major areas of guidance: Recommending workload group definitions. The DBA (database administrator) guides these definitions based on business knowledge and Analyzer-assisted recommendations based on existing workload mix and characteristics Recommending appropriate workload goals Recommending workload to AG (allocation group) mapping plus priority scheduler weights Audience This book is intended for use by: Database administrators responsible for managing the Teradata Database Supported Releases This book supports the following releases: Teradata Database Teradata Tools and Utilities Teradata WA Note: See Displaying Information About Teradata Workload Analyzer on page 33 to verify the Teradata WA version number. Note: Teradata WA supports the current Teradata Database version and versions 16.00, 15.0, 15.10, 14.10, 14.0, and 13.x. (It does not support versions of Teradata Database earlier than 13.x.) However, when used with Teradata Database 13.x Teradata WA is limited to its 13.x features, that is, only those features supported by the earlier database. Teradata Workload Analyzer User Guide, Release

4 Preface Prerequisites To locate detailed supported-release information: 1 Go to 2 Under Online Publications, click General Search. 3 Type 3119 in the Publication Product ID box. 4 Under Sort By, select Date. 5 Click Search. 6 Open the version of the Teradata Tools and Utilities ##.# Supported Platforms and Product Versions spreadsheet associated with this release. The spreadsheet includes supported Teradata Database versions, platforms, and product release numbers. Prerequisites The following prerequisite knowledge is required for this product: Relational database management systems Basic concepts of the Teradata Database Teradata SQL Connectivity software, such as CLIv2 Changes to This Book The following changes were made to this book in support of the current release. Changes are marked with change bars. For a complete list of changes to the product, see the Teradata Tools and Utilities Release Definition (B ) associated with this release. Date and Release November Description Updated instances of to in Preface, Chapter 2, update to To setup the TWA objects, Chapter 2. Updated version number and release date. Related Documentation Additional information that supports this product and Teradata Tools and Utilities is available at the web sites listed in the table that follows. 4 Teradata Workload Analyzer User Guide, Release 16.00

5 Preface Related Documentation Type of Information Description Access to Information Release overview Late information Additional product information CD-ROM images Use the Release Definition for the following information: Overview of all of the products in the release Information received too late to be included in the manuals Operating systems and Teradata Database versions that are certified to work with each product Version numbers of each product and the documentation for each product Information about available training and the support center Use the Teradata Information Products web site to view or download specific manuals that supply related or additional information to this manual. Access a link to a downloadable CD-ROM image of all customer documentation for this release. Customers are authorized to create CD-ROMs for their use from this image. 1 Go to 2 Under Downloadable Publications, click General Search 3 Type 2029 in the Publication Product ID box. 4 Click Search. 5 Select the appropriate Release Definition from the search results. 1 Go to 2 Under the Downloadable Publications subcategory, Browse by Category, click Data Warehousing. 3 Select a link to any of the data warehousing publications categories listed. Specific books related to Teradata WA are as follows: Teradata Dynamic Workload Manager User Guide B Teradata Tools and Utilities for Microsoft Windows Installation Guide B Database Administration B SQL Data Definition Language B Utilities: Volume 1 (A-K) B Go to 2 Under the Downloadable Publications subcategory, Browse by Category, click Data Warehousing. 3 Click Documentation CD Images Teradata Database and Teradata Tools & Utilities. Teradata Workload Analyzer User Guide, Release

6 Preface Product Safety Information Type of Information Description Access to Information General information about Teradata The Teradata home page provides links to numerous sources of information about Teradata. Links include: Executive reports, case studies of customer experiences with Teradata, and thought leadership Technical information, solutions, and expert advice Press releases, mentions, and media resources 1 Go to Teradata.com. 2 Select a link. 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 Workload Analyzer User Guide, Release 16.00

7 Table of Contents Preface Purpose Audience Supported Releases Prerequisites Changes to This Book Related Documentation Product Safety Information Chapter 1: Introduction What Is Teradata Workload Analyzer? How Teradata WA Works With Teradata Active System Management Viewpoint Workload Designer Viewpoint Workload Monitor and Workload Health Teradata Database An Overview of Workload Analysis Chapter 2: Getting Started Installation Requirements Required Database Permissions Required Software Before You Start Teradata WA: Setting Up the TDWM Database Objects Before You Start Teradata WA: Enabling TASM Creating Workload Management Rules What To Do About Large Volumes of DBQL Data Viewing the Error Log Starting Teradata WA Login and Configuration Teradata Workload Analyzer User Guide, Release

8 Table of Contents Connecting to the Database Adding Initial Workload Periods for PSA Migration Configuring Application Options Getting to Know the Teradata WA Interface Online Help for Teradata Workload Analyzer Using the Navigation Help Displaying Information About Teradata Workload Analyzer Chapter 3: Converting PDSets to Workloads PDSet to Workload Mapping Considerations The PDSet to Workload Conversion Selecting PDSets for Conversion Viewing Priority Scheduler Settings Displaying Logs of Conversion Messages Converting Priority Scheduler Settings to Workloads Defining SLGs for Converted PDSets Chapter 4: Analyzing New Workloads to Meet SLGs Planning New Workloads for Analysis Obtaining New Workload Recommendations First Level Analysis Features The Steps to Creating New Workload Recommendations Step 1: Defining An Initial Set of Workloads Defining DBQL Inputs Viewing Workloads Using the Candidate Workload Report Grouping Unassigned Requests Into a Workload Step 2: Refining and Analyzing Recommended Workloads Supported Analysis Parameters Analyzing Workloads Based On Who Parameters Analyzing Workloads Based On What Parameters Step 3: Defining Service Level Goals to Get the Most Out of Reports How Teradata WA Sets SLGs Service Level Goals and Viewpoint Workload Monitor Accepting Or Modifying Service-Level Goal Recommendations Step 4: Mapping Workloads to Allocation Groups Teradata Workload Analyzer User Guide, Release 16.00

9 Table of Contents Category of Work Subject Area Resource Division Workload-to-Allocation Group Mapping Defining Enforcement Priorities Step 5: Creating the Workloads Creating a New Workload For Use from Rule Set Using Deep Drill-Down and Refinement for Workload Analysis Chapter 5: Analyzing Existing Workloads to Meet SLGs Existing Workload Analysis Further Analysis for Workloads Enhancing the Existing Workload Analysis Process Starting Existing Workload Analysis Defining Existing Workload DBQL Inputs Viewing Workloads Using the Candidate Workload Report Viewing or Modifying SLGs Splitting and Merging Workloads for Analysis The Process of Merging Workloads Splitting Workloads Classifying by Excluded Objects for Splitting and Merging Workloads Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Working with Workload Classification Criteria Working with Workload Exceptions Viewing the Active Rule Set Viewing the Candidate Workload Report Viewing Evaluation Order of Candidate Workloads Chapter 7: Changes to support TASM SLG Responsive Priority Scheduler TASM SLES11 Support Teradata Workload Analyzer User Guide, Release

10 Table of Contents Workload Attributes Other GUI Changes for TASM SLES11 Support Chapter 8: Recommendation for SLG Tier and Workload Percentage The SLG Tier Hints Report Glossary Index Teradata Workload Analyzer User Guide, Release 16.00

11 List of Figures Figure 1: Teradata Active System Management and Supporting Components Figure 2: Paths to Creating a Workload Rule Set Figure 3: Example of workload and its distinct value counts Figure 4: Candidate Workloads Tree in left pane of window Figure 5: About Teradata Workload Analyzer dialog Figure 6: Candidate Workload Report displays CPU, IO, and Query Volume statistics Figure 7: Candidate Workload Report window displaying unassigned requests Figure 8: Example of report with query band name displayed Figure 9: Example of Distribution Parameters with ten buckets Figure 10: Equal-widths histogram Figure 11: Equal-height histogram Figure 12: Distribution report after rounding up the widths of buckets for data with a large range of values Figure 13: Distribution report after rounding up the widths of buckets for data with a small range of values Figure 14: Overview of deep drill-down analysis Figure 15: Workload A with classification Account =A Figure 16: Workload A and Workload A2 with CPU distribution division Figure 17: Unassigned elements after classification is added to existing workload Figure 18: Distribution of top 10 workloads represented as a percentage of CPU processing when more than 250 workloads are represented after PSA migration Figure 19: Candidate Workload Report for Existing Workloads Figure 20: Example of two workloads merging Figure 21: Split workload with excluded and included objects Figure 22: Classification tab for original workload after a split Figure 23: Classification tab for split workload with excluded and included objects Figure 24: Classification tab for merged workload Figure 25: Add Local Exception Dialog Box Figure 26: Sample Exception Apply Dialog Box Figure 27: Existing Workload Analysis Rules Figure 28: SLG Tier Workload Method Hints Report Teradata Workload Analyzer User Guide, Release

12 List of Figures 12 Teradata Workload Analyzer User Guide, Release 16.00

13 List of Tables Table 1: Connect to Teradata Database dialog box Table 2: Connect to Teradata Database dialog box Advanced Options Table 3: Define Periods (Operating Environments) dialog box Table 4: Teradata WA Menus and Options Table 5: Define Periods dialog box Table 6: Comparison of Granularity Levels and Classification Criteria Table 7: Displayed Columns in the Candidate Workload Report - who classifications Table 8: Supported analysis parameters Table 9: Workloads Report shortcut menu Table 10: Columns in the Analyze Workload report - what classification Table 11: SLG Recommendations Table 12: Default AG and RP Weights for Priority based on Category of Work Table 13: Default Mapping of Enforcement Priorities Table 14: Mapping options Table 15: Displayed Columns in the Workload report Table 16: SLG Recommendations window Table 17: Classification Options for Criteria # Table 18: Add Local Exception Fields/Controls Table 19: Exception Criteria Fields/Controls Table 20: Exception Action Fields/Controls Table 21: Examples of workloads and evaluation order Table 22: Default TWA Workloads Teradata Workload Analyzer User Guide, Release

14 List of Tables 14 Teradata Workload Analyzer User Guide, Release 16.00

15 CHAPTER 1 Introduction This introduction explains the basic concepts involved with Teradata Workload Analyzer: What Is Teradata Workload Analyzer? How Teradata WA Works With Teradata Active System Management An Overview of Workload Analysis What Is Teradata Workload Analyzer? Teradata Workload Analyzer (Teradata WA) helps Database Administrators identify classes of queries (workloads) and provides recommendations on workload definitions and operating rules to ensure that database performance meets Service Level Goals (SLG). Through the use of various reports and graphical displays, Teradata WA makes it easier for administrators to effectively manage distribution of resources. The more control administrators have over resource allocation, the more they can ensure satisfactory response times for critical queries. Teradata WA supports the conversion of existing Priority Scheduler Definitions (PDSets) into new workloads. A PDSet is the collection of data, including the resource partition, allocation group, period type, and other definitions that control how the Priority Scheduler manages and schedules session execution. This is helpful for users that have tuned their Priority Scheduler settings for their specific workloads. Teradata WA provides three major areas of guidance: Recommending workload group definitions. The DBA guides these based on business knowledge and Analyzer-assisted based on existing workload mix and characteristics Recommending appropriate workload goals Recommending workload to AG mapping plus priority scheduler weights How Teradata WA Works With Teradata Active System Management Teradata Active System Management (Teradata ASM) is a set of products, including system tables and logs, that interact with each other and a common data source. It facilitates automation in the following four key areas of system management: Workload Management Teradata Workload Analyzer User Guide, Release

16 Chapter 1: Introduction How Teradata WA Works With Teradata Active System Management Performance Tuning Capacity Planning Performance Monitoring Teradata ASM helps manage the system automatically and reduces the effort required by DBAs, application developers, and support personnel. With careful planning, Teradata ASM can improve and optimize your workload management and performance. It can also improve response times and ensure more consistent response times for critical work. Some of the products that make up the Teradata ASM solution include Viewpoint Workload Monitor/Health, Viewpoint Workload Designer, and Teradata Workload Analyzer. These components are graphically displayed in Figure 1. Figure 1: Teradata Active System Management and Supporting Components Related Topics Viewpoint Workload Designer Viewpoint Workload Monitor and Workload Health Teradata Database Viewpoint Workload Designer Viewpoint Workload Designer supports detailed creation and management of workload definitions. Workload definitions are sets of rules that pertain to and describe a class of queries for the purpose of ensuring appropriate operating resource allocations to them based on business considerations. These rules apply filters, classification, and throttles and determine exception processing for workload queries. For more guided definitions of workloads and service levels, after first defining operating rules through use of Teradata WA, use Viewpoint Workload Designer to refine them. Viewpoint Workload Designer provides a simpler way of defining many of the settings previously controlled with Priority Scheduler Administrator (PSA), which was discontinued with Release TWA can migrate PDSets saved in the DBCMngr database by customers using earlier PSA releases. 16 Teradata Workload Analyzer User Guide, Release 16.00

17 Chapter 1: Introduction An Overview of Workload Analysis Viewpoint Workload Monitor and Workload Health Teradata Database Viewpoint Workload Monitor provides a view of current and recent historical workload status. Workload Health provides the current workload status. A component of the Teradata Database called the Regulator dynamically executes to fulfill the workload operating rules as defined with the Workload Administrator. Requests submitted to the system are classified into the appropriate workload and managed against that workload s operating rules, such as throttling, resource priorities, and exception management. In addition, the Regulator monitors queries as they run to check for exception conditions, and then handles them according the rules defined in the workload definition configuration tables. A separate database called TDWM is required for Teradata Workload Analyzer. The database contains tables for storing workload definitions and related data. A Database Initialization Program (DIP) script is used to install the TDWM database. For information about using Teradata DIP scripts, see Utilities: Volume 1 (A-K) (B ). An Overview of Workload Analysis The workload analysis process consists of the following steps: 1 The user may optionally migrate existing priority scheduler definitions (PDSets 1 created using PSA release or earlier), to automatically create workload definitions with existing priority scheduler settings. (PSA has been discontinued for TMGR release ) If users choose not to migrate existing settings, they can instead choose to define up to 250 workload definitions from scratch. In so doing, users first collect query log information for the existing workload mix. Then they specify the dimensions to analyze and group queries against to form candidate workloads (account-based, application-based, and existing PDSets) and the date and time range over which to analyze the previously collected query log data. 2 Using this input, Teradata WA recommends candidate workload definitions based on analysis of Priority Scheduler settings, Database Query Log data, or both. 3 With the DBQL analysis path, the user can further refine the candidate workload definition and the queries in which it contains by either merging with another candidate workload or splitting the candidate workload into two or more separate candidate workloads to aid with accounting granularity or workload control. (For example, tactical queries need higher priority and therefore are split out from the parent candidate workload.) Next, users creating workload definitions from scratch (not for users migrating from existing priority scheduler settings) are guided through mapping workload definitions to priority scheduler allocation groups and allocation group weights. Those 1. A PDSet is a collection of data, including a resource partition, performance group, allocation group, performance period type, and other definitions controlling how the Priority Scheduler manages and schedules session execution. Teradata Workload Analyzer User Guide, Release

18 Chapter 1: Introduction An Overview of Workload Analysis settings are guided to minimize necessary DBA involvement, though the DBA has the advanced option to refine those settings according to the administrator s preference. Note: A workload definition is mapped one-to-one to a priority scheduler performance group (PG). The priority scheduler for Teradata Release allows 250 PGs to be defined. Four of these are reserved to be the standard PGs (R, H, M, and L) in the default resource partition. That leaves 246 PGs for use by Teradata DWM. 4 After the user has satisfactorily fine-tuned the candidate workload definition, the user sets service-level goals, optionally guided by Teradata WA. For example, the user might request recommendations based on actual response times achieved at a particular service-level percent, or other factors. These paths are graphically displayed in Figure 2. Figure 2: Paths to Creating a Workload Rule Set Two Paths to Creating a Workload Rule Set Path 1: Migrating Your Current Priority Scheduler Settings Path 2: Generating Statistics from Your DBQL Data Load Priority Scheduler and DBQL Data Load DBQL Data Workload Analyzer converts PD Set settings to TASM workload settings Auto-generate or create workloads by using unassigned Accounts/Applications/Users Workload Analyzer recommends Service Level Goals Workload Analyzer recommends Service Level Goals Save Workload Rule Set User modifies mapping of workloads to Allocation Groups Save Workload Rule Set 2514E Teradata Workload Analyzer User Guide, Release 16.00

19 CHAPTER 2 Getting Started This section explains setup, configuration, and startup of Teradata WA. It includes the following: Installation Requirements Before You Start Teradata WA: Setting Up the TDWM Database Objects Before You Start Teradata WA: Enabling TASM Viewing the Error Log Starting Teradata WA Login and Configuration Getting to Know the Teradata WA Interface Using the Navigation Help Displaying Information About Teradata Workload Analyzer Installation Requirements This section describes software requirements for Teradata Workload Analyzer (Teradata WA). For detailed information about installing Teradata WA, see Teradata Tools and Utilities Installation Guide for Microsoft Windows (B ). Note: Teradata WA is not compatible with Teradata Database versions earlier than Required Database Permissions Important! To work with Teradata WA, the user must be granted privileges to execute macros and stored procedures in the database TDWM and the DBQL table. Note: If the External DBQL log option is selected for PSA migration/new workload recommendations, the GRANT option for SELECT on DUMP DBQL tables must be given to TDWM. Do this by logging on to the system as DBC and granting SELECT permission to TDWM on DBQL tables from the External DBQL database. Note: To access external databases successfully, there must be at least three DBQL tables in the external database for analysis, such as DBLogtbl, DBQLSummaryTbl, and DBQLObjtbl or corresponding *_HST tables (a PS setup). The DBQLObjtbl (or corresponding *_HST table) is necessary for Teradata WA to perform analysis on data objects ( Where classification parameters). Teradata Workload Analyzer User Guide, Release

20 Chapter 2: Getting Started Before You Start Teradata WA: Setting Up the TDWM Database Objects Required Software You must have the following software installed on your system: Teradata Database , 15.0, 14.10, 14.0, or running on one of these operating systems: Linux Windows Server 2003 Note: Teradata WA supports access to a custom database called TDWM, which stores workload definitions and related data. Teradata WA works in combination with Viewpoint Workload Designer in dynamically managing workloads for Teradata Database and higher. For Teradata Database 13.x, however, Teradata WA provides menu-option access to Teradata Dynamic Workload Manager (TDWM) or respectively. For more information about the TDWM database and instructions for using TDWM or 13.00, see Database Administration (B ), and Teradata Dynamic Workload Manager User Guide (B ), for the appropriate release. Teradata Call-Level Interface version 2 (CLIv2) release TDICU TeraGSS Note: These are CLIv2 dependencies. Before You Start Teradata WA: Setting Up the TDWM Database Objects In releases prior to TTU14.0, the DIP script (DIPTDWM - TDWM Configuration) set up the TDWM database objects. Starting with TTU14.0, the DIP script (DIPTDWM - TDWM Configuration) sets up the TDWM tables, but TWA itself handles setting up the required objects (procedures and macros) for client operations. To setup the TWA objects 1 Connect to the TD16.00 Database using the TWA application. While connecting to the database, the TWA application checks whether the required TWA objects exist in the TDWM database or not. If they do not exist, TWA displays a prompt. 20 Teradata Workload Analyzer User Guide, Release 16.00

21 Chapter 2: Getting Started Before You Start Teradata WA: Enabling TASM 2 Do one of the following: Click Yes to create objects for TWA database operations. Click No to connect to the database without creating objects. There is also an option to setup the TWA objects at any time by clicking Tools>twadbssetup. Note: The above message does not pop up if the TDWMUpsertQualifiy procedure is present. Apart from the TDWMUpsertQualify macro, TWA uses other macros and procedures. In the absence of any required macro/procedure, TWA may encounter issues while creating and saving workloads. If such a scenario is encountered, do the following: 1) Connect to the database and delete the procedure TDWMUpsertQualify. 2) Run the TWA application. 3) When prompted, click YES to create objects for TWA database operations. Before You Start Teradata WA: Enabling TASM The Viewpoint TDWM data collection task must be configured to display Workload Monitor and Workload Health. Enabling the advanced features of Teradata Active Systems Management (TASM) in an environment requires establishment of the operating rules and goals described in the following subsections. Creating Workload Management Rules Teradata WA provides the ability to analyze current Teradata Database usage and recommend workload management rules appropriate for the system. Create these rules using one of the following methods: Saving the PDSet to the database for migration To enable detail or summary logging for a specific user or account Saving the PDSet to the database for migration Use this method if the optimal priority scheduler settings have already been created for the workload. Teradata Workload Analyzer User Guide, Release

22 Chapter 2: Getting Started Before You Start Teradata WA: Enabling TASM Note: Skip this procedure if Priority Scheduler Administrator (PSA) is already used to manage your priority scheduler settings. To save existing Priority Scheduler settings 1 Create a PDSet that contains your Priority Scheduler settings. 2 If more than one set of priority scheduler settings is used (for example, one configuration during the day and another at night), then create PDSets for the time that each priority scheduler configuration is active. TWA migrates PDsets currently available in the DBCMngr database. Capturing the DBQL Query Log Use this second method if your site uses the default priority scheduler settings. This method requires logging query activity to DBQL for the period of time that represents a typical workload (for example, one week). Note: Skip this procedure if DBQL data is already collected for your workloads. To enable detail or summary logging for a specific user or account Teradata WA analyzes both the DBQL detail and summary tables. The detail table contains one row for each query submitted. The summary table is more efficient: it is updated at periodic intervals with a count of the number of queries submitted by each user account. To enable detail logging, enter one of these commands at a command console: BEGIN QUERY LOGGING ON USER1, USER2, USER3; BEGIN QUERY LOGGING ON ACCOUNT = ( ACCT1, ACCT2, ACCT3 ); To enable summary logging, enter one of these commands: BEGIN QUERY LOGGING LIMIT THRESHOLD = 3600 ON USER1, USER2; BEGIN QUERY LOGGING LIMIT THRESHOLD = 3600 ON ACCOUNT = ( ACCT1 ); To disable detail or summary logging, use one of these commands: END QUERY LOGGING ON USER1, USER2, USER3; END QUERY LOGGING ON ACCOUNT = ( ACCT1, ACCT2, ACCT3 ); TWA also uses data from the DBQL Step Table, if available, for analysis on estimated processing time. The syntax for step data looks something like this: BEGIN QUERY LOGGING WITH STEPINFO ON USER1; Note: This turns on both detail and step logging for user1 there is no syntax for turning on only stepinfo. For assistance with DBQL syntax and usage, see SQL Data Definition Language (B ), and Database Administration (B ). What To Do About Large Volumes of DBQL Data If the DBQL table contains large volumes of data, this may cause very long query execution times or a shortage of spool space while using Teradata WA. The recommended solution to 22 Teradata Workload Analyzer User Guide, Release 16.00

23 Chapter 2: Getting Started Starting Teradata WA Viewing the Error Log this is to implement DBQL maintenance tables using Teradata Professional Services group guidelines. For information on recommended DBQL maintenance tables, see Database Administration (B ) for Teradata Workload Analyzer logs low level information useful for Global Support Center (GSC) operations in the TWA.log file located in this directory: Drive:\Documents and Settings\user\My Documents\Teradata\DBM Logs\ Starting Teradata WA Start Teradata WA from the Windows Start menu. To start Teradata WA From the Start menu, point to Programs, and click Teradata Workload Analyzer. The Teradata Workload Analyzer window opens. To exit Teradata WA From the menu bar of the Teradata WA main window, select File > Exit. Login and Configuration This section describes connecting to the Teradata Database and defining initial settings for the Teradata WA application. Connecting to the Database Before working with Teradata WA, a connection to the Teradata Database as user tdwm must be established. No local mode is available. Note: User tdwm must be created before continuing. Create this user by running a DIP script. For more information about DIP scripts, see Utilities: Volume 1 (A-K) (B ). To connect to the Teradata Database as user tdwm 1 Open the Connect to Teradata Database dialog box by doing one of the following: Click on the Teradata Workload Analyzer window toolbar. Select File > Connect. Press Ctrl+L. Teradata Workload Analyzer User Guide, Release

24 Chapter 2: Getting Started Login and Configuration 2 In the Connect to Teradata Database dialog box, enter the database connection parameters. See Table 1. Table 1: Connect to Teradata Database dialog box Option System (DBS) Name User Name Password Session Character Set Description Name of the database to connect to; Teradata WA uses this to store workload definitions and related data. Teradata WA requires the user to log on as user tdwm. The name in this field cannot be edited. Password associated with the user tdwm. Note: The default password for this user is tdwmadmin. To change this password, use the MODIFY USER statement. For information about using this statement, see Database Administration (B ). This option is not available. A DIP script creates a default character session set [ASCII for standard, KAJISJIS_0S for Kanji-enabled systems (Japanese)]. By default, a UTF-16 character set is displayed. For more information about DIP scripts, see Utilities: Volume 1 (A- K) (B ). 3 [Optional] Click More to reveal advanced login options. See Table 2. Table 2: Connect to Teradata Database dialog box Advanced Options Option Authentication Mechanism Description Select the authentication mechanism value in the list box. 24 Teradata Workload Analyzer User Guide, Release 16.00

25 Chapter 2: Getting Started Login and Configuration Table 2: Connect to Teradata Database dialog box Advanced Options (continued) Option Authentication Parameter Default Database Account String Description Type the appropriate authentication parameter for the selected authentication mechanism. Select the default database used, if any. Select the account string, if any. 4 Click OK. When connected, the Teradata Workload Analyzer window displays the following: In the lower left corner of the window: Ready In the lower right corner of the window: Logged on to database_name as user_name. To disconnect from the database Disconnect from the database by doing one of the following: Click on the Teradata Workload Analyzer window toolbar. Click File > Disconnect. Press CTRL+G. Adding Initial Workload Periods for PSA Migration Before PSA migration, system periods must be set up to associate with the workloads. Defining multiple system periods allows the system to handle workloads differently depending on the time of day, day of the month, and so on. In addition, allocation groups and resource partitions that are defined in Priority Scheduler Administrator or Teradata Dynamic Workload Manager can be associated with the workload periods. There are three options for defining system periods: Import system periods from any rule set by clicking Import From Ruleset Import system periods from a.pds file by clicking Import From File Create a new system period by clicking Add Period To add initial workload periods for PSA migration 1 Open the Define Periods (Operating Environments) dialog box. You can do this in one of the following ways: Click on the Workload Analyzer toolbar. Click Tools > Define System Periods. The Define Periods (Operating Environments) dialog box appears. Teradata Workload Analyzer User Guide, Release

26 Chapter 2: Getting Started Login and Configuration Table 3: Define Periods (Operating Environments) dialog box Table 3 describes the options for the Define Periods (Operating Environments) dialog box. Option Import From Ruleset Import From File Save To File Periods Description Add Period Delete Period Everyday Day of Week Description Imports system periods from an existing rule set. Imports system periods from a file. Saves system periods to a.pds file. Displays available system periods. Displays descriptions of available system periods. Adds a new system period to the Periods list. Deletes the selected system period from the Periods list. Defines this period for every day usage. This is the default setting. Defines this period for usage on specific days of every week. If using this option, click the check box for each day of the week to be included. 26 Teradata Workload Analyzer User Guide, Release 16.00

27 Chapter 2: Getting Started Login and Configuration Table 3: Define Periods (Operating Environments) dialog box (continued) Option Month/Day Description Defines this period for usage on specific months of the year and days of the month. Click the Months button to display the Select Months dialog box; under Select Months, click the check box for each month to be included and click OK. Then click the Days button to display the Select Days dialog box; under Select Days, click the check box for each day to be included and click OK. Notice that the Months box under the Date/Time tab shows the numerals for the months or days selected. If there is a range of days or months, these may be separated by a comma or a hyphen as appropriate. 24 Hours Defines this period for usage 24 hours at a time. To define the period for less than 24 hours at a time, de-select this check box. The default is selected. From Defines the period starting time, where HH can be any hour from 0 (12:00 A.M.) to 23 (11:00 P.M.) and MM can be any number of minutes from 0 to 59. The default start time is 0:00. To Defines the period ending time in HH:MM format, where HH can be any hour from 0 (12:00 A.M.) to 23 (11:00 P.M.) and MM can be any number of minutes from 0 to 59. The default end time is 23:59. Wrap Around Midnight to Next Day Accept Defines a range in time that spans midnight for system periods to be in effect. When the numeric value of the time specified in the From text box is greater than the numeric value of the time specified in the To text box, two conceptual time segments are available: Start at midnight until the time specified in the To text box. Start from the time specified in the From text box to midnight. Accepts the changes made to the Time box. 2 To import the periods from a rule set, do the following: a Click Import From Rule Set. The Select Rule Set dialog box appears. Teradata Workload Analyzer User Guide, Release

28 Chapter 2: Getting Started Login and Configuration b c Active Rule Set displays the currently active rule set. Click on a row in the Existing Rule Sets list to select a different rule set, or click Use Active Rule Set to continue using the active rule set. Click OK to save the selection. 3 To import the periods from a file, do the following: a b c Click Import From File. The standard Open file dialog appears. Select the appropriate.pds file. Click OK. 4 To create a new system period, do the following: a b c d e f g h i Click Add Period. The Add Period dialog box appears. In the Period Name text box, type a name for the new period. In the Description text box, type a brief description of the period. Click OK. The new period name displays in the Periods list. Clear the Everyday check box and define the days and months that this workload period should be in effect. Clear the 24 Hours check box to define the hours that this workload period should be in effect. Click the Date/Time tab and define the days and times that this workload period should be in effect. After completing these changes as appropriate, click Accept. Click Save to File. 28 Teradata Workload Analyzer User Guide, Release 16.00

29 Chapter 2: Getting Started Login and Configuration The new system period is saved to a.pds file. Configuring Application Options This section discusses the setting of Teradata WA options, allowing for configuration of application settings. The Show Distinct Count option allows the display of the number of distinct value counts for all possible correlation parameters. It also allows the display of total available ranges for distribution parameters. This feature provides an automated, intermediate analysis step to identify distinct value counts within all possible correlation parameters as well as a heterogeneous identification metric for the workload in general. For example, with respect to the distinct value counts, a workload could display the following characteristics. Figure 3: Example of workload and its distinct value counts Example of a workload and its distinct value counts User Name (24) Application (1) Account Name (1) Client Addresses (2) Queryband Function (3) Urgency (1) AggLevel (8) Estimated Processing Time (0 to 1000 seconds) AMP Count (0 to 1) 2514A012 In Figure 3, the DBA benefits from the knowledge that there is only one distinct Application or Account, which run at the same urgency, so the effort in identifying a correlation against a different Application, Account, or other urgency values would be a waste of time. The opportunity for correlation does exist for Users (24), Function (3), and Agglevel (8), so those options could be further analyzed in a trial and error method. The same process is applicable for selecting a distribution parameter because the Estimated Process Time has a large range, and drill-down required for analysis and classification. The Show Distinct Count option is useful in avoiding unnecessary trial and error analysis by providing a direct analysis of distinct value counts in a workload. The distinct value counts are updated after each level of analysis. See Using Deep Drill-Down and Refinement for Workload Analysis on page 94 for more information. Teradata Workload Analyzer User Guide, Release

30 Chapter 2: Getting Started Getting to Know the Teradata WA Interface To define Teradata WA options 1 From the Tools menu, select Options. The Options dialog box appears. 2 Fill in the options as described in the table. Option Show Distinct Count Workload Prefix Contains Select this check box to display the distinct value counts for workload correlation parameters and the total available range for distribution parameters on the Analyze Workload tab. The default characters used as the prefix in the workload definition name. The default is WD. Type a new value if appropriate. Note: Using long prefixes can result in long workload definition names that might not be displayed properly in Viewpoint Workload reports. Keep prefixes as short as practical. 3 Click OK to save the changes, or Cancel to discard them and start over. Getting to Know the Teradata WA Interface The Teradata WA user interface provides options for developing workloads and allocating service level goals. Table 4 lists the menu items of the Teradata WA interface. 30 Teradata Workload Analyzer User Guide, Release 16.00

31 Chapter 2: Getting Started Getting to Know the Teradata WA Interface Table 4: Teradata WA Menus and Options Menu Option Used to... For more information, see... File Connect Connects to the Teradata Database. Displays the Connect dialog box requiring logon information. Alternatively, click on the toolbar, or press Ctrl+L for this option. To connect to the Teradata Database as user tdwm on page 23 Disconnect Disconnects from the Teradata Database. Alternatively, click on the toolbar, or press Ctrl+G for this option. To disconnect from the database on page 25 Exit Exits from Teradata Workload Analyzer. To exit Teradata WA on page 23 View Toolbar Toggles the status of toolbar visibility. Status Bar Toggles the status of status bar visibility. Active Rule Set Displays the active workload rule set information. Viewing the Active Rule Set on page 165 Alternatively, click option. on the toolbar for this Navigation Help Displays a checklist of tasks required to convert PDSets to Workloads. Using the Navigation Help on page 33 Alternatively, click on the toolbar. Analysis Convert PDSets to Workloads Converts PDSet information created using the Priority Scheduler Administrator into equivalent workloads. PDSet to Workload Mapping Considerations on page 35 Alternatively, click on the toolbar, or press Ctrl+D for this option. New Workload Recommendations Generates workload rules. Alternatively, click on the toolbar, or press Ctrl+L or Ctrl+W for this option. Obtaining New Workload Recommendations on page 49 Existing Workload Analysis Starts the analysis of existing workloads. Alternatively, click on the toolbar, or press Ctrl+E for this option. Existing Workload Analysis on page 125 Teradata Workload Analyzer User Guide, Release

32 Chapter 2: Getting Started Getting to Know the Teradata WA Interface Table 4: Teradata WA Menus and Options (continued) Menu Option Used to... For more information, see... Tools Teradata Dynamic Workload Manager Starts the Teradata Dynamic Workload Manager application from Teradata WA for users running Teradata Database 12.0 through 13.0 only. Teradata Workload Analyzer User Guide (B ), Releases through Alternatively, click option. on the toolbar for this Define System Periods Defines period definitions at the system level global to all workloads. Adding Initial Workload Periods for PSA Migration on page 25 Alternatively, click option. on the toolbar for this Options Specifies application level options. Configuring Application Options on page 29 Help Help Contents Displays a browser window containing online Help contents and topics. Alternatively, click on the toolbar for this option. Online Help for Teradata Workload Analyzer on page 33 About Teradata Workload Analyzer Displays the About dialog box that provides useful information about Teradata WA and the current database session, including database version and release numbers. During the process of creating a new workload recommendation, the left pane of the window lists workload definitions as separate nodes in the Candidate Workloads tree. Additional nodes appear under each workload definition for attributes and service level goals. (By design, the Default workload definition does not have service level goals.) Figure 4: Candidate Workloads Tree in left pane of window For more information, see: Step 3: Defining Service Level Goals to Get the Most Out of Reports on page 86 Working with Workload Attributes on page Teradata Workload Analyzer User Guide, Release 16.00

33 Chapter 2: Getting Started Online Help for Teradata Workload Analyzer Note: To toggle display of workloads on and off, from the View menu, click View Workloads. When you check this menu option (checked is the default), the Teradata WA user interface displays the Candidate Workloads tree; otherwise, it is not displayed. Online Help for Teradata Workload Analyzer Teradata WA online help answers questions about how to use Teradata WA features. Online help (including context-sensitive help) opens in a browser window. Microsoft Internet Explorer version 6.0 or later is the recommended browser for viewing online help and contextsensitive help. A browser other than the recommended browser might result in incorrectly displayed help. Using the Navigation Help The Navigation Help guides users through the process of converting PDSets to Workloads. The Navigation Help provides a checklist of actions to perform. A check mark appears next to each completed action. To start Navigation Help Select View > Navigation Help, or click on the toolbar. The Navigation Help menu is automatically displayed when selecting Analysis > Convert PDSets to Workloads. Displaying Information About Teradata Workload Analyzer To display information about Teradata Workload Analyzer The About screen provides useful information about Teradata WA and the current database session, including database version and release numbers. Select Help > About Teradata Workload Analyzer. The About dialog appears as shown in Figure 5. Teradata Workload Analyzer User Guide, Release

34 Chapter 2: Getting Started Displaying Information About Teradata Workload Analyzer Figure 5: About Teradata Workload Analyzer dialog 34 Teradata Workload Analyzer User Guide, Release 16.00

35 CHAPTER 3 Converting PDSets to Workloads This section describes the process of converting your existing PDSets to workloads. It includes the following: PDSet to Workload Mapping Considerations The PDSet to Workload Conversion PDSet to Workload Mapping Considerations PDSets must meet the following requirements to successfully map to workloads: There must be a one-to-one correlation between workloads and performance groups. Only one performance period is allowed per performance group. One workload is created for each account. However, if the total number of accounts for all PDSets is 35 or more, one workload is created per performance group. If multiple accounts are available for a workload/performance group, the account names are OR d in the classification table, creating multiple rows - one per account. If no associated account is found in DBQL for a performance group, then it is marked inactive. There is no workload created in this case. The Classify Condition for Acct is AcctName. If an inactive performance group is overridden to an active one, then the Classify Condition is: Acct = $PGName (the Priority Group part of the performance group). Note: If the message The PSA database is Locked by another user appears when running PSA migration, it means that either the PSA database is currently being accessed or that a previous user of the PSA database exited without freeing the lock. The standard resolution in this case would be to wait to for the lock to be released. If after a period of time you suspect the lock is hung, you should determine if it is safe to free the lock manually and then repeat the operation. The PDSet to Workload Conversion This section describes the process of PDset to workload conversion. This section contains the following: Selecting PDSets for Conversion Viewing Priority Scheduler Settings Teradata Workload Analyzer User Guide, Release

36 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion Displaying Logs of Conversion Messages Converting Priority Scheduler Settings to Workloads Defining SLGs for Converted PDSets Selecting PDSets for Conversion To select PDSets for conversion 1 Do one of the following: Click on the Workload Analyzer toolbar. Select Analysis > Convert PDSets to Workloads. Press Ctrl+D. If there are no scheduled PDSets available, the Select PDSet(s) dialog box appears. Teradata WA retrieves any scheduled PDSets. To define a new period, click Define Periods. 36 Teradata Workload Analyzer User Guide, Release 16.00

37 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion The Define Periods (Operating Environments) dialog box appears. The fields and controls on this dialog box are described in the table below. Table 5: Define Periods dialog box Option Import From Ruleset Import From File Save To File Periods Description Add Period Delete Period Everyday Day of Week Description Imports system periods from an existing rule set. Imports system periods from a file. Saves the system period to a.pds file. Displays the available system periods or imported periods from the rule set or file. Displays descriptions of the available system periods. Adds a new system period to the Periods list. Deletes the selected system period from the Periods list. Defines this period for every day usage. This is the default setting. Defines this period for usage on specific days of every week. If using this option, click the check box for each day of the week to be included. Teradata Workload Analyzer User Guide, Release

38 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion Table 5: Define Periods dialog box (continued) Option Month/Day Description Defines this period for usage on specific months of the year and days of the month. Click the Months button to display the Select Months dialog box; under Select Months, click the check box for each month to be included and click OK. Then click the Days button to display the Select Days dialog box; under Select Days, click the check box for each day to be included and click OK. Notice that the Months box under the Date/Time tab shows the numerals for the months or days selected. If there is a range of days or months, these may be separated by a comma or a hyphen as appropriate. 24 Hours Defines this period for usage 24 hours at a time. To define the period for less than 24 hours at a time, de-select this check box. The default is selected. From Defines the period starting time, where HH can be any hour from 0 (12:00 A.M.) to 23 (11:00 P.M.) and MM can be any number of minutes from 0 to 59. The default start time is 0:00. To Defines the period ending time in HH:MM format, where HH can be any hour from 0 (12:00 A.M.) to 23 (11:00 P.M.) and MM can be any number of minutes from 0 to 59. The default end time is 23:59. Wrap Around Midnight to Next Day Accept Defines a range in time that spans midnight for system periods to be in effect. When the numeric value of the time specified in the From text box is greater than the numeric value of the time specified in the To text box, two conceptual time segments are available: Start at midnight until the time specified in the To text box. Start from the time specified in the From text box to midnight. Accepts the changes made to the Time box. To instruct Teradata WA to include active performance groups, click DBQL Inputs in the Select PDSet(s) dialog box. The date and time range of activity logged in DBQL can be modified in the Data Collection Interval dialog box. Note: If the DBQL data has been migrated to another database as described in What To Do About Large Volumes of DBQL Data on page 22, do the following: in the Data Collection Interval dialog box, select External DBQL as the Log Option, and enter workdata as the Database name. 38 Teradata Workload Analyzer User Guide, Release 16.00

39 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion Teradata WA obtains the performance groups for accounts which had activity during the defined interval. Otherwise, Teradata WA uses the data dictionary (dbc.users) table to determine performance groups. 2 Under Available PDSets, click the name of the PDSet to be converted and ensure that: An OpEnv is selected. This is required for conversion. A PDSet has been associated with the Default period. The entire row is selected (indicated by black shading), not just the cell containing the PDSet name. For example: Teradata WA associates the PDSet with a period in DWM that most closely corresponds to the performance period defined in the PDSet. To select multiple PDSets, hold down the Ctrl key and click the names of the PDSets you want to select from column 1 of the table. 3 Under Available PDSets, also select an OpEnv and select or clear the Default check box as appropriate. Only one PDSet can be associated with the Default period. If the operating environment does not appear in the OpEnv list box, click the Define Periods button to create additional periods as described in Adding Initial Workload Periods for PSA Migration on page 25. Teradata Workload Analyzer User Guide, Release

40 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion To specify the range of data included to obtain active performance groups, click the DBQL Inputs button and, in the Data Collection Interval dialog box, change the Date Range, the Time Window, or both. Click OK when finished. 4 Repeat this process, as applicable, for each PDSet to be converted, then click Proceed to load the detailed parameters for the PDSets. When DWM has finished retrieving the settings, the Existing PSA Setting tab appears. By default the Existing PSA Setting tab shows information for all RPs and the associated periods. Scheduled PDSets When migrating scheduled PDSets, the operating environments (Periods) will be derived from the scheduling information in the PDSets. If there are multiple scheduled PDSets and any of the PDSets contains time of day milestones, an error message will be displayed as a Rule Set cannot be created from multiple PDSets when any of the PDSets uses time of day (TOD) milestones. 40 Teradata Workload Analyzer User Guide, Release 16.00

41 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion Viewing Priority Scheduler Settings To view Priority Scheduler settings 1 Choose from the following: To view information for a specific RP, select the appropriate RP in the RP Name list box of the Existing PSA Setting tab. To change the associated period, select an appropriate period name in the OpEnv list box. To display or modify the details for the selected period, click OpEnv Details. When the appropriate RP appears, notice that the tab displays the following information from the original PDSet. Option RP Name PG Name PG Status Account Milestone Allocation Group Milestone Value AG Weights Convert Convert by Account Convert by Performance Group Close Description The RP name associated with the PDSet The performance group in the corresponding resource partition The performance group status as active (the PG currently has active processes) or inactive (the PG currently has no processes active). To change the status, click or clear the check box as appropriate. The account string associated with the RP and PG The performance period type associated with the milestone in the PDSet The allocation group associated with each performance period. Multiple columns appear for each performance period, starting with PerformancePeriod1 The milestone limit defined for the performance period in the PDSet Displays allocation group weights for the resource partition in the Existing Priority Scheduler Weights dialog box Displays the converted PDSets as workload definitions in the Migrated TASM Settings dialog box Converts the PDSets as workload definitions based on Accounts. Note: If the number of workloads exceeds the maximum when this option is selected, an error message (62218) prompts you to exclude some accounts from the conversion or to try to create the workloads by PG instead. Converts the PDSets as workload definitions based on Performance Groups. Note: If the number of workloads exceeds the maximum when this option is selected, an error message (62218) prompts you to exclude some PGs from the conversion. Closes the dialog box. 2 To see allocation group weights for the resource partition, click AG Weights. Teradata Workload Analyzer User Guide, Release

42 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion The Existing Priority Scheduler Weights dialog box appears displaying: PDSet name OpEnv name Resource partition name Resource partition weight Allocation group name Allocation group weight Relative weight 3 When you are finished reviewing the settings, click Close. Displaying Logs of Conversion Messages To display a log of conversion messages 1 On the Existing PSA Setting or Migrated TASM Settings tab, click Show Log to view a report of scheduled PDSets and related periods. The log from the Existing PSA Setting tab shows the number of PDSets selected, the type of migration, and any errors from the merging and migration process. The log from the Migrated TASM Settings tab lists the PDSets that have been converted to workloads and any errors that have occurred during that process. 42 Teradata Workload Analyzer User Guide, Release 16.00

43 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion 2 Choose from the following: Click Save to save the log to a file. Click Print to send the log to the printer. Click OK to close the window. Converting Priority Scheduler Settings to Workloads To convert Priority Scheduler settings to workloads 1 In the Existing PSA Setting dialog box, click Convert. The Migrated TASM Settings tab appears. Notice that the dialog box provides the following new workload definition information: RP Weight AG Name Enforcement Priority AG Weight Relative Weight Previous Relative Workload Name Classify Criteria Teradata Workload Analyzer User Guide, Release

44 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion By default, the conversion maps the PDSet as is. However, if you select Simplified Structure, DWM maps the PDSet such that the default RP is not used for requests even if the original PDSet did so. Instead, DWM creates a new RP for the work from the Default RP, reserving the Default RP for system work. A tactical partition is created for shortrunning, high-priority tactical queries, and the Standard partition runs the remaining work. 2 After selecting either Remap As Is or Simplified Structure, click Continue to complete the conversion. 3 Click Cancel to exit the dialog box. 4 In the Parameters window, click View CPU Distribution. This prompts Teradata WA to group accounts into workloads and displays the PSA to DWM Conversion - CPU Distribution dialog box. 5 The fields and controls on this dialog box are described in the table below. Option Log Option Description Select the appropriate log from these options: DBQL (default) External DBQL External DBQL contains DBQL data which has been copied to a database other than DBC. Its table schema can be identical to DBQL, but for improved performance Teradata recommends that DBQL data be copied to a history database defined according to Professional Services guidelines. See Database Administration (B ). 44 Teradata Workload Analyzer User Guide, Release 16.00

45 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion Option Database Date Range Time Window OpEnv Top N Value View CPU Distribution Save Rule Set Description The database being analyzed. Enter the starting and ending dates of the range of the data collected. The displayed date format depends on the regional settings of the PC. To select a date from a calendar pop-up window, click the drop-down arrow. The default start date is a month prior to the current system date; the default end date is the current system date. Enter the starting and ending times of the range in HH format, using a 24-hour clock. Alternatively, click the drop-down arrow to select an hour from the list. The default Start Hour is 00 (12:00 A.M.) and the default End Hour is 23 (11:00 P.M.). Note: Teradata WA includes all of the specified End Hour in its analysis. For example, End Hour 23 means analyze DBQL data up to and including 23:59: Select the period. Click the... button to populate the list with all available periods.the default is Always. This value indicates the number of the most resource-intensive workloads to analyze. For example, 3 analyzes the three most resource-intensive workloads running (10 is the default). Calculates CPU distribution of workloads. Saves the current rule set. 6 Select Rule Set > Calculate All WD SLGs. A progress bar appears while Teradata WA determines the service level goal recommendations. These appear in the SLG Recommendations pane. Teradata Workload Analyzer User Guide, Release

46 Chapter 3: Converting PDSets to Workloads The PDSet to Workload Conversion Defining SLGs for Converted PDSets To define service level goals for converted PDSets 1 In the SLG Recommendations dialog box, view the default parameters and resulting service level recommendations, along with the resulting chart. 2 Set the options as described in the table below. Option SLG Parameters OpEnv Set Manually Recommended SLG Recommend on current Service percent Factor by Description Displays the service parameters that can be viewed or modified to generate Teradata WA SLG recommendations. Click a service parameter in the list or accept the default (Response Time) as appropriate. When a listed parameter is selected: that parameter appears as the horizontal axis of the chart after selecting the Set Manual option, the value of all parameters can be edited in the SLG Recommendations window Changing the setting prompts Teradata WA to update the graph immediately. Displays the available operating environments. Click an operating environment in the list box or accept Always as appropriate. Changing the setting prompts Teradata WA to update the graph immediately. Click this check box (cleared by default) to modify the recommended service levels. When setting levels manually, you can change the selected service parameter s recommended value (shown highlighted in white). No other values are available for edited (shown shaded). Arrival rate, Response Time, Throughput and Service Percent appear. The response time goal shown is the value that would satisfy a 80% goal. Displays the current performance baseline that Teradata WA automatically uses for determining service level recommendations. You can adjust this as appropriate. Modifies the SLG parameter, with a factor of 1 being the same as today, 0.1 being 10 times faster than today, 10.0 being 10 times slower than today. 3 Click Apply. 46 Teradata Workload Analyzer User Guide, Release 16.00

47 CHAPTER 4 Analyzing New Workloads to Meet SLGs This section describes how to plan, select, and analyze new workloads to meet service level goals using Teradata WA. It consists of the following: Planning New Workloads for Analysis Obtaining New Workload Recommendations Step 1: Defining An Initial Set of Workloads Step 2: Refining and Analyzing Recommended Workloads Step 3: Defining Service Level Goals to Get the Most Out of Reports Step 4: Mapping Workloads to Allocation Groups Step 5: Creating the Workloads Using Deep Drill-Down and Refinement for Workload Analysis Planning New Workloads for Analysis The keys to developing service level goals and distributing resources adequately to achieve those goals are: Identifying new candidate workloads Segmenting them into manageable pieces Assigning them appropriate priorities Teradata WA enables administrators to understand their resource-intensive workloads at a high level. Instead of identifying workloads on the SQL statement level, Teradata WA defines them by account or application. This isolates workloads in a way that is more relevant to the business of the enterprise. Administrators can associate resource demands with who is generating the work or by what work is being done. When Database Administrators know these critical factors, they can make informed choices about allocating resources in the best interests of the organization. For example, a mission-critical application that is not resource-intensive might be a single workload and a single service-level goal with a high percentage of resources allocated, while ad-hoc applications can be grouped together and supported at a lower percentage of service. In addition to identifying workloads from a business perspective, it is important to find a way to segment the workloads for effective management. If the majority of work is attributable to a single application, it is nearly impossible to break that work down and distribute resources across the work according to its priority. In this case, organizing a workload according to Teradata Workload Analyzer User Guide, Release

48 Chapter 4: Analyzing New Workloads to Meet SLGs Planning New Workloads for Analysis accounts might be more reasonable. For example, the DBA might identify the user groups, departments, or divisions performing the work and assign priorities based on the needs of those groups. These priorities would determine the allocation of resources to them. More important workloads should receive a greater share of system resources so that they process before others. In addition, workloads expected to process quickly should be set at a higher priority, while slower ones should be set at a lower priority. In this way, administrators use not only a technical but also a business orientation to determine workload selection when creating new workload recommendations using Teradata WA. Teradata WA performs analysis using three fundamental criteria, with each representing a greater level of granularity: Who is requesting the work? What are the request s performance characteristics? Where is the request targeted? Who is the account or application that initiated the queries, what are performancerelated characteristics of the queries, and where is the database against which the queries run. Based on these criteria, some obvious associations can be made between similar queries to assign them to the same workloads for the sake of efficiency. However, for best results, look next at the query components and characteristics at finer levels of detail, to ensure they are appropriately for greatest optimization. The data Teradata WA uses to tune workloads for management according to criteria and granularity level is described in Table 6. Table 6: Comparison of Granularity Levels and Classification Criteria Granularity Level Type of Criteria Includes Low Who Account Account String Application Client IP Address Client ID for logon Profile Username QueryBand 48 Teradata Workload Analyzer User Guide, Release 16.00

49 Chapter 4: Analyzing New Workloads to Meet SLGs Obtaining New Workload Recommendations Table 6: Comparison of Granularity Levels and Classification Criteria (continued) Granularity Level Type of Criteria Includes Medium Who, What The Who criteria plus: Type of statement (SELECT, DDL, DML, or Collect Stats), individually or in combination UtilityType AMP usage (one or a fewer at most) Minimum and maximum estimated row counts, including final row counts Minimum and maximum estimated CPU time Datablock Selectivity IPE Memory Usage Maximum Step Time High Who, What, Where The Who and What criteria plus: Databases Tables Views Macros Stored Procedures Function Method Obtaining New Workload Recommendations The first level of analysis is performed with the New Workload Recommendation option, using criteria based on account, user name, application, or profile. First Level Analysis Features As part of the analysis process, Teradata WA: Recommends workload definitions based on automated analysis of DBQL using who, what, and where parameters Merges two or more workload definitions (user-enabled) Splits workload definitions (user-enabled) Recommends appropriate workload service level goals Recommends workload to allocation group (AG) mapping plus priority scheduler weights The Steps to Creating New Workload Recommendations The new workload recommendation process involves five major steps: Teradata Workload Analyzer User Guide, Release

50 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads Step 1: Defining An Initial Set of Workloads on page 50 Define an initial set of workloads by grouping one or more accounts, users, applications, or profiles. Step 2: Refining and Analyzing Recommended Workloads on page 61 and Using Deep Drill-Down and Refinement for Workload Analysis on page 94 [Optional] Analyze workloads, using one or more deeper levels of analysis to potentially provide multi-level classifications on additional who, where, or what criteria parameters. Step 3: Defining Service Level Goals to Get the Most Out of Reports on page 86 Recommend service level goals for the workloads. Step 4: Mapping Workloads to Allocation Groups on page 88 Develop Priority Scheduler Mapping recommendations and weights for each workload definition. Step 5: Creating the Workloads on page 92 Save the analysis results by creating a new workload. Step 1: Defining An Initial Set of Workloads Defining DBQL Inputs The new workload recommendations process begins with defining the DBQL inputs for workloads. This is the first level of analysis. To define DBQL inputs 1 Do one of the following: Click in the Workload Analyzer toolbar. Select Analysis > New Workload Recommendations. Press Ctrl+W. The Define DBQL Inputs dialog box appears. 50 Teradata Workload Analyzer User Guide, Release 16.00

51 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads 2 Fill in the fields as described in the following table. Option Log Option Description Select the appropriate log from these options: DBQL (this is the default) External DBQL Click the... button to load the database choices into the selection box, then select the database. External DBQL contains DBQL data that has been copied to a database other than DBC. Its table schema can be identical to DBQL, but for improved performance Teradata recommends that DBQL data be copied to a history database defined according to Professional Services guidelines. See Database Administration (B ). Teradata Workload Analyzer User Guide, Release

52 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads Option Date Range Description In the appropriate boxes, enter the starting date (From) and ending date (To) of the range of the data collected. The displayed date format depends on the regional settings of the PC. To select a date from a calendar popup window, click the drop-down arrow. The default end date is one day prior to the current system date; the default start date is one week (7 days) prior to the default end date. Time Select this option to specify a time window of less than 24 hours. In the appropriate boxes, enter the starting and ending times of the range in HH:MM:SS format, using a 24- hour clock. The default start time is 00:00:00 (12:00 A.M.) and the default end time is 23:59:59 (11:59:59 P.M.). To select a time that spans midnight, select a start time greater than the end time from the Time of Day box. Note: Teradata WA includes all of the specified end time in its analysis. For example, an end time of 23:59:59 means analyze DBQL data up to and including 23:59: Top N Filter Top N Value Filter within Range Every Day Select this option to filter the returned data. Enter a value indicating the number of the most resource-intensive workloads to analyze. For example, enter 3 to analyze the three most resource-intensive workloads running (10 is the default). Note: For better performance, implement an external historical copy of DBQL data using Professional Services guidelines and definitions, and use the same external database for workload analysis. Select this option to filter the returned data by days of the week and times of day. When selected, the Every Day and 24 Hours checkboxes become enabled and selected. When the Filter within Range check box is selected as described in the previous row of this table, the Every Day check box becomes enabled and selected. If left in that condition, returned data will be captured in the database every day of the week. Clear the Every Day check box to select specific days of the week to exclude from data capture. When the Every Day check box is cleared, all options in the Day of Week pane are enabled and selected. Clear one or more of the check boxes for options Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday to exclude data capture on those days of the week. 52 Teradata Workload Analyzer User Guide, Release 16.00

53 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads Option Description 24 Hours When the Filter within Range check box is selected as described earlier in this table, the 24 Hours check box becomes enabled and selected. If left in that condition, returned data will be captured in the database 24 hours per day for each day selected for capture as specified by the Every Day option. Clear the 24 Hours check box to specify a time window of less than 24 hours during which data will be captured. In the appropriate boxes under Time of Day, enter the start time (From) and end time (To) in HH:MM:SS format, using a 24-hour clock. The default start time is 00:00:00 (12:00 A.M.) and the default end time is 23:59:59 (11:59:59 P.M.). To select a time spanning midnight, specify the start time as greater than the end time. Note: Teradata WA includes all of the specified end time in its analysis. For example, an end time of 23:59:59 means analyze DBQL data up to and including 23:59: Category Select the appropriate category from these options: Account String Select this option to classify queries based on the account string of the user submitting the workload; this is the default. Users Select this option to classify queries based on the username submitting the workload. Applications Select this option to classify queries based on the application that is submitting the workload. Profile Select this option to classify queries based on the profile attached with the user. 3 After specifying the options, click OK. Teradata WA queries the DBQL. The query process may take several minutes. The Candidate Workload Report window appears. Teradata Workload Analyzer User Guide, Release

54 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads Figure 6: Candidate Workload Report displays CPU, IO, and Query Volume statistics The Distribution Charts tab shows the same information in a pie chart with a legend pop-up window. Viewing Workloads Using the Candidate Workload Report The Candidate Workload Report window is divided into the following panels: The right panel displays the Workloads Report. This is a list workloads, the percent of the CPU used to process them, average estimated processing time, and the normalized CPU processing time per query. The left panel displays the Candidate Workloads tree showing the names of the workloads. After each workload analysis, split, or merge, the workloads redisplay with the evaluation order. See Viewing Evaluation Order of Candidate Workloads on page 168 for more information. All workloads created during analysis are temporary workloads until they are saved to the database. The maximum number of workloads supported is 250. In SLES 11, default workloads are 5 and the remaining 245 are user-defined. In SLES 10, default workload is 1 and the remaining 54 Teradata Workload Analyzer User Guide, Release 16.00

55 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads 249 are user-defined. For more information, see TASM SLES11 Support on page 171. Typically the number of workloads will range between 10 and 20 for manageability. On systems with a large number of unassigned requests (accounts or applications, or users), grouping can be used to keep the number of workloads within the supported range. Figure 7: Candidate Workload Report window displaying unassigned requests Table 7 describes the columns in the Candidate Workload report who classification. Table 7: Displayed Columns in the Candidate Workload Report - who classifications Column Name Account String Percent of Total CPU Percent of Total I/O Query Count Avg Est Processing Time Normalized CPU per Query (Seconds) Min, Avg, StDev, 95th Percentile, Max Description The database-related account string for the user Percentage of the total CPU time (in seconds) used on all AMPs by this session Percentage of the total number of logical input/output (reads and writes) issued across all AMPs by this session The number of queries in this workload that completed during this collection interval The average estimated processing time for this user The minimum, average, maximum, standard deviation, 95th percentile and maximum expected CPU time for queries in this workload. Normalized CPU per Query (Seconds) is the default distribution parameter. Teradata Workload Analyzer User Guide, Release

56 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads Table 7: Displayed Columns in the Candidate Workload Report - who classifications (continued) Column Name UnNormalized CPU per Query (Seconds) Min, Avg, StDev, 95th Percentile, Max Response Time (Seconds) Min, Avg, StDev, Max Result Row Count Min, Avg, StDev, Max Disk I/O Per Query Min, Avg, StDev, Max CPU To Disk Ratio Min, Avg, StDev, Max Active AMPS Min, Avg, StDev, Max Spool Usage (Bytes) Min, Avg, StDev, Max CPU Skew (Percent) Min, Avg, StDev, Max I/O Skew (Percent) Min, Avg, StDev, Max Description The minimum, average, maximum, standard deviation, 95th percentile and maximum expected UnNormalized CPU time for queries in this workload. The minimum, average, standard deviation, and maximum response time for queries in this workload The minimum, average, standard deviation, and maximum result rows returned for this workload The minimum, average, standard deviation, and maximum disk I/O s per query for this workload The minimum, average, standard deviation, and maximum CPU/Disk ratio for this workload The minimum, average, standard deviation, and maximum number of active AMPs for this workload The minimum, average, standard deviation, and maximum spool usage across all VProcs for this workload The minimum, average, standard deviation, and maximum AMP CPU skew for this workload The minimum, average, standard deviation, and maximum of AMP I/O skew for this workload Grouping Unassigned Requests Into a Workload You can group unassigned requests such as accounts, applications, users, or profiles into a new workload. To group unassigned requests into a workload 1 From the Unassigned Requests report panel, press Ctrl and click the rows to be grouped into a workload. 2 Right-click to display shortcut menu. The options for the Unassigned Requests report shortcut menu are described in the table. 56 Teradata Workload Analyzer User Guide, Release 16.00

57 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads Option Submenu option Description Add To New Workload Select a single row or block of rows from the Unassigned Requests report and select this option to create a new workload and add all the selected unassigned accounts, applications, or users to the workload. Existing Workload Select a single row or block of rows from the Unassigned Requests report and click this option to assign these clusters to an already defined workload. Auto-Generate Workloads Add Workload Using WildCard Save Report As Print Report Show/Hide Details Automatically generates single, new workloads from the rows in the Unassigned Requests report that contain the who criteria. Click this option to open the Select WildCard dialog box to assign these clusters with wild card filters. Saves the Unassigned Requests report to a file in.xml,.txt, or.html format. Prints the Unassigned Requests report. Hides or displays all unassigned requests under OTHERS row, in case the Top N value selected is greater than the N requests found in the database. If not, this option is unavailable. 3 Click Add To, then click New Workload. The Add Workload dialog box appears. 4 From the Add Workload dialog box, complete the options as appropriate for the new workload. See the following table. Note: If there are more than 250 workloads, the Add Workload dialog box becomes unavailable. Teradata Workload Analyzer User Guide, Release

58 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads Option Name Description Description The name of the workload. A description of the workload. Enforcement Priority Tactical - short queries with a fixed response-time requirement. Priority - important queries that should get extra resources. Normal - normal queries; this is the default. Background - low-priority queries with no response time requirement. 5 Click OK. The newly created workload now displays in the Workloads Report section of the Candidate Workload Report window. For information on creating individual workloads for each unassigned request row, see Creating a Separate New Workload for Each Selected Row on page 69. To group unassigned requests into an existing workload 1 From the Unassigned Requests report panel, press Ctrl and click the rows to be grouped into an existing workload. 2 Right-click to display shortcut menu. 3 Click Add To, then click Existing Workload. The Select Workload dialog box appears. 4 Select the workload you want to add the unassigned requests to. Click OK. 5 The selected unassigned requests are grouped with the existing workload and are removed from the Unassigned requests report. 58 Teradata Workload Analyzer User Guide, Release 16.00

59 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads To create a separate new workload for each selected unassigned request 1 Select one or more rows in the Unassigned requests report. 2 Right-click to display the shortcut-menu. 3 Select Auto-Generate Workloads. The Auto-Generate Workloads dialog box appears. For more information, see the Auto- Generate Workloads dialog box options in To create a separate new workload for each selected row and see step 5. 4 Select the options. 5 Click OK. Teradata WA creates a new workload for each unassigned row containing the Criteria #1 attributes. To create a workload from wild card filters A workload can be created from wild card filters for quick specification of classifications. 1 Right-click in the Unassigned requests report. The shortcut-menu displays. 2 Select Add Workload using wild card. The Select Wildcard dialog box displays. 3 The options for the Select WildCard dialog box are described in the table below. Teradata Workload Analyzer User Guide, Release

60 Chapter 4: Analyzing New Workloads to Meet SLGs Step 1: Defining An Initial Set of Workloads Option WildCard Name Selected WildCard List Add to New Workload Auto-Generate Workload Description Enter the name of the wild card, with one of the following supported wild card symbols: Asterisk (*) - use the asterisk symbol to represent a missing character. For example, if you enter $M* as your search term, your results might return $M$abc, $M$def, and so forth. Question mark (?) - use the question mark symbol to represent one unknown character. Use it when you have a list of similar names, or are unsure of a few characters. Displays the list of wild cards created. Click to add the selected row to a new workload. Click to automatically generate a new workload from the selected row. 4 Type the wild card name in the WildCard Name text box and click >>. The wild card name displays in the Selected Wild Card List list, and results of the wild card search display in the report below. 5 Select the row in the report and click Add to New Workload. See the table in step 4 of Grouping Unassigned Requests Into a Workload on page 56 to complete the options for this dialog box. 6 To auto-generate the selected row, click Auto-Generate Workload. See step 3 in To create a separate new workload for each selected row on page 69 to complete the options for this dialog box. 60 Teradata Workload Analyzer User Guide, Release 16.00

61 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads The newly created workload displays in the Workload Report. Step 2: Refining and Analyzing Recommended Workloads Generating the initial workload recommendations after grouping accounts, applications, users, and profiles identified in those recommendations are preliminary steps toward optimizing the highest resource consumers on a system. Although analysis can stop at this level, further optimization may be achieved by refining the recommended workloads. This represents the second level of analysis, in which additional who, what, and where parameters are chosen for further classification of the workloads. This additional level of classification enables identification of other similarities among workloads so that they will run even more efficiently. This section provides information how to refine and analyze workloads at a basic level. Teradata WA also offers the ability to apply a recursive analysis of workloads with different correlation and distribution parameters. See Using Deep Drill-Down and Refinement for Workload Analysis on page 94 for more information. Supported Analysis Parameters Teradata WA supports the Who, What, Where, and Exception parameters described in Table 8. Table 8: Supported analysis parameters Parameter Criteria Parameter Who Account Name Account String Application Client address Client ID Profile Username Query Band UtilityType Teradata Workload Analyzer User Guide, Release

62 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Table 8: Supported analysis parameters (continued) Parameter Criteria Parameter What Estimated processing time Result Rows AMP Count Statement type Exception Parameters (subset of What Parameter) IO count Spool Usages Normalized CPU Time UnNormalized CPU Time Where Data objects Database Tables Views Macros Stored procedures Function Method Analyzing Workloads Based On Who Parameters To analyze a workload based on who parameters 1 In the Candidate Workload Report window, right-click over the workload to be analyzed in the Workloads Report. The Workloads Report shortcut menu displays the menu options described in the following table. Table 9: Workloads Report shortcut menu Option Workload Details Analyze Workload Merge Workload Split Workload Calculate SLGs Description Displays the workload details in the Workload Attribute tabbed screen. Analyzes the workload based on who or what parameters (second level of analysis). This will invoke the Analyze Workload window. Merges workloads. Splits workloads. Calculates the service level goals for the selected workload. 62 Teradata Workload Analyzer User Guide, Release 16.00

63 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Table 9: Workloads Report shortcut menu (continued) Option Rename Workload Delete Workload Delete Assigned Request Calculate All WDs SLGs Workload to AG Mapping Save Report As Print Report Hide Details Description Renames the workload. Deletes the workload from the Workloads Report. Removes the assigned requests from the Workload Report. The deleted items are automatically re-displayed in the Unassigned requests report. This option is available only when a detail row (not a workload aggregation row) is selected. Calculates SLG Goals for all defined workloads Performs WD to AG mapping (same as existing WD to AG option) Saves the workloads report to a file (in either.xml, txt or html formats). Prints the workloads report. Hides or shows the cluster details. Only workload rows are displayed when Hide is selected. 2 Select Analyze Workload. Note: Alternatively, expand the node next to the workload to be analyzed under the Candidate Workloads tree, then select Analyze. The Analyze Workload window appears. Teradata Workload Analyzer User Guide, Release

64 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 3 Complete the following options as appropriate to analyze the workload as described in the following table. Note: To display the total number of elements for correlation parameters, and the total available maximum and minimum ranges for distribution parameters, see Configuring Application Options on page 29. Option OpEnv Syscon Workload Correlation Parameter Queryband Filter Name Description Displays the system setting for the operating environment (period event). The default setting is Always, with precedence of one. You can select one or more OpEnvs to analyze with the workload. Displays the system setting for the system condition. The default setting is Normal, with severity of one as part of the new rule set. The default setting cannot be deleted. You can select one or more Syscons to analyze the workload. Lists the available Who and Where parameters to substitute for the ones previously used. For example, if account-based parameters were used initially, this list displays application-based and object-based parameters in case they provide more efficient workloads. Click the appropriate parameter for the workload you want to refine. Lists the available query band names. The query band names are automatically loaded when the Analyze Workload tab displays. The number next to each query band name represents the number of distinct value counts. The Analyze Workload tab displays which query band the analysis is based on. Figure 8: Example of report with query band name displayed Load Click to refresh the list of query bands. 64 Teradata Workload Analyzer User Guide, Release 16.00

65 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Option Workload Distribution Parameter Distribution Buckets Description Lists the available What and Exception Criteria parameters. Select the appropriate distribution parameter to view the analysis graph for the selected correlation parameter (based on queries distribution on the selected What and Exception Criteria parameter). The default distribution parameter is CPU Time. Normalized CPU Time is the default distribution parameter. Enter the number of histogram buckets to distribute the resulting distribution parameter values into. For example, if the correlation parameter is Client ID and the distribution parameter is CPU Time, and the bucket number is ten, then the total CPU Time value is divided into ten equal histogram buckets and the report displays how the top Client IDs are distributed among the bucket values. The default distribution is ten histogram buckets. Figure 9: Example of Distribution Parameters with ten buckets Arrival Rate/Throughput Group By Lists the Start and End dates to analyze Arrival Rate/ Throughput for the selected correlation parameter. The lists are enabled if Arrival Rate/Throughput are selected as the distribution parameter. This option is enabled when Arrival Rate or Throughput are selected as Distribution Parameters Select the Hour option to group selected Arrival Rate/ Throughput days by the hour. For example, if the Start Date is 11/20/06 and End Date is 11/23/06, the hours would be grouped as follows: zero hour from 11/20 to 11/ 23, first hour from 11/20 to 11/23, second hour, and so forth. Select the Date option to group the selected days by the date of each day. Teradata Workload Analyzer User Guide, Release

66 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Option Perform Analysis DBQL Date Range Select Workload View Classification View Exception Current Workload Classification Undo Classification Description Displays the Graph tab with the selected Data Filter settings. A workload analysis report and distribution graph display. Displays the starting and ending date range of data collected. Lists the name of the candidate workloads. Click the workload to be refined. Click to view the classification of the current workload displayed in the Current Workload Classification list after each level of analysis is performed. Click to view the exception of the current workload displayed in the Current Workload Classification list after each level of analysis is performed. Lists the workloads currently being classified. The number next to each workload classification represents the distinct value counts within all possible correlation parameters. For example, Account Name (3) means that there are a total of three accounts classified. Click to restore the workload to the previous classification. The workload must be selected from the Current Workload Classification list to be undone. Workload classifications may be undone more than once. Classifications added with the Add to option can be undone. First-level analyses cannot be undone. 66 Teradata Workload Analyzer User Guide, Release 16.00

67 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 4 Click Perform Analysis to analyze the selected workload with the chosen options. The Analyze Workloads results are displayed with a graph. The following options for the Graph tab are described in the following table. Option Correlation Parameter option Distribution Parameter option Workload Name Correlation Report by Distribution Report by Top N Value text box Refresh button Home button Description Displays Correlation Report information in the graph. Displays the Distribution Report of the correlation parameter plus distribution parameter that is displayed. For example, if CPU Time is the selected distribution parameter, then the distribution of CPU Time of the selected correlation parameter is displayed. Displays the name of the current workload being viewed. Displays the selected correlation parameter that the report is based on. Displays the selected distribution parameter that the report is based on. Enter the number of resource-intensive workloads to analyze. The default number is 10. Redisplays the graph with the newly selected parameters. Redisplays the Analyze Workload tab with the Data Filters tab. Teradata Workload Analyzer User Guide, Release

68 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Option Zoom In - Zoom Out Description Changes the granularity of the graph view. The Graph tab allows you to select a distribution or correlation parameter to analyze for a particular workload. For example, if the correlation parameter is ClientID, and the distribution parameter is Response Time, the analysis displays a report for the distribution of Response Time based on found ClientIDs for the selected workload. Creating New Workloads From Groups Of Existing Workloads To create a new workload by grouping existing workloads 1 From the Analyze Workload tab, select the Correlation Parameter option in the View By box. 2 Select one or more rows in the Analyze Workloads report with the attributes to be flagged, for example, high CPU usage. 3 Right-click to display the shortcut-menu. The Analyze Workloads report shortcut-menu displays the options described in the following table. Option Split to New Workload Add clusters for Deeper analysis Auto-generate Workloads Update Graph and Distribution Report Save Report As Description After selecting a single row or block of rows in the Analyze Workload report, choose this option to create a new workload with all the selected classifications. The selected row is removed from the report and the graph is updated with the remaining unassigned clusters. Click to add selected clusters to the current workload for deeper analysis.the selected cluster is removed from the report and the graph is updated. Note: This option is disabled for original workloads. The Split Workload option allows for a new workload to be created. See Table 9 on page 62 for more information. The Add To option is then enabled for further workload classification. Select this option to automatically generate a new workload for each selected row. Select this option to update the report and redraw the graph to include changes. Select this option to save report in.txt,.html, or.xls format. 68 Teradata Workload Analyzer User Guide, Release 16.00

69 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 4 Select Split to New Workload. The Add Workload dialog box appears. 5 Fill in the Add Workload dialog box to describe the new workload. 6 Click Preview Classification to view the classification of the workload to be created. A read-only Classification window displays with the classification criterion of the workload. 7 Click OK. Teradata WA creates a new workload containing both the Criteria #1 and Criteria #2 attributes. Creating a Separate New Workload for Each Selected Row Teradata WA creates a new workload for each row containing the Criteria #1 and Criteria #2 attributes. To create a separate new workload for each selected row 1 Select Correlation Parameter in the View By box. 2 Select one or more rows in the Analyze Workloads report with the attributes to be flagged, for example, high CPU usage. 3 Right-click to display the shortcut-menu. 4 Select Auto-Generate Workloads. The Auto-Generate Workloads dialog box appears. Teradata Workload Analyzer User Guide, Release

70 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 5 Select an option as described in the table below. Option Description Enforcement Priority Tactical - short queries with a fixed response-time requirement. Priority - important queries that should get extra resources. Normal - normal queries; this is the default. Background - low-priority queries with no response time requirement. 6 Click OK. Analyzing Workloads Based On What Parameters Teradata uses equal-width and equal-height histograms in analyzing what parameters. Equal-Width Versus Equal-Height Histograms A histogram is a vertical bar chart in which the frequency corresponding to a class is represented by the area of a bar (or rectangle) whose base is the class width. The histogram differs from a bar chart in that it is the area of the bar that denotes the value, not the height. However, if the widths of the bars are uniform (that is, equal-width) then only the height need be considered. Teradata WA uses both equal-width and equal-height histograms in analyzing the what parameter. Equal-Width Histograms An equal-width histogram such as that shown in Figure 10, divides data into a fixed number of equal-width ranges. The corresponding height of each range represents the number of values falling into that range. 70 Teradata Workload Analyzer User Guide, Release 16.00

71 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Figure 10: Equal-widths histogram For example, suppose that the values in a single column of a 1000-row table range between 1 and 100, and you want to generate a 10-bucket equal-width histogram. (Ranges in histograms are often referred to as buckets. ) The buckets would contain the values 1-10, 11-20, 21-30, and so on, where each bucket counts the number of rows falling into its range. For a list of supported analysis parameters, see Table 8 on page 61. Equal-Height Histograms Equal-width histograms work well when the variation of the data distribution is small. They do not work so well, however, when such variation is large. For example, in Figure 10, 95% of the data falls into the first bucket, and the remaining 1% is scattered into 19 buckets, making it difficult to effectively analyze the data. In this situation, an equal-height histogram is the solution, such as that shown in Figure 11. Such histograms work well when the variation in data distribution is large. Unlike equalwidth histograms, they place the same number of values into each range, so the endpoints of each range are determined by the number of values it contains. Teradata Workload Analyzer User Guide, Release

72 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Figure 11: Equal-height histogram The graph isn't as informative as the bin-widths identified on its x-axis. They reveal that not only are the vast majority of data points in the range, but provide additional insight that the vast majority of queries (80%) consume less than 0.01 CPU secs. This information is provided in a pop-up dialog box for each equal-height histogram. For instructions on viewing histograms and their data, see step 6 on page 74. Displaying a What Parameter Histogram To display a what parameter histogram 1 From the Candidate Workloads tree, expand the workload to be analyzed. 2 Select Analyze Workload. The Analyze Workload window appears. 72 Teradata Workload Analyzer User Guide, Release 16.00

73 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 3 Select the appropriate what options in the Workload Distribution Parameters list. Note: See the table following step 3 in To analyze a workload based on who parameters on page 62 for more information about Analyze Workload window options. 4 Click Perform Analysis to analyze the selected workload with chosen options. By default, the Analyze Workload window creates an equal-width balanced histogram, dividing the total selected distribution parameter into the number of buckets specified in the Top N Value field. Each bucket contains equal amounts of the selected distribution parameter and the total query count lies in that bucket. 5 To view the corresponding equal-height histogram, click the Switch to Equal-Height Histogram button on the Analyze Workload tab. You can also right-click the histogram itself and select Equal-Height Histogram from the menu that appears. Teradata Workload Analyzer User Guide, Release

74 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 6 To view the Equal-Height Distribution report associated with the histogram, select View Equal-Height Table. The table appears similar to the following. Creating a New Workload From a Particular Bucket In the Histogram For this procedure, Estimated Processing Time is used as an example. To create a new workload from a particular bucket in the histogram 1 From the Estimated Processing Time histogram, highlight the bucket to be analyzed, then right-click. The shortcut menu appears. See To add an existing classification to a new workload on page 79 and see step 2 for more information. 74 Teradata Workload Analyzer User Guide, Release 16.00

75 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 2 Select the Split to New Workload option. The Estimated Processing Time dialog box appears. 3 Enter the minimum and maximum processing time bucket parameters. 4 Click OK. The Add Workload dialog box appears. 5 Enter the workload attribute details. See the table after step 4 of To group unassigned requests into a workload on page 56 for more information. 6 Click OK. A new workload is created with Minimum and Maximum Estimated Processing Time along with the first level of classifications. The selected row/bucket is removed from the Analyze Workload report. Teradata Workload Analyzer User Guide, Release

76 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Zooming In On a Histogram Bucket For More Detail To zoom in on a bucket for more detail For this procedure, Estimated Processing Time is used as an example. Zooming in on a bucket creates another Top N Values within the bucket, presenting a finer view of the distribution. 1 From the Estimated Processing Time histogram, right-click the bucket to zoom in on. 2 Select Zoom In from the short-cut menu. The Zoom In dialog box appears. 3 Enter the minimum, maximum processing time, and the number of bucket parameters, and Click OK. After processing, the bucket is displayed as a new histogram. 4 To reset the zoom to the previous level, right-click and select the Zoom Out option. Rounding Up Equal-Width Buckets for More Intuitive Number Recognition The widths of equal-width buckets are calculated by dividing the highest value by the number of buckets. While technically accurate, this method may not be intuitive to the user. Rounding up the calculation of the widths used in equal-width buckets may improve the usability of the buckets while making a small sacrifice in their accuracy. The rounding up of bucket widths is based on calculating the maximum value and then rounding it up so that the last bucket covers the maximum value. For example, if you have a large range of numbers with the highest value = , and want to split the values into 10 buckets, then the bucket size is calculated as / 10 = If this is rounded up to 400, then the revised buckets would have the following values: 0-400, , ,..., , and These new buckets would then be reflected in the distribution report shown in Figure Teradata Workload Analyzer User Guide, Release 16.00

77 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Figure 12: Distribution report after rounding up the widths of buckets for data with a large range of values For data with a small range of values where the highest value = 3.15, split into 10 buckets, bucket width is calculated as 3.15 / 10 = 0.31, rounded to The revised buckets are then split into these values: , , ,..., , and as reflected in the distribution report in Figure 13. Teradata Workload Analyzer User Guide, Release

78 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Figure 13: Distribution report after rounding up the widths of buckets for data with a small range of values Displaying Columns in the what classification of the Analyze Workload Report To display the columns in the what classification Analyze Workload report Select Distribution Parameter. Table 10 describes the displayed columns in the what classification Analyze Workload report. Table 10: Columns in the Analyze Workload report - what classification Column Name Estimated Processing Time Min, Max, Query Count Percent of Total CPU Percent of Total I/O Average Est Processing Time Normalized CPU per Query (Seconds) Min, Avg, StDev, 95th Percentile, Max Description The minimum and maximum estimated processing time and the number of queries that completed during this collection interval for this bucket Percentage of the total CPU time (in seconds) used on all AMPs for this bucket Percentage of the total number of logical input/output (reads and writes) issued across all AMPs for this bucket The average estimated processing time for each query The minimum, average, maximum, standard deviation, 95th percentile and maximum expected CPU time for queries in this bucket. 78 Teradata Workload Analyzer User Guide, Release 16.00

79 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Table 10: Columns in the Analyze Workload report - what classification (continued) Column Name UnNormalized CPU per Query (Seconds) Min, Avg, StDev, 95th Percentile, Max Response Time (Seconds) Min, Avg, StDev, Max Result Row Count Min, Avg, StDev, Max Disk I/O Per Query Min, Avg, StDev, Max CPU To Disk Ratio Min, Avg, StDev, Max Active AMPS Min, Avg, StDev, Max Spool Usage (Bytes) Min, Avg, StDev, Max CPU Skew (Percent) Min, Avg, StDev, Max I/O Skew (Percent) Min, Avg, StDev, Max Description The minimum, average, maximum, standard deviation, 95th percentile and maximum expected UnNormalized CPU time for queries in this bucket. The minimum, average, standard deviation, and maximum response time for queries in this bucket The minimum, average, standard deviation, and maximum result rows returned for this bucket The minimum, average, standard deviation, and maximum disk I/O s per query for this bucket The minimum, average, standard deviation, and maximum CPU/Disk ratio for this bucket The minimum, average, standard deviation, and maximum number of active AMPs for this bucket The minimum, average, standard deviation, and maximum spool usage across all VProcs for this bucket The minimum, average, standard deviation, and maximum AMP CPU skew for this bucket The minimum, average, standard deviation, and maximum of AMP I/O skew for this bucket Adding Existing Classifications to New Workloads To add an existing classification to a new workload 1 From the Analyze Workload window displaying the previously analyzed workload, click the Distribution Parameter option in the View By box. The Distribution Report displays with the selected distribution parameter by correlation parameter. 2 Highlight the bucket to be analyzed, then right-click. The shortcut menu appears. See the following table for descriptions. Teradata Workload Analyzer User Guide, Release

80 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Option Split to New Workload with (selected Distribution Parameter) as Classification Add (selected Distribution Parameter) as classification to workload Zoom In Zoom Out Save Report As Description Select this option to add a new workload with the selected distribution parameter as classification. This shortcut menu option displays when Result Rows, AMP Count, or Estimated Processing Time is selected from the Distribution Parameter list on the Analyze Workload tab. Select this option to add the selected distribution parameter as an additional criterion to the workload. This shortcut menu option displays when Result Rows, AMP Count or Estimated Processing Time is selected from the Distribution Parameter list on the Analyze Workload tab. Select this option to change the granularity of the graph view. Select this option to change the granularity of the graph view. Saves the workloads report to a file (in either.xml, txt, or html formats). 80 Teradata Workload Analyzer User Guide, Release 16.00

81 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 3 Select Split to New Workload with (selected Distribution Parameter) as Classification. The Add Workload dialog box appears. See table to complete the options. 4 Click OK. A new workload is created from the selected workload. The new workload contains the parent workload s classifications, along with the new criteria. Analyzing Workloads Based on Exceptions Teradata WA supports the following exception parameters: Unnormalized CPU Time Normalized CPU Time IO Count CPU Time Spool Size Response Time Analyzing Workloads Based On Exception Parameters To analyze a workload based on exception parameters 1 In the Candidate Workload Report window, right-click over the workload to be analyzed. The Workloads Report shortcut menu appears. 2 Select Analyze Workload. The Analyze Workload window appears. Note: Alternatively, expand the node next to the workload to be analyzed under the Candidate Workloads tree, and then select Analyze. 3 Click on the Distribution Parameter drop-down, and select the exceptions and actions. 4 Enter the number of Distribution Buckets. The default number of buckets is Click Perform Analysis to analyze the selected workload with the chosen exception parameters. A same-width histogram displays for the selected workload and correlation parameter. Creating a Workload with Exception from Analyzed Values To create a workload with exception from the analyzed values 1 From the Analyze Workload window with the previously analyzed workload with exceptions, click the Distribution Parameter option in the View By box. 2 Right-click over the bucket row to analyzed. The Workloads Report shortcut menu for the Distribution Parameter view appears. See the following table for descriptions. Teradata Workload Analyzer User Guide, Release

82 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Option Split to New Workload with (selected Distribution Parameter) as Exception Add (selected Distribution Parameter) as Exception to workload Zoom In Zoom Out Save Report As Description Select this option to add a new workload with the selected distribution parameter as the Exception. This shortcut menu option displays when CPU Time, Response Time, IO Count, or Spool Usage (bytes) is selected from the Distribution Parameter list on the Analyze Workloads tab. Select this option to add the selected distribution parameter as a user-defined exception criterion for the highlighted workload. This shortcut menu option displays when CPU Time, Response Time, IO Count, or Spool Usage (bytes) is selected from the Distribution Parameter list on the Analyze Workloads tab. Select this option to change the granularity of the graph view. Select this option to change the granularity of the graph view. Saves the workloads report to a file (in either.xml, txt, or html formats). 3 Select Split to New Workload with (selected Distribution Parameter) as Exception. The Add New workload With Exception dialog box displays. 82 Teradata Workload Analyzer User Guide, Release 16.00

83 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 4 Select the options as described in the following table: Option Workload Name Preview Classification Workload Description Exception Type Exception Name WD Enforcement Priority Definition Name of the workload. Click to view the classification of the workload to be created. A read-only Classification window displays with the classification criterion of the workload. A description of the workload. Displays the Exception parameter to be used for the exception. Name of the exception parameter. Tactical short queries with a fixed response-time requirement. Priority important queries that should get extra resources. Normal normal queries; this is the default. Background low-priority queries with no response time requirement. Teradata Workload Analyzer User Guide, Release

84 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads Option Exception Actions Definition No Exception Monitoring Only log the exception. Continue and Log Logs the exception and choose another action. Abort and Log Log the exception and abort the request. Abort On Select and Log - Log the exception and abort the request only if it was a select that did not modify tables. Change Workload Log the exception and move the request to the specified workload. Raise Alert Log the exception and raise the specified alert through Teradata Viewpoint Alert Setup. For more information, see Teradata Viewpoint User Guide (B ). Note: Teradata Viewpoint Data Collection Service (DCS) monitors database tables and sends alerts to Teradata Viewpoint Alert Viewer for processing. Teradata Viewpoint Alert Viewer allows users to view and manage alerts. Run Program Log the exception and run the specified program using Viewpoint Workload Monitor. For more information, see the Teradata Viewpoint User Guide (B ). 5 Click OK. The newly created workload with exception appears in the Candidate Workloads tree. Adding Exception Criteria to an Existing Workload To add exceptions to an existing workload 1 From the Analyze Workload window with the previously analyzed workload with exceptions, click the Distribution Parameter option in the View By box. 2 Right-click over the bucket row to analyzed. The Workloads Report shortcut menu for the Distribution Parameter view appears. 3 Select Add (selected Distribution Parameter) as Exception to workload. The Add Exception to Existing WD appears. 84 Teradata Workload Analyzer User Guide, Release 16.00

85 Chapter 4: Analyzing New Workloads to Meet SLGs Step 2: Refining and Analyzing Recommended Workloads 4 Select the options as described in the following table: Option Exception Name Exception Type Exception Max Value Description Name of the exception parameter Displays the Exception parameter to be used for the exception. The maximum value of the selected exception parameter. Teradata Workload Analyzer User Guide, Release

86 Chapter 4: Analyzing New Workloads to Meet SLGs Step 3: Defining Service Level Goals to Get the Most Out of Reports Option Exception Actions Description No Exception Monitoring Only log the exception. Continue and Log Logs the exception and choose another action. Abort and Log Log the exception and abort the request. Abort On Select and Log - Log the exception and abort the request only if it was a select that did not modify tables. Change Workload Log the exception and move the request to the specified workload. Raise Alert Log the exception and raise the specified alert through Teradata Viewpoint Alert Setup. Note: Teradata Viewpoint Data Collection Service (DCS) monitors database tables and sends alerts to Teradata Viewpoint Alert Viewer for processing. Teradata Viewpoint Alert Viewer allows users to view and manage alerts. Run Program Log the exception and run the specified program using Viewpoint Workload Monitor. For more information, see the Teradata Viewpoint User Guide (B ). 5 Click OK. A message appears confirming the addition of the exception to the selected bucket row. 6 Click OK. The message dialog box closes, and the selected bucket row for the exception is removed from the Distribution Report. Step 3: Defining Service Level Goals to Get the Most Out of Reports Service Level Goals (SLG) are benchmarks that can be set so the effectiveness of workload management can be analyzed. How Teradata WA Sets SLGs Teradata WA recommends service level goals for workloads to achieve the greatest responsiveness. Teradata WA sets goals using current performance as a baseline. For example, Teradata WA might detect that, under current performance, for 80 percent of queries, the maximum response time is 300 seconds. Therefore, Teradata WA would set the service-level goal for response time as 80 percent, meaning that 80 percent of queries process in less than 300 seconds. The user can choose to accept the recommended goals or modify various settings as reporting needs dictate. Using service level goals is recommended, although not required. 86 Teradata Workload Analyzer User Guide, Release 16.00

87 Chapter 4: Analyzing New Workloads to Meet SLGs Step 3: Defining Service Level Goals to Get the Most Out of Reports Service Level Goals and Viewpoint Workload Monitor Assigning Service Level Goals to tactical and priority workloads will provide a reference point in the Viewpoint Workload Monitor, creating a visualization of how well the workloads are performing. Note: SLGs for workloads that have long, varied response times have little value and will expand the Viewpoint Workload Monitor response time graph scale making it difficult to read the response times of tactical workloads. Accepting Or Modifying Service-Level Goal Recommendations To accept or modify service-level goal recommendations 1 Under Candidate Workloads, expand the selected workload, then click on the SLG Graph icon. The SLG Recommendations window appears. Note: Alternatively, the SLG Recommendations window can be displayed by selecting Rule Set > Workloads> Calculate SLGs from the Teradata WA menu. 2 In the SLG Recommendations window, view the default parameters and resulting service level recommendations, along with the displayed chart. 3 Change the options as described in the following table. Teradata Workload Analyzer User Guide, Release

88 Chapter 4: Analyzing New Workloads to Meet SLGs Step 4: Mapping Workloads to Allocation Groups Table 11: SLG Recommendations Option SLG Parameters OpEnv Set Manually Recommended SLG Recommend on current Service percent Factor by Description Displays the service parameters that you can view or modify to generate Teradata WA SLG recommendations. Click a service parameter in the list or accept the default (Response Time) as appropriate. When a listed parameter is selected: this parameter appears as the horizontal axis of the chart the value of this parameter can be edited in the SLG Recommendations table displayed beneath the chart; no other options are available for editing. Changing the setting prompts Teradata WA to update the graph immediately. Displays the available operating environment. Click operating environment (OpEnv) in the list box or accept Default as appropriate. Changing the setting prompts Teradata WA to update the graph immediately. Allows modification of the recommended service levels. This checkbox is unchecked by default. Changes the selected service parameter s recommended value (shown highlighted in white). No other values are available for editing (shown shaded). Arrival rate, Response Time, Throughput and Service Percent are displayed. The response time goal shown is the value that would satisfy a 80% goal. Displays the current performance baseline that Teradata WA automatically uses for determining service level recommendations. Adjust this as appropriate. Modifies the SLG parameter, with a factor of 1 being the same as today, 0.1 being 10 times faster than today, 10.0 being 10 times slower than today. 4 When satisfied with the new values, click Apply. Step 4: Mapping Workloads to Allocation Groups There are two strategies for automating the determination of priority settings in Teradata WA: Either by Category of Work or by Subject Area Resource Division. Priorities can also be set manually, by defining specific allocation groups and resource partitions. 88 Teradata Workload Analyzer User Guide, Release 16.00

89 Chapter 4: Analyzing New Workloads to Meet SLGs Step 4: Mapping Workloads to Allocation Groups Category of Work Category of Work allocates weight based on importance of the workload; it is best suited for tactical or priority workloads. If Category of Work is selected, Teradata WA assigns AGs, RPs and default weights for each enforcement priority type as shown in Table 12. Therefore, it is only required that enforcement priorities are associated to workloads; the RPs and AGs are already set up. (Selecting the Category of Work approach removes any previously defined RPs or AGs.) Table 12: Default AG and RP Weights for Priority based on Category of Work Enforcement Priority AG AG Weight RP RP Weight Global Relative Weight (GRWs) Tactical Tactical-AG 20 Tactical-RP 60 75% Priority Priority-AG 40 Standard-RP 20 16% Normal Normal-AG 20 Standard-RP 20 5% Background Backgnd-AG 10 Standard-RP 20 2% When using the Category of Work approach, there are fewer active allocation groups, with those groups having similar relative weights. However, there will be a clear distinction between the Tactical and Priority enforcement priority settings. Workloads defined with the Tactical or Priority enforcement priority must use the Category of Work approach. They cannot use the Subject Area Resource Division option. Subject Area Resource Division The Subject Area Resource Division method allocates weight based on a designated share of the available resources. This approach works best for workloads that run mostly at Normal or Background priority. Teradata WA predefines the RPs and weights when using the Subject Area Resource Division method; AGs and weights can be user-defined. When the Subject Area Resource Division approach is in use, there are more active AGs with less differentiation between the priorities of active AGs. Note: The Subject Area Resource Division option cannot be used if the workloads are tactical or priority. In these cases, the Category of Work option must be used instead. Workload-to-Allocation Group Mapping As a last step before saving the workload, use Workload-to-Allocation Group mapping to associate workloads with allocation groups and enforcement priorities. This is useful if analysis reveals that certain workloads require different enforcement priorities and allocation groups than those defined for the workload state. By default, workloads are mapped to AGs and RPs as shown in Table 13. Teradata Workload Analyzer User Guide, Release

90 Chapter 4: Analyzing New Workloads to Meet SLGs Step 4: Mapping Workloads to Allocation Groups Table 13: Default Mapping of Enforcement Priorities Enforcement Priority AG RP Tactical Tactical-AG Tactical-RP Priority Priority-AG Standard-RP Normal Normal-AG Standard-RP Background Background-AG Standard-RP Note: Workloads can be grouped in the same AG if they have the same enforcement priority. Maintaining several separate AGs results in more control, but at the cost of there being less differentiation between the AGs. Defining Enforcement Priorities To define enforcement priorities 1 Select Rule Set > Workload to AG Mapping. The Set Enforcement Priority dialog box appears. 2 In the Set Enforcement Priority dialog box, click the workload to be modified and drag it to the enforcement priority row. 90 Teradata Workload Analyzer User Guide, Release 16.00

91 Chapter 4: Analyzing New Workloads to Meet SLGs Step 4: Mapping Workloads to Allocation Groups To hide workloads that have already been assigned enforcement priorities, click the Show Only Unassigned Workloads check box. The following table describes the available mapping options: Table 14: Mapping options Option State Category of Work Subject Area Resource Division RP Name RP Weight AG Name AG Weight Relative Weight Enforcement Priority Assigned Workloads Description Displays the state of the system. State is a composite of system condition and operating environment. The default state is Base, which represents the mapping of Normal and Always. With this option selected, Teradata WA recommends standard resource partition and allocation group weights. Click Reload if this option is reset. Select this option if RP weights are already defined and Teradata WA will recommend only allocation group weights. Click Reload if this option is reset. Note: This option is not available if the workloads are Tactical or Priority. The name of the resource partition automatically applied to the workload. The RP weight allocated to the workload. This cannot be changed without changing the enforcement priority. The name of AG applied to the workload. The AG weight allocated to the workload. This cannot be changed without changing the enforcement priority. The relative weight associated with the workload. This can be changed without changing the enforcement priority. Displays the currently assigned enforcement priority for the selected workload. To change the assignment, click Change Enforcement Priority and modify the Set Enforcement Priority dialog box. Displays the names of the workload associated with the enforcement priority. Note that more than one workload can be allocated to a particular enforcement priority and allocation group. 3 After making the appropriate changes, click OK. This causes the Workload-Allocation Group Mapping dialog box to appear, where the method of priority-setting can be selected and the resource partitions and allocation groups can be modified. Teradata Workload Analyzer User Guide, Release

92 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads 4 In the Workload-Allocation Group Mapping dialog box, view the displayed values. To display the default RP information in the dialog box, click the Show Default RP check box. 5 Click OK to accept values or Cancel to discard them and start over. Note: The enforcement priority for a workload can be modified from the Attributes dialog box under Candidate Workloads. Step 5: Creating the Workloads The workloads defined during each phase of New Workload Recommendation are not created until the New Workload Recommendation tasks are completed and new workloads have been chosen for use. 92 Teradata Workload Analyzer User Guide, Release 16.00

93 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Creating a New Workload For Use from Rule Set To create a new workload for use 1 Select Rule Set > Save to Database. The Save Rule Set dialog box is displayed. 2 Enter a name for the rule set or accept the default name. 3 Click OK to save the new workload for use. Note: The TDWM database is locked as a rule set is saved. To group accounts, applications, users, or profiles into a workload 1 Select Rule Set > Workloads > New Workload. See the following table for more information about the Rule Set menu. Menu option Save to Database Sub menu option Description Saves the rule set to the TDWM database. Note: The TDWM database is locked as a rule set is saved. Workloads New Workload Adds a new workload to the Candidate Workload Report window. Merge Workloads Split workload Calculate SLGs Delete Workload Merges selected workloads into a single workload. Splits the selected workload into one or more workloads. Calculates the service level goals for the selected workload. Deletes a workload from the Candidate Workload Report window. Workload to AG Mapping Performs the workload definition to allocation group mapping Teradata Workload Analyzer User Guide, Release

94 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Menu option Calculate All WDs SLGs Sub menu option Description Calculates service level goals for all defined workloads. Note: The Rule Set menu is available when the Candidate Workload Report window is open. 2 From the Add Workload dialog box, complete the options as appropriate for the new workload. See the following table. Option Name Description Description The name of the workload. A description of the workload. Enforcement Priority Tactical - short queries with a fixed response-time requirement. Priority - important queries that should get extra resources. Normal - normal queries; this is the default. Background - low-priority queries with no response time requirement. 3 Click OK. The newly created workload now displays in the Workloads Report section of the Candidate Workload Report window. Using Deep Drill-Down and Refinement for Workload Analysis This section describes the use of deep drill-down analysis and refinement of workloads. Deep drill-down and refinement of workloads can be executed during the second level of analysis. For information about basic second level workload analysis, see Step 2: Refining and Analyzing Recommended Workloads on page Teradata Workload Analyzer User Guide, Release 16.00

95 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads This section includes the following: Overview of Deep Drill-Down and Refinement How Does Deep Drill-Down Analysis Work? Example 1: Deep Drill-Down Analysis Example 2: Deep Drill-Down Analysis with Queryband Parameters Overview of Deep Drill-Down and Refinement After one or more workloads are defined in the initial phase using first level of parameters (Account, Applications, User and Profiles), the Candidate Workloads Tree on the left pane is refreshed with the initial set of workloads. Teradata WA provides the capability to continuously drill-down on a workload with various Who, What, Where and Exceptions parameters (see Table 8 on page 61 for a list of parameters). It can visualize distinct clusters of requests within the workload, each with distinct service time patterns and other characteristics. For example, an initial workload defined on just the Account parameter may include distinct users who execute tactical requests requiring higher priority, while the remaining users do not. Teradata WA helps the DBA identify these clusters by providing reports, correlation graphs and distribution graphs (with parameters such as CPU, Response Time, Estimated Processing Time, for example) on different dimensions. Analysis of an individual workload is initiated by selecting the Analyze Workload option on the Workload Report shortcut menu (see the table following step 1 on page 62) or by clicking Analyze under the workload to be analyzed in the Candidate Workloads Tree. To further refine the initial set of workloads into one or more additional workloads, Teradata WA uses DBQL data for workload analysis. Theoretically, a workload can be subclassified further into multiple workloads through additional classification criterion. Subclassification on any and all possible classification criterion may be confusing and result in many unnecessary workloads. Considering the operational performance points, there is a maximum limit on the number of workloads for a database. Teradata WA guides the DBA towards the appropriate classification criterion. At any given point in the analysis, the DBA is allowed to choose correlation and distribution parameters in the drop-down list, and analyze the associated usage patterns. The DBA could drill deeper in analysis within a chosen cluster, or re-analyze by choosing different correlation and distribution parameters. Through trial-and-error and visualization, the DBA decides which parameters identify the ideal request group to isolate the most effectively. This trial-and-error process is streamlined by providing the DBA with distinct count and distribution range insight without having to click Analyze Workload. This time saving process eliminates unproductive visualizations on a single user, or a tight distribution, for example. The overall flow of workload analysis with deeper drill-down and refinement is represented in Figure 14. Teradata Workload Analyzer User Guide, Release

96 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Figure 14: Overview of deep drill-down analysis Select initial workload and correlation distribution parameters for analysis Click Perform Analysis to view Cluster Report and Distribution Graph Add correlation clusters and distribution buckets as classification and exception on existing WD/Split WD WD Classifications OK? NO Undo/Next Level of Analysis YES Analysis Completed Revised WD Classifications and Exception Criteria Select another workload for Analysis/Drill Down CREATE WORKLOADS DONE 2514A011 How Does Deep Drill-Down Analysis Work? Deep drill-down analysis is a recursive process for deeper analysis on correlation and distribution parameters. If current analysis parameters do not satisfy the DBA, more appropriate parameters can be selected by reviewing the distinct values and ranges for other parameters. For example, with respect to the distinct value counts, one particular workload could display the following characteristics: UserName (24) Applications (1) Account Name (1) 96 Teradata Workload Analyzer User Guide, Release 16.00

97 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Client Addresses (2) Queryband (3) Function (3) Urgency (1) AggLevel (8) Estimated Processing Time (zero to 1000 seconds) AMP Count (zero to 1) Note: See Configuring Application Options on page 29 for information on viewing distinct value counts in workloads. In this example, the DBA now knows that there is only one distinct Application and one distinct Account, and that they both run at the same urgency. Attempting to identify a correlation against a different Application, Account or urgency values is a wasted effort. However, the opportunity for correlation does exist with User Name, Function and AggLevel. The DBA could pursue those correlation options. For the distribution parameter ranges, an Estimated Processing Time range from zero to 1000 seconds suggests that a large variation of requests are included in this workload. The opportunity for identifying clusters is higher with this range, than if the Estimated Processing Time range was just zero to one second. The DBA may add clusters to the current workload for deeper analysis, or clusters may be split off into a new workload. The DBA may repeat this process until good set of workloads are defined, or all unassigned clusters are assigned to workloads. Teradata WA uses an assigned and unassigned cluster concept. Each cluster (for example, Accounts, Users, QueryBands) found during analysis are initially unassigned. Selected clusters are assigned after adding clusters to the current workload for deeper analysis, or after splitting out into a new workload. The unassigned clusters remain available for subsequent action by the DBA, if wanted. Teradata WA brings back all unassigned clusters if the same analysis parameter is clicked again, after displaying an informational message. If unassigned clusters are not used by the DBA, the associated requests are relegated to a different workload after the ruleset changes are saved. For example, consider the following set of six workloads that were generated after the first level of analysis on Accounts, where Workload A is defined for classification Account=A: Teradata Workload Analyzer User Guide, Release

98 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Figure 15: Workload A with classification Account =A after 1st level analysis (no unassigned requests) A 35% The DBA decides to analyze workload A, which consumes 35% of the CPU. Based on some criteria (for example, Client User), it is determined that one element should be isolated, and treated differently than the other elements. The DBA can either split the existing workload, or add classification to existing the workload. If the DBA splits the particular element, the result is a new workload, A2, with classification Account=A and Client User = xyz. Workload A2 automatically has a higher evaluation order than the original workload A to assure client users of xyz execute within workload A2, and all other client users execute within workload A. The CPU distribution divided between the old workload (A) and new workload (A2) workload is shown in Figure 16: Figure 16: Workload A and Workload A2 with CPU distribution division after drill-down split (no unassigned requests) 2514A018 A 28% A2 7% 2514A019 Alternatively, if the DBA chooses to instead add classification to an existing workload, (so that the workload classification of workload A is now Account=A, and Client User = xyz), the unselected elements are designated unassigned, as depicted in Figure 17. If not further acted upon, the unassigned elements end up executing within WD-Default, because no other workload exists that would capture requests with classification Account=A and NOT client user = xyz. 98 Teradata Workload Analyzer User Guide, Release 16.00

99 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Figure 17: Unassigned elements after classification is added to existing workload after drill-down "add to" A 7% Unassigned 28% 2514A021 To avoid accidental relegation of unassigned clusters to WD-Default, or some other unexpected WD, drill-down probes should begin the first analysis step using the Split Workloads option (see Splitting and Merging Workloads for Analysis on page 132 for more information). Additional refinements are done using the Add (selected parameter) as classification to workload option against that new workload, so that unassigned requests are relegated back to the original workload. See Adding Existing Classifications to New Workloads on page 79 for more information). See Example 2: Deep Drill-Down Analysis with Queryband Parameters on page 107 for a demonstration on this particular technique. The DBA selects correlation parameters ( Who and Where ) and the distribution parameters ( What and Exception ) at each depth of analysis (see Table 8 on page 61 for the list of supported parameters). The DBA can also review the workload by viewing the classification list after each level of analysis and click Undo Classification (if needed). The Undo operation is used to reverse any previous analysis performed. The operation deletes assigned clusters from a workload classification and bring them back as unassigned clusters for new add/split operations. Note: After PSA migration, when a CPU distribution pie chart is generated for 250 or more workloads, Teradata WA displays the distribution of the top 10 workloads as determined by the percentage of CPU processing required for each workload. The remaining workloads are grouped into a segment labeled SUM of CPU % as shown in Figure 18. Teradata Workload Analyzer User Guide, Release

100 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Figure 18: Distribution of top 10 workloads represented as a percentage of CPU processing when more than 250 workloads are represented after PSA migration. Example 1: Deep Drill-Down Analysis Follow this example to learn more about deeper drill-down analysis in Teradata WA. Example of deep drill-down analysis 1 Do one of the following: Click in the Workload Analyzer toolbar. Select Analysis > New Workload Recommendations. Press Ctrl+W. The Define DBQL Inputs dialog box appears. 100 Teradata Workload Analyzer User Guide, Release 16.00

101 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads 2 Complete the Define DBQL Inputs options. For more information, see Defining DBQL Inputs on page 50. In the Category box, select Account String. 3 Click OK. Teradata WA queries the DBQL. The query process may take several minutes. The Candidate Workload Report window appears with the Unassigned requests report. 4 Select all the unassigned requests in the Unassigned requests report, and right-click to display the shortcut menu. 5 Select Add To > New Workload. The Add Workload dialog box appears. For this example, the workload is named WD_ABC. The new workload displays in the Candidate Workloads Report. At this point, the CPU distribution of all workloads (1) is 100 percent. Teradata Workload Analyzer User Guide, Release

102 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads after 1st level analysis WD_ABC 100% 2514A022 6 Right-click over WD-ABC for cluster analysis, and select Analyze Workload. The workload is analyzed and the Analyze Workload window appears. 102 Teradata Workload Analyzer User Guide, Release 16.00

103 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The Current Workload Classification list displays a summarization of the classification. The numbers adjacent to the current classification criteria type show the total number of elements for correlation, and minimum and maximum values for distribution classification parameters. For example: Account String (2) - There are two Accounts classified Estimated Processing Time (0-200 secs) - The workload is classified for Estimated Processing Time between zero to 200 seconds) 7 Click View Classification to view detailed classification of the workload. 8 Click View Exception to view the exception definitions. 9 From the Analyze Workload page, select the appropriate correlations from the Workload Correlation Parameter list and the Workload Distribution Parameter list. Note that there are 10 Applications found for the WD-ABC workload, making this a good candidate to analyze deeper. 10 Click Perform Analysis. The Correlation Report and graph display. Note: The workload WD-ABC must be split first from the original workload before selecting TWA application for deeper analysis. ) Teradata Workload Analyzer User Guide, Release

104 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Notice in the Correlation Report that the Application TWA has a significantly higher CPU, IO, and Avg Estimated ProcTime values than other Applications in the report. TWA is selected for deeper analysis. 11 Right-click over TWA, from the shortcut menu, select Add Application clusters for deeper analysis. The Correlation Report and graph update with the remaining unassigned clusters, while Application TWA is assigned to the current workload for deeper analysis. 12 Click the Data Filters tab at the bottom of the page to view the classification for the current workload. The Data Filters page displays. 104 Teradata Workload Analyzer User Guide, Release 16.00

105 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The CPU distribution of all workloads now breaks down to 94% for WD-ABC, and 6% Unassigned. Unassigned 6% after drill-down "add to" WD_ABC 94% 2514A020 Note: If unassigned clusters are not added to current or new split workloads before saving the ruleset to the database, then all queries arrived for unassigned clusters are executed as part of the default workload (WD-Default). If the Application parameter is selected again, all nine unassigned clusters are brought back for subsequent operations (one cluster is assigned to the current workload). 13 For this example, right-click over the remaining nine clusters in the Correlation Report. Teradata Workload Analyzer User Guide, Release

106 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads 14 Select the Split to New Workload option or the Add clusters for deeper analysis option. For the purpose of this example, Split to New Workload is selected and the new workload is named WD-Others. The CPU distribution is now 7% for WD_Others. There are no unassigned requests. 106 Teradata Workload Analyzer User Guide, Release 16.00

107 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads after drill-down split the rest WD_Others 7% WD_ABC 94% 2514A Save the rule set to the database for activation. See Step 5: Creating the Workloads on page 92 for detailed instructions. Example 2: Deep Drill-Down Analysis with Queryband Parameters This example describes deep drill-down analysis of several query band parameters to help identify and isolate various request clusters, or provide additional granularity on request clusters. In this example, one initial workload consumes the majority of the resources. A more granular breakdown of that workload is investigated. Long running outliers are noted in the analysis. The goal is to have these outliers classified into their own workload so that different workload management techniques are applied. Example of deep drill-down analysis and query band parameters 1 Select Analysis>New Workload Recommendations. The Define DBQL Inputs dialog box appears. 2 Complete the Define DBQL Inputs options. For more information, see Defining DBQL Inputs on page In the Category box, select Account String, and click OK. The Unassigned requests report displays. 4 Right-click over each workload and select Auto-Generate Workloads. The Candidate Workloads Report displays. Teradata Workload Analyzer User Guide, Release

108 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The CPU distribution of all workloads is 8% ADW-TACT and 92% ADW-DS. Workload WD-ADW-DS is selected for further analysis because it is consuming 92% of the total CPU. after 1st level analysis ADW- TACT 8% ADW-DS 92% 2514A025 5 Right-click over WD-ADW-DS, and select Analyze Workload. The Analyze Workload page appears. 108 Teradata Workload Analyzer User Guide, Release 16.00

109 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads There are a total of five distinct query band names. The query bands can be viewed only if Queryband is selected from the Workload Correlation Parameter list. The five distinct query band names in this example are: QueryBand (5) AggLevel (7) Function (5) Region (7) TopTierApp (3) Urgency (3) There are several suitable analysis candidates available in this query band list, as denoted by the distinct value counts. 6 For this example, select QueryBand as the correlation parameter. 7 Click to load the query band names in the Queryband Filter drop-down list. 8 Select Function, then click Perform Analysis. The Correlation Report and graph display. Teradata Workload Analyzer User Guide, Release

110 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads A total of five query band values display for the Queryband=Name function. Notice a possible distinction with Function=MIN, which included queries with greater time spent than any of the other queries. 9 From the report, right-click over the MIN row, and select Split to New Workload. 10 Name the new workload WD_ADW_Outliers. This step is done to insure that unassigned clusters fall back into the original WD-ADW- DS workload classification. 110 Teradata Workload Analyzer User Guide, Release 16.00

111 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The QueryBand Function=MIN is split to the new workload, ADW-Outliers. The remaining four functions are unassigned, falling back to ADW-DS if no other action is taken on them. ADW- Outliers 19% after drill-down 1st split ADW- TACT 8% ADW-DS 73% 2514A024 The Correlation/Distribution Reports and graph refresh with the remaining four unassigned query band values for the next add or split operation. Teradata Workload Analyzer User Guide, Release

112 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads 11 From the report, right-click over WD_ADW_Outliers and select Analyze Workload to perform further drill-down analysis. The Analyze Workload page displays. 112 Teradata Workload Analyzer User Guide, Release 16.00

113 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads 12 Select TopTierApp from the Queryband Filter list, and click Perform Analysis. The report and graph display. The longest running queries not only common to Function=MIN, but also QueryBand Name TopTierApp=BODSS. 13 From the report, right-click over the BODSS row, and select Add QueryBand clusters for deeper Analysis. Teradata Workload Analyzer User Guide, Release

114 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The BODSS value is added to the current analyzed workload, WD_ADW_Outliers. The CPU distribution now has two unassigned TopTierApps relegated to the original WD_ADW_DS workload, rather than being part of the WD_ADW_Outliers workload. after drill-down 1st "add to" ADW- TACT 8% ADW- Outliers 17.5% ADW-DS 74.5% 2514A026 Analyzing further on ADW_Outliers, notice that the distinct count for all the correlation parameters displays one (only one distinct value). This means that all requests in this workload are coming from the same combination of Who parameters (Account ADW_DS, QueryBand Name Function=MIN, and Queryband Name TopTier App=BODSS). 114 Teradata Workload Analyzer User Guide, Release 16.00

115 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Only distribution parameters may be used deeper drill-down analysis. The Estimated Processing Time may be used as a distribution parameter, since the range for the current workload is wide ( seconds). 14 From the Analyze Workload page, select None from the Workload Correlation Parameter list. 15 Select Estimated Processing Time from the Workload Distribution Parameter list. 16 Click Perform Analysis. The report and graph display. Teradata Workload Analyzer User Guide, Release

116 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The eight queries lie in the last bucket (bucket 10 with a range of ) are long queries. However, another eight queries in the first bucket (bucket 1 with a range of ) are short running queries, with a wide gap show in bucket 2 through bucket 9. The goal from the start of this process is to isolate long running requests found within the ADW-DS workload, and apply different workload management to them. By adding the last bucket to the ADW_Outliers workload, the necessary workload definition is achieved to apply those different workload management techniques. 17 Right-click over Bucket 10, and select Add Estimated Processing Time clusters for deeper analysis. 18 Override the Min Estimated Processing Time to 30 seconds, and override the Max Estimated Processing Time to seconds (basically unlimited). 116 Teradata Workload Analyzer User Guide, Release 16.00

117 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The very short running requests relegated back to the original WD-ADW-DS workload. ADW- Outliers 17.4% after drill-down 2nd "add to" ADW- TACT 8% ADW-DS 74.6% 2514A027 In summary, the workload classifications within this example result in WD-ADW-DS remain in its original state. To view, click Attributes under the WD-ADW-DS workload in the Candidate Workloads Tree, then click on the Classification tab. Teradata Workload Analyzer User Guide, Release

118 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The workload WD-ADW-Outliers is created with a higher evaluation order than workload WD-ADW-DS. To view, click Attributes for WD-ADW-Outliers, then click the Classification tab. For more information about evaluation order, see Viewing Evaluation Order of Candidate Workloads on page 168. Example 3: Workload Analysis for Utility Management This example describes cluster analyses on utility types for workload definition classifications. 118 Teradata Workload Analyzer User Guide, Release 16.00

119 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads Example of workload analysis for utility management 1 Select Analysis>New Workload Recommendations. The Define DBQL Inputs dialog box appears. 2 Complete the Define DBQL Inputs options. For more information, see Defining DBQL Inputs on page In the Category box, select Users, and click OK. The Unassigned requests report displays. 4 Right-click over each workload and select Auto-Generate Workloads. The Candidate Workload Report displays. 5 Right-click over WD-PriorityUsers, and select Analyze. The Analyze Workload window appears. Teradata Workload Analyzer User Guide, Release

120 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The numbers adjacent to each option in the Workload Correlation Parameter and Workload Distribution Parameter lists of the Refine Workload Classification pane show the total numbers of elements used for correlation. (Utility types for distribution classification parameters include min and max values.) For example, Utility Type (5) indicates that there are five utility types available in DBQL for analysis. Cluster analysis on utility types collects all utilities that ran during the DBQL data collection time interval. The results of many queries executed during the query session are grouped under ALL OTHERS clusters in the Analyze Workload tab for reporting purposes. (Workload definitions, however, cannot be created from ALL OTHERS clusters.) 120 Teradata Workload Analyzer User Guide, Release 16.00

121 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads All non-teradata Database utilities are grouped in the Non-TD utilities cluster. For workload analysis of non-teradata Database utilities: A DBA can create a workload definition from the Non-TD utilities cluster or combine this cluster with other Teradata Database utilities. Workload definition classification for Non-TD utilities should be one of the following: Non-TD FastLoad Non-TD Multiload Non-TD FastExport = 0x x x For workload analysis using Teradata Database utilities: A DBA can create a workload definition by selecting one or more utilities from a correlation report. The following bitmap values represent the supported utility types for Release 16.00: 0x = Include if standalone FastLoad 0x = Include if standalone Multiload 0x = Include if standalone FastExport 0x = Include if ARC 0x = Include if TPT FastLoad (load operator) 0x = Include if TPT Multiload (update operator) 0x = Include if TPT FastExport (export operator) 0x = Include if CSP Save Dump FastLoad 0x = Include if JDBC FastLoad 0x = Include if JDBC Multiload 0x = Include if JDBC FastExport Teradata Workload Analyzer User Guide, Release

122 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads 0x = Include if generic 3rd party FastLoad 0x = Include if generic 3rd party Multiload 0x = Include if generic 3rd party FastExport 0x = Include if non-td FastLoad 0x = Include if non-td Multiload 0x = Include if non-td FastExport 0x = Include if BAR If the DBA selects utility types StandaloneFastLoad, StandaloneMultiLoad and StandaloneFastExport clusters to split into new workloads, then OR bit operations for their bitmap values are saved in the TDWM database for classification as follows: Classify Criteria WD_LoadUtilities: FastLoad OR MultiLoad OR FastExport = 0x x x Click Attributes under WD-PriorityUsers on the workload tree. 7 From the Classification tab, select Load Utility Type from the Criteria #2 drop-down list. 122 Teradata Workload Analyzer User Guide, Release 16.00

123 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads 8 Click Choose from the AND pane. The Classify By Utility Types dialog box appears showing the types of utilities to be used for classification. 9 Click OK to continue. The Analyze Workload tab refreshes, displaying the results of the query. Teradata Workload Analyzer User Guide, Release

124 Chapter 4: Analyzing New Workloads to Meet SLGs Step 5: Creating the Workloads The DBA can generate distribution analysis reports based on WHAT parameters and then drill down the distribution report using the Zoom-in/Zoom-out features. The DBA cannot, however, create workload definitions from distribution analysis reports. The query estimate criteria (WHAT) cannot be used for utility type workload classifications. Exclusion criteria is not allowed for workload definitions created using utility type classifications, and the Exclusion page is read-only for all workloads defined using utility types. Workloads created from utility types can be drilled down using WHO and WHERE (database, table, and view only) parameters, and the result can be split into new workloads. The following additional classification criteria can be used for utility type workloads: accounts, user IDs, client addresses, client IDs, query bands and database objects, including databases, tables, views, and so on. 124 Teradata Workload Analyzer User Guide, Release 16.00

125 CHAPTER 5 Analyzing Existing Workloads to Meet SLGs This section describes the theory and process of analyzing the existing workloads on the system to determine if they meet the established Service Level Goals. It includes the following: Existing Workload Analysis Further Analysis for Workloads Enhancing the Existing Workload Analysis Process Starting Existing Workload Analysis Viewing or Modifying SLGs Splitting and Merging Workloads for Analysis Existing Workload Analysis When the actual response time characteristics are off by a specific percentage from the defined service level goals calculated at the time of workload creation, an X in the SLG Met column indicates that service level goals are not met. A percent variance displays for further analysis with a visual indication against the workload. The SLG Met value calculations are based on the actual workloads data logged in DBQLogtabl and TDWMSummaryLog tables after activation of the rule set. Note: SLG Met details display in the Candidate Workloads Report dialog box. The following analyses can be done for workloads that have not met their service level goals: Existing Workload Analysis - further analyzing and refining of the workload by selecting analysis parameters and accepting the new recommended workload. Recalculating the service level goals and applying the actual SLG values in a rule set. Merging the workload and recalculating the SLG Met values. Splitting the workload and adding or deleting classifications manually. Further Analysis for Workloads When a workload is selected for further analysis: Each record in the log is mapped to classification criteria, along with a workload ID. A set of records is obtained for each classification criteria for a specific workload, including the workload ID condition. Teradata Workload Analyzer User Guide, Release

126 Chapter 5: Analyzing Existing Workloads to Meet SLGs Starting Existing Workload Analysis The response time characteristics of these sets of records are compared against the service level goals defined for the workload (goal service level goals), and the comparison status is indicated. Existing workloads that have similar response time characteristics may be grouped into a new workload with new service level goals (or the service level goals of the current workload can be modified, if all the classifications are not meeting the service level goals). Records are analyzed for further classification (by identifying clusters on an uncovered classification parameter) if the standard deviation is high for a classification, or if the CPU usage is high. Enhancing the Existing Workload Analysis Process The following suggestions may help Teradata WA enhance the processing speed and accuracy of the existing workload analysis process: Select the appropriate DBQL log data for analysis (activated rule set data). Verify that the TDWM database has sufficient spool space to create temporary tables for analysis and service level goal calculations. Sufficient spool space is a primary requirement for better performance during the calculation of service level goals and workload refinement. If there is inadequate spool space, Teradata WA displays an error message and service level goal calculation continues on actual DBQL tables, using multi-threading. Starting Existing Workload Analysis The new workload analysis process begins with defining the DBQL inputs for existing workloads. Defining Existing Workload DBQL Inputs To define existing workload DBQL inputs 1 Do one of the following: Click in the Workload Analyzer toolbar. Select Analysis > Existing Workload Analysis. Press Ctrl+E. The Define DBQL Inputs dialog box appears. 126 Teradata Workload Analyzer User Guide, Release 16.00

127 Chapter 5: Analyzing Existing Workloads to Meet SLGs Starting Existing Workload Analysis 2 Fill in the fields as described in the following table: Option Log Option Date Range Description Select the appropriate log from these options: DBQL (this is the default) External DBQL Click the... button to load the database choices into the selection box, then select the database. External DBQL contains DBQL data that has been copied to a database other than DBC. Its table schema can be identical to DBQL, but for improved performance Teradata recommends that DBQL data be copied to a history database defined according to Professional Services guidelines. See Database Administration (B ). In the appropriate boxes, enter the starting date (From) and ending date (To) of the range of the data collected. The displayed date format depends on the regional settings of the PC. To select a date from a calendar pop-up window, click the drop-down arrow. The default end date is one day prior to the current system date; the default start date is one week (7 days) prior to the default end date. Teradata Workload Analyzer User Guide, Release

128 Chapter 5: Analyzing Existing Workloads to Meet SLGs Starting Existing Workload Analysis Option Time Filter within Range Every Day Description Select this option to specify a time window of less than 24 hours. In the appropriate boxes, enter the starting and ending times of the range in HH:MM:SS format, using a 24-hour clock. The default start time is 00:00:00 (12:00 A.M.) and the default end time is 23:59:59 (11:59:59 P.M.). To select a time that spans midnight, select a start time greater than the end time. Note: Teradata WA includes all of the specified end time in its analysis. For example, an end time of 23:59:59 means analyze DBQL data up to and including 23:59: Select this option to filter the returned data by days of the week and times of day. When selected, the Every Day and 24 Hours checkboxes become enabled and selected. When the Filter within Range check box is selected as described in the previous row of this table, the Every Day check box becomes enabled and selected. If left in that condition, returned data will be captured in the database every day of the week. Clear the Every Day check box to select specific days of the week to exclude from data capture. When the Every Day check box is cleared, all options in the Day of Week pane are enabled and selected. Clear one or more of the check boxes for options Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday to exclude data capture on those days of the week. 24 Hours When the Filter within Range check box is selected as described earlier in this table, the 24 Hours check box becomes enabled and selected. If left in that condition, returned data will be captured in the database 24 hours per day for each day selected for capture as specified by the Every Day option. Clear the 24 Hours check box to specify a time window of less than 24 hours during which data will be captured. In the appropriate boxes under Time of Day, enter the start time (From) and end time (To) in HH:MM:SS format, using a 24-hour clock. The default start time is 00:00:00 (12:00 A.M.) and the default end time is 23:59:59 (11:59:59 P.M.). To select a time spanning midnight, select a start time greater than the end time from the Time of Day box. Note: Teradata WA includes all of the specified end time in its analysis. For example, an end time of 23:59:59 means analyze DBQL data up to and including 23:59: Rule set Rule Set - If the rule set is not already entered, click the... button to load the rule set choices into the selection box, then select a rule set. OpEnv - Select the operating environment for the rule set. Always - the system default operating environment. Select All - selects all available operating environments (OpEnvs) for the rule set. SysCon - Select the system condition for the rule set. Normal - the default system condition, which displays the health of the database. Select All - selects all available system conditions (SysCons) for the rule set. 3 After specifying the options, click OK. Teradata WA queries the DBQL. Note: The query process may take several minutes. The Candidate Workload Report window appears. 128 Teradata Workload Analyzer User Guide, Release 16.00

129 Chapter 5: Analyzing Existing Workloads to Meet SLGs Starting Existing Workload Analysis Viewing Workloads Using the Candidate Workload Report The Candidate Workload Report window displayed in Figure 19 is divided into two panels: The left panel displays the selected workloads in the Workloads tree. After a split or merge, the workloads tree is updated so that workloads appear according to their evaluation order. See Viewing Evaluation Order of Candidate Workloads on page 168 for more information. The right panel displays the Workloads Report. This is a list available workloads. For more information on how to navigate the options in the Candidate Workload report, see Chapter 4 Analyzing New Workloads to Meet SLGs on page 47. Figure 19: Candidate Workload Report for Existing Workloads Table 15 describes the columns displayed in the Workload report. Table 15: Displayed Columns in the Workload report Column Name Workloads Percent of Total CPU Percent of Total I/O Description The name of the workload Percentage of the total CPU time (in seconds) used on all AMPs by this session Percentage of the total number of logical input/output (reads and writes) issued across all AMPs by this session Teradata Workload Analyzer User Guide, Release

130 Chapter 5: Analyzing Existing Workloads to Meet SLGs Viewing or Modifying SLGs Table 15: Displayed Columns in the Workload report (continued) Column Name Query Count Avg Est Processing Time SLG Met Details SLG Met, Goal %, Actual %, Remarks CPU Per Query (Seconds) Min, Avg, StDev, 95th Percentile, Max Response Time Min, Avg, StDev, Max Result Row Count Min, Avg, StDev, Max Disk I/O Per Query Min, Avg, StDev, Max CPU To Disk Ratio Min, Avg, StDev, Max Active AMPS Min, Avg, StDev, Max Spool Usage (Bytes) Min, Avg, StDev, Max CPU Skew (Percent) Min, Avg, StDev, Max I/O Skew (Percent) Min, Avg, StDev, Max Description The number of queries in this workload that completed during this collection interval The average estimated processing time for this user The number of time the SLG was met for this workload, the goal percentage and actual percentage of SLG met, and comments for this workload The minimum, average, standard deviation, 95th percentile, and maximum CPU seconds per queries for this workload The minimum, average, standard deviation, and maximum result response time for this workload The minimum, average, standard deviation, and maximum result rows returned for this workload The minimum, average, standard deviation, and maximum disk I/O s per query for this workload The minimum, average, standard deviation, and maximum CPU/Disk ratio for this workload The minimum, average, standard deviation, and maximum number of active AMPs for this workload The minimum, average, standard deviation, and maximum spool usage across all VProcs for this workload The minimum, average, standard deviation, and maximum AMP CPU skew for this workload The minimum, average, standard deviation, and maximum of AMP I/O skew for this workload Viewing or Modifying SLGs The Service Level Goals (SLG) can be viewed in graph format, and the settings modified using the SLG Recommendations Window. 130 Teradata Workload Analyzer User Guide, Release 16.00

131 Chapter 5: Analyzing Existing Workloads to Meet SLGs Viewing or Modifying SLGs To view or modify service-level goals 1 From left window of the Workload Report, expand the workload, and then click on the SLG Graph icon. The SLG Recommendations window appears. Note: Alternatively, display the SLG Recommendations window by selecting Rule Set > Workloads> Calculate SLGs from the Teradata WA menu. 2 In the SLG Recommendations window, view the default parameters and resulting service level recommendations, along with the displayed chart. 3 Change the options as described in the following table. Table 16: SLG Recommendations window Option SLG Parameters Description Displays the service parameters that can be viewed or modified to generate SLG recommendations. Click Response Time (the default), or Throughput as appropriate. When a listed parameter is selected: this parameter appears as the horizontal axis of the chart the value of this parameter can be edited in the SLG Recommendations table displayed beneath the chart; no other options are available for editing. Changing the setting prompts Teradata WA to update the graph immediately. Response Time or Throughput SLGs can be saved in the TDWM database, not both. Teradata Workload Analyzer User Guide, Release

132 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis Table 16: SLG Recommendations window (continued) Option OpEnv Start Date / End Date Set Manually SLG Recommendations Recommend on current Service percent Factor by Description Displays the available operating environments. Click an OpEnv in the list box or accept Always as the default. Changing the setting prompts Teradata WA to update the graph immediately. Displays the DBQL date range depicted in the graph. This is in YYYY-MM-DD format. Allows modification of the recommended service levels. This check box is unchecked by default. Changes the selected service parameter s recommended value (shown highlighted in white). No other values are available for editing (shown shaded). Arrival rate, Response Time, Throughput and Service Percent are displayed. The response time goal shown is the value that would satisfy a 80% goal. Displays the current performance baseline that Teradata WA automatically uses for determining service level recommendations. You can adjust this as appropriate. Modifies the SLG parameter, with a factor of 1 being the same as today, 0.1 being 10 times faster than today, 10.0 being 10 times slower than today. 4 When satisfied with the new values, click Apply. Splitting and Merging Workloads for Analysis Teradata WA workload classifications can be further customized by merging or splitting workloads. The splitting and merging workload process is DBA-driven. Two or more workloads can be merged into one workload. One workload can be split up into several workloads. The service level goals for the resulting new workloads are recalculated and modified. For example, when two or more workloads require less system resources, but the workloads are still needed for the active system period, these workloads can be merged into one workload and set with different service level goals. When a workload is consuming too many resources or is not meeting service level goals, the workload can be split into one or more workloads and assigned different service level goals. The Process of Merging Workloads The process of merging workloads involves the following: 1 Merge the workload classifications of different criteria and remove any duplicate classifications. 2 Assign the appropriate performance AG mapping for the resulting workload. 3 Calculate or recalculate the service level goals for the merged workload (which can be accepted or modified service level goals from the SLG Graph window.) 132 Teradata Workload Analyzer User Guide, Release 16.00

133 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis 4 Merge the workload classifications. The merging process performs a union of classifications of all workloads selected for the merge process. Any duplicates of the workload classifications values are removed. Currently, in workload classification, all clusters can be either included or excluded. The same rule is used for merging workloads. If the merge process comes across both exclude/include classification criteria, it would unionize all the classification criteria and assign exclude/ include based on the criteria in the selected workloads. See Figure 20 for an example of merging workloads together. Figure 20: Example of two workloads merging WD_A Include TWA Applications WD_B Include Applications VECOMP WD_A_MG (After Merge). Include TWA,VECOMP Applications Include Applications Include Client Addresses TWA , Include Applications Include Client Addresses VECOMP , Include Applications TWA,VECOMP Include Client , Addresses Include Applications BTEQ Include Applications VECOMP Include Applications Exclude Cient IDs RD Include Cient IDs BK Exclude Cient IDs Not allowed Not allowed Statement Type ALL DDL DML Select Statement Type ALL DDL DML Select Statement Type Not allowed Include Applications TWA Include Applications VECOMP Include Applications Not allowed Minimum Estimate Final Rows Minimum Estimate Final Rows Include Applications TWA Minimum 50 Minimum 50 Estimate Final Estimate Final Rows Rows Minimum Estimate Final Rows Include Applications 5000 VECOMP Minimum Estimate Final Rows Include Applications 5000 TWA, VECOMP The following workloads and classifications cannot be merged: 2514A006 A workload with AMP Limits classification cannot be merged with a workload with Final Row Count classification A workload with Utility Type classification cannot be merged with a workload with Estimated Row Count, Estimated Processing Time, AMP Limits, or Object Type classifications. Teradata Workload Analyzer User Guide, Release

134 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis To merge workloads 1 Select a workload from the left panel, under the Candidate Workloads tree, to begin the merge process. The merge process allows merging of any and all available workloads (except the Default and the Console Application workloads) into the selected workload. 2 Right-click on the selected workload to display the shortcut menu. 3 Click Merge. The Merge Workloads dialog box appears. The following table describes the dialog box controls. Options Available Workloads Selected Workloads Add Remove Merge Cancel Description Lists all workloads available for merging. Default and console workloads are not available for the merge process. Lists the workloads selected for the merge process. Moves the selected workload from Available Workloads to Selected Workloads Removes the workload from Selected Workloads, placing it back in Available Workloads. Merges all workloads in Selected Workloads into one workload. Closes the Merge Workloads dialog box. 4 Click the workload in Available Workloads to be merged, then click Add. Up to two workloads can be selected for merging. The workload(s) appears in the Selected Workloads list. 5 Click Merge to complete the process. The merged workload name is generated by taking the name of the selected workload and suffixing an _MG to the name. The workload name can be changed using the Rename 134 Teradata Workload Analyzer User Guide, Release 16.00

135 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis Splitting Workloads option from the shortcut menu after the merge process is completed and a new merged workload is created. Splitting a workload breaks it into one or more separate workloads recursively, creating new workloads from the existing workload classifications. To split workloads 1 From the Candidate Workloads tree, right-click on the workload you want to split. The shortcut menu displays. 2 Select Split. The Split Workloads dialog box appears. The following table describes the Split Workloads dialog box options. Options Workload #1 Include Description Displays the source workload name. Below the name is its classification. Lists the classifications to be included before splitting the workload. Select the check box of the item to be included for the split. Teradata Workload Analyzer User Guide, Release

136 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis Options Exclude Workload #2: (Evaluated First) Add New Classification Split Advanced Copy Move Remove Accept Cancel Description Lists the classifications to be excluded before splitting the workload. Select the check box of the item to be excluded for the split. The exclusion limits the split to requests that include the excluded object type. For more information, see Classifying by Excluded Objects for Splitting and Merging Workloads on page 139. Note: If Teradata WA is connected to Teradata Database 12.00, the Include or Exclude options can be used for each classification type. If the system is connected to Teradata Database and higher, both Include and Exclude options can be used for each classification type. Displays the destination workload name. The destination workload name is created by adding the suffix _SP1 to the source workload name. Below the name is its classification. Creates a new workload classification. Splits the source workload. The source workload s classification is modified and a new split workload displays on the right panel. Activates the Copy, Move and Remove options. Copies the selected classification criteria items from the source workload to the split workload. Moves selected items from the source workload to the split workload destination tree. Removes the selected classification items from the split workload classification tree and move them back to the source workload tree. Saves the changes and closes the Split Workloads dialog box. Discards the changes and closes the Split Workloads dialog box. 3 To add a new classification, click Add New Classification. The Add Workload Classification dialog box appears. 4 Select the Choose another selection criteria check box. The --AND-- pane of the Add Workload Classification dialog box appears. 5 Select a criteria from the drop-down list. The Choose button appears for you to further refine the new classification criteria. 136 Teradata Workload Analyzer User Guide, Release 16.00

137 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis The following table describes Add Workload Classification dialog box options. Options Criteria #1 Includes Choose Choose Another Selection Criteria Show Restore OK Cancel Description Selects the classification criteria Displays the selected objects within the chosen criteria Allows inclusion and exclusion of strings within the chosen criteria Adds another classification criteria, with its own pull-down and object list Creates a report of the classification criteria that may be saved, printed, or both Undoes changes to the classification criteria Applies the classification changes Discards all changes and closes the dialog box 6 To include or exclude strings within the chosen criteria, click Choose. The Classify By... dialog box appears. Teradata Workload Analyzer User Guide, Release

138 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis The following table describes the Classify By... dialog box options. Options Include Exclude Load Available Add Remove OK Cancel Description Includes the selected strings in the classification criteria. Excludes the selected strings from the classification criteria. Populates the Available classification strings list. Displays the available classification strings. If this list appears empty, click Load to populate it. Moves the highlighted classification string to Selected status. Removes the highlighted classification string from Selected status. Applies the classification changes. Discards all changes and closes the dialog box. 7 Click OK when satisfied with the Classify By... criteria and to exit the dialog box. 8 Click OK to exit the Add Workload Classifications dialog box. Now the Split Workloads dialog box should appear. 138 Teradata Workload Analyzer User Guide, Release 16.00

139 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis 9 From the source workload classification on the left panel, click the check boxes next to the analysis parameter clusters to be included in the destination workload classification. 10 Select individual clusters or select all clusters at the analysis parameter hierarchy (by clicking the ClientAddr check box to select all the clusters in that directory). Each analysis parameter node (for example, UserName, AppID, and ClientAddr), contains cluster data that is either on the Included list or the Excluded list. Either include all clusters or exclude all clusters; it is not possible to do both. 11 Click Split. The split workload is created and the existing source workload classification is modified. The name of the newly split workload contains the source workload classification s name, suffixed with an SP1. 12 Click Accept to save the changes. Classifying by Excluded Objects for Splitting and Merging Workloads This section describes classification by excluded objects for split and merged workloads. Teradata WA includes an option to limit object exclusion to only requests that include the excluded object type. This option is helpful for Where parameters such as Stored Procedures or Macros. For example, a DBA classifies a request into a workload but only wants a Stored Procedure, and not Stored Procedure A. The DBA could specifically exclude non-stored procedure requests to not classify into the workload. Additionally, only stored procedures NOT named Stored Procedure A classify to this workload. For information about splitting workloads, see To split workloads on page 135. For information about how to merge workloads, see To merge workloads on page 134. Classification by Excluding Objects for Workload Splits For example, in Figure 21, in Workload #2, Crash dumps is included, and Sys_Calendar is excluded under UserName. SysAdmin is included under AccountString. Teradata Workload Analyzer User Guide, Release

140 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis Figure 21: Split workload with excluded and included objects Split Workloads Workload #1: WD-test1 Workload #2: (Evaluated 1st) WD-test1_SP4 Workload Classification User Name Include DBC Exclude EXTUSER Account String Include $H-DBC-MANAGER Exclude $h-remote-console-use Sys_Calendar Split Advanced Advanced Copy - > Move - > < - Remove Workload Classification User Name Include Crashdumps Exclude Sys_Calendar Account String Include SysAdmin Add New Classification Accept Cancel After the workload split, the Classification tab for the original workload (WD-test1) displays the following classifications. Figure 22: Classification tab for original workload after a split 2514A016 Workload Attributes Classification Exception Service Level Goals Query Limits Criteria #1: Account String Choose another selection criteria Criteria #2: Username Choose another selection criteria --AND-- Include: $H-DBC-MANAGER Exclude: DBC Exclude: EXTUSER Choose... Choose A013 Criteria #1 is Account String, and $H-DBC-MANAGER is included, while $H-remoteconsole-use and Sys_Calendar are excluded. Criteria #2 is Username, and DBC is included, while EXTUSER is excluded. 140 Teradata Workload Analyzer User Guide, Release 16.00

141 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis The Classification tab for the split workload (WD-test1_sp4) displays the following classifications. Figure 23: Classification tab for split workload with excluded and included objects Workload Attributes Classification Exception Service Level Goals Query Limits Criteria #1: Account String Include: SysAdmin Choose... Choose another selection criteria Criteria #2: Username --AND-- Include: Crashdumps Exclude: Choose A014 Criteria #1 for the split workload is Account String. It includes SysAdmin. Criteria #2 for the split workload is Username. It includes Crashdumps and excludes Sys_Calendar. Classification by Excluding Objects for Workload Merges After a workload is merged together, the Classification tab displays the included and excluded objects in one list for each classification type. In this example, WD-test1 and WD-test1_sp4 are merged together. The classification for this merge displays on the Classification tab as the following: Teradata Workload Analyzer User Guide, Release

142 Chapter 5: Analyzing Existing Workloads to Meet SLGs Splitting and Merging Workloads for Analysis Figure 24: Classification tab for merged workload Workload Attributes Classification Exception Service Level Goals Query Limits Criteria #1: Account String Include: $H-DBC-MANAGER SysAdmin Choose... Choose another selection criteria Criteria #2: Username --AND-- Include: DBC Exclude: EXTUSER Choose A Teradata Workload Analyzer User Guide, Release 16.00

143 CHAPTER 6 Viewing or Changing Workload Data This section discusses options in Teradata WA that support viewing or modifying workload recommendations and workload definitions. It includes the following: Working with Workload Attributes Viewing the Active Rule Set Viewing the Candidate Workload Report Viewing Evaluation Order of Candidate Workloads Working with Workload Attributes After a workload is analyzed, you can view and modify details about the workload, such as workload period and service level goals. Note: Avoid modifying workload classifications using the following procedure with New Workload Recommendations or Existing Workload Analysis as changes made on the tabbed dialogs will not be reflected in the Workloads Report. To view workload attributes 1 From the Candidate Workload Report window, click the + sign to the left of the workload whose attributes you want to view. The candidate workload listing expands in the tree. 2 Click Attributes. The Workload Attributes window appears. Teradata Workload Analyzer User Guide, Release

144 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes 3 Click the appropriate tab to view workload attributes, classifications, exceptions, service level goals and query limits as described in Table 17. Tab Option Description Workload Attributes Name Description Log Query Detail Enforcement Priority A name for the new WD. Although not required, typically these begin with the prefix WD- for easy identification. A description identifying this WD. Select this option to specify detailed logging of each query to DBQLogTbl. Tactical - short queries with a fixed response-time requirement. Priority - important queries that should get extra resources. Normal - normal queries; this is the default. Background - low-priority queries with no response-time requirement. Classification Criteria #1 Selects the classification criteria. Includes Choose Choose another selection criteria Accept Restore Show Displays the selected objects within the chosen criteria Allows inclusion and exclusion of strings within the chosen criteria. Adds another classification criteria, with its own pull-down and object list. Accepts the changes made to the Classification tab. Undoes changes to the classification criteria. Creates a report of the classification criteria that maybe saved, printed, or both. 144 Teradata Workload Analyzer User Guide, Release 16.00

145 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Tab Option Description Exception Maximum Rows The maximum number of rows in a spool file or final result. IO Count The maximum number of disk I/Os performed on behalf of the query. Spool Size The maximum size of a spool file in B. Service Level Goals Blocked Time Elapsed Time Number of Amps Sum Over All Nodes Tactical CPU Usage Threshold (per node) Qualification Time IO Skew CPU Skew CPU millisec per IO IO Skew Percent CPU Skew Percent Operating Environment Response Time Service Percent Arrival Rate per hour Throughput per hour CPU seconds per query The length of time the query is blocked by another query. The length of time the query has been running. The number of AMPs that participate in the query. The total amount of CPU time (in hundredths of seconds) the query consumes over all nodes. The per-node threshold of CPU usage for tactical workloads that, when exceeded, triggers exception handling. The length of time the exception condition must persist before an action is triggered (in seconds). Based on the Qualification Time, the maximum difference in disk I/O Counts between the least busy and most busy AMP. Based on the Qualification Time, the maximum difference in CPU consumption (in seconds) between the least busy and the most busy AMP. Based on the Qualification time, the maximum ratio of CPU consumption to disk I/O during the last exception interval. Based on the Qualification Time, the percentage difference in disk I/O Counts between the least busy and the most busy AMP. Based on the Qualification Time, the percentage difference in CPU consumption between the least busy and the most busy AMP. Lists the operating environment that the workload is currently in. The default is Always. A response-time value in hours, minutes, and seconds. This is the maximum amount of time that you expect to be required for completion of this workload. An integer value corresponding to the percentage of this workload which you expect to meet the service-level criteria. An integer value corresponding to the number of queries that you expect to be received hourly. An integer value corresponding to the number of queries that you expect to be executed hourly. An integer value corresponding to the processor time (in seconds) that you expect to be required for executing each query. Teradata Workload Analyzer User Guide, Release

146 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Tab Option Description Query Limits State The current state of default or base. Override Default Unlimited Limit Reject Select this option to override the default limit for each state specified. When you select this option Unlimited is activated. The default option when Override Default is selected. Select this option to define a new limit. Select this option to reject over-limit queries for a particular state, otherwise overlimit queries are delayed. Working with Workload Classification Criteria Teradata Database detects classification criteria before executing queries. Classification criteria identifies the who, what, and where of requests as a way of grouping them for better control, to ensure resources are allocated as appropriate to your needs. For example, to allocate more resources to requests originating from a particular department in your company, your classification criteria might specify the application or account that corresponds to those requests. Conversely, using classification criteria, you can isolate workloads that you want to assign lower priorities. You can choose up to six classification criteria. It is recommended that you select at least one item from the who criteria; you can combine additional criteria in accord with the following limitations. You cannot select a classification type more than once. You cannot combine a utility type with anything other than a who characteristic, so if you pick a utility as criteria 2, criteria 3 must be a who criteria item. If your second criteria item is a what or where, you cannot follow it with a utility. If you do not specify classification attributes for a WD, Teradata WA will initially not place any queries into that WD. However, you could use that WD as a lower-priority WD, for example, when queries encounter run-time exceptions in their original WDs and are downgraded to a lower priority WD. Defining Classification Criteria #1 To define or modify classification criteria #1 for a WD The selection shown for Criteria #1 in the Classification tab of the Workload Attributes window automatically appears based on the criteria selected when Defining Existing Workload DBQL Inputs on page 126. For example, if you select Users for DBQL input criteria, Username appears in the Criteria #1 field of the Classification tab. 146 Teradata Workload Analyzer User Guide, Release 16.00

147 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Depending on the DBQL input selected, the following options populate the Criteria #1 list box, identifying the who of the workload: Account Name Note: The Account Name criteria includes the names of accounts. PG information is not included. For example, an Account Name criteria containing DBC-MANAGER only affects accounts such as $H-DBC-MANAGER and $M-DBC-MANAGER. Account String Application Client Address Client Address can be specified using: IPv4 address format, where XXX is the range 0 to 255 decimal: XXX.XXX.XXX.XXX Client ID (for logon) Profile Username Include QueryBand and Exclude QueryBand Defining or Modifying Classification Criteria #2-6 If you look closely at the Classification tab of the Workload Attributes window (see Defining Classification Criteria #1 on page 146), you ll find that some of its options are not enabled. In particular, you cannot use the tab to add more classification criteria. Teradata Workload Analyzer User Guide, Release

148 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Note: Workload classification criteria cannot be manually modified from the Classification tab of the Workload Attributes window. You can, however, add more classification criteria using the Split option as described in this topic. To define or modify classification criteria #2-6 for a WD 1 To define or modify classification criteria # 2 to 6 for a workload candidate, right-click the workload in the list on the left side of the Workload Attributes window. 2 Click Split from the right-click menu. The Split Workloads dialog box appears. For details on the fields used for splitting workloads, see Splitting Workloads on page Click Add New Classification. The Classification tab appears similar to the tab of the same name on the Workload Attributes window, however all functionality is enabled. 4 Select the Choose another selection criteria check box. The --AND-- pane of the tab becomes visible, showing the Criteria #2 drop-down list box. The list includes the items shown as check boxes in the Category pane of the Define DBQL Inputs dialog and the items described in Table 17. Table 17: Classification Options for Criteria #2 Selected Item Data Objects Statement Type Also select... Data objects to include and exclude in the Classify by Data Objects dialog box that appears after selecting Data Objects and clicking the Choose button. These data objects can be selected: database table view macro stored procedure function method In the Classify by Data Object dialog box, select objects to include or exclude, and select the type of object to add to the criteria. Load the objects and choose the specific object by selecting it and clicking the Add button. For more information, see Example: Classification by Data Object on page 152. The statement types you want by selecting the appropriate check boxes. 148 Teradata Workload Analyzer User Guide, Release 16.00

149 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Table 17: Classification Options for Criteria #2 (continued) Selected Item Utility Type AMP Limits Row Count Final Row Count Estimated Processing Time Join Type Datablock Selectivity Also select... The name of the utility (FastLoad, FastExport, MultiLoad, all three, or Archive/Restore) that you want to control in the list box. Teradata WA utility rules apply to FastLoad, MultiLoad, FastExport, TPT Load/Update/Export operator, JDBC FastLoad, and ARCMAIN. Teradata WA classifies the first utility-specific SQL request from a utility job into a WD. All subsequent requests for the utility job run under the same WD (priority). The check box for Include single or few AMP queries only if appropriate. Note: Selecting this check box causes the workload to accept only queries that are not all-amp queries. If AMP Limits is selected but this check box is left cleared, no AMP limit is defined and an error message appears because the classification data is missing for this criteria. Either the Minimum Rows or the Maximum Rows check box or both and type the corresponding values as appropriate. Either the Minimum Final Rows or the Maximum Final Rows check box or both, and type the corresponding values, as appropriate. Either the Minimum Time or Maximum Time by selecting the appropriate check box and specifying the CPU limits for each. You can specify CPU time in hundredths of a second (using the format HHH:MM:SS.dd). Types of joins to include, including: All Joins No Joins All Product Joins No Product Joins All Unconstrained Product Joins No Unconstrained Product Joins DB selectivity access IPE Not an IPE IPE with Dynamic or Static Memory Usage Increased Large Very Large Maximum Step Time Maximum Time (maximum time to take for the step) 5 Select the desired classification criteria for the selected workload from the Criteria #2 dropdown list box. Teradata Workload Analyzer User Guide, Release

150 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes For examples of how to proceed, see the following: Example: Classification by Application on page 151 Example: Classification by Data Object on page 152 Example: Classification by Query Band on page To select a additional criteria for the selected workload, repeat step 4. You can specify a total of six classification criteria. 7 When criteria selections are complete, click OK. 8 Select Show to display of a report of all WD classification settings. The Classification Description dialog box appears showing all workload classification criteria. 9 To close the dialog box, click OK, or, to save or print the information in the dialog box, click Save or Print. The typical Windows Save or Print dialog box appears. 10 To view the information in the Classification Description dialog box in plain text, click Plain Text. The plain text version of the Classification Description dialog box appears. 150 Teradata Workload Analyzer User Guide, Release 16.00

151 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes The text version of the Classification Description dialog describes the classification criteria in plain text. 11 To save or print the information in the dialog box, click Save or Print. The standard Windows Save or Print dialog box appears. To exit the dialog box without saving, click OK. Example: Classification by Application To classify a workload by application 1 Follow the instructions from Defining or Modifying Classification Criteria #2-6 on page 147 and select Application from the Criteria #2 list of the Classification tab. The Choose box and button become enabled. 2 Click Choose. The Classify by Application dialog box appears. 3 Click Load to display all items that can be used as application attributes. 4 From the Available list, select the items you want to include as attributes and click Include. Note: Use the SHIFT and CTRL keys to select multiple consecutive or non-consecutive attributes. To move an attribute back to the Available list, select it and click Remove. 5 From the Available list, select the attributes to exclude and click Exclude. 6 When finished, click OK to return to the Classification tab and select additional criteria. (Use Cancel to discard classification selections and start over.) Teradata Workload Analyzer User Guide, Release

152 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Example: Classification by Data Object To classify a workload by data object 1 Follow the instructions from Defining or Modifying Classification Criteria #2-6 on page 147 and select Data Objects from the Criteria #2 list of the Classification tab. The Choose box and button become enabled. 2 Click Choose. The Classify by Data Object dialog box appears. 152 Teradata Workload Analyzer User Guide, Release 16.00

153 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes 3 From the Classify by Data Object dialog box, click Choose from the Object Type dropdown list, and then select the type of data object to be used for classification from one of the following. Database Table View Macro Stored Procedure Function Method The Load button becomes enabled. 4 Click Load to display all items that can be used as attributes for the selected data object. 5 From the Available list, select the items you want to include as attributes and click Include. Note: Use the SHIFT and CTRL keys to select multiple consecutive or non-consecutive attributes. To move an attribute back to the Available list, select it and click Remove. 6 From the Available list, select the attributes to exclude and click Exclude. 7 When finished, click OK to return to the Classification tab and select additional criteria. Use Cancel to discard classification selections and start over. Example: Classification by Query Band The Include QueryBand and Exclude QueryBand classification options enable requests coming from a single or common logon to be classified into different workloads based on the query band set by the originating application. This enables an application to influence different priorities for different requests. For example, the GUI for an application may have dialogs that Teradata Workload Analyzer User Guide, Release

154 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes require quick responses and other dialogs that submit long running reports that run in the background. The application can set a different query band for each type of job, causing the requests to be classified into different workloads and run at different priorities. Instead of running the entire application in a single workload, the application can execute the requests in different workloads, each with a different priority, enabling better use of system resources. Query band values with the same name are OR ed. Query band values with different names are AND ed. (NameA=ValA1 OR OR NameA=ValAn ) AND (NameB=ValB1 OR OR NameB=ValBm ) AND (NameX=ValX1 OR OR NameX=ValXx ) For more on query band usage, see Teradata Viewpoint User Guide (B ). To classify a workload by query band For this example, assume that a workload is being created for batch requisition types by north or east regions, but an exception is needed to exclude accounting jobs. 1 Follow the instructions from Defining or Modifying Classification Criteria #2-6 on page 147 and select Include QueryBand from the Criteria #2 list of the Classification tab. 2 Click Choose. The Include QueryBand dialog box appears. 3 Select Load Names to display all query band names and for this example, select the Region name. Alternatively, type the name Region in the QueryBand Names box. 4 Select Load Values to display all query band values, and for this example, select the North values. Alternatively, type the value North in the QueryBand Values box. 5 Select Add to add the name and value pair. 6 Repeat steps 2-4 steps to add a name and value pair for the East region. 7 When finished, click OK to return to the Classification tab. 154 Teradata Workload Analyzer User Guide, Release 16.00

155 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Click Cancel to discard your classification selections and start over. 8 Click the Choose another selection criteria check box. The Criteria drop-down list appears for you to select the next criteria. 9 Select Exclude QueryBand. Notice that Include QueryBand is no longer an option. The Exclude QueryBand dialog box appears. 10 Repeat the steps used to configure the Include QueryBand dialog box and define the accounting job whose query band you want to exclude. 11 When finished, select OK to close the dialog box and return to the Classification tab, which appears similar to the following. Working with Workload Exceptions Setting Run-Time Exception Directives After you create new WDs, you define exception directives that instruct Teradata WA how to monitor queries, and what to do if a query exceeds exception criteria while it is executing. An exception directive consists of a set of exception criteria (exception metrics) and a set of exception actions (actions that Teradata WA takes when all of the metrics for a set of exception criteria are exceeded). If a request exceeds all exception metrics (for example, a request exceeds 1000 CPU seconds), it is potentially disqualified from the workload and conforms to the enabled exception actions. Teradata Workload Analyzer User Guide, Release

156 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes When specifying multiple metrics in one exception criteria set for a WD, they act as a set of AND'ed conditions. Multiple exception directives can be defined for a WD. When you define multiple exception directives for a WD with different sets of exception criteria but the same set of exception actions, each exception criteria set is treated as alternative (OR'd) conditions. See Handling Concurrent Multiple Exception Directives for a WD on page 164 for guidelines Teradata WA follows when multiple exception directives are applicable at the same time for a WD. It is recommended that you avoid overly complex combinations of exception criteria in an exception directive until you have experience about how your system performs. Exception directives are operating environment-dependent. You can vary exception directives for different operating environments. In one operating environment, a WD may use several exception directives, while in another operating environment the same WD may not use any exception directives. Note: You cannot specify exception directives for WDs that use utilities as classification criteria. Setting Local Exception Directives You can use Teradata WA to define local exception directives for a WD. A local exception directive applies only to the current WD. A global exception directive applies to several (or all) WDs. For instructions on creating global exception directives, see Teradata Viewpoint User Guide (B ). Note: Exception actions are unavailable if you selected a utility type in the Classification tab. To create a new local exception directive for a WD 1 Select a WD and click the Exception tab. The Exception tab appears. 156 Teradata Workload Analyzer User Guide, Release 16.00

157 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes 2 Click New. The Add Local Exception dialog box displays. Figure 25: Add Local Exception Dialog Box 3 Fill in the fields/controls as follows. Teradata Workload Analyzer User Guide, Release

158 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Table 18: Add Local Exception Fields/Controls Field/Control Exception Name Description Apply to Operating Environment(s) Action/Comment Enter the name of the new local exception. Specify an optional description. Apply the local exception to one or more operating environment periods. By default, all operating environments are selected. Note that you can select Overview in the Exception tab to view the operating environment periods you selected for a local exception. 4 Select OK to close the dialog box and return to the Exception tab. 5 To specify exception criteria for the new exception directive, see To define exception criteria on page To specify exception actions for the new exception directive, see To define exception actions on page To apply operating environments to your new exception directive, select Apply OpEnv. The Exception Apply dialog box displays with the defined operating environments. For instructions on defining operating environments, see Adding Initial Workload Periods for PSA Migration on page 25. Figure 26: Sample Exception Apply Dialog Box 8 Select the operating environments you want to apply to the exception directive, and select OK to close the dialog box. 9 Select Accept to save your settings, Restore to reverse them. 10 Select Overview to view the operating environments you applied to the exception directive. To delete exceptions 1 From the Exception tab, select the exception you want to delete, and then click Delete. The Exception Delete dialog box appears showing the selected exception. 2 Click OK. 158 Teradata Workload Analyzer User Guide, Release 16.00

159 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes To define exception criteria 1 Select the exception directive you want to define in the Exceptions tab. 2 Fill in the fields/controls as follows. Table 19: Exception Criteria Fields/Controls Field/Control Action/Comment Maximum Rows 1 Select the control. IO Count 1 Select the control. 2 Enter the per step maximum rows in a spool file. 2 Enter the maximum number of disk I/Os performed on behalf of the query. Spool Size 1 Select the control. 2 Enter the maximum size of a spool file (per step). 3 Choose whether the size is in: Bytes Thousand Bytes Million Bytes Billion Bytes Number of Amps 1 Select the control. 2 Enter the number of AMPs that participate in the query. Blocked Time 1 Select the control. 2 Enter the length of time the query is blocked by another query. Elapsed Time 1 Select the control. 2 Enter the length of time the query has been running (that is, response time). This time is stored in the Teradata Database as centiseconds. Sum Over All Nodes 1 Select the control. 2 Enter the total amount of CPU time consumed by the query over all nodes. Teradata Workload Analyzer User Guide, Release

160 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Table 19: Exception Criteria Fields/Controls (continued) Field/Control Tactical CPU Usage Threshold (per node) Action/Comment 1 Select the control. 2 Enter a positive value. Note the following: Specify a value less than the value specified for Sum Over All Nodes. Specify a value less than 3 seconds to optimize performance. Specify Change Workload and another WD mapped to an AG in the same RP as one of the exception actions. For more information on setting this control, see Teradata Viewpoint User Guide (B ). Note the following: This parameter is enabled only if the WD is Tactical in the Workload Attributes tab and there is a positive value for CPU Sum Over All Nodes. All exceptions in the same operating environment with Tactical CPU Usage Threshold (per node) must use the same value and have the same WD in a Change Workload exception action. Qualification CPU Time 1 Select the control. The Qualification Time box becomes active when a skew control is checked. 2 Enter the length of time the following exception conditions must persist before the following criteria are satisfied (in CPU seconds): CPU millisec per IO IO Skew CPU Skew IO Skew Percent CPU Skew Percent You must select one of these criteria to activate Qualification Time. Note that if you do not enter a Qualification Time value, Teradata WA uses the Exception Interval. Qualification Time must be an integer multiple of the global the Exception Interval and greater than zero. For more information on these options, see Teradata Viewpoint User Guide (B ). 160 Teradata Workload Analyzer User Guide, Release 16.00

161 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Table 19: Exception Criteria Fields/Controls (continued) Field/Control IO Skew CPU Skew Action/Comment 1 Select the control. 2 Enter a value: IO Skew: The maximum difference in disk I/O counts between the busiest AMP and the average of all involved AMPs during the last exception interval. CPU Skew: The maximum difference in CPU consumption between the busiest AMP and the average of all involved AMPs during the last exception interval. A value of zero means there is no skew. A value greater than zero indicates skew that accumulates to a larger and larger value as long as the skew continues, up until the skew exceeds the Qualification Time. For more information on these options, see Teradata Viewpoint User Guide (B ). Note the following: The skew must exceed the Qualification Time before Teradata WA performs the action you specify. The skew must persist for a specifiable length of time, in CPU seconds, that is greater than one global Exception Interval, to qualify as an exception. CPU millisec per IO 1 Select the control. 2 Enter the maximum ratio of CPU consumption to disk I/O during the last exception interval. You can use this control to detect queries that have an unusually high ratio of CPU processing relative to logical I/Os incurred (for example, an accidental unconstrained product join performed on a very large table). Because of their very high CPU usage, these queries can steal CPU resources from other higher priority workloads, impacting the ability of the Priority Scheduler to favor higher priority requests. It is recommended that you initially set this control to 5 or greater. You must select this control to activate Qualification Time. Note the following: The ratio must exceed the Qualification Time before Teradata WA performs the action you specify. The ratio must persist for a specifiable length of time, in CPU seconds, that is greater than one global Exception Interval, to qualify as an exception. Teradata Workload Analyzer User Guide, Release

162 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Table 19: Exception Criteria Fields/Controls (continued) Field/Control IO Skew Percent CPU Skew Percent Action/Comment 1 Select the control. 2 Enter a value: IO Skew Percent: The maximum percentage difference in disk I/O counts between the busiest AMP and the average of all involved AMPs during the last exception interval. CPU Skew Percent: The maximum percentage difference in CPU consumption between the busiest AMP and the average of all involved AMPs during the last exception interval. A value of 0% means there is no skew. A value greater than 0% indicates skew. The larger the percentage, the worse the skew is. The impact of that skew grows exponentially. The skew must exceed the Qualification Time before Teradata WA performs the action you specify. For more information about these options, see Teradata Viewpoint User Guide (B ). 3 Select Accept to accept your changes. 4 Next, specify the exception actions Teradata WA performs when the exception criteria are exceeded. Table 20: Exception Action Fields/Controls To define exception actions Under Exception Actions, select the appropriate fields/controls. You must specify at least one exception criteria to access these controls. Field/Control No Exception Monitoring Continue and Log Action/Comment Select this control to prevent logging. This control temporarily disables the exception directive without deleting it. Select this control to log the exception and choose another action. If you select this option, you can select Change Workload, Raise Alert, and Run Program. 162 Teradata Workload Analyzer User Guide, Release 16.00

163 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Table 20: Exception Action Fields/Controls (continued) Field/Control Action/Comment Change Workload 1 Select Continue and Log. Change Workload is only available with Continue and Log. 2 Select Change Workload. 3 Select the WD in the list box to log the exception and move the request to the specified WD. If you specify a positive value for Tactical CPU Usage Threshold (per node), you must specify Change Workload and another WD mapped to an AG in the same RP as one of the exception actions. All exceptions in the same operating environment with Tactical CPU Usage Threshold (per node) must use the same value and have the same WD in a Change Workload exception action. If you specified values for Blocked Time, Elapsed Time, or both, Change Workload is not an option as an exception action. When specifying Change Workload as the exception action that is not to be applied to all operating environments, the following warning will display: Notice: By not applying an Exception with a Change Workload action to all operating Environments, a request may not consistently route to the same final Workload across different Operating Environments. This may lead to misleading or confusing workload accounting. You may not specify Change Workload for the default workload (WD-default). Raise Alert 1 Select Continue and Log, Abort and Log, or Abort on Select and Log to access Raise Alert. 2 Select Raise Alert to log the exception and raise an alert. 3 Enter the name of the alert configured using Teradata Viewpoint Alert Setup. Run Program 1 Select Continue and Log, Abort and Log, or Abort on Select and Log to access Run Program. 2 Select Run Program to log the exception and run a program. For more information, see Teradata Viewpoint User Guide (B ). Post to Queue Table 1 Select Continue and Log, Abort and Log, or Abort on Select and Log to access Post to Queue Table. 2 Select Post to Queue Table to log to the DBC.SystemQtbl table. Note that the Query ID is recorded and can be used to connect information from the TDWMExceptionLog and the DBQLSqlTbl. 3 [Optional] Enter a comment (maximum 120 characters) in the text box. Abort and Log Select this control to log the exception and abort the request. When you select this option, Raise Alert and Run Program are enabled. Abort on Select and Log Select this control to log the exception and abort the request if it contains only SELECT statement(s) and the current transaction has not executed any UPDATE, DELETE, or INSERT statements. Otherwise, select Continue and Log. When you select this option, Raise Alert and Run Program are enabled. Setting Exception Precedence After you define two or more local or global exception directives, you can set the precedence. Teradata WA uses the precedence to determine the exception directives that are more important to honor in the event of a conflict. Teradata Workload Analyzer User Guide, Release

164 Chapter 6: Viewing or Changing Workload Data Working with Workload Attributes Teradata WA typically honors local exception directives before global exception directives. Note that Teradata WA does not consider precedence when evaluating exception directives. Teradata WA only considers precedence when performing the actions you specified. To set exception precedence 1 On the Exception tab for a WD, or in the Global Exceptions view, select Precedence. The Exception Precedence dialog box displays. The Exception Precedence dialog box lists all exceptions defined for a workload, and indicates their priority in descending order. By default, the exceptions are listed in the order in which they are created. 2 To change the priority of an exception, select the exception, and then select the up or down arrow to move it to its desired location. 3 Repeat step 2 for each exception whose priority you want to change. 4 When finished, select OK to accept the priority listing and close the dialog box. Handling Concurrent Multiple Exception Directives for a WD Teradata WA follows these guidelines when multiple exception directives (multiple exception criteria/actions) are applicable at the same time for a WD. Teradata WA evaluates all exception directives. It is possible that multiple exception directives are exceeded together. If so, Teradata WA performs all the corresponding exception actions that do not conflict. A conflict occurs when two exception actions to be performed are either: 164 Teradata Workload Analyzer User Guide, Release 16.00

165 Chapter 6: Viewing or Changing Workload Data Viewing the Active Rule Set Abort and change WD or Change to different WDs (for example, change to WD-A and change to WD-B). Teradata WA follows these guidelines to resolve conflicting exception actions when necessary: Local exception actions take precedence over global exception actions. Teradata WA orders local and global exception actions to their defined precedence for resolving situations similar to the following case: if Maximum Rows > 100, Change Workload to WD-M if Sum Over All Nodes > 200, Change Workload to WD-N If Maximum Rows and Sum Over All Nodes both exceed their limits at the same time, the defined precedence determines to which WD Teradata WA changes. If Teradata WA must perform several exception actions because one or more exception criteria occur simultaneously, Teradata WA always executes all Raise Alert, Run Program, and Post to Queue Table exception actions. Other actions occur as follows: If you did not specify Abort and Log or Abort on Select and Log, and you specified multiple global Change Workload exception actions, the global Change Workload exception action with highest precedence occurs. Teradata WA logs all other Change Workload exception actions as overridden. If you did not specify Abort and Log or Abort on Select and Log, and you specified multiple local Change Workload exception actions, the local Change Workload exception action with highest precedence occurs. Teradata WA logs all other Change Workload exception actions as overridden. If you did not specify Abort and Log or Abort on Select and Log, and you specified multiple global and local Change Workload exception actions, the local Change Workload exception action with highest precedence occurs, since local exception actions take precedence over global exception actions. Teradata WA logs all other Change Workload exception actions as overridden. Aborts take precedence over any Change Workload exception actions. If you specified Abort and Log or Abort on Select and Log, and you specified multiple global and local Change Workload exception actions, Teradata WA aborts the query and logs all Change Workload exception actions as overridden. Viewing the Active Rule Set The Active Rule Set Information screen displays the name and historical information about the rule set. Note: This screen is not available during New Workload Recommendations and Existing Workload Analysis processes. To display active rule sets After starting Workload Analyzer, select View > Active Rule Set. Teradata Workload Analyzer User Guide, Release

166 Chapter 6: Viewing or Changing Workload Data Viewing the Candidate Workload Report The Active Rule Set Information dialog box appears. Note: This dialog box cannot be used to change rule set information. Viewing the Candidate Workload Report The Candidate Workload Report contains classification criteria, service level goals and other important information about candidate workloads. To view a Candidate Workload Report 1 After connecting to the TDWM database, select Analysis > New Workload Recommendations. The Define DBQL Inputs dialog box appears. 166 Teradata Workload Analyzer User Guide, Release 16.00

167 Chapter 6: Viewing or Changing Workload Data Viewing the Candidate Workload Report 2 Complete the parameters as described in Defining DBQL Inputs on page After specifying the options, click OK. Teradata WA queries the DBQL. This query may take several minutes. Teradata Workload Analyzer User Guide, Release

168 Chapter 6: Viewing or Changing Workload Data Viewing Evaluation Order of Candidate Workloads The Candidate Workload Report window appears. To change information displayed in the summary, use the Attributes or SLG Graph options as appropriate; these are in the left pane of the Teradata WA user interface. Note: For detailed information on the Workload Report options, see Viewing Workloads Using the Candidate Workload Report on page 54. Viewing Evaluation Order of Candidate Workloads Teradata WA sets the evaluation order of workloads in the Candidate Workloads tree after every workload split or merge. The execution of queries can be determined for workloads for classification overlapping. The following table describes how evaluation order is determined for workloads in the Candidate Workload tree. Table 21: Examples of workloads and evaluation order Example Description Evaluation Order 1 A workload such as WD-TWA (a parent workload - Account=TWA and evaluation order of 5) is analyzed with the correlation parameter UserID (TDWM). WD-TWA is split into a new workload (WD- TDWM). WD-TWA is set at a higher evaluation order because of the parent workload (WD-TWA) WD-TDWM-classification (Account=TWA and UserID=TDWM). The evaluation order is five. WD-TWA-classification (Account=TWA). The evaluation order is six. 168 Teradata Workload Analyzer User Guide, Release 16.00

169 Chapter 6: Viewing or Changing Workload Data Viewing Evaluation Order of Candidate Workloads Table 21: Examples of workloads and evaluation order (continued) Example Description Evaluation Order 2 WD-TDWM is split into a new workload with Estimated Processing Time as its distribution parameter. 3 The workload in Example1 is split using Copy and Move. WD-TDWM-Estimated Processing Timeclassification (Account=TWA and UserID=TDWM and Estimated Processing Time>10 seconds). The evaluation order is five. WD-TDWM-classification (Account=TWA and UserID=TDWM). The evaluation order is six. WD-TWA-classification (Account=TWA). The evaluation order is seven. Evaluation order results are the same as Example 1. 4 The workload in Example 1 with a wild card. The parent workload of a wild card workload will always have a higher evaluation order. 5 For workload merging, Teradata WA sets the same target workload evaluation order (the workloads to be merged) as the merged workload. WD-A (Account=A). Evaluation order is ten. WD-B (Account=B). Evaluation order is 11. WD-A-Estimated Processing Time (Account=A and Estimated Processing Time>10 seconds). The evaluation order is 12. WD-A and WD-B are merged with WD-A-Estimated Processing Time (target workload). WD-Merge1 (Account in (A,B) and Estimated Processint Time>10 seconds). The evaluation order is 12. Teradata Workload Analyzer User Guide, Release

170 Chapter 6: Viewing or Changing Workload Data Viewing Evaluation Order of Candidate Workloads 170 Teradata Workload Analyzer User Guide, Release 16.00

171 CHAPTER 7 Changes to support TASM SLG Responsive Priority Scheduler This section discusses the Teradata Workload Analyzer interface changes added for TASM and SLES11 support. It includes the following topics: TASM SLES11 Support Workload Attributes Other GUI Changes for TASM SLES11 Support TASM SLES11 Support Teradata TASM includes a new Priority Scheduler design for SLES11. The old Priority Scheduler is an application for TD SLES10. The Priority Scheduler for SLES11 is based on constructs such as Virtual Partitions, Workload Methods, Access Levels, and Tiers. All the features that exist in TWA will work as is for TD 16.00, 15.10, 14.10, 14.0, SLES10 (except , 15.0, 14.10, and 14.0 changes other than SLES11 Priority Scheduler. Note the following changes when TWA is connected to TD 14.0 and higher SLES11: The Analysis > Convert PDSets to Workloads menu item is disabled. This option is supported for TD 14.0 and higher SLES11. Four new default workloads exist in addition to the WD-Default workload. All four default workloads are listed in the candidate workload tree window. These Default workloads are created for Timeshare workload method with access rates Top, High, Medium, and Low under the default Virtual Partition. Evaluation orders of these Workloads are in the following order: Table 22: Default TWA Workloads Workload Name Workload Classification Workload Method Timeshare Access Level WD-Top Account = "$R*" Timeshare Top WD-High Account = "$H*" Timeshare High WD-Medium Account = "$M*" Timeshare Medium Teradata Workload Analyzer User Guide, Release

172 Chapter 7: Changes to support TASM SLG Responsive Priority Scheduler TASM SLES11 Support Table 22: Default TWA Workloads (continued) Workload Name Workload Classification Workload Method Timeshare Access Level WD-Low Account = "$L*" Timeshare Low WD-Default <no classification> Timeshare Medium The RuleSet > Workload to AG mapping menu item is disabled since it is not applicable for SLES11 Priority Scheduler. The Workload Attributes tab view has changed. For more details, see Workload Attributes on page 173. A new tab has been added in the Workload Attributes tab view to define the Tactical Exception for Tactical Workload method. All Tactical Workloads have a default Tactical Exception rule pair (CPU per Node and I/O per Node) set to default thresholds and are assigned a Change Workload action of WD- Default. The DBA can use the Tactical Exception workload attribute tab to change the default setting. TWA creates a default Virtual Partition name Standard with a quota value of 100. All the TWA recommended workloads are mapped with the default Virtual Partition. A Virtual Partition other than the default can be created by selecting Viewpoint >Workload Designer. 172 Teradata Workload Analyzer User Guide, Release 16.00

173 Chapter 7: Changes to support TASM SLG Responsive Priority Scheduler Workload Attributes Workload Attributes The default Workload Method is Timeshare with Medium access rate. The DBA can select a Top, Medium, High, or Low access rate for the Timeshare workload method. The DBA has to enter percent share values for the SLG Tier workload method. Workload Method: Tactical: short queries with a fixed response-time requirement. SLG Tier: important queries that should get extra resources. Timeshare: normal queries. This is the default setting. Tactical exception directive for a WD: The Tactical Exception tab is enabled only for the Tactical workload method. Teradata Workload Analyzer User Guide, Release

174 Chapter 7: Changes to support TASM SLG Responsive Priority Scheduler Other GUI Changes for TASM SLES11 Support Field/Control Exception Name Description CPU Time Tactical CPU Per Node IO Physical IO Per Node Action/Comment Enter the name of the tactical exception Specify an optional description Enter the CPU Time value Enter the CPU Per Node value Enter the IO Physical space value Enter the IO Per Node value Other GUI Changes for TASM SLES11 Support The Add Workload dialog has changed: 174 Teradata Workload Analyzer User Guide, Release 16.00

175 Chapter 7: Changes to support TASM SLG Responsive Priority Scheduler Other GUI Changes for TASM SLES11 Support When Split to New Workload with (selected Distribution Parameter) as Exception is selected, the Add New workload With Exception dialog box displays. Teradata Workload Analyzer User Guide, Release

176 Chapter 7: Changes to support TASM SLG Responsive Priority Scheduler Other GUI Changes for TASM SLES11 Support 176 Teradata Workload Analyzer User Guide, Release 16.00

177 CHAPTER 8 Recommendation for SLG Tier and Workload Percentage The Teradata Priority Scheduler uses different approaches to prioritization in Linux SLES 10 and SLES 11. As a result, workloads designed under SLES 10 need to be adjusted to achieve similar results under SLES 11. The SLG Tier Hints Report The TASM PreMigration tool helps customers to migrate an existing workload to Tactical and TimeShare methods based on enforcement priority and relative weights. The SLG Tier method is intended for workloads that are associated with a short service level goal or service level expectation, which do not generally consume large amounts of CPU, and whose response time consistency is critical to the business. The PreMigration recommendation on SLG Tier mapping is based on enforcement priority and workload classification - which may not be correct for many customers. PreMigration does not provide any recommendation for SLG Tier workload method percent share. This complicates SLES11 TASM migration. Many customers find it difficult to assign the workloads to the SLG Tier method with an appropriate percent share. TWA bypasses this difficulty by providing the option to analyze the existing workloads based on DBQL data, and in this way provides the recommendations for workload reconfiguration. This TWA feature analyzes the existing workloads and provides the recommendations for SLG Tier migration based on peak CPU time and workload relative weight. The Existing Workload Analysis feature analyzes the DBQL data based on the rules shown in Figure 27: Existing Workload Analysis Rules on page 178 and provides the recommendations for the SLG Tier workload management method and the workload percent share. For more information on using Existing Workload Analysis, see Chapter 5 Analyzing Existing Workloads to Meet SLGs on page 125. Teradata Workload Analyzer User Guide, Release

178 Chapter 8: Recommendation for SLG Tier and Workload Percentage The SLG Tier Hints Report Figure 27: Existing Workload Analysis Rules To generate an SLG Tier Hints Report In the Existing workload Candidates Workload Report, right-click a workload and select SLG tier hints Report to generate the recommendations as shown below. 178 Teradata Workload Analyzer User Guide, Release 16.00

179 Chapter 8: Recommendation for SLG Tier and Workload Percentage The SLG Tier Hints Report The SLG Tier Workload Method Hints Report appears. Figure 28: SLG Tier Workload Method Hints Report Field Workload Name Enforcement Priority Relative Weight % Peak CPU % SLG (Response Time) Description Displays the name of the current workload being viewed Displays the currently assigned enforcement priority for the selected workload Displays the relative weight associated with the workload Displays percent of Total CPU Percentage of the total CPU time (in seconds) used on all AMPs by this session Displays SLG Changes Response Time Teradata Workload Analyzer User Guide, Release

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 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

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

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

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? 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

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 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

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 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

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

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

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 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

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 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

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 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

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

What would you do if you knew? Teradata Debugger for C/C++ UDF User Guide Release B K January 2016 What would you do if you knew? Teradata Debugger for C/C++ UDF User Guide Release 15.10 B035-2070-016K January 2016 The product or products described in this book are licensed products of Teradata Corporation

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 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

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

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

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

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 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

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

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

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

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

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 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 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 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

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

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

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

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 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

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

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 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 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 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

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

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

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. 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 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

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

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 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 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

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

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 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

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 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. 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

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 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? 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 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 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 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

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

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

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

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 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

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 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 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 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

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

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 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

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

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

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

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

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 FastLoad. Reference

Teradata FastLoad. Reference Teradata FastLoad Reference Release 13.00.00 B035-2411-088A April 2009 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata, BYNET, DBC/1012,

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 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

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 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

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

Teradata Database. Database Administration

Teradata Database. Database Administration Teradata Database Database Administration Release 12.0 B035-1093-067A March 2010 The product or products described in this book are licensed products of Teradata Corporation or its affiliates. Teradata,

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

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. 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 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

Creating Domain Templates Using the Domain Template Builder 11g Release 1 (10.3.6)

Creating Domain Templates Using the Domain Template Builder 11g Release 1 (10.3.6) [1]Oracle Fusion Middleware Creating Domain Templates Using the Domain Template Builder 11g Release 1 (10.3.6) E14139-06 April 2015 This document describes how to use the Domain Template Builder to create

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

User's Guide c-treeace Replication Monitor

User's Guide c-treeace Replication Monitor User's Guide c-treeace Replication Monitor Copyright Notice Copyright 1992-2018 FairCom Corporation. All rights reserved. No part of this publication may be stored in a retrieval system, or transmitted

More information