73
CL412G www.globalknowledge.ie [email protected] 353-1-814 8200 IBM DB2 for Linux, UNIX, and Windows Performance Tuning and Monitoring Workshop Duration: 4 Days Course Code: CL412G Overview: This course enables you to learn how to tune for optimum performance the IBM DB2 9 for Linux, UNIX, and Windows relational database management system and associated applications written for this environment. You will also learn about DB2 9 for Linux, UNIX, and Windows in a single partition database environment. Explore performance issues affecting the design of the database and applications using the database, the major database performance parameters, and the different tools that assist in performance monitoring and tuning. In this course, you will also use tools that are common across the Linux, UNIX, and Windows environments. During labs running on DB2 9.7, you will enhance your ability to use monitoring tools, explain tools and DB2 utilities like RUNSTATS, REORG and db2batch to tune a database running on your local LINUX workstation. Target Audience: This is an advanced course for database designers, database administrators, and application developers working with DB2 for Linux, UNIX, and Windows who are concerned about performance. This course is appropriate for students using DB2 in a z/Linux environment. Objectives: Define the impact of database design (tables, indexes, and data placement) on database performance Tune parameters to achieve optimum performance Describe database application programming considerations and how they affect performance Identify and use the tools that assist in monitoring and tuning of a database Identify and describe the parameters (database and non-database) that affect performance Prerequisites: You should complete: DB2 9 Database Administration Workshop for Linux, UNIX, and Windows (CL2X2) or DB2 9 for Linux, UNIX, and Windows Quickstart for Experienced Relational DBAs (CL482) or have equivalent experience

IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

  • Upload
    others

  • View
    32

  • Download
    0

Embed Size (px)

Citation preview

Page 1: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

IBM DB2 for Linux, UNIX, and Windows Performance Tuning and Monitoring Workshop

Duration: 4 Days Course Code: CL412G

Overview:

This course enables you to learn how to tune for optimum performance the IBM DB2 9 for Linux, UNIX, and Windows relational databasemanagement system and associated applications written for this environment. You will also learn about DB2 9 for Linux, UNIX, and Windows ina single partition database environment. Explore performance issues affecting the design of the database and applications using the database,the major database performance parameters, and the different tools that assist in performance monitoring and tuning. In this course, you will also use tools that are common across the Linux, UNIX, and Windows environments. During labs running on DB2 9.7,you will enhance your ability to use monitoring tools, explain tools and DB2 utilities like RUNSTATS, REORG and db2batch to tune a databaserunning on your local LINUX workstation.

Target Audience:

This is an advanced course for database designers, database administrators, and application developers working with DB2 for Linux, UNIX,and Windows who are concerned about performance. This course is appropriate for students using DB2 in a z/Linux environment.

Objectives:

Define the impact of database design (tables, indexes, and dataplacement) on database performance

Tune parameters to achieve optimum performance

Describe database application programming considerations andhow they affect performance Identify and use the tools that assist in monitoring and tuning of a

database

Identify and describe the parameters (database andnon-database) that affect performance

Prerequisites:

You should complete:

DB2 9 Database Administration Workshop for Linux, UNIX, andWindows (CL2X2) orDB2 9 for Linux, UNIX, and Windows Quickstart for ExperiencedRelational DBAs (CL482)or have equivalent experience

Page 2: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Content:

Database Monitoring line line line

Describe the basic principles in monitoring a List the tools for monitoring database and List the tools for monitoring database andDB2 database application activity application activity

Use GET SNAPSHOT commands to Use GET SNAPSHOT commands toproduce reports for analysis of database produce reports for analysis of database

line performance performanceList the tools for monitoring database and Utilize the administrative routines and Utilize the administrative routines andapplication activity views provided by to DB2 to simplify views provided by to DB2 to simplifyUse GET SNAPSHOT commands to application access to database application access to databaseproduce reports for analysis of database performance statistics performance statisticsperformance Use the db2pd to perform performance Use the db2pd to perform performanceUtilize the administrative routines and views analysis or problem determination for a analysis or problem determination for aprovided by to DB2 to simplify application DB2 database DB2 databaseaccess to database performance statistics Utilize the enhanced table functions with Utilize the enhanced table functions withUse the db2pd to perform performance SQL in reporting and monitoring of the SQL in reporting and monitoring of theanalysis or problem determination for a DB2 database system, data objects, and the database system, data objects, and thedatabase package cache to help you quickly package cache to help you quickly identifyUtilize the enhanced table functions with identify issues that might be causing issues that might be causing problemsSQL in reporting and monitoring of the problems Configure the DB2 Database configurationdatabase system, data objects, and the Configure the DB2 Database options that control the collection ofpackage cache to help you quickly identify configuration options that control the request, activity and object level metrics onissues that might be causing problems collection of request, activity and object the entire databaseConfigure the DB2 Database configuration level metrics on the entire database Compare the enhanced table functionsoptions that control the collection of request, Compare the enhanced table functions with the snapshot monitoring facilitiesactivity and object level metrics on the entire with the snapshot monitoring facilities provided by previous DB2 releases database provided by previous DB2 releases Describe processing for writing databaseCompare the enhanced table functions with Describe processing for writing database pages from buffer poolsthe snapshot monitoring facilities provided pages from buffer pools Monitor database read and write activityby previous DB2 releases Monitor database read and write activity using GET SNAPSHOT commands orDescribe processing for writing database using GET SNAPSHOT commands or Administrative Routines and Viewspages from buffer pools Administrative Routines and Views Monitor database logging activity andMonitor database read and write activity Monitor database logging activity and select appropriate values for SOFTMAXusing GET SNAPSHOT commands or select appropriate values for SOFTMAX and MINCOMMITAdministrative Routines and Views and MINCOMMIT Describe how scan sharing can reduce theMonitor database logging activity and select Describe how scan sharing can reduce I/O workload for accessing large tablesappropriate values for SOFTMAX and the I/O workload for accessing large Explain the alternate page cleaningMINCOMMIT tables processing associated with theDescribe how scan sharing can reduce the Explain the alternate page cleaning DB2_USE_ALTERNATE_PAGE_CLEANII/O workload for accessing large tables processing associated with the NG DB2 Registry variable Explain the alternate page cleaning DB2_USE_ALTERNATE_PAGE_CLEAN Describe the calculation of prefetch sizeprocessing associated with the ING DB2 Registry variable when PREFETCHSIZE is set toDB2_USE_ALTERNATE_PAGE_CLEANIN Describe the calculation of prefetch size AUTOMATICG DB2 Registry variable when PREFETCHSIZE is set to List the advantages of selecting DMS orDescribe the calculation of prefetch size AUTOMATIC SMS table space management as well aswhen PREFETCHSIZE is set to List the advantages of selecting DMS or using Automatic Storage-managed tableAUTOMATIC SMS table space management as well as spacesList the advantages of selecting DMS or using Automatic Storage-managed table Set file system caching options for tableSMS table space management as well as spaces spaces to optimize table spaceusing Automatic Storage-managed table Set file system caching options for table performancespaces spaces to optimize table space Describe the various row insertionSet file system caching options for table performance algorithms for tables that are based onspaces to optimize table space performance Describe the various row insertion using the APPEND option or defining aDescribe the various row insertion algorithms for tables that are based on clustering indexalgorithms for tables that are based on using using the APPEND option or defining a Plan and implement Row Compression tothe APPEND option or defining a clustering clustering index reduce disk and memory requirements andindex Plan and implement Row Compression to improve application performancePlan and implement Row Compression to reduce disk and memory requirements Describe how DB2's Index compressionreduce disk and memory requirements and and improve application performance option can reduce disk storageimprove application performance Describe how DB2's Index compression requirements for indexesDescribe how DB2's Index compression option can reduce disk storage Explain how DB2 can compress temporaryoption can reduce disk storage requirements requirements for indexes data to improve application performancefor indexes Explain how DB2 can compress Utilize the DB2 provided tools andExplain how DB2 can compress temporary temporary data to improve application functions to estimate compression results

Page 3: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

data to improve application performance performance for Indexes and data Utilize the DB2 provided tools and functions Utilize the DB2 provided tools and Explain the management of databaseto estimate compression results for Indexes functions to estimate compression results shared memory based on setting theand data for Indexes and data configuration optionExplain the management of database Explain the management of database DATABASE_MEMORY to AUTOMATIC,shared memory based on setting the shared memory based on setting the COMPUTED or a specific number ofconfiguration option DATABASE_MEMORY configuration option pagesto AUTOMATIC, COMPUTED or a specific DATABASE_MEMORY to AUTOMATIC, Select the mode for managing data sortnumber of pages COMPUTED or a specific number of memory using SHEAPTHRES,Select the mode for managing data sort pages SORTHEAP, and SHEAPTHRES_SHRmemory using SHEAPTHRES, SORTHEAP, Select the mode for managing data sort Monitor DB2 memory usage using theand SHEAPTHRES_SHR memory using SHEAPTHRES, db2mtrk commands and SQL statementsMonitor DB2 memory usage using the SORTHEAP, and SHEAPTHRES_SHR Utilize the db2pd command for monitoringdb2mtrk commands and SQL statements Monitor DB2 memory usage using the current database memory usage Utilize the db2pd command for monitoring db2mtrk commands and SQL statements Explain the differences in STMMcurrent database memory usage Utilize the db2pd command for processing based on the setting ofExplain the differences in STMM processing monitoring current database memory DATABASE_MEMORYbased on the setting of usage Plan and configure a database for selfDATABASE_MEMORY Explain the differences in STMM tuning memoryPlan and configure a database for self processing based on the setting of Activate or deactivate STMM for selectedtuning memory DATABASE_MEMORY memory heapsActivate or deactivate STMM for selected Plan and configure a database for self Describe the management of sortheapmemory heaps tuning memory memory based on the configuration ofDescribe the management of sortheap Activate or deactivate STMM for selected sheapthres and sheapthres_shrmemory based on the configuration of memory heaps Explain how DB2 can automaticallysheapthres and sheapthres_shr Describe the management of sortheap increase or decrease database memory forExplain how DB2 can automatically increase memory based on the configuration of multiple DB2 databases running on theor decrease database memory for multiple sheapthres and sheapthres_shr same server DB2 databases running on the same server Explain how DB2 can automatically Describe the performance advantages ofDescribe the performance advantages of increase or decrease database memory using stored proceduresusing stored procedures for multiple DB2 databases running on Design applications to maximize recordDesign applications to maximize record the same server blocking, minimize sort operations andblocking, minimize sort operations and Describe the performance advantages of minimize lock contentionminimize lock contention using stored procedures Monitor application performance and lockMonitor application performance and lock Design applications to maximize record waits using GET SNAPSHOT commandswaits using GET SNAPSHOT commands blocking, minimize sort operations and and SQL queriesand SQL queries minimize lock contention Set the DB2 registry variablesSet the DB2 registry variables Monitor application performance and lock DB2_EVALUNCOMMITTED,DB2_EVALUNCOMMITTED, waits using GET SNAPSHOT commands DB2_SKIPINSERTED andDB2_SKIPINSERTED and and SQL queries DB2_SKIPDELETED to reduce lockDB2_SKIPDELETED to reduce lock Set the DB2 registry variables contention based on applicationcontention based on application DB2_EVALUNCOMMITTED, requirementsrequirements DB2_SKIPINSERTED and Utilize the currently committed form ofUtilize the currently committed form of DB2_SKIPDELETED to reduce lock locking to reduce lock contention betweenlocking to reduce lock contention between contention based on application read-only and update applications read-only and update applications requirements Describe the advantages of usingDescribe the advantages of using db2exfmt Utilize the currently committed form of db2exfmtCreate special tables used by Visual Explain locking to reduce lock contention Create special tables used by Visualand db2exfmt between read-only and update Explain and db2exfmtIdentify how to set the Explain snapshot and applications Identify how to set the Explain snapshotExplain mode registers to capture the Describe the advantages of using and Explain mode registers to capture theinformation of interest db2exfmt information of interestDifferentiate between the different methods Create special tables used by Visual Differentiate between the differentof viewing Explain information Explain and db2exfmt methods of viewing Explain information Choose the appropriate optimization class Identify how to set the Explain snapshot Choose the appropriate optimization classDescribe the catalog statistics and database and Explain mode registers to capture Describe the catalog statistics andconfiguration options impact on access plan the information of interest database configuration options impact onselection Differentiate between the different access plan selectionImplement a statistical view to provide better methods of viewing Explain information Implement a statistical view to providecardinality estimates for complex queries Choose the appropriate optimization better cardinality estimates for complexEnable the statement concentrator using the class queriesSTMT_CONC database manager Describe the catalog statistics and Enable the statement concentrator usingconfiguration parameter to reduce SQL database configuration options impact on the STMT_CONC database managercompilation overhead for dynamic SQL access plan selection configuration parameter to reduce SQLstatements Implement a statistical view to provide compilation overhead for dynamic SQLUtilize the db2look utility to extract catalog better cardinality estimates for complex statements

Page 4: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

statistics from existing tables to mimic an queries Utilize the db2look utility to extract catalogexisting database environment Enable the statement concentrator using statistics from existing tables to mimic anCreate an optimizer profile the STMT_CONC database manager existing database environmentDescribe the Block Indexing capability for configuration parameter to reduce SQL Create an optimizer profile MDC tables compilation overhead for dynamic SQL Describe the Block Indexing capability forMonitor index usage using the statements MDC tablesMON_GET_INDEX function and db2pd Utilize the db2look utility to extract Monitor index usage using thecommands catalog statistics from existing tables to MON_GET_INDEX function and db2pdExplain how multiple indexes can be mimic an existing database environment commandscombined using Index ORing and Dynamic Create an optimizer profile Explain how multiple indexes can beBitmap Index ANDing Describe the Block Indexing capability for combined using Index ORing and DynamicUse the Design Advisor to predict MDC tables Bitmap Index ANDingperformance gains from adding new indexes Monitor index usage using the Use the Design Advisor to predictDescribe the differences between Nested MON_GET_INDEX function and db2pd performance gains from adding newLoop, Merge Scan and Hash Joins commands indexes Plan the implementation of Refresh Explain how multiple indexes can be Describe the differences between NestedImmediate or Refresh Deferred Materialized combined using Index ORing and Loop, Merge Scan and Hash JoinsQuery Tables to improve query performance Dynamic Bitmap Index ANDing Plan the implementation of RefreshUtilize the Design Advisor to analyze SQL Use the Design Advisor to predict Immediate or Refresh Deferredstatements and recommend new MQTs performance gains from adding new Materialized Query Tables to improveDescribe the features of range-partitioned indexes query performancetables to support large DB2 tables using Describe the differences between Nested Utilize the Design Advisor to analyze SQLmultiple table spaces, including the roll-in Loop, Merge Scan and Hash Joins statements and recommend new MQTsand roll-out of data ranges Plan the implementation of Refresh Describe the features of range-partitionedExplain the difference between partitioned Immediate or Refresh Deferred tables to support large DB2 tables usingand non-partitioned indexes for a Materialized Query Tables to improve multiple table spaces, including the roll-inrange-partitioned table query performance and roll-out of data rangesImplement partitioned indexes to improve Utilize the Design Advisor to analyze SQL Explain the difference between partitionedperformance when you roll data out or roll statements and recommend new MQTs and non-partitioned indexes for adata into a range-partitioned table Describe the features of range-partitioned range-partitioned tableUse the DB2 Explain tools to determine if tables to support large DB2 tables using Implement partitioned indexes to improvepartition elimination is being used to improve multiple table spaces, including the roll-in performance when you roll data out or rollaccess performance to large and roll-out of data ranges data into a range-partitioned tablerange-partitioned tables Explain the difference between Use the DB2 Explain tools to determine ifSelect appropriate RUNSTATS options to partitioned and non-partitioned indexes partition elimination is being used tocollect Distribution Statistics or Column for a range-partitioned table improve access performance to largeGroup Statistics to improve cardinality Implement partitioned indexes to improve range-partitioned tables estimates during SQL compilation performance when you roll data out or roll Select appropriate RUNSTATS options toUse the table and indexes statistics to plan data into a range-partitioned table collect Distribution Statistics or Columnfor table and index reorganization using the Use the DB2 Explain tools to determine if Group Statistics to improve cardinalityREORG utility partition elimination is being used to estimates during SQL compilationSet the policies and options for automation improve access performance to large Use the table and indexes statistics to planof catalog statistics collection range-partitioned tables for table and index reorganization usingMonitor the activity associated with Select appropriate RUNSTATS options to the REORG utilityimplementing real-time statistics collection collect Distribution Statistics or Column Set the policies and options for automationUse the db2batch utility to run SQL Group Statistics to improve cardinality of catalog statistics collectionworkloads and collect performance statistics estimates during SQL compilation Monitor the activity associated withthat can be used to benchmark database Use the table and indexes statistics to implementing real-time statistics collectionand application changes plan for table and index reorganization Use the db2batch utility to run SQLImplement simple Workload Management using the REORG utility workloads and collect performancedefinitions to utilize the Workload Set the policies and options for statistics that can be used to benchmarkManager-based event monitoring including automation of catalog statistics collection database and application changes activities, statistics and threshold violations Monitor the activity associated with Implement simple Workload ManagementEvaluate Event Monitor data using the Event implementing real-time statistics definitions to utilize the WorkloadAnalyzer tool, the db2evmon text-based tool collection Manager-based event monitoring includingthe db2evmonfmt application or using SQL Use the db2batch utility to run SQL activities, statistics and threshold violationsqueries workloads and collect performance Evaluate Event Monitor data using theDefine a LOCKING Event Monitor to capture statistics that can be used to benchmark Event Analyzer tool, the db2evmondeadlocks, lock timeout or lock waits database and application changes text-based tool the db2evmonfmtConfigure a DB2 database to control Implement simple Workload application or using SQL queriesinformation captured for deadlocks, lock Management definitions to utilize the Define a LOCKING Event Monitor totimeouts or extended lock waits Workload Manager-based event capture deadlocks, lock timeout or lockImplement Event Monitors for units of work monitoring including activities, statistics waitsor lock-related events that store information and threshold violations Configure a DB2 database to controlin unformatted Event Monitor tables Evaluate Event Monitor data using the information captured for deadlocks, lockCapture SQL section information using an Event Analyzer tool, the db2evmon timeouts or extended lock waits

Page 5: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

ACTIVITIES Event Monitor and use the data text-based tool the db2evmonfmt Implement Event Monitors for units of workto generate Explain reports application or using SQL queries or lock-related events that store

Define a LOCKING Event Monitor to information in unformatted Event Monitorcapture deadlocks, lock timeout or lock tables

line waits Capture SQL section information using anList the tools for monitoring database and Configure a DB2 database to control ACTIVITIES Event Monitor and use theapplication activity information captured for deadlocks, lock data to generate Explain reports Use GET SNAPSHOT commands to timeouts or extended lock waitsproduce reports for analysis of database Implement Event Monitors for units ofperformance work or lock-related events that store lineUtilize the administrative routines and views information in unformatted Event Monitor List the tools for monitoring database andprovided by to DB2 to simplify application tables application activityaccess to database performance statistics Capture SQL section information using Use GET SNAPSHOT commands toUse the db2pd to perform performance an ACTIVITIES Event Monitor and use produce reports for analysis of databaseanalysis or problem determination for a DB2 the data to generate Explain reports performancedatabase Utilize the administrative routines andUtilize the enhanced table functions with Automated Memory Management views provided by to DB2 to simplifySQL in reporting and monitoring of the line application access to databasedatabase system, data objects, and the Describe how STMM can be used to performance statisticspackage cache to help you quickly identify automatically manage database shared Use the db2pd to perform performanceissues that might be causing problems memory heaps analysis or problem determination for aConfigure the DB2 Database configuration DB2 databaseoptions that control the collection of request, Utilize the enhanced table functions withactivity and object level metrics on the entire line SQL in reporting and monitoring of thedatabase List the tools for monitoring database and database system, data objects, and theCompare the enhanced table functions with application activity package cache to help you quickly identifythe snapshot monitoring facilities provided Use GET SNAPSHOT commands to issues that might be causing problemsby previous DB2 releases produce reports for analysis of database Configure the DB2 Database configurationDescribe processing for writing database performance options that control the collection ofpages from buffer pools Utilize the administrative routines and request, activity and object level metrics onMonitor database read and write activity views provided by to DB2 to simplify the entire databaseusing GET SNAPSHOT commands or application access to database Compare the enhanced table functionsAdministrative Routines and Views performance statistics with the snapshot monitoring facilitiesMonitor database logging activity and select Use the db2pd to perform performance provided by previous DB2 releases appropriate values for SOFTMAX and analysis or problem determination for a Describe processing for writing databaseMINCOMMIT DB2 database pages from buffer poolsDescribe how scan sharing can reduce the Utilize the enhanced table functions with Monitor database read and write activityI/O workload for accessing large tables SQL in reporting and monitoring of the using GET SNAPSHOT commands orExplain the alternate page cleaning database system, data objects, and the Administrative Routines and Viewsprocessing associated with the package cache to help you quickly Monitor database logging activity andDB2_USE_ALTERNATE_PAGE_CLEANIN identify issues that might be causing select appropriate values for SOFTMAXG DB2 Registry variable problems and MINCOMMITDescribe the calculation of prefetch size Configure the DB2 Database Describe how scan sharing can reduce thewhen PREFETCHSIZE is set to configuration options that control the I/O workload for accessing large tablesAUTOMATIC collection of request, activity and object Explain the alternate page cleaningList the advantages of selecting DMS or level metrics on the entire database processing associated with theSMS table space management as well as Compare the enhanced table functions DB2_USE_ALTERNATE_PAGE_CLEANIusing Automatic Storage-managed table with the snapshot monitoring facilities NG DB2 Registry variable spaces provided by previous DB2 releases Describe the calculation of prefetch sizeSet file system caching options for table Describe processing for writing database when PREFETCHSIZE is set tospaces to optimize table space performance pages from buffer pools AUTOMATICDescribe the various row insertion Monitor database read and write activity List the advantages of selecting DMS oralgorithms for tables that are based on using using GET SNAPSHOT commands or SMS table space management as well asthe APPEND option or defining a clustering Administrative Routines and Views using Automatic Storage-managed tableindex Monitor database logging activity and spacesPlan and implement Row Compression to select appropriate values for SOFTMAX Set file system caching options for tablereduce disk and memory requirements and and MINCOMMIT spaces to optimize table spaceimprove application performance Describe how scan sharing can reduce performanceDescribe how DB2's Index compression the I/O workload for accessing large Describe the various row insertionoption can reduce disk storage requirements tables algorithms for tables that are based onfor indexes Explain the alternate page cleaning using the APPEND option or defining aExplain how DB2 can compress temporary processing associated with the clustering indexdata to improve application performance DB2_USE_ALTERNATE_PAGE_CLEAN Plan and implement Row Compression toUtilize the DB2 provided tools and functions ING DB2 Registry variable reduce disk and memory requirements andto estimate compression results for Indexes Describe the calculation of prefetch size improve application performanceand data when PREFETCHSIZE is set to Describe how DB2's Index compression

Page 6: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Explain the management of database AUTOMATIC option can reduce disk storageshared memory based on setting the List the advantages of selecting DMS or requirements for indexesconfiguration option DATABASE_MEMORY SMS table space management as well as Explain how DB2 can compress temporaryto AUTOMATIC, COMPUTED or a specific using Automatic Storage-managed table data to improve application performancenumber of pages spaces Utilize the DB2 provided tools andSelect the mode for managing data sort Set file system caching options for table functions to estimate compression resultsmemory using SHEAPTHRES, SORTHEAP, spaces to optimize table space for Indexes and data and SHEAPTHRES_SHR performance Explain the management of databaseMonitor DB2 memory usage using the Describe the various row insertion shared memory based on setting thedb2mtrk commands and SQL statements algorithms for tables that are based on configuration optionUtilize the db2pd command for monitoring using the APPEND option or defining a DATABASE_MEMORY to AUTOMATIC,current database memory usage clustering index COMPUTED or a specific number ofExplain the differences in STMM processing Plan and implement Row Compression to pagesbased on the setting of reduce disk and memory requirements Select the mode for managing data sortDATABASE_MEMORY and improve application performance memory using SHEAPTHRES,Plan and configure a database for self Describe how DB2's Index compression SORTHEAP, and SHEAPTHRES_SHRtuning memory option can reduce disk storage Monitor DB2 memory usage using theActivate or deactivate STMM for selected requirements for indexes db2mtrk commands and SQL statementsmemory heaps Explain how DB2 can compress Utilize the db2pd command for monitoringDescribe the management of sortheap temporary data to improve application current database memory usage memory based on the configuration of performance Explain the differences in STMMsheapthres and sheapthres_shr Utilize the DB2 provided tools and processing based on the setting ofExplain how DB2 can automatically increase functions to estimate compression results DATABASE_MEMORYor decrease database memory for multiple for Indexes and data Plan and configure a database for selfDB2 databases running on the same server Explain the management of database tuning memoryDescribe the performance advantages of shared memory based on setting the Activate or deactivate STMM for selectedusing stored procedures configuration option memory heapsDesign applications to maximize record DATABASE_MEMORY to AUTOMATIC, Describe the management of sortheapblocking, minimize sort operations and COMPUTED or a specific number of memory based on the configuration ofminimize lock contention pages sheapthres and sheapthres_shrMonitor application performance and lock Select the mode for managing data sort Explain how DB2 can automaticallywaits using GET SNAPSHOT commands memory using SHEAPTHRES, increase or decrease database memory forand SQL queries SORTHEAP, and SHEAPTHRES_SHR multiple DB2 databases running on theSet the DB2 registry variables Monitor DB2 memory usage using the same server DB2_EVALUNCOMMITTED, db2mtrk commands and SQL statements Describe the performance advantages ofDB2_SKIPINSERTED and Utilize the db2pd command for using stored proceduresDB2_SKIPDELETED to reduce lock monitoring current database memory Design applications to maximize recordcontention based on application usage blocking, minimize sort operations andrequirements Explain the differences in STMM minimize lock contentionUtilize the currently committed form of processing based on the setting of Monitor application performance and locklocking to reduce lock contention between DATABASE_MEMORY waits using GET SNAPSHOT commandsread-only and update applications Plan and configure a database for self and SQL queriesDescribe the advantages of using db2exfmt tuning memory Set the DB2 registry variablesCreate special tables used by Visual Explain Activate or deactivate STMM for selected DB2_EVALUNCOMMITTED,and db2exfmt memory heaps DB2_SKIPINSERTED andIdentify how to set the Explain snapshot and Describe the management of sortheap DB2_SKIPDELETED to reduce lockExplain mode registers to capture the memory based on the configuration of contention based on applicationinformation of interest sheapthres and sheapthres_shr requirementsDifferentiate between the different methods Explain how DB2 can automatically Utilize the currently committed form ofof viewing Explain information increase or decrease database memory locking to reduce lock contention betweenChoose the appropriate optimization class for multiple DB2 databases running on read-only and update applications Describe the catalog statistics and database the same server Describe the advantages of usingconfiguration options impact on access plan Describe the performance advantages of db2exfmtselection using stored procedures Create special tables used by VisualImplement a statistical view to provide better Design applications to maximize record Explain and db2exfmtcardinality estimates for complex queries blocking, minimize sort operations and Identify how to set the Explain snapshotEnable the statement concentrator using the minimize lock contention and Explain mode registers to capture theSTMT_CONC database manager Monitor application performance and lock information of interestconfiguration parameter to reduce SQL waits using GET SNAPSHOT commands Differentiate between the differentcompilation overhead for dynamic SQL and SQL queries methods of viewing Explain information statements Set the DB2 registry variables Choose the appropriate optimization classUtilize the db2look utility to extract catalog DB2_EVALUNCOMMITTED, Describe the catalog statistics andstatistics from existing tables to mimic an DB2_SKIPINSERTED and database configuration options impact onexisting database environment DB2_SKIPDELETED to reduce lock access plan selectionCreate an optimizer profile contention based on application Implement a statistical view to provideDescribe the Block Indexing capability for requirements better cardinality estimates for complex

Page 7: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

MDC tables Utilize the currently committed form of queriesMonitor index usage using the locking to reduce lock contention Enable the statement concentrator usingMON_GET_INDEX function and db2pd between read-only and update the STMT_CONC database managercommands applications configuration parameter to reduce SQLExplain how multiple indexes can be Describe the advantages of using compilation overhead for dynamic SQLcombined using Index ORing and Dynamic db2exfmt statementsBitmap Index ANDing Create special tables used by Visual Utilize the db2look utility to extract catalogUse the Design Advisor to predict Explain and db2exfmt statistics from existing tables to mimic anperformance gains from adding new indexes Identify how to set the Explain snapshot existing database environmentDescribe the differences between Nested and Explain mode registers to capture Create an optimizer profile Loop, Merge Scan and Hash Joins the information of interest Describe the Block Indexing capability forPlan the implementation of Refresh Differentiate between the different MDC tablesImmediate or Refresh Deferred Materialized methods of viewing Explain information Monitor index usage using theQuery Tables to improve query performance Choose the appropriate optimization MON_GET_INDEX function and db2pdUtilize the Design Advisor to analyze SQL class commandsstatements and recommend new MQTs Describe the catalog statistics and Explain how multiple indexes can beDescribe the features of range-partitioned database configuration options impact on combined using Index ORing and Dynamictables to support large DB2 tables using access plan selection Bitmap Index ANDingmultiple table spaces, including the roll-in Implement a statistical view to provide Use the Design Advisor to predictand roll-out of data ranges better cardinality estimates for complex performance gains from adding newExplain the difference between partitioned queries indexes and non-partitioned indexes for a Enable the statement concentrator using Describe the differences between Nestedrange-partitioned table the STMT_CONC database manager Loop, Merge Scan and Hash JoinsImplement partitioned indexes to improve configuration parameter to reduce SQL Plan the implementation of Refreshperformance when you roll data out or roll compilation overhead for dynamic SQL Immediate or Refresh Deferreddata into a range-partitioned table statements Materialized Query Tables to improveUse the DB2 Explain tools to determine if Utilize the db2look utility to extract query performancepartition elimination is being used to improve catalog statistics from existing tables to Utilize the Design Advisor to analyze SQLaccess performance to large mimic an existing database environment statements and recommend new MQTsrange-partitioned tables Create an optimizer profile Describe the features of range-partitionedSelect appropriate RUNSTATS options to Describe the Block Indexing capability for tables to support large DB2 tables usingcollect Distribution Statistics or Column MDC tables multiple table spaces, including the roll-inGroup Statistics to improve cardinality Monitor index usage using the and roll-out of data rangesestimates during SQL compilation MON_GET_INDEX function and db2pd Explain the difference between partitionedUse the table and indexes statistics to plan commands and non-partitioned indexes for afor table and index reorganization using the Explain how multiple indexes can be range-partitioned tableREORG utility combined using Index ORing and Implement partitioned indexes to improveSet the policies and options for automation Dynamic Bitmap Index ANDing performance when you roll data out or rollof catalog statistics collection Use the Design Advisor to predict data into a range-partitioned tableMonitor the activity associated with performance gains from adding new Use the DB2 Explain tools to determine ifimplementing real-time statistics collection indexes partition elimination is being used toUse the db2batch utility to run SQL Describe the differences between Nested improve access performance to largeworkloads and collect performance statistics Loop, Merge Scan and Hash Joins range-partitioned tables that can be used to benchmark database Plan the implementation of Refresh Select appropriate RUNSTATS options toand application changes Immediate or Refresh Deferred collect Distribution Statistics or ColumnImplement simple Workload Management Materialized Query Tables to improve Group Statistics to improve cardinalitydefinitions to utilize the Workload query performance estimates during SQL compilationManager-based event monitoring including Utilize the Design Advisor to analyze SQL Use the table and indexes statistics to planactivities, statistics and threshold violations statements and recommend new MQTs for table and index reorganization usingEvaluate Event Monitor data using the Event Describe the features of range-partitioned the REORG utilityAnalyzer tool, the db2evmon text-based tool tables to support large DB2 tables using Set the policies and options for automationthe db2evmonfmt application or using SQL multiple table spaces, including the roll-in of catalog statistics collectionqueries and roll-out of data ranges Monitor the activity associated withDefine a LOCKING Event Monitor to capture Explain the difference between implementing real-time statistics collectiondeadlocks, lock timeout or lock waits partitioned and non-partitioned indexes Use the db2batch utility to run SQLConfigure a DB2 database to control for a range-partitioned table workloads and collect performanceinformation captured for deadlocks, lock Implement partitioned indexes to improve statistics that can be used to benchmarktimeouts or extended lock waits performance when you roll data out or roll database and application changes Implement Event Monitors for units of work data into a range-partitioned table Implement simple Workload Managementor lock-related events that store information Use the DB2 Explain tools to determine if definitions to utilize the Workloadin unformatted Event Monitor tables partition elimination is being used to Manager-based event monitoring includingCapture SQL section information using an improve access performance to large activities, statistics and threshold violationsACTIVITIES Event Monitor and use the data range-partitioned tables Evaluate Event Monitor data using theto generate Explain reports Select appropriate RUNSTATS options to Event Analyzer tool, the db2evmon

collect Distribution Statistics or Column text-based tool the db2evmonfmtGroup Statistics to improve cardinality application or using SQL queries

Page 8: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

line estimates during SQL compilation Define a LOCKING Event Monitor toList the tools for monitoring database and Use the table and indexes statistics to capture deadlocks, lock timeout or lockapplication activity plan for table and index reorganization waitsUse GET SNAPSHOT commands to using the REORG utility Configure a DB2 database to controlproduce reports for analysis of database Set the policies and options for information captured for deadlocks, lockperformance automation of catalog statistics collection timeouts or extended lock waitsUtilize the administrative routines and views Monitor the activity associated with Implement Event Monitors for units of workprovided by to DB2 to simplify application implementing real-time statistics or lock-related events that storeaccess to database performance statistics collection information in unformatted Event MonitorUse the db2pd to perform performance Use the db2batch utility to run SQL tablesanalysis or problem determination for a DB2 workloads and collect performance Capture SQL section information using andatabase statistics that can be used to benchmark ACTIVITIES Event Monitor and use theUtilize the enhanced table functions with database and application changes data to generate Explain reports SQL in reporting and monitoring of the Implement simple Workloaddatabase system, data objects, and the Management definitions to utilize thepackage cache to help you quickly identify Workload Manager-based event lineissues that might be causing problems monitoring including activities, statistics List the tools for monitoring database andConfigure the DB2 Database configuration and threshold violations application activityoptions that control the collection of request, Evaluate Event Monitor data using the Use GET SNAPSHOT commands toactivity and object level metrics on the entire Event Analyzer tool, the db2evmon produce reports for analysis of databasedatabase text-based tool the db2evmonfmt performanceCompare the enhanced table functions with application or using SQL queries Utilize the administrative routines andthe snapshot monitoring facilities provided Define a LOCKING Event Monitor to views provided by to DB2 to simplifyby previous DB2 releases capture deadlocks, lock timeout or lock application access to databaseDescribe processing for writing database waits performance statisticspages from buffer pools Configure a DB2 database to control Use the db2pd to perform performanceMonitor database read and write activity information captured for deadlocks, lock analysis or problem determination for ausing GET SNAPSHOT commands or timeouts or extended lock waits DB2 databaseAdministrative Routines and Views Implement Event Monitors for units of Utilize the enhanced table functions withMonitor database logging activity and select work or lock-related events that store SQL in reporting and monitoring of theappropriate values for SOFTMAX and information in unformatted Event Monitor database system, data objects, and theMINCOMMIT tables package cache to help you quickly identifyDescribe how scan sharing can reduce the Capture SQL section information using issues that might be causing problemsI/O workload for accessing large tables an ACTIVITIES Event Monitor and use Configure the DB2 Database configurationExplain the alternate page cleaning the data to generate Explain reports options that control the collection ofprocessing associated with the request, activity and object level metrics onDB2_USE_ALTERNATE_PAGE_CLEANIN the entire databaseG DB2 Registry variable line Compare the enhanced table functionsDescribe the calculation of prefetch size List the tools for monitoring database and with the snapshot monitoring facilitieswhen PREFETCHSIZE is set to application activity provided by previous DB2 releases AUTOMATIC Use GET SNAPSHOT commands to Describe processing for writing databaseList the advantages of selecting DMS or produce reports for analysis of database pages from buffer poolsSMS table space management as well as performance Monitor database read and write activityusing Automatic Storage-managed table Utilize the administrative routines and using GET SNAPSHOT commands orspaces views provided by to DB2 to simplify Administrative Routines and ViewsSet file system caching options for table application access to database Monitor database logging activity andspaces to optimize table space performance performance statistics select appropriate values for SOFTMAXDescribe the various row insertion Use the db2pd to perform performance and MINCOMMITalgorithms for tables that are based on using analysis or problem determination for a Describe how scan sharing can reduce thethe APPEND option or defining a clustering DB2 database I/O workload for accessing large tablesindex Utilize the enhanced table functions with Explain the alternate page cleaningPlan and implement Row Compression to SQL in reporting and monitoring of the processing associated with thereduce disk and memory requirements and database system, data objects, and the DB2_USE_ALTERNATE_PAGE_CLEANIimprove application performance package cache to help you quickly NG DB2 Registry variable Describe how DB2's Index compression identify issues that might be causing Describe the calculation of prefetch sizeoption can reduce disk storage requirements problems when PREFETCHSIZE is set tofor indexes Configure the DB2 Database AUTOMATICExplain how DB2 can compress temporary configuration options that control the List the advantages of selecting DMS ordata to improve application performance collection of request, activity and object SMS table space management as well asUtilize the DB2 provided tools and functions level metrics on the entire database using Automatic Storage-managed tableto estimate compression results for Indexes Compare the enhanced table functions spacesand data with the snapshot monitoring facilities Set file system caching options for tableExplain the management of database provided by previous DB2 releases spaces to optimize table spaceshared memory based on setting the Describe processing for writing database performanceconfiguration option DATABASE_MEMORY pages from buffer pools Describe the various row insertionto AUTOMATIC, COMPUTED or a specific Monitor database read and write activity algorithms for tables that are based on

Page 9: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

number of pages using GET SNAPSHOT commands or using the APPEND option or defining aSelect the mode for managing data sort Administrative Routines and Views clustering indexmemory using SHEAPTHRES, SORTHEAP, Monitor database logging activity and Plan and implement Row Compression toand SHEAPTHRES_SHR select appropriate values for SOFTMAX reduce disk and memory requirements andMonitor DB2 memory usage using the and MINCOMMIT improve application performancedb2mtrk commands and SQL statements Describe how scan sharing can reduce Describe how DB2's Index compressionUtilize the db2pd command for monitoring the I/O workload for accessing large option can reduce disk storagecurrent database memory usage tables requirements for indexesExplain the differences in STMM processing Explain the alternate page cleaning Explain how DB2 can compress temporarybased on the setting of processing associated with the data to improve application performanceDATABASE_MEMORY DB2_USE_ALTERNATE_PAGE_CLEAN Utilize the DB2 provided tools andPlan and configure a database for self ING DB2 Registry variable functions to estimate compression resultstuning memory Describe the calculation of prefetch size for Indexes and data Activate or deactivate STMM for selected when PREFETCHSIZE is set to Explain the management of databasememory heaps AUTOMATIC shared memory based on setting theDescribe the management of sortheap List the advantages of selecting DMS or configuration optionmemory based on the configuration of SMS table space management as well as DATABASE_MEMORY to AUTOMATIC,sheapthres and sheapthres_shr using Automatic Storage-managed table COMPUTED or a specific number ofExplain how DB2 can automatically increase spaces pagesor decrease database memory for multiple Set file system caching options for table Select the mode for managing data sortDB2 databases running on the same server spaces to optimize table space memory using SHEAPTHRES,Describe the performance advantages of performance SORTHEAP, and SHEAPTHRES_SHRusing stored procedures Describe the various row insertion Monitor DB2 memory usage using theDesign applications to maximize record algorithms for tables that are based on db2mtrk commands and SQL statementsblocking, minimize sort operations and using the APPEND option or defining a Utilize the db2pd command for monitoringminimize lock contention clustering index current database memory usage Monitor application performance and lock Plan and implement Row Compression to Explain the differences in STMMwaits using GET SNAPSHOT commands reduce disk and memory requirements processing based on the setting ofand SQL queries and improve application performance DATABASE_MEMORYSet the DB2 registry variables Describe how DB2's Index compression Plan and configure a database for selfDB2_EVALUNCOMMITTED, option can reduce disk storage tuning memoryDB2_SKIPINSERTED and requirements for indexes Activate or deactivate STMM for selectedDB2_SKIPDELETED to reduce lock Explain how DB2 can compress memory heapscontention based on application temporary data to improve application Describe the management of sortheaprequirements performance memory based on the configuration ofUtilize the currently committed form of Utilize the DB2 provided tools and sheapthres and sheapthres_shrlocking to reduce lock contention between functions to estimate compression results Explain how DB2 can automaticallyread-only and update applications for Indexes and data increase or decrease database memory forDescribe the advantages of using db2exfmt Explain the management of database multiple DB2 databases running on theCreate special tables used by Visual Explain shared memory based on setting the same server and db2exfmt configuration option Describe the performance advantages ofIdentify how to set the Explain snapshot and DATABASE_MEMORY to AUTOMATIC, using stored proceduresExplain mode registers to capture the COMPUTED or a specific number of Design applications to maximize recordinformation of interest pages blocking, minimize sort operations andDifferentiate between the different methods Select the mode for managing data sort minimize lock contentionof viewing Explain information memory using SHEAPTHRES, Monitor application performance and lockChoose the appropriate optimization class SORTHEAP, and SHEAPTHRES_SHR waits using GET SNAPSHOT commandsDescribe the catalog statistics and database Monitor DB2 memory usage using the and SQL queriesconfiguration options impact on access plan db2mtrk commands and SQL statements Set the DB2 registry variablesselection Utilize the db2pd command for DB2_EVALUNCOMMITTED,Implement a statistical view to provide better monitoring current database memory DB2_SKIPINSERTED andcardinality estimates for complex queries usage DB2_SKIPDELETED to reduce lockEnable the statement concentrator using the Explain the differences in STMM contention based on applicationSTMT_CONC database manager processing based on the setting of requirementsconfiguration parameter to reduce SQL DATABASE_MEMORY Utilize the currently committed form ofcompilation overhead for dynamic SQL Plan and configure a database for self locking to reduce lock contention betweenstatements tuning memory read-only and update applications Utilize the db2look utility to extract catalog Activate or deactivate STMM for selected Describe the advantages of usingstatistics from existing tables to mimic an memory heaps db2exfmtexisting database environment Describe the management of sortheap Create special tables used by VisualCreate an optimizer profile memory based on the configuration of Explain and db2exfmtDescribe the Block Indexing capability for sheapthres and sheapthres_shr Identify how to set the Explain snapshotMDC tables Explain how DB2 can automatically and Explain mode registers to capture theMonitor index usage using the increase or decrease database memory information of interestMON_GET_INDEX function and db2pd for multiple DB2 databases running on Differentiate between the differentcommands the same server methods of viewing Explain information

Page 10: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Explain how multiple indexes can be Describe the performance advantages of Choose the appropriate optimization classcombined using Index ORing and Dynamic using stored procedures Describe the catalog statistics andBitmap Index ANDing Design applications to maximize record database configuration options impact onUse the Design Advisor to predict blocking, minimize sort operations and access plan selectionperformance gains from adding new indexes minimize lock contention Implement a statistical view to provideDescribe the differences between Nested Monitor application performance and lock better cardinality estimates for complexLoop, Merge Scan and Hash Joins waits using GET SNAPSHOT commands queriesPlan the implementation of Refresh and SQL queries Enable the statement concentrator usingImmediate or Refresh Deferred Materialized Set the DB2 registry variables the STMT_CONC database managerQuery Tables to improve query performance DB2_EVALUNCOMMITTED, configuration parameter to reduce SQLUtilize the Design Advisor to analyze SQL DB2_SKIPINSERTED and compilation overhead for dynamic SQLstatements and recommend new MQTs DB2_SKIPDELETED to reduce lock statementsDescribe the features of range-partitioned contention based on application Utilize the db2look utility to extract catalogtables to support large DB2 tables using requirements statistics from existing tables to mimic anmultiple table spaces, including the roll-in Utilize the currently committed form of existing database environmentand roll-out of data ranges locking to reduce lock contention Create an optimizer profile Explain the difference between partitioned between read-only and update Describe the Block Indexing capability forand non-partitioned indexes for a applications MDC tablesrange-partitioned table Describe the advantages of using Monitor index usage using theImplement partitioned indexes to improve db2exfmt MON_GET_INDEX function and db2pdperformance when you roll data out or roll Create special tables used by Visual commandsdata into a range-partitioned table Explain and db2exfmt Explain how multiple indexes can beUse the DB2 Explain tools to determine if Identify how to set the Explain snapshot combined using Index ORing and Dynamicpartition elimination is being used to improve and Explain mode registers to capture Bitmap Index ANDingaccess performance to large the information of interest Use the Design Advisor to predictrange-partitioned tables Differentiate between the different performance gains from adding newSelect appropriate RUNSTATS options to methods of viewing Explain information indexes collect Distribution Statistics or Column Choose the appropriate optimization Describe the differences between NestedGroup Statistics to improve cardinality class Loop, Merge Scan and Hash Joinsestimates during SQL compilation Describe the catalog statistics and Plan the implementation of RefreshUse the table and indexes statistics to plan database configuration options impact on Immediate or Refresh Deferredfor table and index reorganization using the access plan selection Materialized Query Tables to improveREORG utility Implement a statistical view to provide query performanceSet the policies and options for automation better cardinality estimates for complex Utilize the Design Advisor to analyze SQLof catalog statistics collection queries statements and recommend new MQTsMonitor the activity associated with Enable the statement concentrator using Describe the features of range-partitionedimplementing real-time statistics collection the STMT_CONC database manager tables to support large DB2 tables usingUse the db2batch utility to run SQL configuration parameter to reduce SQL multiple table spaces, including the roll-inworkloads and collect performance statistics compilation overhead for dynamic SQL and roll-out of data rangesthat can be used to benchmark database statements Explain the difference between partitionedand application changes Utilize the db2look utility to extract and non-partitioned indexes for aImplement simple Workload Management catalog statistics from existing tables to range-partitioned tabledefinitions to utilize the Workload mimic an existing database environment Implement partitioned indexes to improveManager-based event monitoring including Create an optimizer profile performance when you roll data out or rollactivities, statistics and threshold violations Describe the Block Indexing capability for data into a range-partitioned tableEvaluate Event Monitor data using the Event MDC tables Use the DB2 Explain tools to determine ifAnalyzer tool, the db2evmon text-based tool Monitor index usage using the partition elimination is being used tothe db2evmonfmt application or using SQL MON_GET_INDEX function and db2pd improve access performance to largequeries commands range-partitioned tables Define a LOCKING Event Monitor to capture Explain how multiple indexes can be Select appropriate RUNSTATS options todeadlocks, lock timeout or lock waits combined using Index ORing and collect Distribution Statistics or ColumnConfigure a DB2 database to control Dynamic Bitmap Index ANDing Group Statistics to improve cardinalityinformation captured for deadlocks, lock Use the Design Advisor to predict estimates during SQL compilationtimeouts or extended lock waits performance gains from adding new Use the table and indexes statistics to planImplement Event Monitors for units of work indexes for table and index reorganization usingor lock-related events that store information Describe the differences between Nested the REORG utilityin unformatted Event Monitor tables Loop, Merge Scan and Hash Joins Set the policies and options for automationCapture SQL section information using an Plan the implementation of Refresh of catalog statistics collectionACTIVITIES Event Monitor and use the data Immediate or Refresh Deferred Monitor the activity associated withto generate Explain reports Materialized Query Tables to improve implementing real-time statistics collection

query performance Use the db2batch utility to run SQLUtilize the Design Advisor to analyze SQL workloads and collect performance

line statements and recommend new MQTs statistics that can be used to benchmarkList the tools for monitoring database and Describe the features of range-partitioned database and application changes application activity tables to support large DB2 tables using Implement simple Workload ManagementUse GET SNAPSHOT commands to multiple table spaces, including the roll-in definitions to utilize the Workload

Page 11: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

produce reports for analysis of database and roll-out of data ranges Manager-based event monitoring includingperformance Explain the difference between activities, statistics and threshold violationsUtilize the administrative routines and views partitioned and non-partitioned indexes Evaluate Event Monitor data using theprovided by to DB2 to simplify application for a range-partitioned table Event Analyzer tool, the db2evmonaccess to database performance statistics Implement partitioned indexes to improve text-based tool the db2evmonfmtUse the db2pd to perform performance performance when you roll data out or roll application or using SQL queriesanalysis or problem determination for a DB2 data into a range-partitioned table Define a LOCKING Event Monitor todatabase Use the DB2 Explain tools to determine if capture deadlocks, lock timeout or lockUtilize the enhanced table functions with partition elimination is being used to waitsSQL in reporting and monitoring of the improve access performance to large Configure a DB2 database to controldatabase system, data objects, and the range-partitioned tables information captured for deadlocks, lockpackage cache to help you quickly identify Select appropriate RUNSTATS options to timeouts or extended lock waitsissues that might be causing problems collect Distribution Statistics or Column Implement Event Monitors for units of workConfigure the DB2 Database configuration Group Statistics to improve cardinality or lock-related events that storeoptions that control the collection of request, estimates during SQL compilation information in unformatted Event Monitoractivity and object level metrics on the entire Use the table and indexes statistics to tablesdatabase plan for table and index reorganization Capture SQL section information using anCompare the enhanced table functions with using the REORG utility ACTIVITIES Event Monitor and use thethe snapshot monitoring facilities provided Set the policies and options for data to generate Explain reports by previous DB2 releases automation of catalog statistics collectionDescribe processing for writing database Monitor the activity associated with Complex SQL Performance pages from buffer pools implementing real-time statistics lineMonitor database read and write activity collection Review Explain reports for costly sortusing GET SNAPSHOT commands or Use the db2batch utility to run SQL operationsAdministrative Routines and Views workloads and collect performanceMonitor database logging activity and select statistics that can be used to benchmarkappropriate values for SOFTMAX and database and application changes lineMINCOMMIT Implement simple Workload List the tools for monitoring database andDescribe how scan sharing can reduce the Management definitions to utilize the application activityI/O workload for accessing large tables Workload Manager-based event Use GET SNAPSHOT commands toExplain the alternate page cleaning monitoring including activities, statistics produce reports for analysis of databaseprocessing associated with the and threshold violations performanceDB2_USE_ALTERNATE_PAGE_CLEANIN Evaluate Event Monitor data using the Utilize the administrative routines andG DB2 Registry variable Event Analyzer tool, the db2evmon views provided by to DB2 to simplifyDescribe the calculation of prefetch size text-based tool the db2evmonfmt application access to databasewhen PREFETCHSIZE is set to application or using SQL queries performance statisticsAUTOMATIC Define a LOCKING Event Monitor to Use the db2pd to perform performanceList the advantages of selecting DMS or capture deadlocks, lock timeout or lock analysis or problem determination for aSMS table space management as well as waits DB2 databaseusing Automatic Storage-managed table Configure a DB2 database to control Utilize the enhanced table functions withspaces information captured for deadlocks, lock SQL in reporting and monitoring of theSet file system caching options for table timeouts or extended lock waits database system, data objects, and thespaces to optimize table space performance Implement Event Monitors for units of package cache to help you quickly identifyDescribe the various row insertion work or lock-related events that store issues that might be causing problemsalgorithms for tables that are based on using information in unformatted Event Monitor Configure the DB2 Database configurationthe APPEND option or defining a clustering tables options that control the collection ofindex Capture SQL section information using request, activity and object level metrics onPlan and implement Row Compression to an ACTIVITIES Event Monitor and use the entire databasereduce disk and memory requirements and the data to generate Explain reports Compare the enhanced table functionsimprove application performance with the snapshot monitoring facilitiesDescribe how DB2's Index compression provided by previous DB2 releases option can reduce disk storage requirements line Describe processing for writing databasefor indexes List the tools for monitoring database and pages from buffer poolsExplain how DB2 can compress temporary application activity Monitor database read and write activitydata to improve application performance Use GET SNAPSHOT commands to using GET SNAPSHOT commands orUtilize the DB2 provided tools and functions produce reports for analysis of database Administrative Routines and Viewsto estimate compression results for Indexes performance Monitor database logging activity andand data Utilize the administrative routines and select appropriate values for SOFTMAXExplain the management of database views provided by to DB2 to simplify and MINCOMMITshared memory based on setting the application access to database Describe how scan sharing can reduce theconfiguration option DATABASE_MEMORY performance statistics I/O workload for accessing large tablesto AUTOMATIC, COMPUTED or a specific Use the db2pd to perform performance Explain the alternate page cleaningnumber of pages analysis or problem determination for a processing associated with theSelect the mode for managing data sort DB2 database DB2_USE_ALTERNATE_PAGE_CLEANImemory using SHEAPTHRES, SORTHEAP, Utilize the enhanced table functions with NG DB2 Registry variable and SHEAPTHRES_SHR SQL in reporting and monitoring of the Describe the calculation of prefetch size

Page 12: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Monitor DB2 memory usage using the database system, data objects, and the when PREFETCHSIZE is set todb2mtrk commands and SQL statements package cache to help you quickly AUTOMATICUtilize the db2pd command for monitoring identify issues that might be causing List the advantages of selecting DMS orcurrent database memory usage problems SMS table space management as well asExplain the differences in STMM processing Configure the DB2 Database using Automatic Storage-managed tablebased on the setting of configuration options that control the spacesDATABASE_MEMORY collection of request, activity and object Set file system caching options for tablePlan and configure a database for self level metrics on the entire database spaces to optimize table spacetuning memory Compare the enhanced table functions performanceActivate or deactivate STMM for selected with the snapshot monitoring facilities Describe the various row insertionmemory heaps provided by previous DB2 releases algorithms for tables that are based onDescribe the management of sortheap Describe processing for writing database using the APPEND option or defining amemory based on the configuration of pages from buffer pools clustering indexsheapthres and sheapthres_shr Monitor database read and write activity Plan and implement Row Compression toExplain how DB2 can automatically increase using GET SNAPSHOT commands or reduce disk and memory requirements andor decrease database memory for multiple Administrative Routines and Views improve application performanceDB2 databases running on the same server Monitor database logging activity and Describe how DB2's Index compressionDescribe the performance advantages of select appropriate values for SOFTMAX option can reduce disk storageusing stored procedures and MINCOMMIT requirements for indexesDesign applications to maximize record Describe how scan sharing can reduce Explain how DB2 can compress temporaryblocking, minimize sort operations and the I/O workload for accessing large data to improve application performanceminimize lock contention tables Utilize the DB2 provided tools andMonitor application performance and lock Explain the alternate page cleaning functions to estimate compression resultswaits using GET SNAPSHOT commands processing associated with the for Indexes and data and SQL queries DB2_USE_ALTERNATE_PAGE_CLEAN Explain the management of databaseSet the DB2 registry variables ING DB2 Registry variable shared memory based on setting theDB2_EVALUNCOMMITTED, Describe the calculation of prefetch size configuration optionDB2_SKIPINSERTED and when PREFETCHSIZE is set to DATABASE_MEMORY to AUTOMATIC,DB2_SKIPDELETED to reduce lock AUTOMATIC COMPUTED or a specific number ofcontention based on application List the advantages of selecting DMS or pagesrequirements SMS table space management as well as Select the mode for managing data sortUtilize the currently committed form of using Automatic Storage-managed table memory using SHEAPTHRES,locking to reduce lock contention between spaces SORTHEAP, and SHEAPTHRES_SHRread-only and update applications Set file system caching options for table Monitor DB2 memory usage using theDescribe the advantages of using db2exfmt spaces to optimize table space db2mtrk commands and SQL statementsCreate special tables used by Visual Explain performance Utilize the db2pd command for monitoringand db2exfmt Describe the various row insertion current database memory usage Identify how to set the Explain snapshot and algorithms for tables that are based on Explain the differences in STMMExplain mode registers to capture the using the APPEND option or defining a processing based on the setting ofinformation of interest clustering index DATABASE_MEMORYDifferentiate between the different methods Plan and implement Row Compression to Plan and configure a database for selfof viewing Explain information reduce disk and memory requirements tuning memoryChoose the appropriate optimization class and improve application performance Activate or deactivate STMM for selectedDescribe the catalog statistics and database Describe how DB2's Index compression memory heapsconfiguration options impact on access plan option can reduce disk storage Describe the management of sortheapselection requirements for indexes memory based on the configuration ofImplement a statistical view to provide better Explain how DB2 can compress sheapthres and sheapthres_shrcardinality estimates for complex queries temporary data to improve application Explain how DB2 can automaticallyEnable the statement concentrator using the performance increase or decrease database memory forSTMT_CONC database manager Utilize the DB2 provided tools and multiple DB2 databases running on theconfiguration parameter to reduce SQL functions to estimate compression results same server compilation overhead for dynamic SQL for Indexes and data Describe the performance advantages ofstatements Explain the management of database using stored proceduresUtilize the db2look utility to extract catalog shared memory based on setting the Design applications to maximize recordstatistics from existing tables to mimic an configuration option blocking, minimize sort operations andexisting database environment DATABASE_MEMORY to AUTOMATIC, minimize lock contentionCreate an optimizer profile COMPUTED or a specific number of Monitor application performance and lockDescribe the Block Indexing capability for pages waits using GET SNAPSHOT commandsMDC tables Select the mode for managing data sort and SQL queriesMonitor index usage using the memory using SHEAPTHRES, Set the DB2 registry variablesMON_GET_INDEX function and db2pd SORTHEAP, and SHEAPTHRES_SHR DB2_EVALUNCOMMITTED,commands Monitor DB2 memory usage using the DB2_SKIPINSERTED andExplain how multiple indexes can be db2mtrk commands and SQL statements DB2_SKIPDELETED to reduce lockcombined using Index ORing and Dynamic Utilize the db2pd command for contention based on applicationBitmap Index ANDing monitoring current database memory requirementsUse the Design Advisor to predict usage Utilize the currently committed form of

Page 13: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

performance gains from adding new indexes Explain the differences in STMM locking to reduce lock contention betweenDescribe the differences between Nested processing based on the setting of read-only and update applications Loop, Merge Scan and Hash Joins DATABASE_MEMORY Describe the advantages of usingPlan the implementation of Refresh Plan and configure a database for self db2exfmtImmediate or Refresh Deferred Materialized tuning memory Create special tables used by VisualQuery Tables to improve query performance Activate or deactivate STMM for selected Explain and db2exfmtUtilize the Design Advisor to analyze SQL memory heaps Identify how to set the Explain snapshotstatements and recommend new MQTs Describe the management of sortheap and Explain mode registers to capture theDescribe the features of range-partitioned memory based on the configuration of information of interesttables to support large DB2 tables using sheapthres and sheapthres_shr Differentiate between the differentmultiple table spaces, including the roll-in Explain how DB2 can automatically methods of viewing Explain information and roll-out of data ranges increase or decrease database memory Choose the appropriate optimization classExplain the difference between partitioned for multiple DB2 databases running on Describe the catalog statistics andand non-partitioned indexes for a the same server database configuration options impact onrange-partitioned table Describe the performance advantages of access plan selectionImplement partitioned indexes to improve using stored procedures Implement a statistical view to provideperformance when you roll data out or roll Design applications to maximize record better cardinality estimates for complexdata into a range-partitioned table blocking, minimize sort operations and queriesUse the DB2 Explain tools to determine if minimize lock contention Enable the statement concentrator usingpartition elimination is being used to improve Monitor application performance and lock the STMT_CONC database manageraccess performance to large waits using GET SNAPSHOT commands configuration parameter to reduce SQLrange-partitioned tables and SQL queries compilation overhead for dynamic SQLSelect appropriate RUNSTATS options to Set the DB2 registry variables statementscollect Distribution Statistics or Column DB2_EVALUNCOMMITTED, Utilize the db2look utility to extract catalogGroup Statistics to improve cardinality DB2_SKIPINSERTED and statistics from existing tables to mimic anestimates during SQL compilation DB2_SKIPDELETED to reduce lock existing database environmentUse the table and indexes statistics to plan contention based on application Create an optimizer profile for table and index reorganization using the requirements Describe the Block Indexing capability forREORG utility Utilize the currently committed form of MDC tablesSet the policies and options for automation locking to reduce lock contention Monitor index usage using theof catalog statistics collection between read-only and update MON_GET_INDEX function and db2pdMonitor the activity associated with applications commandsimplementing real-time statistics collection Describe the advantages of using Explain how multiple indexes can beUse the db2batch utility to run SQL db2exfmt combined using Index ORing and Dynamicworkloads and collect performance statistics Create special tables used by Visual Bitmap Index ANDingthat can be used to benchmark database Explain and db2exfmt Use the Design Advisor to predictand application changes Identify how to set the Explain snapshot performance gains from adding newImplement simple Workload Management and Explain mode registers to capture indexes definitions to utilize the Workload the information of interest Describe the differences between NestedManager-based event monitoring including Differentiate between the different Loop, Merge Scan and Hash Joinsactivities, statistics and threshold violations methods of viewing Explain information Plan the implementation of RefreshEvaluate Event Monitor data using the Event Choose the appropriate optimization Immediate or Refresh DeferredAnalyzer tool, the db2evmon text-based tool class Materialized Query Tables to improvethe db2evmonfmt application or using SQL Describe the catalog statistics and query performancequeries database configuration options impact on Utilize the Design Advisor to analyze SQLDefine a LOCKING Event Monitor to capture access plan selection statements and recommend new MQTsdeadlocks, lock timeout or lock waits Implement a statistical view to provide Describe the features of range-partitionedConfigure a DB2 database to control better cardinality estimates for complex tables to support large DB2 tables usinginformation captured for deadlocks, lock queries multiple table spaces, including the roll-intimeouts or extended lock waits Enable the statement concentrator using and roll-out of data rangesImplement Event Monitors for units of work the STMT_CONC database manager Explain the difference between partitionedor lock-related events that store information configuration parameter to reduce SQL and non-partitioned indexes for ain unformatted Event Monitor tables compilation overhead for dynamic SQL range-partitioned tableCapture SQL section information using an statements Implement partitioned indexes to improveACTIVITIES Event Monitor and use the data Utilize the db2look utility to extract performance when you roll data out or rollto generate Explain reports catalog statistics from existing tables to data into a range-partitioned table

mimic an existing database environment Use the DB2 Explain tools to determine ifCreate an optimizer profile partition elimination is being used to

line Describe the Block Indexing capability for improve access performance to largeList the tools for monitoring database and MDC tables range-partitioned tables application activity Monitor index usage using the Select appropriate RUNSTATS options toUse GET SNAPSHOT commands to MON_GET_INDEX function and db2pd collect Distribution Statistics or Columnproduce reports for analysis of database commands Group Statistics to improve cardinalityperformance Explain how multiple indexes can be estimates during SQL compilationUtilize the administrative routines and views combined using Index ORing and Use the table and indexes statistics to planprovided by to DB2 to simplify application Dynamic Bitmap Index ANDing for table and index reorganization using

Page 14: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

access to database performance statistics Use the Design Advisor to predict the REORG utilityUse the db2pd to perform performance performance gains from adding new Set the policies and options for automationanalysis or problem determination for a DB2 indexes of catalog statistics collectiondatabase Describe the differences between Nested Monitor the activity associated withUtilize the enhanced table functions with Loop, Merge Scan and Hash Joins implementing real-time statistics collectionSQL in reporting and monitoring of the Plan the implementation of Refresh Use the db2batch utility to run SQLdatabase system, data objects, and the Immediate or Refresh Deferred workloads and collect performancepackage cache to help you quickly identify Materialized Query Tables to improve statistics that can be used to benchmarkissues that might be causing problems query performance database and application changes Configure the DB2 Database configuration Utilize the Design Advisor to analyze SQL Implement simple Workload Managementoptions that control the collection of request, statements and recommend new MQTs definitions to utilize the Workloadactivity and object level metrics on the entire Describe the features of range-partitioned Manager-based event monitoring includingdatabase tables to support large DB2 tables using activities, statistics and threshold violationsCompare the enhanced table functions with multiple table spaces, including the roll-in Evaluate Event Monitor data using thethe snapshot monitoring facilities provided and roll-out of data ranges Event Analyzer tool, the db2evmonby previous DB2 releases Explain the difference between text-based tool the db2evmonfmtDescribe processing for writing database partitioned and non-partitioned indexes application or using SQL queriespages from buffer pools for a range-partitioned table Define a LOCKING Event Monitor toMonitor database read and write activity Implement partitioned indexes to improve capture deadlocks, lock timeout or lockusing GET SNAPSHOT commands or performance when you roll data out or roll waitsAdministrative Routines and Views data into a range-partitioned table Configure a DB2 database to controlMonitor database logging activity and select Use the DB2 Explain tools to determine if information captured for deadlocks, lockappropriate values for SOFTMAX and partition elimination is being used to timeouts or extended lock waitsMINCOMMIT improve access performance to large Implement Event Monitors for units of workDescribe how scan sharing can reduce the range-partitioned tables or lock-related events that storeI/O workload for accessing large tables Select appropriate RUNSTATS options to information in unformatted Event MonitorExplain the alternate page cleaning collect Distribution Statistics or Column tablesprocessing associated with the Group Statistics to improve cardinality Capture SQL section information using anDB2_USE_ALTERNATE_PAGE_CLEANIN estimates during SQL compilation ACTIVITIES Event Monitor and use theG DB2 Registry variable Use the table and indexes statistics to data to generate Explain reports Describe the calculation of prefetch size plan for table and index reorganizationwhen PREFETCHSIZE is set to using the REORG utilityAUTOMATIC Set the policies and options for lineList the advantages of selecting DMS or automation of catalog statistics collection List the tools for monitoring database andSMS table space management as well as Monitor the activity associated with application activityusing Automatic Storage-managed table implementing real-time statistics Use GET SNAPSHOT commands tospaces collection produce reports for analysis of databaseSet file system caching options for table Use the db2batch utility to run SQL performancespaces to optimize table space performance workloads and collect performance Utilize the administrative routines andDescribe the various row insertion statistics that can be used to benchmark views provided by to DB2 to simplifyalgorithms for tables that are based on using database and application changes application access to databasethe APPEND option or defining a clustering Implement simple Workload performance statisticsindex Management definitions to utilize the Use the db2pd to perform performancePlan and implement Row Compression to Workload Manager-based event analysis or problem determination for areduce disk and memory requirements and monitoring including activities, statistics DB2 databaseimprove application performance and threshold violations Utilize the enhanced table functions withDescribe how DB2's Index compression Evaluate Event Monitor data using the SQL in reporting and monitoring of theoption can reduce disk storage requirements Event Analyzer tool, the db2evmon database system, data objects, and thefor indexes text-based tool the db2evmonfmt package cache to help you quickly identifyExplain how DB2 can compress temporary application or using SQL queries issues that might be causing problemsdata to improve application performance Define a LOCKING Event Monitor to Configure the DB2 Database configurationUtilize the DB2 provided tools and functions capture deadlocks, lock timeout or lock options that control the collection ofto estimate compression results for Indexes waits request, activity and object level metrics onand data Configure a DB2 database to control the entire databaseExplain the management of database information captured for deadlocks, lock Compare the enhanced table functionsshared memory based on setting the timeouts or extended lock waits with the snapshot monitoring facilitiesconfiguration option DATABASE_MEMORY Implement Event Monitors for units of provided by previous DB2 releases to AUTOMATIC, COMPUTED or a specific work or lock-related events that store Describe processing for writing databasenumber of pages information in unformatted Event Monitor pages from buffer poolsSelect the mode for managing data sort tables Monitor database read and write activitymemory using SHEAPTHRES, SORTHEAP, Capture SQL section information using using GET SNAPSHOT commands orand SHEAPTHRES_SHR an ACTIVITIES Event Monitor and use Administrative Routines and ViewsMonitor DB2 memory usage using the the data to generate Explain reports Monitor database logging activity anddb2mtrk commands and SQL statements select appropriate values for SOFTMAXUtilize the db2pd command for monitoring and MINCOMMITcurrent database memory usage line Describe how scan sharing can reduce the

Page 15: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Explain the differences in STMM processing List the tools for monitoring database and I/O workload for accessing large tablesbased on the setting of application activity Explain the alternate page cleaningDATABASE_MEMORY Use GET SNAPSHOT commands to processing associated with thePlan and configure a database for self produce reports for analysis of database DB2_USE_ALTERNATE_PAGE_CLEANItuning memory performance NG DB2 Registry variable Activate or deactivate STMM for selected Utilize the administrative routines and Describe the calculation of prefetch sizememory heaps views provided by to DB2 to simplify when PREFETCHSIZE is set toDescribe the management of sortheap application access to database AUTOMATICmemory based on the configuration of performance statistics List the advantages of selecting DMS orsheapthres and sheapthres_shr Use the db2pd to perform performance SMS table space management as well asExplain how DB2 can automatically increase analysis or problem determination for a using Automatic Storage-managed tableor decrease database memory for multiple DB2 database spacesDB2 databases running on the same server Utilize the enhanced table functions with Set file system caching options for tableDescribe the performance advantages of SQL in reporting and monitoring of the spaces to optimize table spaceusing stored procedures database system, data objects, and the performanceDesign applications to maximize record package cache to help you quickly Describe the various row insertionblocking, minimize sort operations and identify issues that might be causing algorithms for tables that are based onminimize lock contention problems using the APPEND option or defining aMonitor application performance and lock Configure the DB2 Database clustering indexwaits using GET SNAPSHOT commands configuration options that control the Plan and implement Row Compression toand SQL queries collection of request, activity and object reduce disk and memory requirements andSet the DB2 registry variables level metrics on the entire database improve application performanceDB2_EVALUNCOMMITTED, Compare the enhanced table functions Describe how DB2's Index compressionDB2_SKIPINSERTED and with the snapshot monitoring facilities option can reduce disk storageDB2_SKIPDELETED to reduce lock provided by previous DB2 releases requirements for indexescontention based on application Describe processing for writing database Explain how DB2 can compress temporaryrequirements pages from buffer pools data to improve application performanceUtilize the currently committed form of Monitor database read and write activity Utilize the DB2 provided tools andlocking to reduce lock contention between using GET SNAPSHOT commands or functions to estimate compression resultsread-only and update applications Administrative Routines and Views for Indexes and data Describe the advantages of using db2exfmt Monitor database logging activity and Explain the management of databaseCreate special tables used by Visual Explain select appropriate values for SOFTMAX shared memory based on setting theand db2exfmt and MINCOMMIT configuration optionIdentify how to set the Explain snapshot and Describe how scan sharing can reduce DATABASE_MEMORY to AUTOMATIC,Explain mode registers to capture the the I/O workload for accessing large COMPUTED or a specific number ofinformation of interest tables pagesDifferentiate between the different methods Explain the alternate page cleaning Select the mode for managing data sortof viewing Explain information processing associated with the memory using SHEAPTHRES,Choose the appropriate optimization class DB2_USE_ALTERNATE_PAGE_CLEAN SORTHEAP, and SHEAPTHRES_SHRDescribe the catalog statistics and database ING DB2 Registry variable Monitor DB2 memory usage using theconfiguration options impact on access plan Describe the calculation of prefetch size db2mtrk commands and SQL statementsselection when PREFETCHSIZE is set to Utilize the db2pd command for monitoringImplement a statistical view to provide better AUTOMATIC current database memory usage cardinality estimates for complex queries List the advantages of selecting DMS or Explain the differences in STMMEnable the statement concentrator using the SMS table space management as well as processing based on the setting ofSTMT_CONC database manager using Automatic Storage-managed table DATABASE_MEMORYconfiguration parameter to reduce SQL spaces Plan and configure a database for selfcompilation overhead for dynamic SQL Set file system caching options for table tuning memorystatements spaces to optimize table space Activate or deactivate STMM for selectedUtilize the db2look utility to extract catalog performance memory heapsstatistics from existing tables to mimic an Describe the various row insertion Describe the management of sortheapexisting database environment algorithms for tables that are based on memory based on the configuration ofCreate an optimizer profile using the APPEND option or defining a sheapthres and sheapthres_shrDescribe the Block Indexing capability for clustering index Explain how DB2 can automaticallyMDC tables Plan and implement Row Compression to increase or decrease database memory forMonitor index usage using the reduce disk and memory requirements multiple DB2 databases running on theMON_GET_INDEX function and db2pd and improve application performance same server commands Describe how DB2's Index compression Describe the performance advantages ofExplain how multiple indexes can be option can reduce disk storage using stored procedurescombined using Index ORing and Dynamic requirements for indexes Design applications to maximize recordBitmap Index ANDing Explain how DB2 can compress blocking, minimize sort operations andUse the Design Advisor to predict temporary data to improve application minimize lock contentionperformance gains from adding new indexes performance Monitor application performance and lockDescribe the differences between Nested Utilize the DB2 provided tools and waits using GET SNAPSHOT commandsLoop, Merge Scan and Hash Joins functions to estimate compression results and SQL queriesPlan the implementation of Refresh for Indexes and data Set the DB2 registry variables

Page 16: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Immediate or Refresh Deferred Materialized Explain the management of database DB2_EVALUNCOMMITTED,Query Tables to improve query performance shared memory based on setting the DB2_SKIPINSERTED andUtilize the Design Advisor to analyze SQL configuration option DB2_SKIPDELETED to reduce lockstatements and recommend new MQTs DATABASE_MEMORY to AUTOMATIC, contention based on applicationDescribe the features of range-partitioned COMPUTED or a specific number of requirementstables to support large DB2 tables using pages Utilize the currently committed form ofmultiple table spaces, including the roll-in Select the mode for managing data sort locking to reduce lock contention betweenand roll-out of data ranges memory using SHEAPTHRES, read-only and update applications Explain the difference between partitioned SORTHEAP, and SHEAPTHRES_SHR Describe the advantages of usingand non-partitioned indexes for a Monitor DB2 memory usage using the db2exfmtrange-partitioned table db2mtrk commands and SQL statements Create special tables used by VisualImplement partitioned indexes to improve Utilize the db2pd command for Explain and db2exfmtperformance when you roll data out or roll monitoring current database memory Identify how to set the Explain snapshotdata into a range-partitioned table usage and Explain mode registers to capture theUse the DB2 Explain tools to determine if Explain the differences in STMM information of interestpartition elimination is being used to improve processing based on the setting of Differentiate between the differentaccess performance to large DATABASE_MEMORY methods of viewing Explain information range-partitioned tables Plan and configure a database for self Choose the appropriate optimization classSelect appropriate RUNSTATS options to tuning memory Describe the catalog statistics andcollect Distribution Statistics or Column Activate or deactivate STMM for selected database configuration options impact onGroup Statistics to improve cardinality memory heaps access plan selectionestimates during SQL compilation Describe the management of sortheap Implement a statistical view to provideUse the table and indexes statistics to plan memory based on the configuration of better cardinality estimates for complexfor table and index reorganization using the sheapthres and sheapthres_shr queriesREORG utility Explain how DB2 can automatically Enable the statement concentrator usingSet the policies and options for automation increase or decrease database memory the STMT_CONC database managerof catalog statistics collection for multiple DB2 databases running on configuration parameter to reduce SQLMonitor the activity associated with the same server compilation overhead for dynamic SQLimplementing real-time statistics collection Describe the performance advantages of statementsUse the db2batch utility to run SQL using stored procedures Utilize the db2look utility to extract catalogworkloads and collect performance statistics Design applications to maximize record statistics from existing tables to mimic anthat can be used to benchmark database blocking, minimize sort operations and existing database environmentand application changes minimize lock contention Create an optimizer profile Implement simple Workload Management Monitor application performance and lock Describe the Block Indexing capability fordefinitions to utilize the Workload waits using GET SNAPSHOT commands MDC tablesManager-based event monitoring including and SQL queries Monitor index usage using theactivities, statistics and threshold violations Set the DB2 registry variables MON_GET_INDEX function and db2pdEvaluate Event Monitor data using the Event DB2_EVALUNCOMMITTED, commandsAnalyzer tool, the db2evmon text-based tool DB2_SKIPINSERTED and Explain how multiple indexes can bethe db2evmonfmt application or using SQL DB2_SKIPDELETED to reduce lock combined using Index ORing and Dynamicqueries contention based on application Bitmap Index ANDingDefine a LOCKING Event Monitor to capture requirements Use the Design Advisor to predictdeadlocks, lock timeout or lock waits Utilize the currently committed form of performance gains from adding newConfigure a DB2 database to control locking to reduce lock contention indexes information captured for deadlocks, lock between read-only and update Describe the differences between Nestedtimeouts or extended lock waits applications Loop, Merge Scan and Hash JoinsImplement Event Monitors for units of work Describe the advantages of using Plan the implementation of Refreshor lock-related events that store information db2exfmt Immediate or Refresh Deferredin unformatted Event Monitor tables Create special tables used by Visual Materialized Query Tables to improveCapture SQL section information using an Explain and db2exfmt query performanceACTIVITIES Event Monitor and use the data Identify how to set the Explain snapshot Utilize the Design Advisor to analyze SQLto generate Explain reports and Explain mode registers to capture statements and recommend new MQTs

the information of interest Describe the features of range-partitionedDifferentiate between the different tables to support large DB2 tables using

line methods of viewing Explain information multiple table spaces, including the roll-inList the tools for monitoring database and Choose the appropriate optimization and roll-out of data rangesapplication activity class Explain the difference between partitionedUse GET SNAPSHOT commands to Describe the catalog statistics and and non-partitioned indexes for aproduce reports for analysis of database database configuration options impact on range-partitioned tableperformance access plan selection Implement partitioned indexes to improveUtilize the administrative routines and views Implement a statistical view to provide performance when you roll data out or rollprovided by to DB2 to simplify application better cardinality estimates for complex data into a range-partitioned tableaccess to database performance statistics queries Use the DB2 Explain tools to determine ifUse the db2pd to perform performance Enable the statement concentrator using partition elimination is being used toanalysis or problem determination for a DB2 the STMT_CONC database manager improve access performance to largedatabase configuration parameter to reduce SQL range-partitioned tables

Page 17: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Utilize the enhanced table functions with compilation overhead for dynamic SQL Select appropriate RUNSTATS options toSQL in reporting and monitoring of the statements collect Distribution Statistics or Columndatabase system, data objects, and the Utilize the db2look utility to extract Group Statistics to improve cardinalitypackage cache to help you quickly identify catalog statistics from existing tables to estimates during SQL compilationissues that might be causing problems mimic an existing database environment Use the table and indexes statistics to planConfigure the DB2 Database configuration Create an optimizer profile for table and index reorganization usingoptions that control the collection of request, Describe the Block Indexing capability for the REORG utilityactivity and object level metrics on the entire MDC tables Set the policies and options for automationdatabase Monitor index usage using the of catalog statistics collectionCompare the enhanced table functions with MON_GET_INDEX function and db2pd Monitor the activity associated withthe snapshot monitoring facilities provided commands implementing real-time statistics collectionby previous DB2 releases Explain how multiple indexes can be Use the db2batch utility to run SQLDescribe processing for writing database combined using Index ORing and workloads and collect performancepages from buffer pools Dynamic Bitmap Index ANDing statistics that can be used to benchmarkMonitor database read and write activity Use the Design Advisor to predict database and application changes using GET SNAPSHOT commands or performance gains from adding new Implement simple Workload ManagementAdministrative Routines and Views indexes definitions to utilize the WorkloadMonitor database logging activity and select Describe the differences between Nested Manager-based event monitoring includingappropriate values for SOFTMAX and Loop, Merge Scan and Hash Joins activities, statistics and threshold violationsMINCOMMIT Plan the implementation of Refresh Evaluate Event Monitor data using theDescribe how scan sharing can reduce the Immediate or Refresh Deferred Event Analyzer tool, the db2evmonI/O workload for accessing large tables Materialized Query Tables to improve text-based tool the db2evmonfmtExplain the alternate page cleaning query performance application or using SQL queriesprocessing associated with the Utilize the Design Advisor to analyze SQL Define a LOCKING Event Monitor toDB2_USE_ALTERNATE_PAGE_CLEANIN statements and recommend new MQTs capture deadlocks, lock timeout or lockG DB2 Registry variable Describe the features of range-partitioned waitsDescribe the calculation of prefetch size tables to support large DB2 tables using Configure a DB2 database to controlwhen PREFETCHSIZE is set to multiple table spaces, including the roll-in information captured for deadlocks, lockAUTOMATIC and roll-out of data ranges timeouts or extended lock waitsList the advantages of selecting DMS or Explain the difference between Implement Event Monitors for units of workSMS table space management as well as partitioned and non-partitioned indexes or lock-related events that storeusing Automatic Storage-managed table for a range-partitioned table information in unformatted Event Monitorspaces Implement partitioned indexes to improve tablesSet file system caching options for table performance when you roll data out or roll Capture SQL section information using anspaces to optimize table space performance data into a range-partitioned table ACTIVITIES Event Monitor and use theDescribe the various row insertion Use the DB2 Explain tools to determine if data to generate Explain reports algorithms for tables that are based on using partition elimination is being used tothe APPEND option or defining a clustering improve access performance to largeindex range-partitioned tables linePlan and implement Row Compression to Select appropriate RUNSTATS options to List the tools for monitoring database andreduce disk and memory requirements and collect Distribution Statistics or Column application activityimprove application performance Group Statistics to improve cardinality Use GET SNAPSHOT commands toDescribe how DB2's Index compression estimates during SQL compilation produce reports for analysis of databaseoption can reduce disk storage requirements Use the table and indexes statistics to performancefor indexes plan for table and index reorganization Utilize the administrative routines andExplain how DB2 can compress temporary using the REORG utility views provided by to DB2 to simplifydata to improve application performance Set the policies and options for application access to databaseUtilize the DB2 provided tools and functions automation of catalog statistics collection performance statisticsto estimate compression results for Indexes Monitor the activity associated with Use the db2pd to perform performanceand data implementing real-time statistics analysis or problem determination for aExplain the management of database collection DB2 databaseshared memory based on setting the Use the db2batch utility to run SQL Utilize the enhanced table functions withconfiguration option DATABASE_MEMORY workloads and collect performance SQL in reporting and monitoring of theto AUTOMATIC, COMPUTED or a specific statistics that can be used to benchmark database system, data objects, and thenumber of pages database and application changes package cache to help you quickly identifySelect the mode for managing data sort Implement simple Workload issues that might be causing problemsmemory using SHEAPTHRES, SORTHEAP, Management definitions to utilize the Configure the DB2 Database configurationand SHEAPTHRES_SHR Workload Manager-based event options that control the collection ofMonitor DB2 memory usage using the monitoring including activities, statistics request, activity and object level metrics ondb2mtrk commands and SQL statements and threshold violations the entire databaseUtilize the db2pd command for monitoring Evaluate Event Monitor data using the Compare the enhanced table functionscurrent database memory usage Event Analyzer tool, the db2evmon with the snapshot monitoring facilitiesExplain the differences in STMM processing text-based tool the db2evmonfmt provided by previous DB2 releases based on the setting of application or using SQL queries Describe processing for writing databaseDATABASE_MEMORY Define a LOCKING Event Monitor to pages from buffer poolsPlan and configure a database for self capture deadlocks, lock timeout or lock Monitor database read and write activity

Page 18: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

tuning memory waits using GET SNAPSHOT commands orActivate or deactivate STMM for selected Configure a DB2 database to control Administrative Routines and Viewsmemory heaps information captured for deadlocks, lock Monitor database logging activity andDescribe the management of sortheap timeouts or extended lock waits select appropriate values for SOFTMAXmemory based on the configuration of Implement Event Monitors for units of and MINCOMMITsheapthres and sheapthres_shr work or lock-related events that store Describe how scan sharing can reduce theExplain how DB2 can automatically increase information in unformatted Event Monitor I/O workload for accessing large tablesor decrease database memory for multiple tables Explain the alternate page cleaningDB2 databases running on the same server Capture SQL section information using processing associated with theDescribe the performance advantages of an ACTIVITIES Event Monitor and use DB2_USE_ALTERNATE_PAGE_CLEANIusing stored procedures the data to generate Explain reports NG DB2 Registry variable Design applications to maximize record Describe the calculation of prefetch sizeblocking, minimize sort operations and when PREFETCHSIZE is set tominimize lock contention line AUTOMATICMonitor application performance and lock List the tools for monitoring database and List the advantages of selecting DMS orwaits using GET SNAPSHOT commands application activity SMS table space management as well asand SQL queries Use GET SNAPSHOT commands to using Automatic Storage-managed tableSet the DB2 registry variables produce reports for analysis of database spacesDB2_EVALUNCOMMITTED, performance Set file system caching options for tableDB2_SKIPINSERTED and Utilize the administrative routines and spaces to optimize table spaceDB2_SKIPDELETED to reduce lock views provided by to DB2 to simplify performancecontention based on application application access to database Describe the various row insertionrequirements performance statistics algorithms for tables that are based onUtilize the currently committed form of Use the db2pd to perform performance using the APPEND option or defining alocking to reduce lock contention between analysis or problem determination for a clustering indexread-only and update applications DB2 database Plan and implement Row Compression toDescribe the advantages of using db2exfmt Utilize the enhanced table functions with reduce disk and memory requirements andCreate special tables used by Visual Explain SQL in reporting and monitoring of the improve application performanceand db2exfmt database system, data objects, and the Describe how DB2's Index compressionIdentify how to set the Explain snapshot and package cache to help you quickly option can reduce disk storageExplain mode registers to capture the identify issues that might be causing requirements for indexesinformation of interest problems Explain how DB2 can compress temporaryDifferentiate between the different methods Configure the DB2 Database data to improve application performanceof viewing Explain information configuration options that control the Utilize the DB2 provided tools andChoose the appropriate optimization class collection of request, activity and object functions to estimate compression resultsDescribe the catalog statistics and database level metrics on the entire database for Indexes and data configuration options impact on access plan Compare the enhanced table functions Explain the management of databaseselection with the snapshot monitoring facilities shared memory based on setting theImplement a statistical view to provide better provided by previous DB2 releases configuration optioncardinality estimates for complex queries Describe processing for writing database DATABASE_MEMORY to AUTOMATIC,Enable the statement concentrator using the pages from buffer pools COMPUTED or a specific number ofSTMT_CONC database manager Monitor database read and write activity pagesconfiguration parameter to reduce SQL using GET SNAPSHOT commands or Select the mode for managing data sortcompilation overhead for dynamic SQL Administrative Routines and Views memory using SHEAPTHRES,statements Monitor database logging activity and SORTHEAP, and SHEAPTHRES_SHRUtilize the db2look utility to extract catalog select appropriate values for SOFTMAX Monitor DB2 memory usage using thestatistics from existing tables to mimic an and MINCOMMIT db2mtrk commands and SQL statementsexisting database environment Describe how scan sharing can reduce Utilize the db2pd command for monitoringCreate an optimizer profile the I/O workload for accessing large current database memory usage Describe the Block Indexing capability for tables Explain the differences in STMMMDC tables Explain the alternate page cleaning processing based on the setting ofMonitor index usage using the processing associated with the DATABASE_MEMORYMON_GET_INDEX function and db2pd DB2_USE_ALTERNATE_PAGE_CLEAN Plan and configure a database for selfcommands ING DB2 Registry variable tuning memoryExplain how multiple indexes can be Describe the calculation of prefetch size Activate or deactivate STMM for selectedcombined using Index ORing and Dynamic when PREFETCHSIZE is set to memory heapsBitmap Index ANDing AUTOMATIC Describe the management of sortheapUse the Design Advisor to predict List the advantages of selecting DMS or memory based on the configuration ofperformance gains from adding new indexes SMS table space management as well as sheapthres and sheapthres_shrDescribe the differences between Nested using Automatic Storage-managed table Explain how DB2 can automaticallyLoop, Merge Scan and Hash Joins spaces increase or decrease database memory forPlan the implementation of Refresh Set file system caching options for table multiple DB2 databases running on theImmediate or Refresh Deferred Materialized spaces to optimize table space same server Query Tables to improve query performance performance Describe the performance advantages ofUtilize the Design Advisor to analyze SQL Describe the various row insertion using stored proceduresstatements and recommend new MQTs algorithms for tables that are based on Design applications to maximize record

Page 19: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Describe the features of range-partitioned using the APPEND option or defining a blocking, minimize sort operations andtables to support large DB2 tables using clustering index minimize lock contentionmultiple table spaces, including the roll-in Plan and implement Row Compression to Monitor application performance and lockand roll-out of data ranges reduce disk and memory requirements waits using GET SNAPSHOT commandsExplain the difference between partitioned and improve application performance and SQL queriesand non-partitioned indexes for a Describe how DB2's Index compression Set the DB2 registry variablesrange-partitioned table option can reduce disk storage DB2_EVALUNCOMMITTED,Implement partitioned indexes to improve requirements for indexes DB2_SKIPINSERTED andperformance when you roll data out or roll Explain how DB2 can compress DB2_SKIPDELETED to reduce lockdata into a range-partitioned table temporary data to improve application contention based on applicationUse the DB2 Explain tools to determine if performance requirementspartition elimination is being used to improve Utilize the DB2 provided tools and Utilize the currently committed form ofaccess performance to large functions to estimate compression results locking to reduce lock contention betweenrange-partitioned tables for Indexes and data read-only and update applications Select appropriate RUNSTATS options to Explain the management of database Describe the advantages of usingcollect Distribution Statistics or Column shared memory based on setting the db2exfmtGroup Statistics to improve cardinality configuration option Create special tables used by Visualestimates during SQL compilation DATABASE_MEMORY to AUTOMATIC, Explain and db2exfmtUse the table and indexes statistics to plan COMPUTED or a specific number of Identify how to set the Explain snapshotfor table and index reorganization using the pages and Explain mode registers to capture theREORG utility Select the mode for managing data sort information of interestSet the policies and options for automation memory using SHEAPTHRES, Differentiate between the differentof catalog statistics collection SORTHEAP, and SHEAPTHRES_SHR methods of viewing Explain information Monitor the activity associated with Monitor DB2 memory usage using the Choose the appropriate optimization classimplementing real-time statistics collection db2mtrk commands and SQL statements Describe the catalog statistics andUse the db2batch utility to run SQL Utilize the db2pd command for database configuration options impact onworkloads and collect performance statistics monitoring current database memory access plan selectionthat can be used to benchmark database usage Implement a statistical view to provideand application changes Explain the differences in STMM better cardinality estimates for complexImplement simple Workload Management processing based on the setting of queriesdefinitions to utilize the Workload DATABASE_MEMORY Enable the statement concentrator usingManager-based event monitoring including Plan and configure a database for self the STMT_CONC database manageractivities, statistics and threshold violations tuning memory configuration parameter to reduce SQLEvaluate Event Monitor data using the Event Activate or deactivate STMM for selected compilation overhead for dynamic SQLAnalyzer tool, the db2evmon text-based tool memory heaps statementsthe db2evmonfmt application or using SQL Describe the management of sortheap Utilize the db2look utility to extract catalogqueries memory based on the configuration of statistics from existing tables to mimic anDefine a LOCKING Event Monitor to capture sheapthres and sheapthres_shr existing database environmentdeadlocks, lock timeout or lock waits Explain how DB2 can automatically Create an optimizer profile Configure a DB2 database to control increase or decrease database memory Describe the Block Indexing capability forinformation captured for deadlocks, lock for multiple DB2 databases running on MDC tablestimeouts or extended lock waits the same server Monitor index usage using theImplement Event Monitors for units of work Describe the performance advantages of MON_GET_INDEX function and db2pdor lock-related events that store information using stored procedures commandsin unformatted Event Monitor tables Design applications to maximize record Explain how multiple indexes can beCapture SQL section information using an blocking, minimize sort operations and combined using Index ORing and DynamicACTIVITIES Event Monitor and use the data minimize lock contention Bitmap Index ANDingto generate Explain reports Monitor application performance and lock Use the Design Advisor to predict

waits using GET SNAPSHOT commands performance gains from adding newand SQL queries indexes

line Set the DB2 registry variables Describe the differences between NestedList the tools for monitoring database and DB2_EVALUNCOMMITTED, Loop, Merge Scan and Hash Joinsapplication activity DB2_SKIPINSERTED and Plan the implementation of RefreshUse GET SNAPSHOT commands to DB2_SKIPDELETED to reduce lock Immediate or Refresh Deferredproduce reports for analysis of database contention based on application Materialized Query Tables to improveperformance requirements query performanceUtilize the administrative routines and views Utilize the currently committed form of Utilize the Design Advisor to analyze SQLprovided by to DB2 to simplify application locking to reduce lock contention statements and recommend new MQTsaccess to database performance statistics between read-only and update Describe the features of range-partitionedUse the db2pd to perform performance applications tables to support large DB2 tables usinganalysis or problem determination for a DB2 Describe the advantages of using multiple table spaces, including the roll-indatabase db2exfmt and roll-out of data rangesUtilize the enhanced table functions with Create special tables used by Visual Explain the difference between partitionedSQL in reporting and monitoring of the Explain and db2exfmt and non-partitioned indexes for adatabase system, data objects, and the Identify how to set the Explain snapshot range-partitioned tablepackage cache to help you quickly identify and Explain mode registers to capture Implement partitioned indexes to improve

Page 20: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

issues that might be causing problems the information of interest performance when you roll data out or rollConfigure the DB2 Database configuration Differentiate between the different data into a range-partitioned tableoptions that control the collection of request, methods of viewing Explain information Use the DB2 Explain tools to determine ifactivity and object level metrics on the entire Choose the appropriate optimization partition elimination is being used todatabase class improve access performance to largeCompare the enhanced table functions with Describe the catalog statistics and range-partitioned tables the snapshot monitoring facilities provided database configuration options impact on Select appropriate RUNSTATS options toby previous DB2 releases access plan selection collect Distribution Statistics or ColumnDescribe processing for writing database Implement a statistical view to provide Group Statistics to improve cardinalitypages from buffer pools better cardinality estimates for complex estimates during SQL compilationMonitor database read and write activity queries Use the table and indexes statistics to planusing GET SNAPSHOT commands or Enable the statement concentrator using for table and index reorganization usingAdministrative Routines and Views the STMT_CONC database manager the REORG utilityMonitor database logging activity and select configuration parameter to reduce SQL Set the policies and options for automationappropriate values for SOFTMAX and compilation overhead for dynamic SQL of catalog statistics collectionMINCOMMIT statements Monitor the activity associated withDescribe how scan sharing can reduce the Utilize the db2look utility to extract implementing real-time statistics collectionI/O workload for accessing large tables catalog statistics from existing tables to Use the db2batch utility to run SQLExplain the alternate page cleaning mimic an existing database environment workloads and collect performanceprocessing associated with the Create an optimizer profile statistics that can be used to benchmarkDB2_USE_ALTERNATE_PAGE_CLEANIN Describe the Block Indexing capability for database and application changes G DB2 Registry variable MDC tables Implement simple Workload ManagementDescribe the calculation of prefetch size Monitor index usage using the definitions to utilize the Workloadwhen PREFETCHSIZE is set to MON_GET_INDEX function and db2pd Manager-based event monitoring includingAUTOMATIC commands activities, statistics and threshold violationsList the advantages of selecting DMS or Explain how multiple indexes can be Evaluate Event Monitor data using theSMS table space management as well as combined using Index ORing and Event Analyzer tool, the db2evmonusing Automatic Storage-managed table Dynamic Bitmap Index ANDing text-based tool the db2evmonfmtspaces Use the Design Advisor to predict application or using SQL queriesSet file system caching options for table performance gains from adding new Define a LOCKING Event Monitor tospaces to optimize table space performance indexes capture deadlocks, lock timeout or lockDescribe the various row insertion Describe the differences between Nested waitsalgorithms for tables that are based on using Loop, Merge Scan and Hash Joins Configure a DB2 database to controlthe APPEND option or defining a clustering Plan the implementation of Refresh information captured for deadlocks, lockindex Immediate or Refresh Deferred timeouts or extended lock waitsPlan and implement Row Compression to Materialized Query Tables to improve Implement Event Monitors for units of workreduce disk and memory requirements and query performance or lock-related events that storeimprove application performance Utilize the Design Advisor to analyze SQL information in unformatted Event MonitorDescribe how DB2's Index compression statements and recommend new MQTs tablesoption can reduce disk storage requirements Describe the features of range-partitioned Capture SQL section information using anfor indexes tables to support large DB2 tables using ACTIVITIES Event Monitor and use theExplain how DB2 can compress temporary multiple table spaces, including the roll-in data to generate Explain reports data to improve application performance and roll-out of data rangesUtilize the DB2 provided tools and functions Explain the difference betweento estimate compression results for Indexes partitioned and non-partitioned indexes lineand data for a range-partitioned table List the tools for monitoring database andExplain the management of database Implement partitioned indexes to improve application activityshared memory based on setting the performance when you roll data out or roll Use GET SNAPSHOT commands toconfiguration option DATABASE_MEMORY data into a range-partitioned table produce reports for analysis of databaseto AUTOMATIC, COMPUTED or a specific Use the DB2 Explain tools to determine if performancenumber of pages partition elimination is being used to Utilize the administrative routines andSelect the mode for managing data sort improve access performance to large views provided by to DB2 to simplifymemory using SHEAPTHRES, SORTHEAP, range-partitioned tables application access to databaseand SHEAPTHRES_SHR Select appropriate RUNSTATS options to performance statisticsMonitor DB2 memory usage using the collect Distribution Statistics or Column Use the db2pd to perform performancedb2mtrk commands and SQL statements Group Statistics to improve cardinality analysis or problem determination for aUtilize the db2pd command for monitoring estimates during SQL compilation DB2 databasecurrent database memory usage Use the table and indexes statistics to Utilize the enhanced table functions withExplain the differences in STMM processing plan for table and index reorganization SQL in reporting and monitoring of thebased on the setting of using the REORG utility database system, data objects, and theDATABASE_MEMORY Set the policies and options for package cache to help you quickly identifyPlan and configure a database for self automation of catalog statistics collection issues that might be causing problemstuning memory Monitor the activity associated with Configure the DB2 Database configurationActivate or deactivate STMM for selected implementing real-time statistics options that control the collection ofmemory heaps collection request, activity and object level metrics onDescribe the management of sortheap Use the db2batch utility to run SQL the entire database

Page 21: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

memory based on the configuration of workloads and collect performance Compare the enhanced table functionssheapthres and sheapthres_shr statistics that can be used to benchmark with the snapshot monitoring facilitiesExplain how DB2 can automatically increase database and application changes provided by previous DB2 releases or decrease database memory for multiple Implement simple Workload Describe processing for writing databaseDB2 databases running on the same server Management definitions to utilize the pages from buffer poolsDescribe the performance advantages of Workload Manager-based event Monitor database read and write activityusing stored procedures monitoring including activities, statistics using GET SNAPSHOT commands orDesign applications to maximize record and threshold violations Administrative Routines and Viewsblocking, minimize sort operations and Evaluate Event Monitor data using the Monitor database logging activity andminimize lock contention Event Analyzer tool, the db2evmon select appropriate values for SOFTMAXMonitor application performance and lock text-based tool the db2evmonfmt and MINCOMMITwaits using GET SNAPSHOT commands application or using SQL queries Describe how scan sharing can reduce theand SQL queries Define a LOCKING Event Monitor to I/O workload for accessing large tablesSet the DB2 registry variables capture deadlocks, lock timeout or lock Explain the alternate page cleaningDB2_EVALUNCOMMITTED, waits processing associated with theDB2_SKIPINSERTED and Configure a DB2 database to control DB2_USE_ALTERNATE_PAGE_CLEANIDB2_SKIPDELETED to reduce lock information captured for deadlocks, lock NG DB2 Registry variable contention based on application timeouts or extended lock waits Describe the calculation of prefetch sizerequirements Implement Event Monitors for units of when PREFETCHSIZE is set toUtilize the currently committed form of work or lock-related events that store AUTOMATIClocking to reduce lock contention between information in unformatted Event Monitor List the advantages of selecting DMS orread-only and update applications tables SMS table space management as well asDescribe the advantages of using db2exfmt Capture SQL section information using using Automatic Storage-managed tableCreate special tables used by Visual Explain an ACTIVITIES Event Monitor and use spacesand db2exfmt the data to generate Explain reports Set file system caching options for tableIdentify how to set the Explain snapshot and spaces to optimize table spaceExplain mode registers to capture the Application Performance Considerations performanceinformation of interest line Describe the various row insertionDifferentiate between the different methods List examples of application coding algorithms for tables that are based onof viewing Explain information techniques that can effect performance using the APPEND option or defining aChoose the appropriate optimization class clustering indexDescribe the catalog statistics and database Plan and implement Row Compression toconfiguration options impact on access plan line reduce disk and memory requirements andselection List the tools for monitoring database and improve application performanceImplement a statistical view to provide better application activity Describe how DB2's Index compressioncardinality estimates for complex queries Use GET SNAPSHOT commands to option can reduce disk storageEnable the statement concentrator using the produce reports for analysis of database requirements for indexesSTMT_CONC database manager performance Explain how DB2 can compress temporaryconfiguration parameter to reduce SQL Utilize the administrative routines and data to improve application performancecompilation overhead for dynamic SQL views provided by to DB2 to simplify Utilize the DB2 provided tools andstatements application access to database functions to estimate compression resultsUtilize the db2look utility to extract catalog performance statistics for Indexes and data statistics from existing tables to mimic an Use the db2pd to perform performance Explain the management of databaseexisting database environment analysis or problem determination for a shared memory based on setting theCreate an optimizer profile DB2 database configuration optionDescribe the Block Indexing capability for Utilize the enhanced table functions with DATABASE_MEMORY to AUTOMATIC,MDC tables SQL in reporting and monitoring of the COMPUTED or a specific number ofMonitor index usage using the database system, data objects, and the pagesMON_GET_INDEX function and db2pd package cache to help you quickly Select the mode for managing data sortcommands identify issues that might be causing memory using SHEAPTHRES,Explain how multiple indexes can be problems SORTHEAP, and SHEAPTHRES_SHRcombined using Index ORing and Dynamic Configure the DB2 Database Monitor DB2 memory usage using theBitmap Index ANDing configuration options that control the db2mtrk commands and SQL statementsUse the Design Advisor to predict collection of request, activity and object Utilize the db2pd command for monitoringperformance gains from adding new indexes level metrics on the entire database current database memory usage Describe the differences between Nested Compare the enhanced table functions Explain the differences in STMMLoop, Merge Scan and Hash Joins with the snapshot monitoring facilities processing based on the setting ofPlan the implementation of Refresh provided by previous DB2 releases DATABASE_MEMORYImmediate or Refresh Deferred Materialized Describe processing for writing database Plan and configure a database for selfQuery Tables to improve query performance pages from buffer pools tuning memoryUtilize the Design Advisor to analyze SQL Monitor database read and write activity Activate or deactivate STMM for selectedstatements and recommend new MQTs using GET SNAPSHOT commands or memory heapsDescribe the features of range-partitioned Administrative Routines and Views Describe the management of sortheaptables to support large DB2 tables using Monitor database logging activity and memory based on the configuration ofmultiple table spaces, including the roll-in select appropriate values for SOFTMAX sheapthres and sheapthres_shrand roll-out of data ranges and MINCOMMIT Explain how DB2 can automatically

Page 22: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Explain the difference between partitioned Describe how scan sharing can reduce increase or decrease database memory forand non-partitioned indexes for a the I/O workload for accessing large multiple DB2 databases running on therange-partitioned table tables same server Implement partitioned indexes to improve Explain the alternate page cleaning Describe the performance advantages ofperformance when you roll data out or roll processing associated with the using stored proceduresdata into a range-partitioned table DB2_USE_ALTERNATE_PAGE_CLEAN Design applications to maximize recordUse the DB2 Explain tools to determine if ING DB2 Registry variable blocking, minimize sort operations andpartition elimination is being used to improve Describe the calculation of prefetch size minimize lock contentionaccess performance to large when PREFETCHSIZE is set to Monitor application performance and lockrange-partitioned tables AUTOMATIC waits using GET SNAPSHOT commandsSelect appropriate RUNSTATS options to List the advantages of selecting DMS or and SQL queriescollect Distribution Statistics or Column SMS table space management as well as Set the DB2 registry variablesGroup Statistics to improve cardinality using Automatic Storage-managed table DB2_EVALUNCOMMITTED,estimates during SQL compilation spaces DB2_SKIPINSERTED andUse the table and indexes statistics to plan Set file system caching options for table DB2_SKIPDELETED to reduce lockfor table and index reorganization using the spaces to optimize table space contention based on applicationREORG utility performance requirementsSet the policies and options for automation Describe the various row insertion Utilize the currently committed form ofof catalog statistics collection algorithms for tables that are based on locking to reduce lock contention betweenMonitor the activity associated with using the APPEND option or defining a read-only and update applications implementing real-time statistics collection clustering index Describe the advantages of usingUse the db2batch utility to run SQL Plan and implement Row Compression to db2exfmtworkloads and collect performance statistics reduce disk and memory requirements Create special tables used by Visualthat can be used to benchmark database and improve application performance Explain and db2exfmtand application changes Describe how DB2's Index compression Identify how to set the Explain snapshotImplement simple Workload Management option can reduce disk storage and Explain mode registers to capture thedefinitions to utilize the Workload requirements for indexes information of interestManager-based event monitoring including Explain how DB2 can compress Differentiate between the differentactivities, statistics and threshold violations temporary data to improve application methods of viewing Explain information Evaluate Event Monitor data using the Event performance Choose the appropriate optimization classAnalyzer tool, the db2evmon text-based tool Utilize the DB2 provided tools and Describe the catalog statistics andthe db2evmonfmt application or using SQL functions to estimate compression results database configuration options impact onqueries for Indexes and data access plan selectionDefine a LOCKING Event Monitor to capture Explain the management of database Implement a statistical view to providedeadlocks, lock timeout or lock waits shared memory based on setting the better cardinality estimates for complexConfigure a DB2 database to control configuration option queriesinformation captured for deadlocks, lock DATABASE_MEMORY to AUTOMATIC, Enable the statement concentrator usingtimeouts or extended lock waits COMPUTED or a specific number of the STMT_CONC database managerImplement Event Monitors for units of work pages configuration parameter to reduce SQLor lock-related events that store information Select the mode for managing data sort compilation overhead for dynamic SQLin unformatted Event Monitor tables memory using SHEAPTHRES, statementsCapture SQL section information using an SORTHEAP, and SHEAPTHRES_SHR Utilize the db2look utility to extract catalogACTIVITIES Event Monitor and use the data Monitor DB2 memory usage using the statistics from existing tables to mimic anto generate Explain reports db2mtrk commands and SQL statements existing database environment

Utilize the db2pd command for Create an optimizer profile Database Input/Output (I/O) Management monitoring current database memory Describe the Block Indexing capability forline usage MDC tables

Describe processing for reading database Explain the differences in STMM Monitor index usage using thepages into buffer pools processing based on the setting of MON_GET_INDEX function and db2pd

DATABASE_MEMORY commandsPlan and configure a database for self Explain how multiple indexes can be

line tuning memory combined using Index ORing and DynamicList the tools for monitoring database and Activate or deactivate STMM for selected Bitmap Index ANDingapplication activity memory heaps Use the Design Advisor to predictUse GET SNAPSHOT commands to Describe the management of sortheap performance gains from adding newproduce reports for analysis of database memory based on the configuration of indexes performance sheapthres and sheapthres_shr Describe the differences between NestedUtilize the administrative routines and views Explain how DB2 can automatically Loop, Merge Scan and Hash Joinsprovided by to DB2 to simplify application increase or decrease database memory Plan the implementation of Refreshaccess to database performance statistics for multiple DB2 databases running on Immediate or Refresh DeferredUse the db2pd to perform performance the same server Materialized Query Tables to improveanalysis or problem determination for a DB2 Describe the performance advantages of query performancedatabase using stored procedures Utilize the Design Advisor to analyze SQLUtilize the enhanced table functions with Design applications to maximize record statements and recommend new MQTsSQL in reporting and monitoring of the blocking, minimize sort operations and Describe the features of range-partitioneddatabase system, data objects, and the minimize lock contention tables to support large DB2 tables using

Page 23: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

package cache to help you quickly identify Monitor application performance and lock multiple table spaces, including the roll-inissues that might be causing problems waits using GET SNAPSHOT commands and roll-out of data rangesConfigure the DB2 Database configuration and SQL queries Explain the difference between partitionedoptions that control the collection of request, Set the DB2 registry variables and non-partitioned indexes for aactivity and object level metrics on the entire DB2_EVALUNCOMMITTED, range-partitioned tabledatabase DB2_SKIPINSERTED and Implement partitioned indexes to improveCompare the enhanced table functions with DB2_SKIPDELETED to reduce lock performance when you roll data out or rollthe snapshot monitoring facilities provided contention based on application data into a range-partitioned tableby previous DB2 releases requirements Use the DB2 Explain tools to determine ifDescribe processing for writing database Utilize the currently committed form of partition elimination is being used topages from buffer pools locking to reduce lock contention improve access performance to largeMonitor database read and write activity between read-only and update range-partitioned tables using GET SNAPSHOT commands or applications Select appropriate RUNSTATS options toAdministrative Routines and Views Describe the advantages of using collect Distribution Statistics or ColumnMonitor database logging activity and select db2exfmt Group Statistics to improve cardinalityappropriate values for SOFTMAX and Create special tables used by Visual estimates during SQL compilationMINCOMMIT Explain and db2exfmt Use the table and indexes statistics to planDescribe how scan sharing can reduce the Identify how to set the Explain snapshot for table and index reorganization usingI/O workload for accessing large tables and Explain mode registers to capture the REORG utilityExplain the alternate page cleaning the information of interest Set the policies and options for automationprocessing associated with the Differentiate between the different of catalog statistics collectionDB2_USE_ALTERNATE_PAGE_CLEANIN methods of viewing Explain information Monitor the activity associated withG DB2 Registry variable Choose the appropriate optimization implementing real-time statistics collectionDescribe the calculation of prefetch size class Use the db2batch utility to run SQLwhen PREFETCHSIZE is set to Describe the catalog statistics and workloads and collect performanceAUTOMATIC database configuration options impact on statistics that can be used to benchmarkList the advantages of selecting DMS or access plan selection database and application changes SMS table space management as well as Implement a statistical view to provide Implement simple Workload Managementusing Automatic Storage-managed table better cardinality estimates for complex definitions to utilize the Workloadspaces queries Manager-based event monitoring includingSet file system caching options for table Enable the statement concentrator using activities, statistics and threshold violationsspaces to optimize table space performance the STMT_CONC database manager Evaluate Event Monitor data using theDescribe the various row insertion configuration parameter to reduce SQL Event Analyzer tool, the db2evmonalgorithms for tables that are based on using compilation overhead for dynamic SQL text-based tool the db2evmonfmtthe APPEND option or defining a clustering statements application or using SQL queriesindex Utilize the db2look utility to extract Define a LOCKING Event Monitor toPlan and implement Row Compression to catalog statistics from existing tables to capture deadlocks, lock timeout or lockreduce disk and memory requirements and mimic an existing database environment waitsimprove application performance Create an optimizer profile Configure a DB2 database to controlDescribe how DB2's Index compression Describe the Block Indexing capability for information captured for deadlocks, lockoption can reduce disk storage requirements MDC tables timeouts or extended lock waitsfor indexes Monitor index usage using the Implement Event Monitors for units of workExplain how DB2 can compress temporary MON_GET_INDEX function and db2pd or lock-related events that storedata to improve application performance commands information in unformatted Event MonitorUtilize the DB2 provided tools and functions Explain how multiple indexes can be tablesto estimate compression results for Indexes combined using Index ORing and Capture SQL section information using anand data Dynamic Bitmap Index ANDing ACTIVITIES Event Monitor and use theExplain the management of database Use the Design Advisor to predict data to generate Explain reports shared memory based on setting the performance gains from adding newconfiguration option DATABASE_MEMORY indexes to AUTOMATIC, COMPUTED or a specific Describe the differences between Nested linenumber of pages Loop, Merge Scan and Hash Joins List the tools for monitoring database andSelect the mode for managing data sort Plan the implementation of Refresh application activitymemory using SHEAPTHRES, SORTHEAP, Immediate or Refresh Deferred Use GET SNAPSHOT commands toand SHEAPTHRES_SHR Materialized Query Tables to improve produce reports for analysis of databaseMonitor DB2 memory usage using the query performance performancedb2mtrk commands and SQL statements Utilize the Design Advisor to analyze SQL Utilize the administrative routines andUtilize the db2pd command for monitoring statements and recommend new MQTs views provided by to DB2 to simplifycurrent database memory usage Describe the features of range-partitioned application access to databaseExplain the differences in STMM processing tables to support large DB2 tables using performance statisticsbased on the setting of multiple table spaces, including the roll-in Use the db2pd to perform performanceDATABASE_MEMORY and roll-out of data ranges analysis or problem determination for aPlan and configure a database for self Explain the difference between DB2 databasetuning memory partitioned and non-partitioned indexes Utilize the enhanced table functions withActivate or deactivate STMM for selected for a range-partitioned table SQL in reporting and monitoring of thememory heaps Implement partitioned indexes to improve database system, data objects, and the

Page 24: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Describe the management of sortheap performance when you roll data out or roll package cache to help you quickly identifymemory based on the configuration of data into a range-partitioned table issues that might be causing problemssheapthres and sheapthres_shr Use the DB2 Explain tools to determine if Configure the DB2 Database configurationExplain how DB2 can automatically increase partition elimination is being used to options that control the collection ofor decrease database memory for multiple improve access performance to large request, activity and object level metrics onDB2 databases running on the same server range-partitioned tables the entire databaseDescribe the performance advantages of Select appropriate RUNSTATS options to Compare the enhanced table functionsusing stored procedures collect Distribution Statistics or Column with the snapshot monitoring facilitiesDesign applications to maximize record Group Statistics to improve cardinality provided by previous DB2 releases blocking, minimize sort operations and estimates during SQL compilation Describe processing for writing databaseminimize lock contention Use the table and indexes statistics to pages from buffer poolsMonitor application performance and lock plan for table and index reorganization Monitor database read and write activitywaits using GET SNAPSHOT commands using the REORG utility using GET SNAPSHOT commands orand SQL queries Set the policies and options for Administrative Routines and ViewsSet the DB2 registry variables automation of catalog statistics collection Monitor database logging activity andDB2_EVALUNCOMMITTED, Monitor the activity associated with select appropriate values for SOFTMAXDB2_SKIPINSERTED and implementing real-time statistics and MINCOMMITDB2_SKIPDELETED to reduce lock collection Describe how scan sharing can reduce thecontention based on application Use the db2batch utility to run SQL I/O workload for accessing large tablesrequirements workloads and collect performance Explain the alternate page cleaningUtilize the currently committed form of statistics that can be used to benchmark processing associated with thelocking to reduce lock contention between database and application changes DB2_USE_ALTERNATE_PAGE_CLEANIread-only and update applications Implement simple Workload NG DB2 Registry variable Describe the advantages of using db2exfmt Management definitions to utilize the Describe the calculation of prefetch sizeCreate special tables used by Visual Explain Workload Manager-based event when PREFETCHSIZE is set toand db2exfmt monitoring including activities, statistics AUTOMATICIdentify how to set the Explain snapshot and and threshold violations List the advantages of selecting DMS orExplain mode registers to capture the Evaluate Event Monitor data using the SMS table space management as well asinformation of interest Event Analyzer tool, the db2evmon using Automatic Storage-managed tableDifferentiate between the different methods text-based tool the db2evmonfmt spacesof viewing Explain information application or using SQL queries Set file system caching options for tableChoose the appropriate optimization class Define a LOCKING Event Monitor to spaces to optimize table spaceDescribe the catalog statistics and database capture deadlocks, lock timeout or lock performanceconfiguration options impact on access plan waits Describe the various row insertionselection Configure a DB2 database to control algorithms for tables that are based onImplement a statistical view to provide better information captured for deadlocks, lock using the APPEND option or defining acardinality estimates for complex queries timeouts or extended lock waits clustering indexEnable the statement concentrator using the Implement Event Monitors for units of Plan and implement Row Compression toSTMT_CONC database manager work or lock-related events that store reduce disk and memory requirements andconfiguration parameter to reduce SQL information in unformatted Event Monitor improve application performancecompilation overhead for dynamic SQL tables Describe how DB2's Index compressionstatements Capture SQL section information using option can reduce disk storageUtilize the db2look utility to extract catalog an ACTIVITIES Event Monitor and use requirements for indexesstatistics from existing tables to mimic an the data to generate Explain reports Explain how DB2 can compress temporaryexisting database environment data to improve application performanceCreate an optimizer profile Utilize the DB2 provided tools andDescribe the Block Indexing capability for line functions to estimate compression resultsMDC tables List the tools for monitoring database and for Indexes and data Monitor index usage using the application activity Explain the management of databaseMON_GET_INDEX function and db2pd Use GET SNAPSHOT commands to shared memory based on setting thecommands produce reports for analysis of database configuration optionExplain how multiple indexes can be performance DATABASE_MEMORY to AUTOMATIC,combined using Index ORing and Dynamic Utilize the administrative routines and COMPUTED or a specific number ofBitmap Index ANDing views provided by to DB2 to simplify pagesUse the Design Advisor to predict application access to database Select the mode for managing data sortperformance gains from adding new indexes performance statistics memory using SHEAPTHRES,Describe the differences between Nested Use the db2pd to perform performance SORTHEAP, and SHEAPTHRES_SHRLoop, Merge Scan and Hash Joins analysis or problem determination for a Monitor DB2 memory usage using thePlan the implementation of Refresh DB2 database db2mtrk commands and SQL statementsImmediate or Refresh Deferred Materialized Utilize the enhanced table functions with Utilize the db2pd command for monitoringQuery Tables to improve query performance SQL in reporting and monitoring of the current database memory usage Utilize the Design Advisor to analyze SQL database system, data objects, and the Explain the differences in STMMstatements and recommend new MQTs package cache to help you quickly processing based on the setting ofDescribe the features of range-partitioned identify issues that might be causing DATABASE_MEMORYtables to support large DB2 tables using problems Plan and configure a database for selfmultiple table spaces, including the roll-in Configure the DB2 Database tuning memory

Page 25: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

and roll-out of data ranges configuration options that control the Activate or deactivate STMM for selectedExplain the difference between partitioned collection of request, activity and object memory heapsand non-partitioned indexes for a level metrics on the entire database Describe the management of sortheaprange-partitioned table Compare the enhanced table functions memory based on the configuration ofImplement partitioned indexes to improve with the snapshot monitoring facilities sheapthres and sheapthres_shrperformance when you roll data out or roll provided by previous DB2 releases Explain how DB2 can automaticallydata into a range-partitioned table Describe processing for writing database increase or decrease database memory forUse the DB2 Explain tools to determine if pages from buffer pools multiple DB2 databases running on thepartition elimination is being used to improve Monitor database read and write activity same server access performance to large using GET SNAPSHOT commands or Describe the performance advantages ofrange-partitioned tables Administrative Routines and Views using stored proceduresSelect appropriate RUNSTATS options to Monitor database logging activity and Design applications to maximize recordcollect Distribution Statistics or Column select appropriate values for SOFTMAX blocking, minimize sort operations andGroup Statistics to improve cardinality and MINCOMMIT minimize lock contentionestimates during SQL compilation Describe how scan sharing can reduce Monitor application performance and lockUse the table and indexes statistics to plan the I/O workload for accessing large waits using GET SNAPSHOT commandsfor table and index reorganization using the tables and SQL queriesREORG utility Explain the alternate page cleaning Set the DB2 registry variablesSet the policies and options for automation processing associated with the DB2_EVALUNCOMMITTED,of catalog statistics collection DB2_USE_ALTERNATE_PAGE_CLEAN DB2_SKIPINSERTED andMonitor the activity associated with ING DB2 Registry variable DB2_SKIPDELETED to reduce lockimplementing real-time statistics collection Describe the calculation of prefetch size contention based on applicationUse the db2batch utility to run SQL when PREFETCHSIZE is set to requirementsworkloads and collect performance statistics AUTOMATIC Utilize the currently committed form ofthat can be used to benchmark database List the advantages of selecting DMS or locking to reduce lock contention betweenand application changes SMS table space management as well as read-only and update applications Implement simple Workload Management using Automatic Storage-managed table Describe the advantages of usingdefinitions to utilize the Workload spaces db2exfmtManager-based event monitoring including Set file system caching options for table Create special tables used by Visualactivities, statistics and threshold violations spaces to optimize table space Explain and db2exfmtEvaluate Event Monitor data using the Event performance Identify how to set the Explain snapshotAnalyzer tool, the db2evmon text-based tool Describe the various row insertion and Explain mode registers to capture thethe db2evmonfmt application or using SQL algorithms for tables that are based on information of interestqueries using the APPEND option or defining a Differentiate between the differentDefine a LOCKING Event Monitor to capture clustering index methods of viewing Explain information deadlocks, lock timeout or lock waits Plan and implement Row Compression to Choose the appropriate optimization classConfigure a DB2 database to control reduce disk and memory requirements Describe the catalog statistics andinformation captured for deadlocks, lock and improve application performance database configuration options impact ontimeouts or extended lock waits Describe how DB2's Index compression access plan selectionImplement Event Monitors for units of work option can reduce disk storage Implement a statistical view to provideor lock-related events that store information requirements for indexes better cardinality estimates for complexin unformatted Event Monitor tables Explain how DB2 can compress queriesCapture SQL section information using an temporary data to improve application Enable the statement concentrator usingACTIVITIES Event Monitor and use the data performance the STMT_CONC database managerto generate Explain reports Utilize the DB2 provided tools and configuration parameter to reduce SQL

functions to estimate compression results compilation overhead for dynamic SQLfor Indexes and data statements

line Explain the management of database Utilize the db2look utility to extract catalogList the tools for monitoring database and shared memory based on setting the statistics from existing tables to mimic anapplication activity configuration option existing database environmentUse GET SNAPSHOT commands to DATABASE_MEMORY to AUTOMATIC, Create an optimizer profile produce reports for analysis of database COMPUTED or a specific number of Describe the Block Indexing capability forperformance pages MDC tablesUtilize the administrative routines and views Select the mode for managing data sort Monitor index usage using theprovided by to DB2 to simplify application memory using SHEAPTHRES, MON_GET_INDEX function and db2pdaccess to database performance statistics SORTHEAP, and SHEAPTHRES_SHR commandsUse the db2pd to perform performance Monitor DB2 memory usage using the Explain how multiple indexes can beanalysis or problem determination for a DB2 db2mtrk commands and SQL statements combined using Index ORing and Dynamicdatabase Utilize the db2pd command for Bitmap Index ANDingUtilize the enhanced table functions with monitoring current database memory Use the Design Advisor to predictSQL in reporting and monitoring of the usage performance gains from adding newdatabase system, data objects, and the Explain the differences in STMM indexes package cache to help you quickly identify processing based on the setting of Describe the differences between Nestedissues that might be causing problems DATABASE_MEMORY Loop, Merge Scan and Hash JoinsConfigure the DB2 Database configuration Plan and configure a database for self Plan the implementation of Refreshoptions that control the collection of request, tuning memory Immediate or Refresh Deferred

Page 26: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

activity and object level metrics on the entire Activate or deactivate STMM for selected Materialized Query Tables to improvedatabase memory heaps query performanceCompare the enhanced table functions with Describe the management of sortheap Utilize the Design Advisor to analyze SQLthe snapshot monitoring facilities provided memory based on the configuration of statements and recommend new MQTsby previous DB2 releases sheapthres and sheapthres_shr Describe the features of range-partitionedDescribe processing for writing database Explain how DB2 can automatically tables to support large DB2 tables usingpages from buffer pools increase or decrease database memory multiple table spaces, including the roll-inMonitor database read and write activity for multiple DB2 databases running on and roll-out of data rangesusing GET SNAPSHOT commands or the same server Explain the difference between partitionedAdministrative Routines and Views Describe the performance advantages of and non-partitioned indexes for aMonitor database logging activity and select using stored procedures range-partitioned tableappropriate values for SOFTMAX and Design applications to maximize record Implement partitioned indexes to improveMINCOMMIT blocking, minimize sort operations and performance when you roll data out or rollDescribe how scan sharing can reduce the minimize lock contention data into a range-partitioned tableI/O workload for accessing large tables Monitor application performance and lock Use the DB2 Explain tools to determine ifExplain the alternate page cleaning waits using GET SNAPSHOT commands partition elimination is being used toprocessing associated with the and SQL queries improve access performance to largeDB2_USE_ALTERNATE_PAGE_CLEANIN Set the DB2 registry variables range-partitioned tables G DB2 Registry variable DB2_EVALUNCOMMITTED, Select appropriate RUNSTATS options toDescribe the calculation of prefetch size DB2_SKIPINSERTED and collect Distribution Statistics or Columnwhen PREFETCHSIZE is set to DB2_SKIPDELETED to reduce lock Group Statistics to improve cardinalityAUTOMATIC contention based on application estimates during SQL compilationList the advantages of selecting DMS or requirements Use the table and indexes statistics to planSMS table space management as well as Utilize the currently committed form of for table and index reorganization usingusing Automatic Storage-managed table locking to reduce lock contention the REORG utilityspaces between read-only and update Set the policies and options for automationSet file system caching options for table applications of catalog statistics collectionspaces to optimize table space performance Describe the advantages of using Monitor the activity associated withDescribe the various row insertion db2exfmt implementing real-time statistics collectionalgorithms for tables that are based on using Create special tables used by Visual Use the db2batch utility to run SQLthe APPEND option or defining a clustering Explain and db2exfmt workloads and collect performanceindex Identify how to set the Explain snapshot statistics that can be used to benchmarkPlan and implement Row Compression to and Explain mode registers to capture database and application changes reduce disk and memory requirements and the information of interest Implement simple Workload Managementimprove application performance Differentiate between the different definitions to utilize the WorkloadDescribe how DB2's Index compression methods of viewing Explain information Manager-based event monitoring includingoption can reduce disk storage requirements Choose the appropriate optimization activities, statistics and threshold violationsfor indexes class Evaluate Event Monitor data using theExplain how DB2 can compress temporary Describe the catalog statistics and Event Analyzer tool, the db2evmondata to improve application performance database configuration options impact on text-based tool the db2evmonfmtUtilize the DB2 provided tools and functions access plan selection application or using SQL queriesto estimate compression results for Indexes Implement a statistical view to provide Define a LOCKING Event Monitor toand data better cardinality estimates for complex capture deadlocks, lock timeout or lockExplain the management of database queries waitsshared memory based on setting the Enable the statement concentrator using Configure a DB2 database to controlconfiguration option DATABASE_MEMORY the STMT_CONC database manager information captured for deadlocks, lockto AUTOMATIC, COMPUTED or a specific configuration parameter to reduce SQL timeouts or extended lock waitsnumber of pages compilation overhead for dynamic SQL Implement Event Monitors for units of workSelect the mode for managing data sort statements or lock-related events that storememory using SHEAPTHRES, SORTHEAP, Utilize the db2look utility to extract information in unformatted Event Monitorand SHEAPTHRES_SHR catalog statistics from existing tables to tablesMonitor DB2 memory usage using the mimic an existing database environment Capture SQL section information using andb2mtrk commands and SQL statements Create an optimizer profile ACTIVITIES Event Monitor and use theUtilize the db2pd command for monitoring Describe the Block Indexing capability for data to generate Explain reports current database memory usage MDC tablesExplain the differences in STMM processing Monitor index usage using thebased on the setting of MON_GET_INDEX function and db2pd lineDATABASE_MEMORY commands List the tools for monitoring database andPlan and configure a database for self Explain how multiple indexes can be application activitytuning memory combined using Index ORing and Use GET SNAPSHOT commands toActivate or deactivate STMM for selected Dynamic Bitmap Index ANDing produce reports for analysis of databasememory heaps Use the Design Advisor to predict performanceDescribe the management of sortheap performance gains from adding new Utilize the administrative routines andmemory based on the configuration of indexes views provided by to DB2 to simplifysheapthres and sheapthres_shr Describe the differences between Nested application access to databaseExplain how DB2 can automatically increase Loop, Merge Scan and Hash Joins performance statistics

Page 27: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

or decrease database memory for multiple Plan the implementation of Refresh Use the db2pd to perform performanceDB2 databases running on the same server Immediate or Refresh Deferred analysis or problem determination for aDescribe the performance advantages of Materialized Query Tables to improve DB2 databaseusing stored procedures query performance Utilize the enhanced table functions withDesign applications to maximize record Utilize the Design Advisor to analyze SQL SQL in reporting and monitoring of theblocking, minimize sort operations and statements and recommend new MQTs database system, data objects, and theminimize lock contention Describe the features of range-partitioned package cache to help you quickly identifyMonitor application performance and lock tables to support large DB2 tables using issues that might be causing problemswaits using GET SNAPSHOT commands multiple table spaces, including the roll-in Configure the DB2 Database configurationand SQL queries and roll-out of data ranges options that control the collection ofSet the DB2 registry variables Explain the difference between request, activity and object level metrics onDB2_EVALUNCOMMITTED, partitioned and non-partitioned indexes the entire databaseDB2_SKIPINSERTED and for a range-partitioned table Compare the enhanced table functionsDB2_SKIPDELETED to reduce lock Implement partitioned indexes to improve with the snapshot monitoring facilitiescontention based on application performance when you roll data out or roll provided by previous DB2 releases requirements data into a range-partitioned table Describe processing for writing databaseUtilize the currently committed form of Use the DB2 Explain tools to determine if pages from buffer poolslocking to reduce lock contention between partition elimination is being used to Monitor database read and write activityread-only and update applications improve access performance to large using GET SNAPSHOT commands orDescribe the advantages of using db2exfmt range-partitioned tables Administrative Routines and ViewsCreate special tables used by Visual Explain Select appropriate RUNSTATS options to Monitor database logging activity andand db2exfmt collect Distribution Statistics or Column select appropriate values for SOFTMAXIdentify how to set the Explain snapshot and Group Statistics to improve cardinality and MINCOMMITExplain mode registers to capture the estimates during SQL compilation Describe how scan sharing can reduce theinformation of interest Use the table and indexes statistics to I/O workload for accessing large tablesDifferentiate between the different methods plan for table and index reorganization Explain the alternate page cleaningof viewing Explain information using the REORG utility processing associated with theChoose the appropriate optimization class Set the policies and options for DB2_USE_ALTERNATE_PAGE_CLEANIDescribe the catalog statistics and database automation of catalog statistics collection NG DB2 Registry variable configuration options impact on access plan Monitor the activity associated with Describe the calculation of prefetch sizeselection implementing real-time statistics when PREFETCHSIZE is set toImplement a statistical view to provide better collection AUTOMATICcardinality estimates for complex queries Use the db2batch utility to run SQL List the advantages of selecting DMS orEnable the statement concentrator using the workloads and collect performance SMS table space management as well asSTMT_CONC database manager statistics that can be used to benchmark using Automatic Storage-managed tableconfiguration parameter to reduce SQL database and application changes spacescompilation overhead for dynamic SQL Implement simple Workload Set file system caching options for tablestatements Management definitions to utilize the spaces to optimize table spaceUtilize the db2look utility to extract catalog Workload Manager-based event performancestatistics from existing tables to mimic an monitoring including activities, statistics Describe the various row insertionexisting database environment and threshold violations algorithms for tables that are based onCreate an optimizer profile Evaluate Event Monitor data using the using the APPEND option or defining aDescribe the Block Indexing capability for Event Analyzer tool, the db2evmon clustering indexMDC tables text-based tool the db2evmonfmt Plan and implement Row Compression toMonitor index usage using the application or using SQL queries reduce disk and memory requirements andMON_GET_INDEX function and db2pd Define a LOCKING Event Monitor to improve application performancecommands capture deadlocks, lock timeout or lock Describe how DB2's Index compressionExplain how multiple indexes can be waits option can reduce disk storagecombined using Index ORing and Dynamic Configure a DB2 database to control requirements for indexesBitmap Index ANDing information captured for deadlocks, lock Explain how DB2 can compress temporaryUse the Design Advisor to predict timeouts or extended lock waits data to improve application performanceperformance gains from adding new indexes Implement Event Monitors for units of Utilize the DB2 provided tools andDescribe the differences between Nested work or lock-related events that store functions to estimate compression resultsLoop, Merge Scan and Hash Joins information in unformatted Event Monitor for Indexes and data Plan the implementation of Refresh tables Explain the management of databaseImmediate or Refresh Deferred Materialized Capture SQL section information using shared memory based on setting theQuery Tables to improve query performance an ACTIVITIES Event Monitor and use configuration optionUtilize the Design Advisor to analyze SQL the data to generate Explain reports DATABASE_MEMORY to AUTOMATIC,statements and recommend new MQTs COMPUTED or a specific number ofDescribe the features of range-partitioned pagestables to support large DB2 tables using line Select the mode for managing data sortmultiple table spaces, including the roll-in List the tools for monitoring database and memory using SHEAPTHRES,and roll-out of data ranges application activity SORTHEAP, and SHEAPTHRES_SHRExplain the difference between partitioned Use GET SNAPSHOT commands to Monitor DB2 memory usage using theand non-partitioned indexes for a produce reports for analysis of database db2mtrk commands and SQL statementsrange-partitioned table performance Utilize the db2pd command for monitoring

Page 28: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Implement partitioned indexes to improve Utilize the administrative routines and current database memory usage performance when you roll data out or roll views provided by to DB2 to simplify Explain the differences in STMMdata into a range-partitioned table application access to database processing based on the setting ofUse the DB2 Explain tools to determine if performance statistics DATABASE_MEMORYpartition elimination is being used to improve Use the db2pd to perform performance Plan and configure a database for selfaccess performance to large analysis or problem determination for a tuning memoryrange-partitioned tables DB2 database Activate or deactivate STMM for selectedSelect appropriate RUNSTATS options to Utilize the enhanced table functions with memory heapscollect Distribution Statistics or Column SQL in reporting and monitoring of the Describe the management of sortheapGroup Statistics to improve cardinality database system, data objects, and the memory based on the configuration ofestimates during SQL compilation package cache to help you quickly sheapthres and sheapthres_shrUse the table and indexes statistics to plan identify issues that might be causing Explain how DB2 can automaticallyfor table and index reorganization using the problems increase or decrease database memory forREORG utility Configure the DB2 Database multiple DB2 databases running on theSet the policies and options for automation configuration options that control the same server of catalog statistics collection collection of request, activity and object Describe the performance advantages ofMonitor the activity associated with level metrics on the entire database using stored proceduresimplementing real-time statistics collection Compare the enhanced table functions Design applications to maximize recordUse the db2batch utility to run SQL with the snapshot monitoring facilities blocking, minimize sort operations andworkloads and collect performance statistics provided by previous DB2 releases minimize lock contentionthat can be used to benchmark database Describe processing for writing database Monitor application performance and lockand application changes pages from buffer pools waits using GET SNAPSHOT commandsImplement simple Workload Management Monitor database read and write activity and SQL queriesdefinitions to utilize the Workload using GET SNAPSHOT commands or Set the DB2 registry variablesManager-based event monitoring including Administrative Routines and Views DB2_EVALUNCOMMITTED,activities, statistics and threshold violations Monitor database logging activity and DB2_SKIPINSERTED andEvaluate Event Monitor data using the Event select appropriate values for SOFTMAX DB2_SKIPDELETED to reduce lockAnalyzer tool, the db2evmon text-based tool and MINCOMMIT contention based on applicationthe db2evmonfmt application or using SQL Describe how scan sharing can reduce requirementsqueries the I/O workload for accessing large Utilize the currently committed form ofDefine a LOCKING Event Monitor to capture tables locking to reduce lock contention betweendeadlocks, lock timeout or lock waits Explain the alternate page cleaning read-only and update applications Configure a DB2 database to control processing associated with the Describe the advantages of usinginformation captured for deadlocks, lock DB2_USE_ALTERNATE_PAGE_CLEAN db2exfmttimeouts or extended lock waits ING DB2 Registry variable Create special tables used by VisualImplement Event Monitors for units of work Describe the calculation of prefetch size Explain and db2exfmtor lock-related events that store information when PREFETCHSIZE is set to Identify how to set the Explain snapshotin unformatted Event Monitor tables AUTOMATIC and Explain mode registers to capture theCapture SQL section information using an List the advantages of selecting DMS or information of interestACTIVITIES Event Monitor and use the data SMS table space management as well as Differentiate between the differentto generate Explain reports using Automatic Storage-managed table methods of viewing Explain information

spaces Choose the appropriate optimization classSet file system caching options for table Describe the catalog statistics and

line spaces to optimize table space database configuration options impact onList the tools for monitoring database and performance access plan selectionapplication activity Describe the various row insertion Implement a statistical view to provideUse GET SNAPSHOT commands to algorithms for tables that are based on better cardinality estimates for complexproduce reports for analysis of database using the APPEND option or defining a queriesperformance clustering index Enable the statement concentrator usingUtilize the administrative routines and views Plan and implement Row Compression to the STMT_CONC database managerprovided by to DB2 to simplify application reduce disk and memory requirements configuration parameter to reduce SQLaccess to database performance statistics and improve application performance compilation overhead for dynamic SQLUse the db2pd to perform performance Describe how DB2's Index compression statementsanalysis or problem determination for a DB2 option can reduce disk storage Utilize the db2look utility to extract catalogdatabase requirements for indexes statistics from existing tables to mimic anUtilize the enhanced table functions with Explain how DB2 can compress existing database environmentSQL in reporting and monitoring of the temporary data to improve application Create an optimizer profile database system, data objects, and the performance Describe the Block Indexing capability forpackage cache to help you quickly identify Utilize the DB2 provided tools and MDC tablesissues that might be causing problems functions to estimate compression results Monitor index usage using theConfigure the DB2 Database configuration for Indexes and data MON_GET_INDEX function and db2pdoptions that control the collection of request, Explain the management of database commandsactivity and object level metrics on the entire shared memory based on setting the Explain how multiple indexes can bedatabase configuration option combined using Index ORing and DynamicCompare the enhanced table functions with DATABASE_MEMORY to AUTOMATIC, Bitmap Index ANDingthe snapshot monitoring facilities provided COMPUTED or a specific number of Use the Design Advisor to predict

Page 29: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

by previous DB2 releases pages performance gains from adding newDescribe processing for writing database Select the mode for managing data sort indexes pages from buffer pools memory using SHEAPTHRES, Describe the differences between NestedMonitor database read and write activity SORTHEAP, and SHEAPTHRES_SHR Loop, Merge Scan and Hash Joinsusing GET SNAPSHOT commands or Monitor DB2 memory usage using the Plan the implementation of RefreshAdministrative Routines and Views db2mtrk commands and SQL statements Immediate or Refresh DeferredMonitor database logging activity and select Utilize the db2pd command for Materialized Query Tables to improveappropriate values for SOFTMAX and monitoring current database memory query performanceMINCOMMIT usage Utilize the Design Advisor to analyze SQLDescribe how scan sharing can reduce the Explain the differences in STMM statements and recommend new MQTsI/O workload for accessing large tables processing based on the setting of Describe the features of range-partitionedExplain the alternate page cleaning DATABASE_MEMORY tables to support large DB2 tables usingprocessing associated with the Plan and configure a database for self multiple table spaces, including the roll-inDB2_USE_ALTERNATE_PAGE_CLEANIN tuning memory and roll-out of data rangesG DB2 Registry variable Activate or deactivate STMM for selected Explain the difference between partitionedDescribe the calculation of prefetch size memory heaps and non-partitioned indexes for awhen PREFETCHSIZE is set to Describe the management of sortheap range-partitioned tableAUTOMATIC memory based on the configuration of Implement partitioned indexes to improveList the advantages of selecting DMS or sheapthres and sheapthres_shr performance when you roll data out or rollSMS table space management as well as Explain how DB2 can automatically data into a range-partitioned tableusing Automatic Storage-managed table increase or decrease database memory Use the DB2 Explain tools to determine ifspaces for multiple DB2 databases running on partition elimination is being used toSet file system caching options for table the same server improve access performance to largespaces to optimize table space performance Describe the performance advantages of range-partitioned tables Describe the various row insertion using stored procedures Select appropriate RUNSTATS options toalgorithms for tables that are based on using Design applications to maximize record collect Distribution Statistics or Columnthe APPEND option or defining a clustering blocking, minimize sort operations and Group Statistics to improve cardinalityindex minimize lock contention estimates during SQL compilationPlan and implement Row Compression to Monitor application performance and lock Use the table and indexes statistics to planreduce disk and memory requirements and waits using GET SNAPSHOT commands for table and index reorganization usingimprove application performance and SQL queries the REORG utilityDescribe how DB2's Index compression Set the DB2 registry variables Set the policies and options for automationoption can reduce disk storage requirements DB2_EVALUNCOMMITTED, of catalog statistics collectionfor indexes DB2_SKIPINSERTED and Monitor the activity associated withExplain how DB2 can compress temporary DB2_SKIPDELETED to reduce lock implementing real-time statistics collectiondata to improve application performance contention based on application Use the db2batch utility to run SQLUtilize the DB2 provided tools and functions requirements workloads and collect performanceto estimate compression results for Indexes Utilize the currently committed form of statistics that can be used to benchmarkand data locking to reduce lock contention database and application changes Explain the management of database between read-only and update Implement simple Workload Managementshared memory based on setting the applications definitions to utilize the Workloadconfiguration option DATABASE_MEMORY Describe the advantages of using Manager-based event monitoring includingto AUTOMATIC, COMPUTED or a specific db2exfmt activities, statistics and threshold violationsnumber of pages Create special tables used by Visual Evaluate Event Monitor data using theSelect the mode for managing data sort Explain and db2exfmt Event Analyzer tool, the db2evmonmemory using SHEAPTHRES, SORTHEAP, Identify how to set the Explain snapshot text-based tool the db2evmonfmtand SHEAPTHRES_SHR and Explain mode registers to capture application or using SQL queriesMonitor DB2 memory usage using the the information of interest Define a LOCKING Event Monitor todb2mtrk commands and SQL statements Differentiate between the different capture deadlocks, lock timeout or lockUtilize the db2pd command for monitoring methods of viewing Explain information waitscurrent database memory usage Choose the appropriate optimization Configure a DB2 database to controlExplain the differences in STMM processing class information captured for deadlocks, lockbased on the setting of Describe the catalog statistics and timeouts or extended lock waitsDATABASE_MEMORY database configuration options impact on Implement Event Monitors for units of workPlan and configure a database for self access plan selection or lock-related events that storetuning memory Implement a statistical view to provide information in unformatted Event MonitorActivate or deactivate STMM for selected better cardinality estimates for complex tablesmemory heaps queries Capture SQL section information using anDescribe the management of sortheap Enable the statement concentrator using ACTIVITIES Event Monitor and use thememory based on the configuration of the STMT_CONC database manager data to generate Explain reports sheapthres and sheapthres_shr configuration parameter to reduce SQLExplain how DB2 can automatically increase compilation overhead for dynamic SQLor decrease database memory for multiple statements lineDB2 databases running on the same server Utilize the db2look utility to extract List the tools for monitoring database andDescribe the performance advantages of catalog statistics from existing tables to application activityusing stored procedures mimic an existing database environment Use GET SNAPSHOT commands to

Page 30: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Design applications to maximize record Create an optimizer profile produce reports for analysis of databaseblocking, minimize sort operations and Describe the Block Indexing capability for performanceminimize lock contention MDC tables Utilize the administrative routines andMonitor application performance and lock Monitor index usage using the views provided by to DB2 to simplifywaits using GET SNAPSHOT commands MON_GET_INDEX function and db2pd application access to databaseand SQL queries commands performance statisticsSet the DB2 registry variables Explain how multiple indexes can be Use the db2pd to perform performanceDB2_EVALUNCOMMITTED, combined using Index ORing and analysis or problem determination for aDB2_SKIPINSERTED and Dynamic Bitmap Index ANDing DB2 databaseDB2_SKIPDELETED to reduce lock Use the Design Advisor to predict Utilize the enhanced table functions withcontention based on application performance gains from adding new SQL in reporting and monitoring of therequirements indexes database system, data objects, and theUtilize the currently committed form of Describe the differences between Nested package cache to help you quickly identifylocking to reduce lock contention between Loop, Merge Scan and Hash Joins issues that might be causing problemsread-only and update applications Plan the implementation of Refresh Configure the DB2 Database configurationDescribe the advantages of using db2exfmt Immediate or Refresh Deferred options that control the collection ofCreate special tables used by Visual Explain Materialized Query Tables to improve request, activity and object level metrics onand db2exfmt query performance the entire databaseIdentify how to set the Explain snapshot and Utilize the Design Advisor to analyze SQL Compare the enhanced table functionsExplain mode registers to capture the statements and recommend new MQTs with the snapshot monitoring facilitiesinformation of interest Describe the features of range-partitioned provided by previous DB2 releases Differentiate between the different methods tables to support large DB2 tables using Describe processing for writing databaseof viewing Explain information multiple table spaces, including the roll-in pages from buffer poolsChoose the appropriate optimization class and roll-out of data ranges Monitor database read and write activityDescribe the catalog statistics and database Explain the difference between using GET SNAPSHOT commands orconfiguration options impact on access plan partitioned and non-partitioned indexes Administrative Routines and Viewsselection for a range-partitioned table Monitor database logging activity andImplement a statistical view to provide better Implement partitioned indexes to improve select appropriate values for SOFTMAXcardinality estimates for complex queries performance when you roll data out or roll and MINCOMMITEnable the statement concentrator using the data into a range-partitioned table Describe how scan sharing can reduce theSTMT_CONC database manager Use the DB2 Explain tools to determine if I/O workload for accessing large tablesconfiguration parameter to reduce SQL partition elimination is being used to Explain the alternate page cleaningcompilation overhead for dynamic SQL improve access performance to large processing associated with thestatements range-partitioned tables DB2_USE_ALTERNATE_PAGE_CLEANIUtilize the db2look utility to extract catalog Select appropriate RUNSTATS options to NG DB2 Registry variable statistics from existing tables to mimic an collect Distribution Statistics or Column Describe the calculation of prefetch sizeexisting database environment Group Statistics to improve cardinality when PREFETCHSIZE is set toCreate an optimizer profile estimates during SQL compilation AUTOMATICDescribe the Block Indexing capability for Use the table and indexes statistics to List the advantages of selecting DMS orMDC tables plan for table and index reorganization SMS table space management as well asMonitor index usage using the using the REORG utility using Automatic Storage-managed tableMON_GET_INDEX function and db2pd Set the policies and options for spacescommands automation of catalog statistics collection Set file system caching options for tableExplain how multiple indexes can be Monitor the activity associated with spaces to optimize table spacecombined using Index ORing and Dynamic implementing real-time statistics performanceBitmap Index ANDing collection Describe the various row insertionUse the Design Advisor to predict Use the db2batch utility to run SQL algorithms for tables that are based onperformance gains from adding new indexes workloads and collect performance using the APPEND option or defining aDescribe the differences between Nested statistics that can be used to benchmark clustering indexLoop, Merge Scan and Hash Joins database and application changes Plan and implement Row Compression toPlan the implementation of Refresh Implement simple Workload reduce disk and memory requirements andImmediate or Refresh Deferred Materialized Management definitions to utilize the improve application performanceQuery Tables to improve query performance Workload Manager-based event Describe how DB2's Index compressionUtilize the Design Advisor to analyze SQL monitoring including activities, statistics option can reduce disk storagestatements and recommend new MQTs and threshold violations requirements for indexesDescribe the features of range-partitioned Evaluate Event Monitor data using the Explain how DB2 can compress temporarytables to support large DB2 tables using Event Analyzer tool, the db2evmon data to improve application performancemultiple table spaces, including the roll-in text-based tool the db2evmonfmt Utilize the DB2 provided tools andand roll-out of data ranges application or using SQL queries functions to estimate compression resultsExplain the difference between partitioned Define a LOCKING Event Monitor to for Indexes and data and non-partitioned indexes for a capture deadlocks, lock timeout or lock Explain the management of databaserange-partitioned table waits shared memory based on setting theImplement partitioned indexes to improve Configure a DB2 database to control configuration optionperformance when you roll data out or roll information captured for deadlocks, lock DATABASE_MEMORY to AUTOMATIC,data into a range-partitioned table timeouts or extended lock waits COMPUTED or a specific number ofUse the DB2 Explain tools to determine if Implement Event Monitors for units of pages

Page 31: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

partition elimination is being used to improve work or lock-related events that store Select the mode for managing data sortaccess performance to large information in unformatted Event Monitor memory using SHEAPTHRES,range-partitioned tables tables SORTHEAP, and SHEAPTHRES_SHRSelect appropriate RUNSTATS options to Capture SQL section information using Monitor DB2 memory usage using thecollect Distribution Statistics or Column an ACTIVITIES Event Monitor and use db2mtrk commands and SQL statementsGroup Statistics to improve cardinality the data to generate Explain reports Utilize the db2pd command for monitoringestimates during SQL compilation current database memory usage Use the table and indexes statistics to plan Explain the differences in STMMfor table and index reorganization using the line processing based on the setting ofREORG utility List the tools for monitoring database and DATABASE_MEMORYSet the policies and options for automation application activity Plan and configure a database for selfof catalog statistics collection Use GET SNAPSHOT commands to tuning memoryMonitor the activity associated with produce reports for analysis of database Activate or deactivate STMM for selectedimplementing real-time statistics collection performance memory heapsUse the db2batch utility to run SQL Utilize the administrative routines and Describe the management of sortheapworkloads and collect performance statistics views provided by to DB2 to simplify memory based on the configuration ofthat can be used to benchmark database application access to database sheapthres and sheapthres_shrand application changes performance statistics Explain how DB2 can automaticallyImplement simple Workload Management Use the db2pd to perform performance increase or decrease database memory fordefinitions to utilize the Workload analysis or problem determination for a multiple DB2 databases running on theManager-based event monitoring including DB2 database same server activities, statistics and threshold violations Utilize the enhanced table functions with Describe the performance advantages ofEvaluate Event Monitor data using the Event SQL in reporting and monitoring of the using stored proceduresAnalyzer tool, the db2evmon text-based tool database system, data objects, and the Design applications to maximize recordthe db2evmonfmt application or using SQL package cache to help you quickly blocking, minimize sort operations andqueries identify issues that might be causing minimize lock contentionDefine a LOCKING Event Monitor to capture problems Monitor application performance and lockdeadlocks, lock timeout or lock waits Configure the DB2 Database waits using GET SNAPSHOT commandsConfigure a DB2 database to control configuration options that control the and SQL queriesinformation captured for deadlocks, lock collection of request, activity and object Set the DB2 registry variablestimeouts or extended lock waits level metrics on the entire database DB2_EVALUNCOMMITTED,Implement Event Monitors for units of work Compare the enhanced table functions DB2_SKIPINSERTED andor lock-related events that store information with the snapshot monitoring facilities DB2_SKIPDELETED to reduce lockin unformatted Event Monitor tables provided by previous DB2 releases contention based on applicationCapture SQL section information using an Describe processing for writing database requirementsACTIVITIES Event Monitor and use the data pages from buffer pools Utilize the currently committed form ofto generate Explain reports Monitor database read and write activity locking to reduce lock contention between

using GET SNAPSHOT commands or read-only and update applications Administrative Routines and Views Describe the advantages of using

line Monitor database logging activity and db2exfmtList the tools for monitoring database and select appropriate values for SOFTMAX Create special tables used by Visualapplication activity and MINCOMMIT Explain and db2exfmtUse GET SNAPSHOT commands to Describe how scan sharing can reduce Identify how to set the Explain snapshotproduce reports for analysis of database the I/O workload for accessing large and Explain mode registers to capture theperformance tables information of interestUtilize the administrative routines and views Explain the alternate page cleaning Differentiate between the differentprovided by to DB2 to simplify application processing associated with the methods of viewing Explain information access to database performance statistics DB2_USE_ALTERNATE_PAGE_CLEAN Choose the appropriate optimization classUse the db2pd to perform performance ING DB2 Registry variable Describe the catalog statistics andanalysis or problem determination for a DB2 Describe the calculation of prefetch size database configuration options impact ondatabase when PREFETCHSIZE is set to access plan selectionUtilize the enhanced table functions with AUTOMATIC Implement a statistical view to provideSQL in reporting and monitoring of the List the advantages of selecting DMS or better cardinality estimates for complexdatabase system, data objects, and the SMS table space management as well as queriespackage cache to help you quickly identify using Automatic Storage-managed table Enable the statement concentrator usingissues that might be causing problems spaces the STMT_CONC database managerConfigure the DB2 Database configuration Set file system caching options for table configuration parameter to reduce SQLoptions that control the collection of request, spaces to optimize table space compilation overhead for dynamic SQLactivity and object level metrics on the entire performance statementsdatabase Describe the various row insertion Utilize the db2look utility to extract catalogCompare the enhanced table functions with algorithms for tables that are based on statistics from existing tables to mimic anthe snapshot monitoring facilities provided using the APPEND option or defining a existing database environmentby previous DB2 releases clustering index Create an optimizer profile Describe processing for writing database Plan and implement Row Compression to Describe the Block Indexing capability forpages from buffer pools reduce disk and memory requirements MDC tablesMonitor database read and write activity and improve application performance Monitor index usage using the

Page 32: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

using GET SNAPSHOT commands or Describe how DB2's Index compression MON_GET_INDEX function and db2pdAdministrative Routines and Views option can reduce disk storage commandsMonitor database logging activity and select requirements for indexes Explain how multiple indexes can beappropriate values for SOFTMAX and Explain how DB2 can compress combined using Index ORing and DynamicMINCOMMIT temporary data to improve application Bitmap Index ANDingDescribe how scan sharing can reduce the performance Use the Design Advisor to predictI/O workload for accessing large tables Utilize the DB2 provided tools and performance gains from adding newExplain the alternate page cleaning functions to estimate compression results indexes processing associated with the for Indexes and data Describe the differences between NestedDB2_USE_ALTERNATE_PAGE_CLEANIN Explain the management of database Loop, Merge Scan and Hash JoinsG DB2 Registry variable shared memory based on setting the Plan the implementation of RefreshDescribe the calculation of prefetch size configuration option Immediate or Refresh Deferredwhen PREFETCHSIZE is set to DATABASE_MEMORY to AUTOMATIC, Materialized Query Tables to improveAUTOMATIC COMPUTED or a specific number of query performanceList the advantages of selecting DMS or pages Utilize the Design Advisor to analyze SQLSMS table space management as well as Select the mode for managing data sort statements and recommend new MQTsusing Automatic Storage-managed table memory using SHEAPTHRES, Describe the features of range-partitionedspaces SORTHEAP, and SHEAPTHRES_SHR tables to support large DB2 tables usingSet file system caching options for table Monitor DB2 memory usage using the multiple table spaces, including the roll-inspaces to optimize table space performance db2mtrk commands and SQL statements and roll-out of data rangesDescribe the various row insertion Utilize the db2pd command for Explain the difference between partitionedalgorithms for tables that are based on using monitoring current database memory and non-partitioned indexes for athe APPEND option or defining a clustering usage range-partitioned tableindex Explain the differences in STMM Implement partitioned indexes to improvePlan and implement Row Compression to processing based on the setting of performance when you roll data out or rollreduce disk and memory requirements and DATABASE_MEMORY data into a range-partitioned tableimprove application performance Plan and configure a database for self Use the DB2 Explain tools to determine ifDescribe how DB2's Index compression tuning memory partition elimination is being used tooption can reduce disk storage requirements Activate or deactivate STMM for selected improve access performance to largefor indexes memory heaps range-partitioned tables Explain how DB2 can compress temporary Describe the management of sortheap Select appropriate RUNSTATS options todata to improve application performance memory based on the configuration of collect Distribution Statistics or ColumnUtilize the DB2 provided tools and functions sheapthres and sheapthres_shr Group Statistics to improve cardinalityto estimate compression results for Indexes Explain how DB2 can automatically estimates during SQL compilationand data increase or decrease database memory Use the table and indexes statistics to planExplain the management of database for multiple DB2 databases running on for table and index reorganization usingshared memory based on setting the the same server the REORG utilityconfiguration option DATABASE_MEMORY Describe the performance advantages of Set the policies and options for automationto AUTOMATIC, COMPUTED or a specific using stored procedures of catalog statistics collectionnumber of pages Design applications to maximize record Monitor the activity associated withSelect the mode for managing data sort blocking, minimize sort operations and implementing real-time statistics collectionmemory using SHEAPTHRES, SORTHEAP, minimize lock contention Use the db2batch utility to run SQLand SHEAPTHRES_SHR Monitor application performance and lock workloads and collect performanceMonitor DB2 memory usage using the waits using GET SNAPSHOT commands statistics that can be used to benchmarkdb2mtrk commands and SQL statements and SQL queries database and application changes Utilize the db2pd command for monitoring Set the DB2 registry variables Implement simple Workload Managementcurrent database memory usage DB2_EVALUNCOMMITTED, definitions to utilize the WorkloadExplain the differences in STMM processing DB2_SKIPINSERTED and Manager-based event monitoring includingbased on the setting of DB2_SKIPDELETED to reduce lock activities, statistics and threshold violationsDATABASE_MEMORY contention based on application Evaluate Event Monitor data using thePlan and configure a database for self requirements Event Analyzer tool, the db2evmontuning memory Utilize the currently committed form of text-based tool the db2evmonfmtActivate or deactivate STMM for selected locking to reduce lock contention application or using SQL queriesmemory heaps between read-only and update Define a LOCKING Event Monitor toDescribe the management of sortheap applications capture deadlocks, lock timeout or lockmemory based on the configuration of Describe the advantages of using waitssheapthres and sheapthres_shr db2exfmt Configure a DB2 database to controlExplain how DB2 can automatically increase Create special tables used by Visual information captured for deadlocks, lockor decrease database memory for multiple Explain and db2exfmt timeouts or extended lock waitsDB2 databases running on the same server Identify how to set the Explain snapshot Implement Event Monitors for units of workDescribe the performance advantages of and Explain mode registers to capture or lock-related events that storeusing stored procedures the information of interest information in unformatted Event MonitorDesign applications to maximize record Differentiate between the different tablesblocking, minimize sort operations and methods of viewing Explain information Capture SQL section information using anminimize lock contention Choose the appropriate optimization ACTIVITIES Event Monitor and use theMonitor application performance and lock class data to generate Explain reports

Page 33: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

waits using GET SNAPSHOT commands Describe the catalog statistics andand SQL queries database configuration options impact on Tools and Utilities for Performance Set the DB2 registry variables access plan selection lineDB2_EVALUNCOMMITTED, Implement a statistical view to provide Use the RUNSTATS utility to collect tableDB2_SKIPINSERTED and better cardinality estimates for complex and index statistics to enable the DB2DB2_SKIPDELETED to reduce lock queries Optimizer to generate efficient accesscontention based on application Enable the statement concentrator using strategiesrequirements the STMT_CONC database managerUtilize the currently committed form of configuration parameter to reduce SQLlocking to reduce lock contention between compilation overhead for dynamic SQL lineread-only and update applications statements List the tools for monitoring database andDescribe the advantages of using db2exfmt Utilize the db2look utility to extract application activityCreate special tables used by Visual Explain catalog statistics from existing tables to Use GET SNAPSHOT commands toand db2exfmt mimic an existing database environment produce reports for analysis of databaseIdentify how to set the Explain snapshot and Create an optimizer profile performanceExplain mode registers to capture the Describe the Block Indexing capability for Utilize the administrative routines andinformation of interest MDC tables views provided by to DB2 to simplifyDifferentiate between the different methods Monitor index usage using the application access to databaseof viewing Explain information MON_GET_INDEX function and db2pd performance statisticsChoose the appropriate optimization class commands Use the db2pd to perform performanceDescribe the catalog statistics and database Explain how multiple indexes can be analysis or problem determination for aconfiguration options impact on access plan combined using Index ORing and DB2 databaseselection Dynamic Bitmap Index ANDing Utilize the enhanced table functions withImplement a statistical view to provide better Use the Design Advisor to predict SQL in reporting and monitoring of thecardinality estimates for complex queries performance gains from adding new database system, data objects, and theEnable the statement concentrator using the indexes package cache to help you quickly identifySTMT_CONC database manager Describe the differences between Nested issues that might be causing problemsconfiguration parameter to reduce SQL Loop, Merge Scan and Hash Joins Configure the DB2 Database configurationcompilation overhead for dynamic SQL Plan the implementation of Refresh options that control the collection ofstatements Immediate or Refresh Deferred request, activity and object level metrics onUtilize the db2look utility to extract catalog Materialized Query Tables to improve the entire databasestatistics from existing tables to mimic an query performance Compare the enhanced table functionsexisting database environment Utilize the Design Advisor to analyze SQL with the snapshot monitoring facilitiesCreate an optimizer profile statements and recommend new MQTs provided by previous DB2 releases Describe the Block Indexing capability for Describe the features of range-partitioned Describe processing for writing databaseMDC tables tables to support large DB2 tables using pages from buffer poolsMonitor index usage using the multiple table spaces, including the roll-in Monitor database read and write activityMON_GET_INDEX function and db2pd and roll-out of data ranges using GET SNAPSHOT commands orcommands Explain the difference between Administrative Routines and ViewsExplain how multiple indexes can be partitioned and non-partitioned indexes Monitor database logging activity andcombined using Index ORing and Dynamic for a range-partitioned table select appropriate values for SOFTMAXBitmap Index ANDing Implement partitioned indexes to improve and MINCOMMITUse the Design Advisor to predict performance when you roll data out or roll Describe how scan sharing can reduce theperformance gains from adding new indexes data into a range-partitioned table I/O workload for accessing large tablesDescribe the differences between Nested Use the DB2 Explain tools to determine if Explain the alternate page cleaningLoop, Merge Scan and Hash Joins partition elimination is being used to processing associated with thePlan the implementation of Refresh improve access performance to large DB2_USE_ALTERNATE_PAGE_CLEANIImmediate or Refresh Deferred Materialized range-partitioned tables NG DB2 Registry variable Query Tables to improve query performance Select appropriate RUNSTATS options to Describe the calculation of prefetch sizeUtilize the Design Advisor to analyze SQL collect Distribution Statistics or Column when PREFETCHSIZE is set tostatements and recommend new MQTs Group Statistics to improve cardinality AUTOMATICDescribe the features of range-partitioned estimates during SQL compilation List the advantages of selecting DMS ortables to support large DB2 tables using Use the table and indexes statistics to SMS table space management as well asmultiple table spaces, including the roll-in plan for table and index reorganization using Automatic Storage-managed tableand roll-out of data ranges using the REORG utility spacesExplain the difference between partitioned Set the policies and options for Set file system caching options for tableand non-partitioned indexes for a automation of catalog statistics collection spaces to optimize table spacerange-partitioned table Monitor the activity associated with performanceImplement partitioned indexes to improve implementing real-time statistics Describe the various row insertionperformance when you roll data out or roll collection algorithms for tables that are based ondata into a range-partitioned table Use the db2batch utility to run SQL using the APPEND option or defining aUse the DB2 Explain tools to determine if workloads and collect performance clustering indexpartition elimination is being used to improve statistics that can be used to benchmark Plan and implement Row Compression toaccess performance to large database and application changes reduce disk and memory requirements andrange-partitioned tables Implement simple Workload improve application performanceSelect appropriate RUNSTATS options to Management definitions to utilize the Describe how DB2's Index compression

Page 34: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

collect Distribution Statistics or Column Workload Manager-based event option can reduce disk storageGroup Statistics to improve cardinality monitoring including activities, statistics requirements for indexesestimates during SQL compilation and threshold violations Explain how DB2 can compress temporaryUse the table and indexes statistics to plan Evaluate Event Monitor data using the data to improve application performancefor table and index reorganization using the Event Analyzer tool, the db2evmon Utilize the DB2 provided tools andREORG utility text-based tool the db2evmonfmt functions to estimate compression resultsSet the policies and options for automation application or using SQL queries for Indexes and data of catalog statistics collection Define a LOCKING Event Monitor to Explain the management of databaseMonitor the activity associated with capture deadlocks, lock timeout or lock shared memory based on setting theimplementing real-time statistics collection waits configuration optionUse the db2batch utility to run SQL Configure a DB2 database to control DATABASE_MEMORY to AUTOMATIC,workloads and collect performance statistics information captured for deadlocks, lock COMPUTED or a specific number ofthat can be used to benchmark database timeouts or extended lock waits pagesand application changes Implement Event Monitors for units of Select the mode for managing data sortImplement simple Workload Management work or lock-related events that store memory using SHEAPTHRES,definitions to utilize the Workload information in unformatted Event Monitor SORTHEAP, and SHEAPTHRES_SHRManager-based event monitoring including tables Monitor DB2 memory usage using theactivities, statistics and threshold violations Capture SQL section information using db2mtrk commands and SQL statementsEvaluate Event Monitor data using the Event an ACTIVITIES Event Monitor and use Utilize the db2pd command for monitoringAnalyzer tool, the db2evmon text-based tool the data to generate Explain reports current database memory usage the db2evmonfmt application or using SQL Explain the differences in STMMqueries processing based on the setting ofDefine a LOCKING Event Monitor to capture line DATABASE_MEMORYdeadlocks, lock timeout or lock waits List the tools for monitoring database and Plan and configure a database for selfConfigure a DB2 database to control application activity tuning memoryinformation captured for deadlocks, lock Use GET SNAPSHOT commands to Activate or deactivate STMM for selectedtimeouts or extended lock waits produce reports for analysis of database memory heapsImplement Event Monitors for units of work performance Describe the management of sortheapor lock-related events that store information Utilize the administrative routines and memory based on the configuration ofin unformatted Event Monitor tables views provided by to DB2 to simplify sheapthres and sheapthres_shrCapture SQL section information using an application access to database Explain how DB2 can automaticallyACTIVITIES Event Monitor and use the data performance statistics increase or decrease database memory forto generate Explain reports Use the db2pd to perform performance multiple DB2 databases running on the

analysis or problem determination for a same server DB2 database Describe the performance advantages of

line Utilize the enhanced table functions with using stored proceduresList the tools for monitoring database and SQL in reporting and monitoring of the Design applications to maximize recordapplication activity database system, data objects, and the blocking, minimize sort operations andUse GET SNAPSHOT commands to package cache to help you quickly minimize lock contentionproduce reports for analysis of database identify issues that might be causing Monitor application performance and lockperformance problems waits using GET SNAPSHOT commandsUtilize the administrative routines and views Configure the DB2 Database and SQL queriesprovided by to DB2 to simplify application configuration options that control the Set the DB2 registry variablesaccess to database performance statistics collection of request, activity and object DB2_EVALUNCOMMITTED,Use the db2pd to perform performance level metrics on the entire database DB2_SKIPINSERTED andanalysis or problem determination for a DB2 Compare the enhanced table functions DB2_SKIPDELETED to reduce lockdatabase with the snapshot monitoring facilities contention based on applicationUtilize the enhanced table functions with provided by previous DB2 releases requirementsSQL in reporting and monitoring of the Describe processing for writing database Utilize the currently committed form ofdatabase system, data objects, and the pages from buffer pools locking to reduce lock contention betweenpackage cache to help you quickly identify Monitor database read and write activity read-only and update applications issues that might be causing problems using GET SNAPSHOT commands or Describe the advantages of usingConfigure the DB2 Database configuration Administrative Routines and Views db2exfmtoptions that control the collection of request, Monitor database logging activity and Create special tables used by Visualactivity and object level metrics on the entire select appropriate values for SOFTMAX Explain and db2exfmtdatabase and MINCOMMIT Identify how to set the Explain snapshotCompare the enhanced table functions with Describe how scan sharing can reduce and Explain mode registers to capture thethe snapshot monitoring facilities provided the I/O workload for accessing large information of interestby previous DB2 releases tables Differentiate between the differentDescribe processing for writing database Explain the alternate page cleaning methods of viewing Explain information pages from buffer pools processing associated with the Choose the appropriate optimization classMonitor database read and write activity DB2_USE_ALTERNATE_PAGE_CLEAN Describe the catalog statistics andusing GET SNAPSHOT commands or ING DB2 Registry variable database configuration options impact onAdministrative Routines and Views Describe the calculation of prefetch size access plan selectionMonitor database logging activity and select when PREFETCHSIZE is set to Implement a statistical view to provideappropriate values for SOFTMAX and AUTOMATIC better cardinality estimates for complex

Page 35: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

MINCOMMIT List the advantages of selecting DMS or queriesDescribe how scan sharing can reduce the SMS table space management as well as Enable the statement concentrator usingI/O workload for accessing large tables using Automatic Storage-managed table the STMT_CONC database managerExplain the alternate page cleaning spaces configuration parameter to reduce SQLprocessing associated with the Set file system caching options for table compilation overhead for dynamic SQLDB2_USE_ALTERNATE_PAGE_CLEANIN spaces to optimize table space statementsG DB2 Registry variable performance Utilize the db2look utility to extract catalogDescribe the calculation of prefetch size Describe the various row insertion statistics from existing tables to mimic anwhen PREFETCHSIZE is set to algorithms for tables that are based on existing database environmentAUTOMATIC using the APPEND option or defining a Create an optimizer profile List the advantages of selecting DMS or clustering index Describe the Block Indexing capability forSMS table space management as well as Plan and implement Row Compression to MDC tablesusing Automatic Storage-managed table reduce disk and memory requirements Monitor index usage using thespaces and improve application performance MON_GET_INDEX function and db2pdSet file system caching options for table Describe how DB2's Index compression commandsspaces to optimize table space performance option can reduce disk storage Explain how multiple indexes can beDescribe the various row insertion requirements for indexes combined using Index ORing and Dynamicalgorithms for tables that are based on using Explain how DB2 can compress Bitmap Index ANDingthe APPEND option or defining a clustering temporary data to improve application Use the Design Advisor to predictindex performance performance gains from adding newPlan and implement Row Compression to Utilize the DB2 provided tools and indexes reduce disk and memory requirements and functions to estimate compression results Describe the differences between Nestedimprove application performance for Indexes and data Loop, Merge Scan and Hash JoinsDescribe how DB2's Index compression Explain the management of database Plan the implementation of Refreshoption can reduce disk storage requirements shared memory based on setting the Immediate or Refresh Deferredfor indexes configuration option Materialized Query Tables to improveExplain how DB2 can compress temporary DATABASE_MEMORY to AUTOMATIC, query performancedata to improve application performance COMPUTED or a specific number of Utilize the Design Advisor to analyze SQLUtilize the DB2 provided tools and functions pages statements and recommend new MQTsto estimate compression results for Indexes Select the mode for managing data sort Describe the features of range-partitionedand data memory using SHEAPTHRES, tables to support large DB2 tables usingExplain the management of database SORTHEAP, and SHEAPTHRES_SHR multiple table spaces, including the roll-inshared memory based on setting the Monitor DB2 memory usage using the and roll-out of data rangesconfiguration option DATABASE_MEMORY db2mtrk commands and SQL statements Explain the difference between partitionedto AUTOMATIC, COMPUTED or a specific Utilize the db2pd command for and non-partitioned indexes for anumber of pages monitoring current database memory range-partitioned tableSelect the mode for managing data sort usage Implement partitioned indexes to improvememory using SHEAPTHRES, SORTHEAP, Explain the differences in STMM performance when you roll data out or rolland SHEAPTHRES_SHR processing based on the setting of data into a range-partitioned tableMonitor DB2 memory usage using the DATABASE_MEMORY Use the DB2 Explain tools to determine ifdb2mtrk commands and SQL statements Plan and configure a database for self partition elimination is being used toUtilize the db2pd command for monitoring tuning memory improve access performance to largecurrent database memory usage Activate or deactivate STMM for selected range-partitioned tables Explain the differences in STMM processing memory heaps Select appropriate RUNSTATS options tobased on the setting of Describe the management of sortheap collect Distribution Statistics or ColumnDATABASE_MEMORY memory based on the configuration of Group Statistics to improve cardinalityPlan and configure a database for self sheapthres and sheapthres_shr estimates during SQL compilationtuning memory Explain how DB2 can automatically Use the table and indexes statistics to planActivate or deactivate STMM for selected increase or decrease database memory for table and index reorganization usingmemory heaps for multiple DB2 databases running on the REORG utilityDescribe the management of sortheap the same server Set the policies and options for automationmemory based on the configuration of Describe the performance advantages of of catalog statistics collectionsheapthres and sheapthres_shr using stored procedures Monitor the activity associated withExplain how DB2 can automatically increase Design applications to maximize record implementing real-time statistics collectionor decrease database memory for multiple blocking, minimize sort operations and Use the db2batch utility to run SQLDB2 databases running on the same server minimize lock contention workloads and collect performanceDescribe the performance advantages of Monitor application performance and lock statistics that can be used to benchmarkusing stored procedures waits using GET SNAPSHOT commands database and application changes Design applications to maximize record and SQL queries Implement simple Workload Managementblocking, minimize sort operations and Set the DB2 registry variables definitions to utilize the Workloadminimize lock contention DB2_EVALUNCOMMITTED, Manager-based event monitoring includingMonitor application performance and lock DB2_SKIPINSERTED and activities, statistics and threshold violationswaits using GET SNAPSHOT commands DB2_SKIPDELETED to reduce lock Evaluate Event Monitor data using theand SQL queries contention based on application Event Analyzer tool, the db2evmonSet the DB2 registry variables requirements text-based tool the db2evmonfmtDB2_EVALUNCOMMITTED, Utilize the currently committed form of application or using SQL queries

Page 36: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

DB2_SKIPINSERTED and locking to reduce lock contention Define a LOCKING Event Monitor toDB2_SKIPDELETED to reduce lock between read-only and update capture deadlocks, lock timeout or lockcontention based on application applications waitsrequirements Describe the advantages of using Configure a DB2 database to controlUtilize the currently committed form of db2exfmt information captured for deadlocks, locklocking to reduce lock contention between Create special tables used by Visual timeouts or extended lock waitsread-only and update applications Explain and db2exfmt Implement Event Monitors for units of workDescribe the advantages of using db2exfmt Identify how to set the Explain snapshot or lock-related events that storeCreate special tables used by Visual Explain and Explain mode registers to capture information in unformatted Event Monitorand db2exfmt the information of interest tablesIdentify how to set the Explain snapshot and Differentiate between the different Capture SQL section information using anExplain mode registers to capture the methods of viewing Explain information ACTIVITIES Event Monitor and use theinformation of interest Choose the appropriate optimization data to generate Explain reports Differentiate between the different methods classof viewing Explain information Describe the catalog statistics andChoose the appropriate optimization class database configuration options impact on lineDescribe the catalog statistics and database access plan selection List the tools for monitoring database andconfiguration options impact on access plan Implement a statistical view to provide application activityselection better cardinality estimates for complex Use GET SNAPSHOT commands toImplement a statistical view to provide better queries produce reports for analysis of databasecardinality estimates for complex queries Enable the statement concentrator using performanceEnable the statement concentrator using the the STMT_CONC database manager Utilize the administrative routines andSTMT_CONC database manager configuration parameter to reduce SQL views provided by to DB2 to simplifyconfiguration parameter to reduce SQL compilation overhead for dynamic SQL application access to databasecompilation overhead for dynamic SQL statements performance statisticsstatements Utilize the db2look utility to extract Use the db2pd to perform performanceUtilize the db2look utility to extract catalog catalog statistics from existing tables to analysis or problem determination for astatistics from existing tables to mimic an mimic an existing database environment DB2 databaseexisting database environment Create an optimizer profile Utilize the enhanced table functions withCreate an optimizer profile Describe the Block Indexing capability for SQL in reporting and monitoring of theDescribe the Block Indexing capability for MDC tables database system, data objects, and theMDC tables Monitor index usage using the package cache to help you quickly identifyMonitor index usage using the MON_GET_INDEX function and db2pd issues that might be causing problemsMON_GET_INDEX function and db2pd commands Configure the DB2 Database configurationcommands Explain how multiple indexes can be options that control the collection ofExplain how multiple indexes can be combined using Index ORing and request, activity and object level metrics oncombined using Index ORing and Dynamic Dynamic Bitmap Index ANDing the entire databaseBitmap Index ANDing Use the Design Advisor to predict Compare the enhanced table functionsUse the Design Advisor to predict performance gains from adding new with the snapshot monitoring facilitiesperformance gains from adding new indexes indexes provided by previous DB2 releases Describe the differences between Nested Describe the differences between Nested Describe processing for writing databaseLoop, Merge Scan and Hash Joins Loop, Merge Scan and Hash Joins pages from buffer poolsPlan the implementation of Refresh Plan the implementation of Refresh Monitor database read and write activityImmediate or Refresh Deferred Materialized Immediate or Refresh Deferred using GET SNAPSHOT commands orQuery Tables to improve query performance Materialized Query Tables to improve Administrative Routines and ViewsUtilize the Design Advisor to analyze SQL query performance Monitor database logging activity andstatements and recommend new MQTs Utilize the Design Advisor to analyze SQL select appropriate values for SOFTMAXDescribe the features of range-partitioned statements and recommend new MQTs and MINCOMMITtables to support large DB2 tables using Describe the features of range-partitioned Describe how scan sharing can reduce themultiple table spaces, including the roll-in tables to support large DB2 tables using I/O workload for accessing large tablesand roll-out of data ranges multiple table spaces, including the roll-in Explain the alternate page cleaningExplain the difference between partitioned and roll-out of data ranges processing associated with theand non-partitioned indexes for a Explain the difference between DB2_USE_ALTERNATE_PAGE_CLEANIrange-partitioned table partitioned and non-partitioned indexes NG DB2 Registry variable Implement partitioned indexes to improve for a range-partitioned table Describe the calculation of prefetch sizeperformance when you roll data out or roll Implement partitioned indexes to improve when PREFETCHSIZE is set todata into a range-partitioned table performance when you roll data out or roll AUTOMATICUse the DB2 Explain tools to determine if data into a range-partitioned table List the advantages of selecting DMS orpartition elimination is being used to improve Use the DB2 Explain tools to determine if SMS table space management as well asaccess performance to large partition elimination is being used to using Automatic Storage-managed tablerange-partitioned tables improve access performance to large spacesSelect appropriate RUNSTATS options to range-partitioned tables Set file system caching options for tablecollect Distribution Statistics or Column Select appropriate RUNSTATS options to spaces to optimize table spaceGroup Statistics to improve cardinality collect Distribution Statistics or Column performanceestimates during SQL compilation Group Statistics to improve cardinality Describe the various row insertionUse the table and indexes statistics to plan estimates during SQL compilation algorithms for tables that are based on

Page 37: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

for table and index reorganization using the Use the table and indexes statistics to using the APPEND option or defining aREORG utility plan for table and index reorganization clustering indexSet the policies and options for automation using the REORG utility Plan and implement Row Compression toof catalog statistics collection Set the policies and options for reduce disk and memory requirements andMonitor the activity associated with automation of catalog statistics collection improve application performanceimplementing real-time statistics collection Monitor the activity associated with Describe how DB2's Index compressionUse the db2batch utility to run SQL implementing real-time statistics option can reduce disk storageworkloads and collect performance statistics collection requirements for indexesthat can be used to benchmark database Use the db2batch utility to run SQL Explain how DB2 can compress temporaryand application changes workloads and collect performance data to improve application performanceImplement simple Workload Management statistics that can be used to benchmark Utilize the DB2 provided tools anddefinitions to utilize the Workload database and application changes functions to estimate compression resultsManager-based event monitoring including Implement simple Workload for Indexes and data activities, statistics and threshold violations Management definitions to utilize the Explain the management of databaseEvaluate Event Monitor data using the Event Workload Manager-based event shared memory based on setting theAnalyzer tool, the db2evmon text-based tool monitoring including activities, statistics configuration optionthe db2evmonfmt application or using SQL and threshold violations DATABASE_MEMORY to AUTOMATIC,queries Evaluate Event Monitor data using the COMPUTED or a specific number ofDefine a LOCKING Event Monitor to capture Event Analyzer tool, the db2evmon pagesdeadlocks, lock timeout or lock waits text-based tool the db2evmonfmt Select the mode for managing data sortConfigure a DB2 database to control application or using SQL queries memory using SHEAPTHRES,information captured for deadlocks, lock Define a LOCKING Event Monitor to SORTHEAP, and SHEAPTHRES_SHRtimeouts or extended lock waits capture deadlocks, lock timeout or lock Monitor DB2 memory usage using theImplement Event Monitors for units of work waits db2mtrk commands and SQL statementsor lock-related events that store information Configure a DB2 database to control Utilize the db2pd command for monitoringin unformatted Event Monitor tables information captured for deadlocks, lock current database memory usage Capture SQL section information using an timeouts or extended lock waits Explain the differences in STMMACTIVITIES Event Monitor and use the data Implement Event Monitors for units of processing based on the setting ofto generate Explain reports work or lock-related events that store DATABASE_MEMORY

information in unformatted Event Monitor Plan and configure a database for selfTablespace and Table Design for Performance tables tuning memoryline Capture SQL section information using Activate or deactivate STMM for selected

Select appropriate values for table space an ACTIVITIES Event Monitor and use memory heapspage size and extent size to support the data to generate Explain reports Describe the management of sortheapapplication performance requirements memory based on the configuration of

Using Explain Tools sheapthres and sheapthres_shrline Explain how DB2 can automatically

line Describe the advantages of using Visual increase or decrease database memory forList the tools for monitoring database and Explain multiple DB2 databases running on theapplication activity same server Use GET SNAPSHOT commands to Describe the performance advantages ofproduce reports for analysis of database line using stored proceduresperformance List the tools for monitoring database and Design applications to maximize recordUtilize the administrative routines and views application activity blocking, minimize sort operations andprovided by to DB2 to simplify application Use GET SNAPSHOT commands to minimize lock contentionaccess to database performance statistics produce reports for analysis of database Monitor application performance and lockUse the db2pd to perform performance performance waits using GET SNAPSHOT commandsanalysis or problem determination for a DB2 Utilize the administrative routines and and SQL queriesdatabase views provided by to DB2 to simplify Set the DB2 registry variablesUtilize the enhanced table functions with application access to database DB2_EVALUNCOMMITTED,SQL in reporting and monitoring of the performance statistics DB2_SKIPINSERTED anddatabase system, data objects, and the Use the db2pd to perform performance DB2_SKIPDELETED to reduce lockpackage cache to help you quickly identify analysis or problem determination for a contention based on applicationissues that might be causing problems DB2 database requirementsConfigure the DB2 Database configuration Utilize the enhanced table functions with Utilize the currently committed form ofoptions that control the collection of request, SQL in reporting and monitoring of the locking to reduce lock contention betweenactivity and object level metrics on the entire database system, data objects, and the read-only and update applications database package cache to help you quickly Describe the advantages of usingCompare the enhanced table functions with identify issues that might be causing db2exfmtthe snapshot monitoring facilities provided problems Create special tables used by Visualby previous DB2 releases Configure the DB2 Database Explain and db2exfmtDescribe processing for writing database configuration options that control the Identify how to set the Explain snapshotpages from buffer pools collection of request, activity and object and Explain mode registers to capture theMonitor database read and write activity level metrics on the entire database information of interestusing GET SNAPSHOT commands or Compare the enhanced table functions Differentiate between the differentAdministrative Routines and Views with the snapshot monitoring facilities methods of viewing Explain information

Page 38: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Monitor database logging activity and select provided by previous DB2 releases Choose the appropriate optimization classappropriate values for SOFTMAX and Describe processing for writing database Describe the catalog statistics andMINCOMMIT pages from buffer pools database configuration options impact onDescribe how scan sharing can reduce the Monitor database read and write activity access plan selectionI/O workload for accessing large tables using GET SNAPSHOT commands or Implement a statistical view to provideExplain the alternate page cleaning Administrative Routines and Views better cardinality estimates for complexprocessing associated with the Monitor database logging activity and queriesDB2_USE_ALTERNATE_PAGE_CLEANIN select appropriate values for SOFTMAX Enable the statement concentrator usingG DB2 Registry variable and MINCOMMIT the STMT_CONC database managerDescribe the calculation of prefetch size Describe how scan sharing can reduce configuration parameter to reduce SQLwhen PREFETCHSIZE is set to the I/O workload for accessing large compilation overhead for dynamic SQLAUTOMATIC tables statementsList the advantages of selecting DMS or Explain the alternate page cleaning Utilize the db2look utility to extract catalogSMS table space management as well as processing associated with the statistics from existing tables to mimic anusing Automatic Storage-managed table DB2_USE_ALTERNATE_PAGE_CLEAN existing database environmentspaces ING DB2 Registry variable Create an optimizer profile Set file system caching options for table Describe the calculation of prefetch size Describe the Block Indexing capability forspaces to optimize table space performance when PREFETCHSIZE is set to MDC tablesDescribe the various row insertion AUTOMATIC Monitor index usage using thealgorithms for tables that are based on using List the advantages of selecting DMS or MON_GET_INDEX function and db2pdthe APPEND option or defining a clustering SMS table space management as well as commandsindex using Automatic Storage-managed table Explain how multiple indexes can bePlan and implement Row Compression to spaces combined using Index ORing and Dynamicreduce disk and memory requirements and Set file system caching options for table Bitmap Index ANDingimprove application performance spaces to optimize table space Use the Design Advisor to predictDescribe how DB2's Index compression performance performance gains from adding newoption can reduce disk storage requirements Describe the various row insertion indexes for indexes algorithms for tables that are based on Describe the differences between NestedExplain how DB2 can compress temporary using the APPEND option or defining a Loop, Merge Scan and Hash Joinsdata to improve application performance clustering index Plan the implementation of RefreshUtilize the DB2 provided tools and functions Plan and implement Row Compression to Immediate or Refresh Deferredto estimate compression results for Indexes reduce disk and memory requirements Materialized Query Tables to improveand data and improve application performance query performanceExplain the management of database Describe how DB2's Index compression Utilize the Design Advisor to analyze SQLshared memory based on setting the option can reduce disk storage statements and recommend new MQTsconfiguration option DATABASE_MEMORY requirements for indexes Describe the features of range-partitionedto AUTOMATIC, COMPUTED or a specific Explain how DB2 can compress tables to support large DB2 tables usingnumber of pages temporary data to improve application multiple table spaces, including the roll-inSelect the mode for managing data sort performance and roll-out of data rangesmemory using SHEAPTHRES, SORTHEAP, Utilize the DB2 provided tools and Explain the difference between partitionedand SHEAPTHRES_SHR functions to estimate compression results and non-partitioned indexes for aMonitor DB2 memory usage using the for Indexes and data range-partitioned tabledb2mtrk commands and SQL statements Explain the management of database Implement partitioned indexes to improveUtilize the db2pd command for monitoring shared memory based on setting the performance when you roll data out or rollcurrent database memory usage configuration option data into a range-partitioned tableExplain the differences in STMM processing DATABASE_MEMORY to AUTOMATIC, Use the DB2 Explain tools to determine ifbased on the setting of COMPUTED or a specific number of partition elimination is being used toDATABASE_MEMORY pages improve access performance to largePlan and configure a database for self Select the mode for managing data sort range-partitioned tables tuning memory memory using SHEAPTHRES, Select appropriate RUNSTATS options toActivate or deactivate STMM for selected SORTHEAP, and SHEAPTHRES_SHR collect Distribution Statistics or Columnmemory heaps Monitor DB2 memory usage using the Group Statistics to improve cardinalityDescribe the management of sortheap db2mtrk commands and SQL statements estimates during SQL compilationmemory based on the configuration of Utilize the db2pd command for Use the table and indexes statistics to plansheapthres and sheapthres_shr monitoring current database memory for table and index reorganization usingExplain how DB2 can automatically increase usage the REORG utilityor decrease database memory for multiple Explain the differences in STMM Set the policies and options for automationDB2 databases running on the same server processing based on the setting of of catalog statistics collectionDescribe the performance advantages of DATABASE_MEMORY Monitor the activity associated withusing stored procedures Plan and configure a database for self implementing real-time statistics collectionDesign applications to maximize record tuning memory Use the db2batch utility to run SQLblocking, minimize sort operations and Activate or deactivate STMM for selected workloads and collect performanceminimize lock contention memory heaps statistics that can be used to benchmarkMonitor application performance and lock Describe the management of sortheap database and application changes waits using GET SNAPSHOT commands memory based on the configuration of Implement simple Workload Managementand SQL queries sheapthres and sheapthres_shr definitions to utilize the Workload

Page 39: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Set the DB2 registry variables Explain how DB2 can automatically Manager-based event monitoring includingDB2_EVALUNCOMMITTED, increase or decrease database memory activities, statistics and threshold violationsDB2_SKIPINSERTED and for multiple DB2 databases running on Evaluate Event Monitor data using theDB2_SKIPDELETED to reduce lock the same server Event Analyzer tool, the db2evmoncontention based on application Describe the performance advantages of text-based tool the db2evmonfmtrequirements using stored procedures application or using SQL queriesUtilize the currently committed form of Design applications to maximize record Define a LOCKING Event Monitor tolocking to reduce lock contention between blocking, minimize sort operations and capture deadlocks, lock timeout or lockread-only and update applications minimize lock contention waitsDescribe the advantages of using db2exfmt Monitor application performance and lock Configure a DB2 database to controlCreate special tables used by Visual Explain waits using GET SNAPSHOT commands information captured for deadlocks, lockand db2exfmt and SQL queries timeouts or extended lock waitsIdentify how to set the Explain snapshot and Set the DB2 registry variables Implement Event Monitors for units of workExplain mode registers to capture the DB2_EVALUNCOMMITTED, or lock-related events that storeinformation of interest DB2_SKIPINSERTED and information in unformatted Event MonitorDifferentiate between the different methods DB2_SKIPDELETED to reduce lock tablesof viewing Explain information contention based on application Capture SQL section information using anChoose the appropriate optimization class requirements ACTIVITIES Event Monitor and use theDescribe the catalog statistics and database Utilize the currently committed form of data to generate Explain reports configuration options impact on access plan locking to reduce lock contentionselection between read-only and updateImplement a statistical view to provide better applications linecardinality estimates for complex queries Describe the advantages of using List the tools for monitoring database andEnable the statement concentrator using the db2exfmt application activitySTMT_CONC database manager Create special tables used by Visual Use GET SNAPSHOT commands toconfiguration parameter to reduce SQL Explain and db2exfmt produce reports for analysis of databasecompilation overhead for dynamic SQL Identify how to set the Explain snapshot performancestatements and Explain mode registers to capture Utilize the administrative routines andUtilize the db2look utility to extract catalog the information of interest views provided by to DB2 to simplifystatistics from existing tables to mimic an Differentiate between the different application access to databaseexisting database environment methods of viewing Explain information performance statisticsCreate an optimizer profile Choose the appropriate optimization Use the db2pd to perform performanceDescribe the Block Indexing capability for class analysis or problem determination for aMDC tables Describe the catalog statistics and DB2 databaseMonitor index usage using the database configuration options impact on Utilize the enhanced table functions withMON_GET_INDEX function and db2pd access plan selection SQL in reporting and monitoring of thecommands Implement a statistical view to provide database system, data objects, and theExplain how multiple indexes can be better cardinality estimates for complex package cache to help you quickly identifycombined using Index ORing and Dynamic queries issues that might be causing problemsBitmap Index ANDing Enable the statement concentrator using Configure the DB2 Database configurationUse the Design Advisor to predict the STMT_CONC database manager options that control the collection ofperformance gains from adding new indexes configuration parameter to reduce SQL request, activity and object level metrics onDescribe the differences between Nested compilation overhead for dynamic SQL the entire databaseLoop, Merge Scan and Hash Joins statements Compare the enhanced table functionsPlan the implementation of Refresh Utilize the db2look utility to extract with the snapshot monitoring facilitiesImmediate or Refresh Deferred Materialized catalog statistics from existing tables to provided by previous DB2 releases Query Tables to improve query performance mimic an existing database environment Describe processing for writing databaseUtilize the Design Advisor to analyze SQL Create an optimizer profile pages from buffer poolsstatements and recommend new MQTs Describe the Block Indexing capability for Monitor database read and write activityDescribe the features of range-partitioned MDC tables using GET SNAPSHOT commands ortables to support large DB2 tables using Monitor index usage using the Administrative Routines and Viewsmultiple table spaces, including the roll-in MON_GET_INDEX function and db2pd Monitor database logging activity andand roll-out of data ranges commands select appropriate values for SOFTMAXExplain the difference between partitioned Explain how multiple indexes can be and MINCOMMITand non-partitioned indexes for a combined using Index ORing and Describe how scan sharing can reduce therange-partitioned table Dynamic Bitmap Index ANDing I/O workload for accessing large tablesImplement partitioned indexes to improve Use the Design Advisor to predict Explain the alternate page cleaningperformance when you roll data out or roll performance gains from adding new processing associated with thedata into a range-partitioned table indexes DB2_USE_ALTERNATE_PAGE_CLEANIUse the DB2 Explain tools to determine if Describe the differences between Nested NG DB2 Registry variable partition elimination is being used to improve Loop, Merge Scan and Hash Joins Describe the calculation of prefetch sizeaccess performance to large Plan the implementation of Refresh when PREFETCHSIZE is set torange-partitioned tables Immediate or Refresh Deferred AUTOMATICSelect appropriate RUNSTATS options to Materialized Query Tables to improve List the advantages of selecting DMS orcollect Distribution Statistics or Column query performance SMS table space management as well asGroup Statistics to improve cardinality Utilize the Design Advisor to analyze SQL using Automatic Storage-managed table

Page 40: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

estimates during SQL compilation statements and recommend new MQTs spacesUse the table and indexes statistics to plan Describe the features of range-partitioned Set file system caching options for tablefor table and index reorganization using the tables to support large DB2 tables using spaces to optimize table spaceREORG utility multiple table spaces, including the roll-in performanceSet the policies and options for automation and roll-out of data ranges Describe the various row insertionof catalog statistics collection Explain the difference between algorithms for tables that are based onMonitor the activity associated with partitioned and non-partitioned indexes using the APPEND option or defining aimplementing real-time statistics collection for a range-partitioned table clustering indexUse the db2batch utility to run SQL Implement partitioned indexes to improve Plan and implement Row Compression toworkloads and collect performance statistics performance when you roll data out or roll reduce disk and memory requirements andthat can be used to benchmark database data into a range-partitioned table improve application performanceand application changes Use the DB2 Explain tools to determine if Describe how DB2's Index compressionImplement simple Workload Management partition elimination is being used to option can reduce disk storagedefinitions to utilize the Workload improve access performance to large requirements for indexesManager-based event monitoring including range-partitioned tables Explain how DB2 can compress temporaryactivities, statistics and threshold violations Select appropriate RUNSTATS options to data to improve application performanceEvaluate Event Monitor data using the Event collect Distribution Statistics or Column Utilize the DB2 provided tools andAnalyzer tool, the db2evmon text-based tool Group Statistics to improve cardinality functions to estimate compression resultsthe db2evmonfmt application or using SQL estimates during SQL compilation for Indexes and data queries Use the table and indexes statistics to Explain the management of databaseDefine a LOCKING Event Monitor to capture plan for table and index reorganization shared memory based on setting thedeadlocks, lock timeout or lock waits using the REORG utility configuration optionConfigure a DB2 database to control Set the policies and options for DATABASE_MEMORY to AUTOMATIC,information captured for deadlocks, lock automation of catalog statistics collection COMPUTED or a specific number oftimeouts or extended lock waits Monitor the activity associated with pagesImplement Event Monitors for units of work implementing real-time statistics Select the mode for managing data sortor lock-related events that store information collection memory using SHEAPTHRES,in unformatted Event Monitor tables Use the db2batch utility to run SQL SORTHEAP, and SHEAPTHRES_SHRCapture SQL section information using an workloads and collect performance Monitor DB2 memory usage using theACTIVITIES Event Monitor and use the data statistics that can be used to benchmark db2mtrk commands and SQL statementsto generate Explain reports database and application changes Utilize the db2pd command for monitoring

Implement simple Workload current database memory usage Management definitions to utilize the Explain the differences in STMM

line Workload Manager-based event processing based on the setting ofList the tools for monitoring database and monitoring including activities, statistics DATABASE_MEMORYapplication activity and threshold violations Plan and configure a database for selfUse GET SNAPSHOT commands to Evaluate Event Monitor data using the tuning memoryproduce reports for analysis of database Event Analyzer tool, the db2evmon Activate or deactivate STMM for selectedperformance text-based tool the db2evmonfmt memory heapsUtilize the administrative routines and views application or using SQL queries Describe the management of sortheapprovided by to DB2 to simplify application Define a LOCKING Event Monitor to memory based on the configuration ofaccess to database performance statistics capture deadlocks, lock timeout or lock sheapthres and sheapthres_shrUse the db2pd to perform performance waits Explain how DB2 can automaticallyanalysis or problem determination for a DB2 Configure a DB2 database to control increase or decrease database memory fordatabase information captured for deadlocks, lock multiple DB2 databases running on theUtilize the enhanced table functions with timeouts or extended lock waits same server SQL in reporting and monitoring of the Implement Event Monitors for units of Describe the performance advantages ofdatabase system, data objects, and the work or lock-related events that store using stored procedurespackage cache to help you quickly identify information in unformatted Event Monitor Design applications to maximize recordissues that might be causing problems tables blocking, minimize sort operations andConfigure the DB2 Database configuration Capture SQL section information using minimize lock contentionoptions that control the collection of request, an ACTIVITIES Event Monitor and use Monitor application performance and lockactivity and object level metrics on the entire the data to generate Explain reports waits using GET SNAPSHOT commandsdatabase and SQL queriesCompare the enhanced table functions with Set the DB2 registry variablesthe snapshot monitoring facilities provided line DB2_EVALUNCOMMITTED,by previous DB2 releases List the tools for monitoring database and DB2_SKIPINSERTED andDescribe processing for writing database application activity DB2_SKIPDELETED to reduce lockpages from buffer pools Use GET SNAPSHOT commands to contention based on applicationMonitor database read and write activity produce reports for analysis of database requirementsusing GET SNAPSHOT commands or performance Utilize the currently committed form ofAdministrative Routines and Views Utilize the administrative routines and locking to reduce lock contention betweenMonitor database logging activity and select views provided by to DB2 to simplify read-only and update applications appropriate values for SOFTMAX and application access to database Describe the advantages of usingMINCOMMIT performance statistics db2exfmtDescribe how scan sharing can reduce the Use the db2pd to perform performance Create special tables used by Visual

Page 41: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

I/O workload for accessing large tables analysis or problem determination for a Explain and db2exfmtExplain the alternate page cleaning DB2 database Identify how to set the Explain snapshotprocessing associated with the Utilize the enhanced table functions with and Explain mode registers to capture theDB2_USE_ALTERNATE_PAGE_CLEANIN SQL in reporting and monitoring of the information of interestG DB2 Registry variable database system, data objects, and the Differentiate between the differentDescribe the calculation of prefetch size package cache to help you quickly methods of viewing Explain information when PREFETCHSIZE is set to identify issues that might be causing Choose the appropriate optimization classAUTOMATIC problems Describe the catalog statistics andList the advantages of selecting DMS or Configure the DB2 Database database configuration options impact onSMS table space management as well as configuration options that control the access plan selectionusing Automatic Storage-managed table collection of request, activity and object Implement a statistical view to providespaces level metrics on the entire database better cardinality estimates for complexSet file system caching options for table Compare the enhanced table functions queriesspaces to optimize table space performance with the snapshot monitoring facilities Enable the statement concentrator usingDescribe the various row insertion provided by previous DB2 releases the STMT_CONC database manageralgorithms for tables that are based on using Describe processing for writing database configuration parameter to reduce SQLthe APPEND option or defining a clustering pages from buffer pools compilation overhead for dynamic SQLindex Monitor database read and write activity statementsPlan and implement Row Compression to using GET SNAPSHOT commands or Utilize the db2look utility to extract catalogreduce disk and memory requirements and Administrative Routines and Views statistics from existing tables to mimic animprove application performance Monitor database logging activity and existing database environmentDescribe how DB2's Index compression select appropriate values for SOFTMAX Create an optimizer profile option can reduce disk storage requirements and MINCOMMIT Describe the Block Indexing capability forfor indexes Describe how scan sharing can reduce MDC tablesExplain how DB2 can compress temporary the I/O workload for accessing large Monitor index usage using thedata to improve application performance tables MON_GET_INDEX function and db2pdUtilize the DB2 provided tools and functions Explain the alternate page cleaning commandsto estimate compression results for Indexes processing associated with the Explain how multiple indexes can beand data DB2_USE_ALTERNATE_PAGE_CLEAN combined using Index ORing and DynamicExplain the management of database ING DB2 Registry variable Bitmap Index ANDingshared memory based on setting the Describe the calculation of prefetch size Use the Design Advisor to predictconfiguration option DATABASE_MEMORY when PREFETCHSIZE is set to performance gains from adding newto AUTOMATIC, COMPUTED or a specific AUTOMATIC indexes number of pages List the advantages of selecting DMS or Describe the differences between NestedSelect the mode for managing data sort SMS table space management as well as Loop, Merge Scan and Hash Joinsmemory using SHEAPTHRES, SORTHEAP, using Automatic Storage-managed table Plan the implementation of Refreshand SHEAPTHRES_SHR spaces Immediate or Refresh DeferredMonitor DB2 memory usage using the Set file system caching options for table Materialized Query Tables to improvedb2mtrk commands and SQL statements spaces to optimize table space query performanceUtilize the db2pd command for monitoring performance Utilize the Design Advisor to analyze SQLcurrent database memory usage Describe the various row insertion statements and recommend new MQTsExplain the differences in STMM processing algorithms for tables that are based on Describe the features of range-partitionedbased on the setting of using the APPEND option or defining a tables to support large DB2 tables usingDATABASE_MEMORY clustering index multiple table spaces, including the roll-inPlan and configure a database for self Plan and implement Row Compression to and roll-out of data rangestuning memory reduce disk and memory requirements Explain the difference between partitionedActivate or deactivate STMM for selected and improve application performance and non-partitioned indexes for amemory heaps Describe how DB2's Index compression range-partitioned tableDescribe the management of sortheap option can reduce disk storage Implement partitioned indexes to improvememory based on the configuration of requirements for indexes performance when you roll data out or rollsheapthres and sheapthres_shr Explain how DB2 can compress data into a range-partitioned tableExplain how DB2 can automatically increase temporary data to improve application Use the DB2 Explain tools to determine ifor decrease database memory for multiple performance partition elimination is being used toDB2 databases running on the same server Utilize the DB2 provided tools and improve access performance to largeDescribe the performance advantages of functions to estimate compression results range-partitioned tables using stored procedures for Indexes and data Select appropriate RUNSTATS options toDesign applications to maximize record Explain the management of database collect Distribution Statistics or Columnblocking, minimize sort operations and shared memory based on setting the Group Statistics to improve cardinalityminimize lock contention configuration option estimates during SQL compilationMonitor application performance and lock DATABASE_MEMORY to AUTOMATIC, Use the table and indexes statistics to planwaits using GET SNAPSHOT commands COMPUTED or a specific number of for table and index reorganization usingand SQL queries pages the REORG utilitySet the DB2 registry variables Select the mode for managing data sort Set the policies and options for automationDB2_EVALUNCOMMITTED, memory using SHEAPTHRES, of catalog statistics collectionDB2_SKIPINSERTED and SORTHEAP, and SHEAPTHRES_SHR Monitor the activity associated withDB2_SKIPDELETED to reduce lock Monitor DB2 memory usage using the implementing real-time statistics collection

Page 42: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

contention based on application db2mtrk commands and SQL statements Use the db2batch utility to run SQLrequirements Utilize the db2pd command for workloads and collect performanceUtilize the currently committed form of monitoring current database memory statistics that can be used to benchmarklocking to reduce lock contention between usage database and application changes read-only and update applications Explain the differences in STMM Implement simple Workload ManagementDescribe the advantages of using db2exfmt processing based on the setting of definitions to utilize the WorkloadCreate special tables used by Visual Explain DATABASE_MEMORY Manager-based event monitoring includingand db2exfmt Plan and configure a database for self activities, statistics and threshold violationsIdentify how to set the Explain snapshot and tuning memory Evaluate Event Monitor data using theExplain mode registers to capture the Activate or deactivate STMM for selected Event Analyzer tool, the db2evmoninformation of interest memory heaps text-based tool the db2evmonfmtDifferentiate between the different methods Describe the management of sortheap application or using SQL queriesof viewing Explain information memory based on the configuration of Define a LOCKING Event Monitor toChoose the appropriate optimization class sheapthres and sheapthres_shr capture deadlocks, lock timeout or lockDescribe the catalog statistics and database Explain how DB2 can automatically waitsconfiguration options impact on access plan increase or decrease database memory Configure a DB2 database to controlselection for multiple DB2 databases running on information captured for deadlocks, lockImplement a statistical view to provide better the same server timeouts or extended lock waitscardinality estimates for complex queries Describe the performance advantages of Implement Event Monitors for units of workEnable the statement concentrator using the using stored procedures or lock-related events that storeSTMT_CONC database manager Design applications to maximize record information in unformatted Event Monitorconfiguration parameter to reduce SQL blocking, minimize sort operations and tablescompilation overhead for dynamic SQL minimize lock contention Capture SQL section information using anstatements Monitor application performance and lock ACTIVITIES Event Monitor and use theUtilize the db2look utility to extract catalog waits using GET SNAPSHOT commands data to generate Explain reports statistics from existing tables to mimic an and SQL queriesexisting database environment Set the DB2 registry variablesCreate an optimizer profile DB2_EVALUNCOMMITTED, lineDescribe the Block Indexing capability for DB2_SKIPINSERTED and List the tools for monitoring database andMDC tables DB2_SKIPDELETED to reduce lock application activityMonitor index usage using the contention based on application Use GET SNAPSHOT commands toMON_GET_INDEX function and db2pd requirements produce reports for analysis of databasecommands Utilize the currently committed form of performanceExplain how multiple indexes can be locking to reduce lock contention Utilize the administrative routines andcombined using Index ORing and Dynamic between read-only and update views provided by to DB2 to simplifyBitmap Index ANDing applications application access to databaseUse the Design Advisor to predict Describe the advantages of using performance statisticsperformance gains from adding new indexes db2exfmt Use the db2pd to perform performanceDescribe the differences between Nested Create special tables used by Visual analysis or problem determination for aLoop, Merge Scan and Hash Joins Explain and db2exfmt DB2 databasePlan the implementation of Refresh Identify how to set the Explain snapshot Utilize the enhanced table functions withImmediate or Refresh Deferred Materialized and Explain mode registers to capture SQL in reporting and monitoring of theQuery Tables to improve query performance the information of interest database system, data objects, and theUtilize the Design Advisor to analyze SQL Differentiate between the different package cache to help you quickly identifystatements and recommend new MQTs methods of viewing Explain information issues that might be causing problemsDescribe the features of range-partitioned Choose the appropriate optimization Configure the DB2 Database configurationtables to support large DB2 tables using class options that control the collection ofmultiple table spaces, including the roll-in Describe the catalog statistics and request, activity and object level metrics onand roll-out of data ranges database configuration options impact on the entire databaseExplain the difference between partitioned access plan selection Compare the enhanced table functionsand non-partitioned indexes for a Implement a statistical view to provide with the snapshot monitoring facilitiesrange-partitioned table better cardinality estimates for complex provided by previous DB2 releases Implement partitioned indexes to improve queries Describe processing for writing databaseperformance when you roll data out or roll Enable the statement concentrator using pages from buffer poolsdata into a range-partitioned table the STMT_CONC database manager Monitor database read and write activityUse the DB2 Explain tools to determine if configuration parameter to reduce SQL using GET SNAPSHOT commands orpartition elimination is being used to improve compilation overhead for dynamic SQL Administrative Routines and Viewsaccess performance to large statements Monitor database logging activity andrange-partitioned tables Utilize the db2look utility to extract select appropriate values for SOFTMAXSelect appropriate RUNSTATS options to catalog statistics from existing tables to and MINCOMMITcollect Distribution Statistics or Column mimic an existing database environment Describe how scan sharing can reduce theGroup Statistics to improve cardinality Create an optimizer profile I/O workload for accessing large tablesestimates during SQL compilation Describe the Block Indexing capability for Explain the alternate page cleaningUse the table and indexes statistics to plan MDC tables processing associated with thefor table and index reorganization using the Monitor index usage using the DB2_USE_ALTERNATE_PAGE_CLEANIREORG utility MON_GET_INDEX function and db2pd NG DB2 Registry variable

Page 43: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Set the policies and options for automation commands Describe the calculation of prefetch sizeof catalog statistics collection Explain how multiple indexes can be when PREFETCHSIZE is set toMonitor the activity associated with combined using Index ORing and AUTOMATICimplementing real-time statistics collection Dynamic Bitmap Index ANDing List the advantages of selecting DMS orUse the db2batch utility to run SQL Use the Design Advisor to predict SMS table space management as well asworkloads and collect performance statistics performance gains from adding new using Automatic Storage-managed tablethat can be used to benchmark database indexes spacesand application changes Describe the differences between Nested Set file system caching options for tableImplement simple Workload Management Loop, Merge Scan and Hash Joins spaces to optimize table spacedefinitions to utilize the Workload Plan the implementation of Refresh performanceManager-based event monitoring including Immediate or Refresh Deferred Describe the various row insertionactivities, statistics and threshold violations Materialized Query Tables to improve algorithms for tables that are based onEvaluate Event Monitor data using the Event query performance using the APPEND option or defining aAnalyzer tool, the db2evmon text-based tool Utilize the Design Advisor to analyze SQL clustering indexthe db2evmonfmt application or using SQL statements and recommend new MQTs Plan and implement Row Compression toqueries Describe the features of range-partitioned reduce disk and memory requirements andDefine a LOCKING Event Monitor to capture tables to support large DB2 tables using improve application performancedeadlocks, lock timeout or lock waits multiple table spaces, including the roll-in Describe how DB2's Index compressionConfigure a DB2 database to control and roll-out of data ranges option can reduce disk storageinformation captured for deadlocks, lock Explain the difference between requirements for indexestimeouts or extended lock waits partitioned and non-partitioned indexes Explain how DB2 can compress temporaryImplement Event Monitors for units of work for a range-partitioned table data to improve application performanceor lock-related events that store information Implement partitioned indexes to improve Utilize the DB2 provided tools andin unformatted Event Monitor tables performance when you roll data out or roll functions to estimate compression resultsCapture SQL section information using an data into a range-partitioned table for Indexes and data ACTIVITIES Event Monitor and use the data Use the DB2 Explain tools to determine if Explain the management of databaseto generate Explain reports partition elimination is being used to shared memory based on setting the

improve access performance to large configuration optionrange-partitioned tables DATABASE_MEMORY to AUTOMATIC,

line Select appropriate RUNSTATS options to COMPUTED or a specific number ofList the tools for monitoring database and collect Distribution Statistics or Column pagesapplication activity Group Statistics to improve cardinality Select the mode for managing data sortUse GET SNAPSHOT commands to estimates during SQL compilation memory using SHEAPTHRES,produce reports for analysis of database Use the table and indexes statistics to SORTHEAP, and SHEAPTHRES_SHRperformance plan for table and index reorganization Monitor DB2 memory usage using theUtilize the administrative routines and views using the REORG utility db2mtrk commands and SQL statementsprovided by to DB2 to simplify application Set the policies and options for Utilize the db2pd command for monitoringaccess to database performance statistics automation of catalog statistics collection current database memory usage Use the db2pd to perform performance Monitor the activity associated with Explain the differences in STMManalysis or problem determination for a DB2 implementing real-time statistics processing based on the setting ofdatabase collection DATABASE_MEMORYUtilize the enhanced table functions with Use the db2batch utility to run SQL Plan and configure a database for selfSQL in reporting and monitoring of the workloads and collect performance tuning memorydatabase system, data objects, and the statistics that can be used to benchmark Activate or deactivate STMM for selectedpackage cache to help you quickly identify database and application changes memory heapsissues that might be causing problems Implement simple Workload Describe the management of sortheapConfigure the DB2 Database configuration Management definitions to utilize the memory based on the configuration ofoptions that control the collection of request, Workload Manager-based event sheapthres and sheapthres_shractivity and object level metrics on the entire monitoring including activities, statistics Explain how DB2 can automaticallydatabase and threshold violations increase or decrease database memory forCompare the enhanced table functions with Evaluate Event Monitor data using the multiple DB2 databases running on thethe snapshot monitoring facilities provided Event Analyzer tool, the db2evmon same server by previous DB2 releases text-based tool the db2evmonfmt Describe the performance advantages ofDescribe processing for writing database application or using SQL queries using stored procedurespages from buffer pools Define a LOCKING Event Monitor to Design applications to maximize recordMonitor database read and write activity capture deadlocks, lock timeout or lock blocking, minimize sort operations andusing GET SNAPSHOT commands or waits minimize lock contentionAdministrative Routines and Views Configure a DB2 database to control Monitor application performance and lockMonitor database logging activity and select information captured for deadlocks, lock waits using GET SNAPSHOT commandsappropriate values for SOFTMAX and timeouts or extended lock waits and SQL queriesMINCOMMIT Implement Event Monitors for units of Set the DB2 registry variablesDescribe how scan sharing can reduce the work or lock-related events that store DB2_EVALUNCOMMITTED,I/O workload for accessing large tables information in unformatted Event Monitor DB2_SKIPINSERTED andExplain the alternate page cleaning tables DB2_SKIPDELETED to reduce lockprocessing associated with the Capture SQL section information using contention based on applicationDB2_USE_ALTERNATE_PAGE_CLEANIN an ACTIVITIES Event Monitor and use requirements

Page 44: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

G DB2 Registry variable the data to generate Explain reports Utilize the currently committed form ofDescribe the calculation of prefetch size locking to reduce lock contention betweenwhen PREFETCHSIZE is set to read-only and update applications AUTOMATIC line Describe the advantages of usingList the advantages of selecting DMS or List the tools for monitoring database and db2exfmtSMS table space management as well as application activity Create special tables used by Visualusing Automatic Storage-managed table Use GET SNAPSHOT commands to Explain and db2exfmtspaces produce reports for analysis of database Identify how to set the Explain snapshotSet file system caching options for table performance and Explain mode registers to capture thespaces to optimize table space performance Utilize the administrative routines and information of interestDescribe the various row insertion views provided by to DB2 to simplify Differentiate between the differentalgorithms for tables that are based on using application access to database methods of viewing Explain information the APPEND option or defining a clustering performance statistics Choose the appropriate optimization classindex Use the db2pd to perform performance Describe the catalog statistics andPlan and implement Row Compression to analysis or problem determination for a database configuration options impact onreduce disk and memory requirements and DB2 database access plan selectionimprove application performance Utilize the enhanced table functions with Implement a statistical view to provideDescribe how DB2's Index compression SQL in reporting and monitoring of the better cardinality estimates for complexoption can reduce disk storage requirements database system, data objects, and the queriesfor indexes package cache to help you quickly Enable the statement concentrator usingExplain how DB2 can compress temporary identify issues that might be causing the STMT_CONC database managerdata to improve application performance problems configuration parameter to reduce SQLUtilize the DB2 provided tools and functions Configure the DB2 Database compilation overhead for dynamic SQLto estimate compression results for Indexes configuration options that control the statementsand data collection of request, activity and object Utilize the db2look utility to extract catalogExplain the management of database level metrics on the entire database statistics from existing tables to mimic anshared memory based on setting the Compare the enhanced table functions existing database environmentconfiguration option DATABASE_MEMORY with the snapshot monitoring facilities Create an optimizer profile to AUTOMATIC, COMPUTED or a specific provided by previous DB2 releases Describe the Block Indexing capability fornumber of pages Describe processing for writing database MDC tablesSelect the mode for managing data sort pages from buffer pools Monitor index usage using thememory using SHEAPTHRES, SORTHEAP, Monitor database read and write activity MON_GET_INDEX function and db2pdand SHEAPTHRES_SHR using GET SNAPSHOT commands or commandsMonitor DB2 memory usage using the Administrative Routines and Views Explain how multiple indexes can bedb2mtrk commands and SQL statements Monitor database logging activity and combined using Index ORing and DynamicUtilize the db2pd command for monitoring select appropriate values for SOFTMAX Bitmap Index ANDingcurrent database memory usage and MINCOMMIT Use the Design Advisor to predictExplain the differences in STMM processing Describe how scan sharing can reduce performance gains from adding newbased on the setting of the I/O workload for accessing large indexes DATABASE_MEMORY tables Describe the differences between NestedPlan and configure a database for self Explain the alternate page cleaning Loop, Merge Scan and Hash Joinstuning memory processing associated with the Plan the implementation of RefreshActivate or deactivate STMM for selected DB2_USE_ALTERNATE_PAGE_CLEAN Immediate or Refresh Deferredmemory heaps ING DB2 Registry variable Materialized Query Tables to improveDescribe the management of sortheap Describe the calculation of prefetch size query performancememory based on the configuration of when PREFETCHSIZE is set to Utilize the Design Advisor to analyze SQLsheapthres and sheapthres_shr AUTOMATIC statements and recommend new MQTsExplain how DB2 can automatically increase List the advantages of selecting DMS or Describe the features of range-partitionedor decrease database memory for multiple SMS table space management as well as tables to support large DB2 tables usingDB2 databases running on the same server using Automatic Storage-managed table multiple table spaces, including the roll-inDescribe the performance advantages of spaces and roll-out of data rangesusing stored procedures Set file system caching options for table Explain the difference between partitionedDesign applications to maximize record spaces to optimize table space and non-partitioned indexes for ablocking, minimize sort operations and performance range-partitioned tableminimize lock contention Describe the various row insertion Implement partitioned indexes to improveMonitor application performance and lock algorithms for tables that are based on performance when you roll data out or rollwaits using GET SNAPSHOT commands using the APPEND option or defining a data into a range-partitioned tableand SQL queries clustering index Use the DB2 Explain tools to determine ifSet the DB2 registry variables Plan and implement Row Compression to partition elimination is being used toDB2_EVALUNCOMMITTED, reduce disk and memory requirements improve access performance to largeDB2_SKIPINSERTED and and improve application performance range-partitioned tables DB2_SKIPDELETED to reduce lock Describe how DB2's Index compression Select appropriate RUNSTATS options tocontention based on application option can reduce disk storage collect Distribution Statistics or Columnrequirements requirements for indexes Group Statistics to improve cardinalityUtilize the currently committed form of Explain how DB2 can compress estimates during SQL compilationlocking to reduce lock contention between temporary data to improve application Use the table and indexes statistics to plan

Page 45: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

read-only and update applications performance for table and index reorganization usingDescribe the advantages of using db2exfmt Utilize the DB2 provided tools and the REORG utilityCreate special tables used by Visual Explain functions to estimate compression results Set the policies and options for automationand db2exfmt for Indexes and data of catalog statistics collectionIdentify how to set the Explain snapshot and Explain the management of database Monitor the activity associated withExplain mode registers to capture the shared memory based on setting the implementing real-time statistics collectioninformation of interest configuration option Use the db2batch utility to run SQLDifferentiate between the different methods DATABASE_MEMORY to AUTOMATIC, workloads and collect performanceof viewing Explain information COMPUTED or a specific number of statistics that can be used to benchmarkChoose the appropriate optimization class pages database and application changes Describe the catalog statistics and database Select the mode for managing data sort Implement simple Workload Managementconfiguration options impact on access plan memory using SHEAPTHRES, definitions to utilize the Workloadselection SORTHEAP, and SHEAPTHRES_SHR Manager-based event monitoring includingImplement a statistical view to provide better Monitor DB2 memory usage using the activities, statistics and threshold violationscardinality estimates for complex queries db2mtrk commands and SQL statements Evaluate Event Monitor data using theEnable the statement concentrator using the Utilize the db2pd command for Event Analyzer tool, the db2evmonSTMT_CONC database manager monitoring current database memory text-based tool the db2evmonfmtconfiguration parameter to reduce SQL usage application or using SQL queriescompilation overhead for dynamic SQL Explain the differences in STMM Define a LOCKING Event Monitor tostatements processing based on the setting of capture deadlocks, lock timeout or lockUtilize the db2look utility to extract catalog DATABASE_MEMORY waitsstatistics from existing tables to mimic an Plan and configure a database for self Configure a DB2 database to controlexisting database environment tuning memory information captured for deadlocks, lockCreate an optimizer profile Activate or deactivate STMM for selected timeouts or extended lock waitsDescribe the Block Indexing capability for memory heaps Implement Event Monitors for units of workMDC tables Describe the management of sortheap or lock-related events that storeMonitor index usage using the memory based on the configuration of information in unformatted Event MonitorMON_GET_INDEX function and db2pd sheapthres and sheapthres_shr tablescommands Explain how DB2 can automatically Capture SQL section information using anExplain how multiple indexes can be increase or decrease database memory ACTIVITIES Event Monitor and use thecombined using Index ORing and Dynamic for multiple DB2 databases running on data to generate Explain reports Bitmap Index ANDing the same server Use the Design Advisor to predict Describe the performance advantages ofperformance gains from adding new indexes using stored procedures lineDescribe the differences between Nested Design applications to maximize record List the tools for monitoring database andLoop, Merge Scan and Hash Joins blocking, minimize sort operations and application activityPlan the implementation of Refresh minimize lock contention Use GET SNAPSHOT commands toImmediate or Refresh Deferred Materialized Monitor application performance and lock produce reports for analysis of databaseQuery Tables to improve query performance waits using GET SNAPSHOT commands performanceUtilize the Design Advisor to analyze SQL and SQL queries Utilize the administrative routines andstatements and recommend new MQTs Set the DB2 registry variables views provided by to DB2 to simplifyDescribe the features of range-partitioned DB2_EVALUNCOMMITTED, application access to databasetables to support large DB2 tables using DB2_SKIPINSERTED and performance statisticsmultiple table spaces, including the roll-in DB2_SKIPDELETED to reduce lock Use the db2pd to perform performanceand roll-out of data ranges contention based on application analysis or problem determination for aExplain the difference between partitioned requirements DB2 databaseand non-partitioned indexes for a Utilize the currently committed form of Utilize the enhanced table functions withrange-partitioned table locking to reduce lock contention SQL in reporting and monitoring of theImplement partitioned indexes to improve between read-only and update database system, data objects, and theperformance when you roll data out or roll applications package cache to help you quickly identifydata into a range-partitioned table Describe the advantages of using issues that might be causing problemsUse the DB2 Explain tools to determine if db2exfmt Configure the DB2 Database configurationpartition elimination is being used to improve Create special tables used by Visual options that control the collection ofaccess performance to large Explain and db2exfmt request, activity and object level metrics onrange-partitioned tables Identify how to set the Explain snapshot the entire databaseSelect appropriate RUNSTATS options to and Explain mode registers to capture Compare the enhanced table functionscollect Distribution Statistics or Column the information of interest with the snapshot monitoring facilitiesGroup Statistics to improve cardinality Differentiate between the different provided by previous DB2 releases estimates during SQL compilation methods of viewing Explain information Describe processing for writing databaseUse the table and indexes statistics to plan Choose the appropriate optimization pages from buffer poolsfor table and index reorganization using the class Monitor database read and write activityREORG utility Describe the catalog statistics and using GET SNAPSHOT commands orSet the policies and options for automation database configuration options impact on Administrative Routines and Viewsof catalog statistics collection access plan selection Monitor database logging activity andMonitor the activity associated with Implement a statistical view to provide select appropriate values for SOFTMAXimplementing real-time statistics collection better cardinality estimates for complex and MINCOMMIT

Page 46: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Use the db2batch utility to run SQL queries Describe how scan sharing can reduce theworkloads and collect performance statistics Enable the statement concentrator using I/O workload for accessing large tablesthat can be used to benchmark database the STMT_CONC database manager Explain the alternate page cleaningand application changes configuration parameter to reduce SQL processing associated with theImplement simple Workload Management compilation overhead for dynamic SQL DB2_USE_ALTERNATE_PAGE_CLEANIdefinitions to utilize the Workload statements NG DB2 Registry variable Manager-based event monitoring including Utilize the db2look utility to extract Describe the calculation of prefetch sizeactivities, statistics and threshold violations catalog statistics from existing tables to when PREFETCHSIZE is set toEvaluate Event Monitor data using the Event mimic an existing database environment AUTOMATICAnalyzer tool, the db2evmon text-based tool Create an optimizer profile List the advantages of selecting DMS orthe db2evmonfmt application or using SQL Describe the Block Indexing capability for SMS table space management as well asqueries MDC tables using Automatic Storage-managed tableDefine a LOCKING Event Monitor to capture Monitor index usage using the spacesdeadlocks, lock timeout or lock waits MON_GET_INDEX function and db2pd Set file system caching options for tableConfigure a DB2 database to control commands spaces to optimize table spaceinformation captured for deadlocks, lock Explain how multiple indexes can be performancetimeouts or extended lock waits combined using Index ORing and Describe the various row insertionImplement Event Monitors for units of work Dynamic Bitmap Index ANDing algorithms for tables that are based onor lock-related events that store information Use the Design Advisor to predict using the APPEND option or defining ain unformatted Event Monitor tables performance gains from adding new clustering indexCapture SQL section information using an indexes Plan and implement Row Compression toACTIVITIES Event Monitor and use the data Describe the differences between Nested reduce disk and memory requirements andto generate Explain reports Loop, Merge Scan and Hash Joins improve application performance

Plan the implementation of Refresh Describe how DB2's Index compressionImmediate or Refresh Deferred option can reduce disk storage

line Materialized Query Tables to improve requirements for indexesList the tools for monitoring database and query performance Explain how DB2 can compress temporaryapplication activity Utilize the Design Advisor to analyze SQL data to improve application performanceUse GET SNAPSHOT commands to statements and recommend new MQTs Utilize the DB2 provided tools andproduce reports for analysis of database Describe the features of range-partitioned functions to estimate compression resultsperformance tables to support large DB2 tables using for Indexes and data Utilize the administrative routines and views multiple table spaces, including the roll-in Explain the management of databaseprovided by to DB2 to simplify application and roll-out of data ranges shared memory based on setting theaccess to database performance statistics Explain the difference between configuration optionUse the db2pd to perform performance partitioned and non-partitioned indexes DATABASE_MEMORY to AUTOMATIC,analysis or problem determination for a DB2 for a range-partitioned table COMPUTED or a specific number ofdatabase Implement partitioned indexes to improve pagesUtilize the enhanced table functions with performance when you roll data out or roll Select the mode for managing data sortSQL in reporting and monitoring of the data into a range-partitioned table memory using SHEAPTHRES,database system, data objects, and the Use the DB2 Explain tools to determine if SORTHEAP, and SHEAPTHRES_SHRpackage cache to help you quickly identify partition elimination is being used to Monitor DB2 memory usage using theissues that might be causing problems improve access performance to large db2mtrk commands and SQL statementsConfigure the DB2 Database configuration range-partitioned tables Utilize the db2pd command for monitoringoptions that control the collection of request, Select appropriate RUNSTATS options to current database memory usage activity and object level metrics on the entire collect Distribution Statistics or Column Explain the differences in STMMdatabase Group Statistics to improve cardinality processing based on the setting ofCompare the enhanced table functions with estimates during SQL compilation DATABASE_MEMORYthe snapshot monitoring facilities provided Use the table and indexes statistics to Plan and configure a database for selfby previous DB2 releases plan for table and index reorganization tuning memoryDescribe processing for writing database using the REORG utility Activate or deactivate STMM for selectedpages from buffer pools Set the policies and options for memory heapsMonitor database read and write activity automation of catalog statistics collection Describe the management of sortheapusing GET SNAPSHOT commands or Monitor the activity associated with memory based on the configuration ofAdministrative Routines and Views implementing real-time statistics sheapthres and sheapthres_shrMonitor database logging activity and select collection Explain how DB2 can automaticallyappropriate values for SOFTMAX and Use the db2batch utility to run SQL increase or decrease database memory forMINCOMMIT workloads and collect performance multiple DB2 databases running on theDescribe how scan sharing can reduce the statistics that can be used to benchmark same server I/O workload for accessing large tables database and application changes Describe the performance advantages ofExplain the alternate page cleaning Implement simple Workload using stored proceduresprocessing associated with the Management definitions to utilize the Design applications to maximize recordDB2_USE_ALTERNATE_PAGE_CLEANIN Workload Manager-based event blocking, minimize sort operations andG DB2 Registry variable monitoring including activities, statistics minimize lock contentionDescribe the calculation of prefetch size and threshold violations Monitor application performance and lockwhen PREFETCHSIZE is set to Evaluate Event Monitor data using the waits using GET SNAPSHOT commandsAUTOMATIC Event Analyzer tool, the db2evmon and SQL queries

Page 47: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

List the advantages of selecting DMS or text-based tool the db2evmonfmt Set the DB2 registry variablesSMS table space management as well as application or using SQL queries DB2_EVALUNCOMMITTED,using Automatic Storage-managed table Define a LOCKING Event Monitor to DB2_SKIPINSERTED andspaces capture deadlocks, lock timeout or lock DB2_SKIPDELETED to reduce lockSet file system caching options for table waits contention based on applicationspaces to optimize table space performance Configure a DB2 database to control requirementsDescribe the various row insertion information captured for deadlocks, lock Utilize the currently committed form ofalgorithms for tables that are based on using timeouts or extended lock waits locking to reduce lock contention betweenthe APPEND option or defining a clustering Implement Event Monitors for units of read-only and update applications index work or lock-related events that store Describe the advantages of usingPlan and implement Row Compression to information in unformatted Event Monitor db2exfmtreduce disk and memory requirements and tables Create special tables used by Visualimprove application performance Capture SQL section information using Explain and db2exfmtDescribe how DB2's Index compression an ACTIVITIES Event Monitor and use Identify how to set the Explain snapshotoption can reduce disk storage requirements the data to generate Explain reports and Explain mode registers to capture thefor indexes information of interestExplain how DB2 can compress temporary Differentiate between the differentdata to improve application performance line methods of viewing Explain information Utilize the DB2 provided tools and functions List the tools for monitoring database and Choose the appropriate optimization classto estimate compression results for Indexes application activity Describe the catalog statistics andand data Use GET SNAPSHOT commands to database configuration options impact onExplain the management of database produce reports for analysis of database access plan selectionshared memory based on setting the performance Implement a statistical view to provideconfiguration option DATABASE_MEMORY Utilize the administrative routines and better cardinality estimates for complexto AUTOMATIC, COMPUTED or a specific views provided by to DB2 to simplify queriesnumber of pages application access to database Enable the statement concentrator usingSelect the mode for managing data sort performance statistics the STMT_CONC database managermemory using SHEAPTHRES, SORTHEAP, Use the db2pd to perform performance configuration parameter to reduce SQLand SHEAPTHRES_SHR analysis or problem determination for a compilation overhead for dynamic SQLMonitor DB2 memory usage using the DB2 database statementsdb2mtrk commands and SQL statements Utilize the enhanced table functions with Utilize the db2look utility to extract catalogUtilize the db2pd command for monitoring SQL in reporting and monitoring of the statistics from existing tables to mimic ancurrent database memory usage database system, data objects, and the existing database environmentExplain the differences in STMM processing package cache to help you quickly Create an optimizer profile based on the setting of identify issues that might be causing Describe the Block Indexing capability forDATABASE_MEMORY problems MDC tablesPlan and configure a database for self Configure the DB2 Database Monitor index usage using thetuning memory configuration options that control the MON_GET_INDEX function and db2pdActivate or deactivate STMM for selected collection of request, activity and object commandsmemory heaps level metrics on the entire database Explain how multiple indexes can beDescribe the management of sortheap Compare the enhanced table functions combined using Index ORing and Dynamicmemory based on the configuration of with the snapshot monitoring facilities Bitmap Index ANDingsheapthres and sheapthres_shr provided by previous DB2 releases Use the Design Advisor to predictExplain how DB2 can automatically increase Describe processing for writing database performance gains from adding newor decrease database memory for multiple pages from buffer pools indexes DB2 databases running on the same server Monitor database read and write activity Describe the differences between NestedDescribe the performance advantages of using GET SNAPSHOT commands or Loop, Merge Scan and Hash Joinsusing stored procedures Administrative Routines and Views Plan the implementation of RefreshDesign applications to maximize record Monitor database logging activity and Immediate or Refresh Deferredblocking, minimize sort operations and select appropriate values for SOFTMAX Materialized Query Tables to improveminimize lock contention and MINCOMMIT query performanceMonitor application performance and lock Describe how scan sharing can reduce Utilize the Design Advisor to analyze SQLwaits using GET SNAPSHOT commands the I/O workload for accessing large statements and recommend new MQTsand SQL queries tables Describe the features of range-partitionedSet the DB2 registry variables Explain the alternate page cleaning tables to support large DB2 tables usingDB2_EVALUNCOMMITTED, processing associated with the multiple table spaces, including the roll-inDB2_SKIPINSERTED and DB2_USE_ALTERNATE_PAGE_CLEAN and roll-out of data rangesDB2_SKIPDELETED to reduce lock ING DB2 Registry variable Explain the difference between partitionedcontention based on application Describe the calculation of prefetch size and non-partitioned indexes for arequirements when PREFETCHSIZE is set to range-partitioned tableUtilize the currently committed form of AUTOMATIC Implement partitioned indexes to improvelocking to reduce lock contention between List the advantages of selecting DMS or performance when you roll data out or rollread-only and update applications SMS table space management as well as data into a range-partitioned tableDescribe the advantages of using db2exfmt using Automatic Storage-managed table Use the DB2 Explain tools to determine ifCreate special tables used by Visual Explain spaces partition elimination is being used toand db2exfmt Set file system caching options for table improve access performance to large

Page 48: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Identify how to set the Explain snapshot and spaces to optimize table space range-partitioned tables Explain mode registers to capture the performance Select appropriate RUNSTATS options toinformation of interest Describe the various row insertion collect Distribution Statistics or ColumnDifferentiate between the different methods algorithms for tables that are based on Group Statistics to improve cardinalityof viewing Explain information using the APPEND option or defining a estimates during SQL compilationChoose the appropriate optimization class clustering index Use the table and indexes statistics to planDescribe the catalog statistics and database Plan and implement Row Compression to for table and index reorganization usingconfiguration options impact on access plan reduce disk and memory requirements the REORG utilityselection and improve application performance Set the policies and options for automationImplement a statistical view to provide better Describe how DB2's Index compression of catalog statistics collectioncardinality estimates for complex queries option can reduce disk storage Monitor the activity associated withEnable the statement concentrator using the requirements for indexes implementing real-time statistics collectionSTMT_CONC database manager Explain how DB2 can compress Use the db2batch utility to run SQLconfiguration parameter to reduce SQL temporary data to improve application workloads and collect performancecompilation overhead for dynamic SQL performance statistics that can be used to benchmarkstatements Utilize the DB2 provided tools and database and application changes Utilize the db2look utility to extract catalog functions to estimate compression results Implement simple Workload Managementstatistics from existing tables to mimic an for Indexes and data definitions to utilize the Workloadexisting database environment Explain the management of database Manager-based event monitoring includingCreate an optimizer profile shared memory based on setting the activities, statistics and threshold violationsDescribe the Block Indexing capability for configuration option Evaluate Event Monitor data using theMDC tables DATABASE_MEMORY to AUTOMATIC, Event Analyzer tool, the db2evmonMonitor index usage using the COMPUTED or a specific number of text-based tool the db2evmonfmtMON_GET_INDEX function and db2pd pages application or using SQL queriescommands Select the mode for managing data sort Define a LOCKING Event Monitor toExplain how multiple indexes can be memory using SHEAPTHRES, capture deadlocks, lock timeout or lockcombined using Index ORing and Dynamic SORTHEAP, and SHEAPTHRES_SHR waitsBitmap Index ANDing Monitor DB2 memory usage using the Configure a DB2 database to controlUse the Design Advisor to predict db2mtrk commands and SQL statements information captured for deadlocks, lockperformance gains from adding new indexes Utilize the db2pd command for timeouts or extended lock waitsDescribe the differences between Nested monitoring current database memory Implement Event Monitors for units of workLoop, Merge Scan and Hash Joins usage or lock-related events that storePlan the implementation of Refresh Explain the differences in STMM information in unformatted Event MonitorImmediate or Refresh Deferred Materialized processing based on the setting of tablesQuery Tables to improve query performance DATABASE_MEMORY Capture SQL section information using anUtilize the Design Advisor to analyze SQL Plan and configure a database for self ACTIVITIES Event Monitor and use thestatements and recommend new MQTs tuning memory data to generate Explain reports Describe the features of range-partitioned Activate or deactivate STMM for selectedtables to support large DB2 tables using memory heaps Event Monitoring multiple table spaces, including the roll-in Describe the management of sortheap lineand roll-out of data ranges memory based on the configuration of Create Event Monitors to collectExplain the difference between partitioned sheapthres and sheapthres_shr performance statistics at the database,and non-partitioned indexes for a Explain how DB2 can automatically application or SQL statement levelrange-partitioned table increase or decrease database memoryImplement partitioned indexes to improve for multiple DB2 databases running onperformance when you roll data out or roll the same server linedata into a range-partitioned table Describe the performance advantages of List the tools for monitoring database andUse the DB2 Explain tools to determine if using stored procedures application activitypartition elimination is being used to improve Design applications to maximize record Use GET SNAPSHOT commands toaccess performance to large blocking, minimize sort operations and produce reports for analysis of databaserange-partitioned tables minimize lock contention performanceSelect appropriate RUNSTATS options to Monitor application performance and lock Utilize the administrative routines andcollect Distribution Statistics or Column waits using GET SNAPSHOT commands views provided by to DB2 to simplifyGroup Statistics to improve cardinality and SQL queries application access to databaseestimates during SQL compilation Set the DB2 registry variables performance statisticsUse the table and indexes statistics to plan DB2_EVALUNCOMMITTED, Use the db2pd to perform performancefor table and index reorganization using the DB2_SKIPINSERTED and analysis or problem determination for aREORG utility DB2_SKIPDELETED to reduce lock DB2 databaseSet the policies and options for automation contention based on application Utilize the enhanced table functions withof catalog statistics collection requirements SQL in reporting and monitoring of theMonitor the activity associated with Utilize the currently committed form of database system, data objects, and theimplementing real-time statistics collection locking to reduce lock contention package cache to help you quickly identifyUse the db2batch utility to run SQL between read-only and update issues that might be causing problemsworkloads and collect performance statistics applications Configure the DB2 Database configurationthat can be used to benchmark database Describe the advantages of using options that control the collection ofand application changes db2exfmt request, activity and object level metrics on

Page 49: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Implement simple Workload Management Create special tables used by Visual the entire databasedefinitions to utilize the Workload Explain and db2exfmt Compare the enhanced table functionsManager-based event monitoring including Identify how to set the Explain snapshot with the snapshot monitoring facilitiesactivities, statistics and threshold violations and Explain mode registers to capture provided by previous DB2 releases Evaluate Event Monitor data using the Event the information of interest Describe processing for writing databaseAnalyzer tool, the db2evmon text-based tool Differentiate between the different pages from buffer poolsthe db2evmonfmt application or using SQL methods of viewing Explain information Monitor database read and write activityqueries Choose the appropriate optimization using GET SNAPSHOT commands orDefine a LOCKING Event Monitor to capture class Administrative Routines and Viewsdeadlocks, lock timeout or lock waits Describe the catalog statistics and Monitor database logging activity andConfigure a DB2 database to control database configuration options impact on select appropriate values for SOFTMAXinformation captured for deadlocks, lock access plan selection and MINCOMMITtimeouts or extended lock waits Implement a statistical view to provide Describe how scan sharing can reduce theImplement Event Monitors for units of work better cardinality estimates for complex I/O workload for accessing large tablesor lock-related events that store information queries Explain the alternate page cleaningin unformatted Event Monitor tables Enable the statement concentrator using processing associated with theCapture SQL section information using an the STMT_CONC database manager DB2_USE_ALTERNATE_PAGE_CLEANIACTIVITIES Event Monitor and use the data configuration parameter to reduce SQL NG DB2 Registry variable to generate Explain reports compilation overhead for dynamic SQL Describe the calculation of prefetch size

statements when PREFETCHSIZE is set toUtilize the db2look utility to extract AUTOMATIC

line catalog statistics from existing tables to List the advantages of selecting DMS orList the tools for monitoring database and mimic an existing database environment SMS table space management as well asapplication activity Create an optimizer profile using Automatic Storage-managed tableUse GET SNAPSHOT commands to Describe the Block Indexing capability for spacesproduce reports for analysis of database MDC tables Set file system caching options for tableperformance Monitor index usage using the spaces to optimize table spaceUtilize the administrative routines and views MON_GET_INDEX function and db2pd performanceprovided by to DB2 to simplify application commands Describe the various row insertionaccess to database performance statistics Explain how multiple indexes can be algorithms for tables that are based onUse the db2pd to perform performance combined using Index ORing and using the APPEND option or defining aanalysis or problem determination for a DB2 Dynamic Bitmap Index ANDing clustering indexdatabase Use the Design Advisor to predict Plan and implement Row Compression toUtilize the enhanced table functions with performance gains from adding new reduce disk and memory requirements andSQL in reporting and monitoring of the indexes improve application performancedatabase system, data objects, and the Describe the differences between Nested Describe how DB2's Index compressionpackage cache to help you quickly identify Loop, Merge Scan and Hash Joins option can reduce disk storageissues that might be causing problems Plan the implementation of Refresh requirements for indexesConfigure the DB2 Database configuration Immediate or Refresh Deferred Explain how DB2 can compress temporaryoptions that control the collection of request, Materialized Query Tables to improve data to improve application performanceactivity and object level metrics on the entire query performance Utilize the DB2 provided tools anddatabase Utilize the Design Advisor to analyze SQL functions to estimate compression resultsCompare the enhanced table functions with statements and recommend new MQTs for Indexes and data the snapshot monitoring facilities provided Describe the features of range-partitioned Explain the management of databaseby previous DB2 releases tables to support large DB2 tables using shared memory based on setting theDescribe processing for writing database multiple table spaces, including the roll-in configuration optionpages from buffer pools and roll-out of data ranges DATABASE_MEMORY to AUTOMATIC,Monitor database read and write activity Explain the difference between COMPUTED or a specific number ofusing GET SNAPSHOT commands or partitioned and non-partitioned indexes pagesAdministrative Routines and Views for a range-partitioned table Select the mode for managing data sortMonitor database logging activity and select Implement partitioned indexes to improve memory using SHEAPTHRES,appropriate values for SOFTMAX and performance when you roll data out or roll SORTHEAP, and SHEAPTHRES_SHRMINCOMMIT data into a range-partitioned table Monitor DB2 memory usage using theDescribe how scan sharing can reduce the Use the DB2 Explain tools to determine if db2mtrk commands and SQL statementsI/O workload for accessing large tables partition elimination is being used to Utilize the db2pd command for monitoringExplain the alternate page cleaning improve access performance to large current database memory usage processing associated with the range-partitioned tables Explain the differences in STMMDB2_USE_ALTERNATE_PAGE_CLEANIN Select appropriate RUNSTATS options to processing based on the setting ofG DB2 Registry variable collect Distribution Statistics or Column DATABASE_MEMORYDescribe the calculation of prefetch size Group Statistics to improve cardinality Plan and configure a database for selfwhen PREFETCHSIZE is set to estimates during SQL compilation tuning memoryAUTOMATIC Use the table and indexes statistics to Activate or deactivate STMM for selectedList the advantages of selecting DMS or plan for table and index reorganization memory heapsSMS table space management as well as using the REORG utility Describe the management of sortheapusing Automatic Storage-managed table Set the policies and options for memory based on the configuration ofspaces automation of catalog statistics collection sheapthres and sheapthres_shr

Page 50: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Set file system caching options for table Monitor the activity associated with Explain how DB2 can automaticallyspaces to optimize table space performance implementing real-time statistics increase or decrease database memory forDescribe the various row insertion collection multiple DB2 databases running on thealgorithms for tables that are based on using Use the db2batch utility to run SQL same server the APPEND option or defining a clustering workloads and collect performance Describe the performance advantages ofindex statistics that can be used to benchmark using stored proceduresPlan and implement Row Compression to database and application changes Design applications to maximize recordreduce disk and memory requirements and Implement simple Workload blocking, minimize sort operations andimprove application performance Management definitions to utilize the minimize lock contentionDescribe how DB2's Index compression Workload Manager-based event Monitor application performance and lockoption can reduce disk storage requirements monitoring including activities, statistics waits using GET SNAPSHOT commandsfor indexes and threshold violations and SQL queriesExplain how DB2 can compress temporary Evaluate Event Monitor data using the Set the DB2 registry variablesdata to improve application performance Event Analyzer tool, the db2evmon DB2_EVALUNCOMMITTED,Utilize the DB2 provided tools and functions text-based tool the db2evmonfmt DB2_SKIPINSERTED andto estimate compression results for Indexes application or using SQL queries DB2_SKIPDELETED to reduce lockand data Define a LOCKING Event Monitor to contention based on applicationExplain the management of database capture deadlocks, lock timeout or lock requirementsshared memory based on setting the waits Utilize the currently committed form ofconfiguration option DATABASE_MEMORY Configure a DB2 database to control locking to reduce lock contention betweento AUTOMATIC, COMPUTED or a specific information captured for deadlocks, lock read-only and update applications number of pages timeouts or extended lock waits Describe the advantages of usingSelect the mode for managing data sort Implement Event Monitors for units of db2exfmtmemory using SHEAPTHRES, SORTHEAP, work or lock-related events that store Create special tables used by Visualand SHEAPTHRES_SHR information in unformatted Event Monitor Explain and db2exfmtMonitor DB2 memory usage using the tables Identify how to set the Explain snapshotdb2mtrk commands and SQL statements Capture SQL section information using and Explain mode registers to capture theUtilize the db2pd command for monitoring an ACTIVITIES Event Monitor and use information of interestcurrent database memory usage the data to generate Explain reports Differentiate between the differentExplain the differences in STMM processing methods of viewing Explain information based on the setting of The DB2 Optimizer Choose the appropriate optimization classDATABASE_MEMORY line Describe the catalog statistics andPlan and configure a database for self Describe the stages of the SQL compiler database configuration options impact ontuning memory access plan selectionActivate or deactivate STMM for selected Implement a statistical view to providememory heaps line better cardinality estimates for complexDescribe the management of sortheap List the tools for monitoring database and queriesmemory based on the configuration of application activity Enable the statement concentrator usingsheapthres and sheapthres_shr Use GET SNAPSHOT commands to the STMT_CONC database managerExplain how DB2 can automatically increase produce reports for analysis of database configuration parameter to reduce SQLor decrease database memory for multiple performance compilation overhead for dynamic SQLDB2 databases running on the same server Utilize the administrative routines and statementsDescribe the performance advantages of views provided by to DB2 to simplify Utilize the db2look utility to extract catalogusing stored procedures application access to database statistics from existing tables to mimic anDesign applications to maximize record performance statistics existing database environmentblocking, minimize sort operations and Use the db2pd to perform performance Create an optimizer profile minimize lock contention analysis or problem determination for a Describe the Block Indexing capability forMonitor application performance and lock DB2 database MDC tableswaits using GET SNAPSHOT commands Utilize the enhanced table functions with Monitor index usage using theand SQL queries SQL in reporting and monitoring of the MON_GET_INDEX function and db2pdSet the DB2 registry variables database system, data objects, and the commandsDB2_EVALUNCOMMITTED, package cache to help you quickly Explain how multiple indexes can beDB2_SKIPINSERTED and identify issues that might be causing combined using Index ORing and DynamicDB2_SKIPDELETED to reduce lock problems Bitmap Index ANDingcontention based on application Configure the DB2 Database Use the Design Advisor to predictrequirements configuration options that control the performance gains from adding newUtilize the currently committed form of collection of request, activity and object indexes locking to reduce lock contention between level metrics on the entire database Describe the differences between Nestedread-only and update applications Compare the enhanced table functions Loop, Merge Scan and Hash JoinsDescribe the advantages of using db2exfmt with the snapshot monitoring facilities Plan the implementation of RefreshCreate special tables used by Visual Explain provided by previous DB2 releases Immediate or Refresh Deferredand db2exfmt Describe processing for writing database Materialized Query Tables to improveIdentify how to set the Explain snapshot and pages from buffer pools query performanceExplain mode registers to capture the Monitor database read and write activity Utilize the Design Advisor to analyze SQLinformation of interest using GET SNAPSHOT commands or statements and recommend new MQTsDifferentiate between the different methods Administrative Routines and Views Describe the features of range-partitioned

Page 51: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

of viewing Explain information Monitor database logging activity and tables to support large DB2 tables usingChoose the appropriate optimization class select appropriate values for SOFTMAX multiple table spaces, including the roll-inDescribe the catalog statistics and database and MINCOMMIT and roll-out of data rangesconfiguration options impact on access plan Describe how scan sharing can reduce Explain the difference between partitionedselection the I/O workload for accessing large and non-partitioned indexes for aImplement a statistical view to provide better tables range-partitioned tablecardinality estimates for complex queries Explain the alternate page cleaning Implement partitioned indexes to improveEnable the statement concentrator using the processing associated with the performance when you roll data out or rollSTMT_CONC database manager DB2_USE_ALTERNATE_PAGE_CLEAN data into a range-partitioned tableconfiguration parameter to reduce SQL ING DB2 Registry variable Use the DB2 Explain tools to determine ifcompilation overhead for dynamic SQL Describe the calculation of prefetch size partition elimination is being used tostatements when PREFETCHSIZE is set to improve access performance to largeUtilize the db2look utility to extract catalog AUTOMATIC range-partitioned tables statistics from existing tables to mimic an List the advantages of selecting DMS or Select appropriate RUNSTATS options toexisting database environment SMS table space management as well as collect Distribution Statistics or ColumnCreate an optimizer profile using Automatic Storage-managed table Group Statistics to improve cardinalityDescribe the Block Indexing capability for spaces estimates during SQL compilationMDC tables Set file system caching options for table Use the table and indexes statistics to planMonitor index usage using the spaces to optimize table space for table and index reorganization usingMON_GET_INDEX function and db2pd performance the REORG utilitycommands Describe the various row insertion Set the policies and options for automationExplain how multiple indexes can be algorithms for tables that are based on of catalog statistics collectioncombined using Index ORing and Dynamic using the APPEND option or defining a Monitor the activity associated withBitmap Index ANDing clustering index implementing real-time statistics collectionUse the Design Advisor to predict Plan and implement Row Compression to Use the db2batch utility to run SQLperformance gains from adding new indexes reduce disk and memory requirements workloads and collect performanceDescribe the differences between Nested and improve application performance statistics that can be used to benchmarkLoop, Merge Scan and Hash Joins Describe how DB2's Index compression database and application changes Plan the implementation of Refresh option can reduce disk storage Implement simple Workload ManagementImmediate or Refresh Deferred Materialized requirements for indexes definitions to utilize the WorkloadQuery Tables to improve query performance Explain how DB2 can compress Manager-based event monitoring includingUtilize the Design Advisor to analyze SQL temporary data to improve application activities, statistics and threshold violationsstatements and recommend new MQTs performance Evaluate Event Monitor data using theDescribe the features of range-partitioned Utilize the DB2 provided tools and Event Analyzer tool, the db2evmontables to support large DB2 tables using functions to estimate compression results text-based tool the db2evmonfmtmultiple table spaces, including the roll-in for Indexes and data application or using SQL queriesand roll-out of data ranges Explain the management of database Define a LOCKING Event Monitor toExplain the difference between partitioned shared memory based on setting the capture deadlocks, lock timeout or lockand non-partitioned indexes for a configuration option waitsrange-partitioned table DATABASE_MEMORY to AUTOMATIC, Configure a DB2 database to controlImplement partitioned indexes to improve COMPUTED or a specific number of information captured for deadlocks, lockperformance when you roll data out or roll pages timeouts or extended lock waitsdata into a range-partitioned table Select the mode for managing data sort Implement Event Monitors for units of workUse the DB2 Explain tools to determine if memory using SHEAPTHRES, or lock-related events that storepartition elimination is being used to improve SORTHEAP, and SHEAPTHRES_SHR information in unformatted Event Monitoraccess performance to large Monitor DB2 memory usage using the tablesrange-partitioned tables db2mtrk commands and SQL statements Capture SQL section information using anSelect appropriate RUNSTATS options to Utilize the db2pd command for ACTIVITIES Event Monitor and use thecollect Distribution Statistics or Column monitoring current database memory data to generate Explain reports Group Statistics to improve cardinality usage estimates during SQL compilation Explain the differences in STMMUse the table and indexes statistics to plan processing based on the setting of linefor table and index reorganization using the DATABASE_MEMORY List the tools for monitoring database andREORG utility Plan and configure a database for self application activitySet the policies and options for automation tuning memory Use GET SNAPSHOT commands toof catalog statistics collection Activate or deactivate STMM for selected produce reports for analysis of databaseMonitor the activity associated with memory heaps performanceimplementing real-time statistics collection Describe the management of sortheap Utilize the administrative routines andUse the db2batch utility to run SQL memory based on the configuration of views provided by to DB2 to simplifyworkloads and collect performance statistics sheapthres and sheapthres_shr application access to databasethat can be used to benchmark database Explain how DB2 can automatically performance statisticsand application changes increase or decrease database memory Use the db2pd to perform performanceImplement simple Workload Management for multiple DB2 databases running on analysis or problem determination for adefinitions to utilize the Workload the same server DB2 databaseManager-based event monitoring including Describe the performance advantages of Utilize the enhanced table functions withactivities, statistics and threshold violations using stored procedures SQL in reporting and monitoring of the

Page 52: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Evaluate Event Monitor data using the Event Design applications to maximize record database system, data objects, and theAnalyzer tool, the db2evmon text-based tool blocking, minimize sort operations and package cache to help you quickly identifythe db2evmonfmt application or using SQL minimize lock contention issues that might be causing problemsqueries Monitor application performance and lock Configure the DB2 Database configurationDefine a LOCKING Event Monitor to capture waits using GET SNAPSHOT commands options that control the collection ofdeadlocks, lock timeout or lock waits and SQL queries request, activity and object level metrics onConfigure a DB2 database to control Set the DB2 registry variables the entire databaseinformation captured for deadlocks, lock DB2_EVALUNCOMMITTED, Compare the enhanced table functionstimeouts or extended lock waits DB2_SKIPINSERTED and with the snapshot monitoring facilitiesImplement Event Monitors for units of work DB2_SKIPDELETED to reduce lock provided by previous DB2 releases or lock-related events that store information contention based on application Describe processing for writing databasein unformatted Event Monitor tables requirements pages from buffer poolsCapture SQL section information using an Utilize the currently committed form of Monitor database read and write activityACTIVITIES Event Monitor and use the data locking to reduce lock contention using GET SNAPSHOT commands orto generate Explain reports between read-only and update Administrative Routines and Views

applications Monitor database logging activity andDescribe the advantages of using select appropriate values for SOFTMAX

line db2exfmt and MINCOMMITList the tools for monitoring database and Create special tables used by Visual Describe how scan sharing can reduce theapplication activity Explain and db2exfmt I/O workload for accessing large tablesUse GET SNAPSHOT commands to Identify how to set the Explain snapshot Explain the alternate page cleaningproduce reports for analysis of database and Explain mode registers to capture processing associated with theperformance the information of interest DB2_USE_ALTERNATE_PAGE_CLEANIUtilize the administrative routines and views Differentiate between the different NG DB2 Registry variable provided by to DB2 to simplify application methods of viewing Explain information Describe the calculation of prefetch sizeaccess to database performance statistics Choose the appropriate optimization when PREFETCHSIZE is set toUse the db2pd to perform performance class AUTOMATICanalysis or problem determination for a DB2 Describe the catalog statistics and List the advantages of selecting DMS ordatabase database configuration options impact on SMS table space management as well asUtilize the enhanced table functions with access plan selection using Automatic Storage-managed tableSQL in reporting and monitoring of the Implement a statistical view to provide spacesdatabase system, data objects, and the better cardinality estimates for complex Set file system caching options for tablepackage cache to help you quickly identify queries spaces to optimize table spaceissues that might be causing problems Enable the statement concentrator using performanceConfigure the DB2 Database configuration the STMT_CONC database manager Describe the various row insertionoptions that control the collection of request, configuration parameter to reduce SQL algorithms for tables that are based onactivity and object level metrics on the entire compilation overhead for dynamic SQL using the APPEND option or defining adatabase statements clustering indexCompare the enhanced table functions with Utilize the db2look utility to extract Plan and implement Row Compression tothe snapshot monitoring facilities provided catalog statistics from existing tables to reduce disk and memory requirements andby previous DB2 releases mimic an existing database environment improve application performanceDescribe processing for writing database Create an optimizer profile Describe how DB2's Index compressionpages from buffer pools Describe the Block Indexing capability for option can reduce disk storageMonitor database read and write activity MDC tables requirements for indexesusing GET SNAPSHOT commands or Monitor index usage using the Explain how DB2 can compress temporaryAdministrative Routines and Views MON_GET_INDEX function and db2pd data to improve application performanceMonitor database logging activity and select commands Utilize the DB2 provided tools andappropriate values for SOFTMAX and Explain how multiple indexes can be functions to estimate compression resultsMINCOMMIT combined using Index ORing and for Indexes and data Describe how scan sharing can reduce the Dynamic Bitmap Index ANDing Explain the management of databaseI/O workload for accessing large tables Use the Design Advisor to predict shared memory based on setting theExplain the alternate page cleaning performance gains from adding new configuration optionprocessing associated with the indexes DATABASE_MEMORY to AUTOMATIC,DB2_USE_ALTERNATE_PAGE_CLEANIN Describe the differences between Nested COMPUTED or a specific number ofG DB2 Registry variable Loop, Merge Scan and Hash Joins pagesDescribe the calculation of prefetch size Plan the implementation of Refresh Select the mode for managing data sortwhen PREFETCHSIZE is set to Immediate or Refresh Deferred memory using SHEAPTHRES,AUTOMATIC Materialized Query Tables to improve SORTHEAP, and SHEAPTHRES_SHRList the advantages of selecting DMS or query performance Monitor DB2 memory usage using theSMS table space management as well as Utilize the Design Advisor to analyze SQL db2mtrk commands and SQL statementsusing Automatic Storage-managed table statements and recommend new MQTs Utilize the db2pd command for monitoringspaces Describe the features of range-partitioned current database memory usage Set file system caching options for table tables to support large DB2 tables using Explain the differences in STMMspaces to optimize table space performance multiple table spaces, including the roll-in processing based on the setting ofDescribe the various row insertion and roll-out of data ranges DATABASE_MEMORYalgorithms for tables that are based on using Explain the difference between Plan and configure a database for self

Page 53: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

the APPEND option or defining a clustering partitioned and non-partitioned indexes tuning memoryindex for a range-partitioned table Activate or deactivate STMM for selectedPlan and implement Row Compression to Implement partitioned indexes to improve memory heapsreduce disk and memory requirements and performance when you roll data out or roll Describe the management of sortheapimprove application performance data into a range-partitioned table memory based on the configuration ofDescribe how DB2's Index compression Use the DB2 Explain tools to determine if sheapthres and sheapthres_shroption can reduce disk storage requirements partition elimination is being used to Explain how DB2 can automaticallyfor indexes improve access performance to large increase or decrease database memory forExplain how DB2 can compress temporary range-partitioned tables multiple DB2 databases running on thedata to improve application performance Select appropriate RUNSTATS options to same server Utilize the DB2 provided tools and functions collect Distribution Statistics or Column Describe the performance advantages ofto estimate compression results for Indexes Group Statistics to improve cardinality using stored proceduresand data estimates during SQL compilation Design applications to maximize recordExplain the management of database Use the table and indexes statistics to blocking, minimize sort operations andshared memory based on setting the plan for table and index reorganization minimize lock contentionconfiguration option DATABASE_MEMORY using the REORG utility Monitor application performance and lockto AUTOMATIC, COMPUTED or a specific Set the policies and options for waits using GET SNAPSHOT commandsnumber of pages automation of catalog statistics collection and SQL queriesSelect the mode for managing data sort Monitor the activity associated with Set the DB2 registry variablesmemory using SHEAPTHRES, SORTHEAP, implementing real-time statistics DB2_EVALUNCOMMITTED,and SHEAPTHRES_SHR collection DB2_SKIPINSERTED andMonitor DB2 memory usage using the Use the db2batch utility to run SQL DB2_SKIPDELETED to reduce lockdb2mtrk commands and SQL statements workloads and collect performance contention based on applicationUtilize the db2pd command for monitoring statistics that can be used to benchmark requirementscurrent database memory usage database and application changes Utilize the currently committed form ofExplain the differences in STMM processing Implement simple Workload locking to reduce lock contention betweenbased on the setting of Management definitions to utilize the read-only and update applications DATABASE_MEMORY Workload Manager-based event Describe the advantages of usingPlan and configure a database for self monitoring including activities, statistics db2exfmttuning memory and threshold violations Create special tables used by VisualActivate or deactivate STMM for selected Evaluate Event Monitor data using the Explain and db2exfmtmemory heaps Event Analyzer tool, the db2evmon Identify how to set the Explain snapshotDescribe the management of sortheap text-based tool the db2evmonfmt and Explain mode registers to capture thememory based on the configuration of application or using SQL queries information of interestsheapthres and sheapthres_shr Define a LOCKING Event Monitor to Differentiate between the differentExplain how DB2 can automatically increase capture deadlocks, lock timeout or lock methods of viewing Explain information or decrease database memory for multiple waits Choose the appropriate optimization classDB2 databases running on the same server Configure a DB2 database to control Describe the catalog statistics andDescribe the performance advantages of information captured for deadlocks, lock database configuration options impact onusing stored procedures timeouts or extended lock waits access plan selectionDesign applications to maximize record Implement Event Monitors for units of Implement a statistical view to provideblocking, minimize sort operations and work or lock-related events that store better cardinality estimates for complexminimize lock contention information in unformatted Event Monitor queriesMonitor application performance and lock tables Enable the statement concentrator usingwaits using GET SNAPSHOT commands Capture SQL section information using the STMT_CONC database managerand SQL queries an ACTIVITIES Event Monitor and use configuration parameter to reduce SQLSet the DB2 registry variables the data to generate Explain reports compilation overhead for dynamic SQLDB2_EVALUNCOMMITTED, statementsDB2_SKIPINSERTED and Utilize the db2look utility to extract catalogDB2_SKIPDELETED to reduce lock line statistics from existing tables to mimic ancontention based on application List the tools for monitoring database and existing database environmentrequirements application activity Create an optimizer profile Utilize the currently committed form of Use GET SNAPSHOT commands to Describe the Block Indexing capability forlocking to reduce lock contention between produce reports for analysis of database MDC tablesread-only and update applications performance Monitor index usage using theDescribe the advantages of using db2exfmt Utilize the administrative routines and MON_GET_INDEX function and db2pdCreate special tables used by Visual Explain views provided by to DB2 to simplify commandsand db2exfmt application access to database Explain how multiple indexes can beIdentify how to set the Explain snapshot and performance statistics combined using Index ORing and DynamicExplain mode registers to capture the Use the db2pd to perform performance Bitmap Index ANDinginformation of interest analysis or problem determination for a Use the Design Advisor to predictDifferentiate between the different methods DB2 database performance gains from adding newof viewing Explain information Utilize the enhanced table functions with indexes Choose the appropriate optimization class SQL in reporting and monitoring of the Describe the differences between NestedDescribe the catalog statistics and database database system, data objects, and the Loop, Merge Scan and Hash Joinsconfiguration options impact on access plan package cache to help you quickly Plan the implementation of Refresh

Page 54: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

selection identify issues that might be causing Immediate or Refresh DeferredImplement a statistical view to provide better problems Materialized Query Tables to improvecardinality estimates for complex queries Configure the DB2 Database query performanceEnable the statement concentrator using the configuration options that control the Utilize the Design Advisor to analyze SQLSTMT_CONC database manager collection of request, activity and object statements and recommend new MQTsconfiguration parameter to reduce SQL level metrics on the entire database Describe the features of range-partitionedcompilation overhead for dynamic SQL Compare the enhanced table functions tables to support large DB2 tables usingstatements with the snapshot monitoring facilities multiple table spaces, including the roll-inUtilize the db2look utility to extract catalog provided by previous DB2 releases and roll-out of data rangesstatistics from existing tables to mimic an Describe processing for writing database Explain the difference between partitionedexisting database environment pages from buffer pools and non-partitioned indexes for aCreate an optimizer profile Monitor database read and write activity range-partitioned tableDescribe the Block Indexing capability for using GET SNAPSHOT commands or Implement partitioned indexes to improveMDC tables Administrative Routines and Views performance when you roll data out or rollMonitor index usage using the Monitor database logging activity and data into a range-partitioned tableMON_GET_INDEX function and db2pd select appropriate values for SOFTMAX Use the DB2 Explain tools to determine ifcommands and MINCOMMIT partition elimination is being used toExplain how multiple indexes can be Describe how scan sharing can reduce improve access performance to largecombined using Index ORing and Dynamic the I/O workload for accessing large range-partitioned tables Bitmap Index ANDing tables Select appropriate RUNSTATS options toUse the Design Advisor to predict Explain the alternate page cleaning collect Distribution Statistics or Columnperformance gains from adding new indexes processing associated with the Group Statistics to improve cardinalityDescribe the differences between Nested DB2_USE_ALTERNATE_PAGE_CLEAN estimates during SQL compilationLoop, Merge Scan and Hash Joins ING DB2 Registry variable Use the table and indexes statistics to planPlan the implementation of Refresh Describe the calculation of prefetch size for table and index reorganization usingImmediate or Refresh Deferred Materialized when PREFETCHSIZE is set to the REORG utilityQuery Tables to improve query performance AUTOMATIC Set the policies and options for automationUtilize the Design Advisor to analyze SQL List the advantages of selecting DMS or of catalog statistics collectionstatements and recommend new MQTs SMS table space management as well as Monitor the activity associated withDescribe the features of range-partitioned using Automatic Storage-managed table implementing real-time statistics collectiontables to support large DB2 tables using spaces Use the db2batch utility to run SQLmultiple table spaces, including the roll-in Set file system caching options for table workloads and collect performanceand roll-out of data ranges spaces to optimize table space statistics that can be used to benchmarkExplain the difference between partitioned performance database and application changes and non-partitioned indexes for a Describe the various row insertion Implement simple Workload Managementrange-partitioned table algorithms for tables that are based on definitions to utilize the WorkloadImplement partitioned indexes to improve using the APPEND option or defining a Manager-based event monitoring includingperformance when you roll data out or roll clustering index activities, statistics and threshold violationsdata into a range-partitioned table Plan and implement Row Compression to Evaluate Event Monitor data using theUse the DB2 Explain tools to determine if reduce disk and memory requirements Event Analyzer tool, the db2evmonpartition elimination is being used to improve and improve application performance text-based tool the db2evmonfmtaccess performance to large Describe how DB2's Index compression application or using SQL queriesrange-partitioned tables option can reduce disk storage Define a LOCKING Event Monitor toSelect appropriate RUNSTATS options to requirements for indexes capture deadlocks, lock timeout or lockcollect Distribution Statistics or Column Explain how DB2 can compress waitsGroup Statistics to improve cardinality temporary data to improve application Configure a DB2 database to controlestimates during SQL compilation performance information captured for deadlocks, lockUse the table and indexes statistics to plan Utilize the DB2 provided tools and timeouts or extended lock waitsfor table and index reorganization using the functions to estimate compression results Implement Event Monitors for units of workREORG utility for Indexes and data or lock-related events that storeSet the policies and options for automation Explain the management of database information in unformatted Event Monitorof catalog statistics collection shared memory based on setting the tablesMonitor the activity associated with configuration option Capture SQL section information using animplementing real-time statistics collection DATABASE_MEMORY to AUTOMATIC, ACTIVITIES Event Monitor and use theUse the db2batch utility to run SQL COMPUTED or a specific number of data to generate Explain reports workloads and collect performance statistics pagesthat can be used to benchmark database Select the mode for managing data sortand application changes memory using SHEAPTHRES, lineImplement simple Workload Management SORTHEAP, and SHEAPTHRES_SHR List the tools for monitoring database anddefinitions to utilize the Workload Monitor DB2 memory usage using the application activityManager-based event monitoring including db2mtrk commands and SQL statements Use GET SNAPSHOT commands toactivities, statistics and threshold violations Utilize the db2pd command for produce reports for analysis of databaseEvaluate Event Monitor data using the Event monitoring current database memory performanceAnalyzer tool, the db2evmon text-based tool usage Utilize the administrative routines andthe db2evmonfmt application or using SQL Explain the differences in STMM views provided by to DB2 to simplifyqueries processing based on the setting of application access to database

Page 55: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Define a LOCKING Event Monitor to capture DATABASE_MEMORY performance statisticsdeadlocks, lock timeout or lock waits Plan and configure a database for self Use the db2pd to perform performanceConfigure a DB2 database to control tuning memory analysis or problem determination for ainformation captured for deadlocks, lock Activate or deactivate STMM for selected DB2 databasetimeouts or extended lock waits memory heaps Utilize the enhanced table functions withImplement Event Monitors for units of work Describe the management of sortheap SQL in reporting and monitoring of theor lock-related events that store information memory based on the configuration of database system, data objects, and thein unformatted Event Monitor tables sheapthres and sheapthres_shr package cache to help you quickly identifyCapture SQL section information using an Explain how DB2 can automatically issues that might be causing problemsACTIVITIES Event Monitor and use the data increase or decrease database memory Configure the DB2 Database configurationto generate Explain reports for multiple DB2 databases running on options that control the collection of

the same server request, activity and object level metrics onDescribe the performance advantages of the entire database

line using stored procedures Compare the enhanced table functionsList the tools for monitoring database and Design applications to maximize record with the snapshot monitoring facilitiesapplication activity blocking, minimize sort operations and provided by previous DB2 releases Use GET SNAPSHOT commands to minimize lock contention Describe processing for writing databaseproduce reports for analysis of database Monitor application performance and lock pages from buffer poolsperformance waits using GET SNAPSHOT commands Monitor database read and write activityUtilize the administrative routines and views and SQL queries using GET SNAPSHOT commands orprovided by to DB2 to simplify application Set the DB2 registry variables Administrative Routines and Viewsaccess to database performance statistics DB2_EVALUNCOMMITTED, Monitor database logging activity andUse the db2pd to perform performance DB2_SKIPINSERTED and select appropriate values for SOFTMAXanalysis or problem determination for a DB2 DB2_SKIPDELETED to reduce lock and MINCOMMITdatabase contention based on application Describe how scan sharing can reduce theUtilize the enhanced table functions with requirements I/O workload for accessing large tablesSQL in reporting and monitoring of the Utilize the currently committed form of Explain the alternate page cleaningdatabase system, data objects, and the locking to reduce lock contention processing associated with thepackage cache to help you quickly identify between read-only and update DB2_USE_ALTERNATE_PAGE_CLEANIissues that might be causing problems applications NG DB2 Registry variable Configure the DB2 Database configuration Describe the advantages of using Describe the calculation of prefetch sizeoptions that control the collection of request, db2exfmt when PREFETCHSIZE is set toactivity and object level metrics on the entire Create special tables used by Visual AUTOMATICdatabase Explain and db2exfmt List the advantages of selecting DMS orCompare the enhanced table functions with Identify how to set the Explain snapshot SMS table space management as well asthe snapshot monitoring facilities provided and Explain mode registers to capture using Automatic Storage-managed tableby previous DB2 releases the information of interest spacesDescribe processing for writing database Differentiate between the different Set file system caching options for tablepages from buffer pools methods of viewing Explain information spaces to optimize table spaceMonitor database read and write activity Choose the appropriate optimization performanceusing GET SNAPSHOT commands or class Describe the various row insertionAdministrative Routines and Views Describe the catalog statistics and algorithms for tables that are based onMonitor database logging activity and select database configuration options impact on using the APPEND option or defining aappropriate values for SOFTMAX and access plan selection clustering indexMINCOMMIT Implement a statistical view to provide Plan and implement Row Compression toDescribe how scan sharing can reduce the better cardinality estimates for complex reduce disk and memory requirements andI/O workload for accessing large tables queries improve application performanceExplain the alternate page cleaning Enable the statement concentrator using Describe how DB2's Index compressionprocessing associated with the the STMT_CONC database manager option can reduce disk storageDB2_USE_ALTERNATE_PAGE_CLEANIN configuration parameter to reduce SQL requirements for indexesG DB2 Registry variable compilation overhead for dynamic SQL Explain how DB2 can compress temporaryDescribe the calculation of prefetch size statements data to improve application performancewhen PREFETCHSIZE is set to Utilize the db2look utility to extract Utilize the DB2 provided tools andAUTOMATIC catalog statistics from existing tables to functions to estimate compression resultsList the advantages of selecting DMS or mimic an existing database environment for Indexes and data SMS table space management as well as Create an optimizer profile Explain the management of databaseusing Automatic Storage-managed table Describe the Block Indexing capability for shared memory based on setting thespaces MDC tables configuration optionSet file system caching options for table Monitor index usage using the DATABASE_MEMORY to AUTOMATIC,spaces to optimize table space performance MON_GET_INDEX function and db2pd COMPUTED or a specific number ofDescribe the various row insertion commands pagesalgorithms for tables that are based on using Explain how multiple indexes can be Select the mode for managing data sortthe APPEND option or defining a clustering combined using Index ORing and memory using SHEAPTHRES,index Dynamic Bitmap Index ANDing SORTHEAP, and SHEAPTHRES_SHRPlan and implement Row Compression to Use the Design Advisor to predict Monitor DB2 memory usage using thereduce disk and memory requirements and performance gains from adding new db2mtrk commands and SQL statements

Page 56: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

improve application performance indexes Utilize the db2pd command for monitoringDescribe how DB2's Index compression Describe the differences between Nested current database memory usage option can reduce disk storage requirements Loop, Merge Scan and Hash Joins Explain the differences in STMMfor indexes Plan the implementation of Refresh processing based on the setting ofExplain how DB2 can compress temporary Immediate or Refresh Deferred DATABASE_MEMORYdata to improve application performance Materialized Query Tables to improve Plan and configure a database for selfUtilize the DB2 provided tools and functions query performance tuning memoryto estimate compression results for Indexes Utilize the Design Advisor to analyze SQL Activate or deactivate STMM for selectedand data statements and recommend new MQTs memory heapsExplain the management of database Describe the features of range-partitioned Describe the management of sortheapshared memory based on setting the tables to support large DB2 tables using memory based on the configuration ofconfiguration option DATABASE_MEMORY multiple table spaces, including the roll-in sheapthres and sheapthres_shrto AUTOMATIC, COMPUTED or a specific and roll-out of data ranges Explain how DB2 can automaticallynumber of pages Explain the difference between increase or decrease database memory forSelect the mode for managing data sort partitioned and non-partitioned indexes multiple DB2 databases running on thememory using SHEAPTHRES, SORTHEAP, for a range-partitioned table same server and SHEAPTHRES_SHR Implement partitioned indexes to improve Describe the performance advantages ofMonitor DB2 memory usage using the performance when you roll data out or roll using stored proceduresdb2mtrk commands and SQL statements data into a range-partitioned table Design applications to maximize recordUtilize the db2pd command for monitoring Use the DB2 Explain tools to determine if blocking, minimize sort operations andcurrent database memory usage partition elimination is being used to minimize lock contentionExplain the differences in STMM processing improve access performance to large Monitor application performance and lockbased on the setting of range-partitioned tables waits using GET SNAPSHOT commandsDATABASE_MEMORY Select appropriate RUNSTATS options to and SQL queriesPlan and configure a database for self collect Distribution Statistics or Column Set the DB2 registry variablestuning memory Group Statistics to improve cardinality DB2_EVALUNCOMMITTED,Activate or deactivate STMM for selected estimates during SQL compilation DB2_SKIPINSERTED andmemory heaps Use the table and indexes statistics to DB2_SKIPDELETED to reduce lockDescribe the management of sortheap plan for table and index reorganization contention based on applicationmemory based on the configuration of using the REORG utility requirementssheapthres and sheapthres_shr Set the policies and options for Utilize the currently committed form ofExplain how DB2 can automatically increase automation of catalog statistics collection locking to reduce lock contention betweenor decrease database memory for multiple Monitor the activity associated with read-only and update applications DB2 databases running on the same server implementing real-time statistics Describe the advantages of usingDescribe the performance advantages of collection db2exfmtusing stored procedures Use the db2batch utility to run SQL Create special tables used by VisualDesign applications to maximize record workloads and collect performance Explain and db2exfmtblocking, minimize sort operations and statistics that can be used to benchmark Identify how to set the Explain snapshotminimize lock contention database and application changes and Explain mode registers to capture theMonitor application performance and lock Implement simple Workload information of interestwaits using GET SNAPSHOT commands Management definitions to utilize the Differentiate between the differentand SQL queries Workload Manager-based event methods of viewing Explain information Set the DB2 registry variables monitoring including activities, statistics Choose the appropriate optimization classDB2_EVALUNCOMMITTED, and threshold violations Describe the catalog statistics andDB2_SKIPINSERTED and Evaluate Event Monitor data using the database configuration options impact onDB2_SKIPDELETED to reduce lock Event Analyzer tool, the db2evmon access plan selectioncontention based on application text-based tool the db2evmonfmt Implement a statistical view to providerequirements application or using SQL queries better cardinality estimates for complexUtilize the currently committed form of Define a LOCKING Event Monitor to querieslocking to reduce lock contention between capture deadlocks, lock timeout or lock Enable the statement concentrator usingread-only and update applications waits the STMT_CONC database managerDescribe the advantages of using db2exfmt Configure a DB2 database to control configuration parameter to reduce SQLCreate special tables used by Visual Explain information captured for deadlocks, lock compilation overhead for dynamic SQLand db2exfmt timeouts or extended lock waits statementsIdentify how to set the Explain snapshot and Implement Event Monitors for units of Utilize the db2look utility to extract catalogExplain mode registers to capture the work or lock-related events that store statistics from existing tables to mimic aninformation of interest information in unformatted Event Monitor existing database environmentDifferentiate between the different methods tables Create an optimizer profile of viewing Explain information Capture SQL section information using Describe the Block Indexing capability forChoose the appropriate optimization class an ACTIVITIES Event Monitor and use MDC tablesDescribe the catalog statistics and database the data to generate Explain reports Monitor index usage using theconfiguration options impact on access plan MON_GET_INDEX function and db2pdselection commandsImplement a statistical view to provide better line Explain how multiple indexes can becardinality estimates for complex queries List the tools for monitoring database and combined using Index ORing and DynamicEnable the statement concentrator using the application activity Bitmap Index ANDing

Page 57: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

STMT_CONC database manager Use GET SNAPSHOT commands to Use the Design Advisor to predictconfiguration parameter to reduce SQL produce reports for analysis of database performance gains from adding newcompilation overhead for dynamic SQL performance indexes statements Utilize the administrative routines and Describe the differences between NestedUtilize the db2look utility to extract catalog views provided by to DB2 to simplify Loop, Merge Scan and Hash Joinsstatistics from existing tables to mimic an application access to database Plan the implementation of Refreshexisting database environment performance statistics Immediate or Refresh DeferredCreate an optimizer profile Use the db2pd to perform performance Materialized Query Tables to improveDescribe the Block Indexing capability for analysis or problem determination for a query performanceMDC tables DB2 database Utilize the Design Advisor to analyze SQLMonitor index usage using the Utilize the enhanced table functions with statements and recommend new MQTsMON_GET_INDEX function and db2pd SQL in reporting and monitoring of the Describe the features of range-partitionedcommands database system, data objects, and the tables to support large DB2 tables usingExplain how multiple indexes can be package cache to help you quickly multiple table spaces, including the roll-incombined using Index ORing and Dynamic identify issues that might be causing and roll-out of data rangesBitmap Index ANDing problems Explain the difference between partitionedUse the Design Advisor to predict Configure the DB2 Database and non-partitioned indexes for aperformance gains from adding new indexes configuration options that control the range-partitioned tableDescribe the differences between Nested collection of request, activity and object Implement partitioned indexes to improveLoop, Merge Scan and Hash Joins level metrics on the entire database performance when you roll data out or rollPlan the implementation of Refresh Compare the enhanced table functions data into a range-partitioned tableImmediate or Refresh Deferred Materialized with the snapshot monitoring facilities Use the DB2 Explain tools to determine ifQuery Tables to improve query performance provided by previous DB2 releases partition elimination is being used toUtilize the Design Advisor to analyze SQL Describe processing for writing database improve access performance to largestatements and recommend new MQTs pages from buffer pools range-partitioned tables Describe the features of range-partitioned Monitor database read and write activity Select appropriate RUNSTATS options totables to support large DB2 tables using using GET SNAPSHOT commands or collect Distribution Statistics or Columnmultiple table spaces, including the roll-in Administrative Routines and Views Group Statistics to improve cardinalityand roll-out of data ranges Monitor database logging activity and estimates during SQL compilationExplain the difference between partitioned select appropriate values for SOFTMAX Use the table and indexes statistics to planand non-partitioned indexes for a and MINCOMMIT for table and index reorganization usingrange-partitioned table Describe how scan sharing can reduce the REORG utilityImplement partitioned indexes to improve the I/O workload for accessing large Set the policies and options for automationperformance when you roll data out or roll tables of catalog statistics collectiondata into a range-partitioned table Explain the alternate page cleaning Monitor the activity associated withUse the DB2 Explain tools to determine if processing associated with the implementing real-time statistics collectionpartition elimination is being used to improve DB2_USE_ALTERNATE_PAGE_CLEAN Use the db2batch utility to run SQLaccess performance to large ING DB2 Registry variable workloads and collect performancerange-partitioned tables Describe the calculation of prefetch size statistics that can be used to benchmarkSelect appropriate RUNSTATS options to when PREFETCHSIZE is set to database and application changes collect Distribution Statistics or Column AUTOMATIC Implement simple Workload ManagementGroup Statistics to improve cardinality List the advantages of selecting DMS or definitions to utilize the Workloadestimates during SQL compilation SMS table space management as well as Manager-based event monitoring includingUse the table and indexes statistics to plan using Automatic Storage-managed table activities, statistics and threshold violationsfor table and index reorganization using the spaces Evaluate Event Monitor data using theREORG utility Set file system caching options for table Event Analyzer tool, the db2evmonSet the policies and options for automation spaces to optimize table space text-based tool the db2evmonfmtof catalog statistics collection performance application or using SQL queriesMonitor the activity associated with Describe the various row insertion Define a LOCKING Event Monitor toimplementing real-time statistics collection algorithms for tables that are based on capture deadlocks, lock timeout or lockUse the db2batch utility to run SQL using the APPEND option or defining a waitsworkloads and collect performance statistics clustering index Configure a DB2 database to controlthat can be used to benchmark database Plan and implement Row Compression to information captured for deadlocks, lockand application changes reduce disk and memory requirements timeouts or extended lock waitsImplement simple Workload Management and improve application performance Implement Event Monitors for units of workdefinitions to utilize the Workload Describe how DB2's Index compression or lock-related events that storeManager-based event monitoring including option can reduce disk storage information in unformatted Event Monitoractivities, statistics and threshold violations requirements for indexes tablesEvaluate Event Monitor data using the Event Explain how DB2 can compress Capture SQL section information using anAnalyzer tool, the db2evmon text-based tool temporary data to improve application ACTIVITIES Event Monitor and use thethe db2evmonfmt application or using SQL performance data to generate Explain reports queries Utilize the DB2 provided tools andDefine a LOCKING Event Monitor to capture functions to estimate compression resultsdeadlocks, lock timeout or lock waits for Indexes and data lineConfigure a DB2 database to control Explain the management of database List the tools for monitoring database andinformation captured for deadlocks, lock shared memory based on setting the application activity

Page 58: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

timeouts or extended lock waits configuration option Use GET SNAPSHOT commands toImplement Event Monitors for units of work DATABASE_MEMORY to AUTOMATIC, produce reports for analysis of databaseor lock-related events that store information COMPUTED or a specific number of performancein unformatted Event Monitor tables pages Utilize the administrative routines andCapture SQL section information using an Select the mode for managing data sort views provided by to DB2 to simplifyACTIVITIES Event Monitor and use the data memory using SHEAPTHRES, application access to databaseto generate Explain reports SORTHEAP, and SHEAPTHRES_SHR performance statistics

Monitor DB2 memory usage using the Use the db2pd to perform performancedb2mtrk commands and SQL statements analysis or problem determination for a

line Utilize the db2pd command for DB2 databaseList the tools for monitoring database and monitoring current database memory Utilize the enhanced table functions withapplication activity usage SQL in reporting and monitoring of theUse GET SNAPSHOT commands to Explain the differences in STMM database system, data objects, and theproduce reports for analysis of database processing based on the setting of package cache to help you quickly identifyperformance DATABASE_MEMORY issues that might be causing problemsUtilize the administrative routines and views Plan and configure a database for self Configure the DB2 Database configurationprovided by to DB2 to simplify application tuning memory options that control the collection ofaccess to database performance statistics Activate or deactivate STMM for selected request, activity and object level metrics onUse the db2pd to perform performance memory heaps the entire databaseanalysis or problem determination for a DB2 Describe the management of sortheap Compare the enhanced table functionsdatabase memory based on the configuration of with the snapshot monitoring facilitiesUtilize the enhanced table functions with sheapthres and sheapthres_shr provided by previous DB2 releases SQL in reporting and monitoring of the Explain how DB2 can automatically Describe processing for writing databasedatabase system, data objects, and the increase or decrease database memory pages from buffer poolspackage cache to help you quickly identify for multiple DB2 databases running on Monitor database read and write activityissues that might be causing problems the same server using GET SNAPSHOT commands orConfigure the DB2 Database configuration Describe the performance advantages of Administrative Routines and Viewsoptions that control the collection of request, using stored procedures Monitor database logging activity andactivity and object level metrics on the entire Design applications to maximize record select appropriate values for SOFTMAXdatabase blocking, minimize sort operations and and MINCOMMITCompare the enhanced table functions with minimize lock contention Describe how scan sharing can reduce thethe snapshot monitoring facilities provided Monitor application performance and lock I/O workload for accessing large tablesby previous DB2 releases waits using GET SNAPSHOT commands Explain the alternate page cleaningDescribe processing for writing database and SQL queries processing associated with thepages from buffer pools Set the DB2 registry variables DB2_USE_ALTERNATE_PAGE_CLEANIMonitor database read and write activity DB2_EVALUNCOMMITTED, NG DB2 Registry variable using GET SNAPSHOT commands or DB2_SKIPINSERTED and Describe the calculation of prefetch sizeAdministrative Routines and Views DB2_SKIPDELETED to reduce lock when PREFETCHSIZE is set toMonitor database logging activity and select contention based on application AUTOMATICappropriate values for SOFTMAX and requirements List the advantages of selecting DMS orMINCOMMIT Utilize the currently committed form of SMS table space management as well asDescribe how scan sharing can reduce the locking to reduce lock contention using Automatic Storage-managed tableI/O workload for accessing large tables between read-only and update spacesExplain the alternate page cleaning applications Set file system caching options for tableprocessing associated with the Describe the advantages of using spaces to optimize table spaceDB2_USE_ALTERNATE_PAGE_CLEANIN db2exfmt performanceG DB2 Registry variable Create special tables used by Visual Describe the various row insertionDescribe the calculation of prefetch size Explain and db2exfmt algorithms for tables that are based onwhen PREFETCHSIZE is set to Identify how to set the Explain snapshot using the APPEND option or defining aAUTOMATIC and Explain mode registers to capture clustering indexList the advantages of selecting DMS or the information of interest Plan and implement Row Compression toSMS table space management as well as Differentiate between the different reduce disk and memory requirements andusing Automatic Storage-managed table methods of viewing Explain information improve application performancespaces Choose the appropriate optimization Describe how DB2's Index compressionSet file system caching options for table class option can reduce disk storagespaces to optimize table space performance Describe the catalog statistics and requirements for indexesDescribe the various row insertion database configuration options impact on Explain how DB2 can compress temporaryalgorithms for tables that are based on using access plan selection data to improve application performancethe APPEND option or defining a clustering Implement a statistical view to provide Utilize the DB2 provided tools andindex better cardinality estimates for complex functions to estimate compression resultsPlan and implement Row Compression to queries for Indexes and data reduce disk and memory requirements and Enable the statement concentrator using Explain the management of databaseimprove application performance the STMT_CONC database manager shared memory based on setting theDescribe how DB2's Index compression configuration parameter to reduce SQL configuration optionoption can reduce disk storage requirements compilation overhead for dynamic SQL DATABASE_MEMORY to AUTOMATIC,for indexes statements COMPUTED or a specific number of

Page 59: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Explain how DB2 can compress temporary Utilize the db2look utility to extract pagesdata to improve application performance catalog statistics from existing tables to Select the mode for managing data sortUtilize the DB2 provided tools and functions mimic an existing database environment memory using SHEAPTHRES,to estimate compression results for Indexes Create an optimizer profile SORTHEAP, and SHEAPTHRES_SHRand data Describe the Block Indexing capability for Monitor DB2 memory usage using theExplain the management of database MDC tables db2mtrk commands and SQL statementsshared memory based on setting the Monitor index usage using the Utilize the db2pd command for monitoringconfiguration option DATABASE_MEMORY MON_GET_INDEX function and db2pd current database memory usage to AUTOMATIC, COMPUTED or a specific commands Explain the differences in STMMnumber of pages Explain how multiple indexes can be processing based on the setting ofSelect the mode for managing data sort combined using Index ORing and DATABASE_MEMORYmemory using SHEAPTHRES, SORTHEAP, Dynamic Bitmap Index ANDing Plan and configure a database for selfand SHEAPTHRES_SHR Use the Design Advisor to predict tuning memoryMonitor DB2 memory usage using the performance gains from adding new Activate or deactivate STMM for selecteddb2mtrk commands and SQL statements indexes memory heapsUtilize the db2pd command for monitoring Describe the differences between Nested Describe the management of sortheapcurrent database memory usage Loop, Merge Scan and Hash Joins memory based on the configuration ofExplain the differences in STMM processing Plan the implementation of Refresh sheapthres and sheapthres_shrbased on the setting of Immediate or Refresh Deferred Explain how DB2 can automaticallyDATABASE_MEMORY Materialized Query Tables to improve increase or decrease database memory forPlan and configure a database for self query performance multiple DB2 databases running on thetuning memory Utilize the Design Advisor to analyze SQL same server Activate or deactivate STMM for selected statements and recommend new MQTs Describe the performance advantages ofmemory heaps Describe the features of range-partitioned using stored proceduresDescribe the management of sortheap tables to support large DB2 tables using Design applications to maximize recordmemory based on the configuration of multiple table spaces, including the roll-in blocking, minimize sort operations andsheapthres and sheapthres_shr and roll-out of data ranges minimize lock contentionExplain how DB2 can automatically increase Explain the difference between Monitor application performance and lockor decrease database memory for multiple partitioned and non-partitioned indexes waits using GET SNAPSHOT commandsDB2 databases running on the same server for a range-partitioned table and SQL queriesDescribe the performance advantages of Implement partitioned indexes to improve Set the DB2 registry variablesusing stored procedures performance when you roll data out or roll DB2_EVALUNCOMMITTED,Design applications to maximize record data into a range-partitioned table DB2_SKIPINSERTED andblocking, minimize sort operations and Use the DB2 Explain tools to determine if DB2_SKIPDELETED to reduce lockminimize lock contention partition elimination is being used to contention based on applicationMonitor application performance and lock improve access performance to large requirementswaits using GET SNAPSHOT commands range-partitioned tables Utilize the currently committed form ofand SQL queries Select appropriate RUNSTATS options to locking to reduce lock contention betweenSet the DB2 registry variables collect Distribution Statistics or Column read-only and update applications DB2_EVALUNCOMMITTED, Group Statistics to improve cardinality Describe the advantages of usingDB2_SKIPINSERTED and estimates during SQL compilation db2exfmtDB2_SKIPDELETED to reduce lock Use the table and indexes statistics to Create special tables used by Visualcontention based on application plan for table and index reorganization Explain and db2exfmtrequirements using the REORG utility Identify how to set the Explain snapshotUtilize the currently committed form of Set the policies and options for and Explain mode registers to capture thelocking to reduce lock contention between automation of catalog statistics collection information of interestread-only and update applications Monitor the activity associated with Differentiate between the differentDescribe the advantages of using db2exfmt implementing real-time statistics methods of viewing Explain information Create special tables used by Visual Explain collection Choose the appropriate optimization classand db2exfmt Use the db2batch utility to run SQL Describe the catalog statistics andIdentify how to set the Explain snapshot and workloads and collect performance database configuration options impact onExplain mode registers to capture the statistics that can be used to benchmark access plan selectioninformation of interest database and application changes Implement a statistical view to provideDifferentiate between the different methods Implement simple Workload better cardinality estimates for complexof viewing Explain information Management definitions to utilize the queriesChoose the appropriate optimization class Workload Manager-based event Enable the statement concentrator usingDescribe the catalog statistics and database monitoring including activities, statistics the STMT_CONC database managerconfiguration options impact on access plan and threshold violations configuration parameter to reduce SQLselection Evaluate Event Monitor data using the compilation overhead for dynamic SQLImplement a statistical view to provide better Event Analyzer tool, the db2evmon statementscardinality estimates for complex queries text-based tool the db2evmonfmt Utilize the db2look utility to extract catalogEnable the statement concentrator using the application or using SQL queries statistics from existing tables to mimic anSTMT_CONC database manager Define a LOCKING Event Monitor to existing database environmentconfiguration parameter to reduce SQL capture deadlocks, lock timeout or lock Create an optimizer profile compilation overhead for dynamic SQL waits Describe the Block Indexing capability forstatements Configure a DB2 database to control MDC tables

Page 60: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Utilize the db2look utility to extract catalog information captured for deadlocks, lock Monitor index usage using thestatistics from existing tables to mimic an timeouts or extended lock waits MON_GET_INDEX function and db2pdexisting database environment Implement Event Monitors for units of commandsCreate an optimizer profile work or lock-related events that store Explain how multiple indexes can beDescribe the Block Indexing capability for information in unformatted Event Monitor combined using Index ORing and DynamicMDC tables tables Bitmap Index ANDingMonitor index usage using the Capture SQL section information using Use the Design Advisor to predictMON_GET_INDEX function and db2pd an ACTIVITIES Event Monitor and use performance gains from adding newcommands the data to generate Explain reports indexes Explain how multiple indexes can be Describe the differences between Nestedcombined using Index ORing and Dynamic Loop, Merge Scan and Hash JoinsBitmap Index ANDing line Plan the implementation of RefreshUse the Design Advisor to predict List the tools for monitoring database and Immediate or Refresh Deferredperformance gains from adding new indexes application activity Materialized Query Tables to improveDescribe the differences between Nested Use GET SNAPSHOT commands to query performanceLoop, Merge Scan and Hash Joins produce reports for analysis of database Utilize the Design Advisor to analyze SQLPlan the implementation of Refresh performance statements and recommend new MQTsImmediate or Refresh Deferred Materialized Utilize the administrative routines and Describe the features of range-partitionedQuery Tables to improve query performance views provided by to DB2 to simplify tables to support large DB2 tables usingUtilize the Design Advisor to analyze SQL application access to database multiple table spaces, including the roll-instatements and recommend new MQTs performance statistics and roll-out of data rangesDescribe the features of range-partitioned Use the db2pd to perform performance Explain the difference between partitionedtables to support large DB2 tables using analysis or problem determination for a and non-partitioned indexes for amultiple table spaces, including the roll-in DB2 database range-partitioned tableand roll-out of data ranges Utilize the enhanced table functions with Implement partitioned indexes to improveExplain the difference between partitioned SQL in reporting and monitoring of the performance when you roll data out or rolland non-partitioned indexes for a database system, data objects, and the data into a range-partitioned tablerange-partitioned table package cache to help you quickly Use the DB2 Explain tools to determine ifImplement partitioned indexes to improve identify issues that might be causing partition elimination is being used toperformance when you roll data out or roll problems improve access performance to largedata into a range-partitioned table Configure the DB2 Database range-partitioned tables Use the DB2 Explain tools to determine if configuration options that control the Select appropriate RUNSTATS options topartition elimination is being used to improve collection of request, activity and object collect Distribution Statistics or Columnaccess performance to large level metrics on the entire database Group Statistics to improve cardinalityrange-partitioned tables Compare the enhanced table functions estimates during SQL compilationSelect appropriate RUNSTATS options to with the snapshot monitoring facilities Use the table and indexes statistics to plancollect Distribution Statistics or Column provided by previous DB2 releases for table and index reorganization usingGroup Statistics to improve cardinality Describe processing for writing database the REORG utilityestimates during SQL compilation pages from buffer pools Set the policies and options for automationUse the table and indexes statistics to plan Monitor database read and write activity of catalog statistics collectionfor table and index reorganization using the using GET SNAPSHOT commands or Monitor the activity associated withREORG utility Administrative Routines and Views implementing real-time statistics collectionSet the policies and options for automation Monitor database logging activity and Use the db2batch utility to run SQLof catalog statistics collection select appropriate values for SOFTMAX workloads and collect performanceMonitor the activity associated with and MINCOMMIT statistics that can be used to benchmarkimplementing real-time statistics collection Describe how scan sharing can reduce database and application changes Use the db2batch utility to run SQL the I/O workload for accessing large Implement simple Workload Managementworkloads and collect performance statistics tables definitions to utilize the Workloadthat can be used to benchmark database Explain the alternate page cleaning Manager-based event monitoring includingand application changes processing associated with the activities, statistics and threshold violationsImplement simple Workload Management DB2_USE_ALTERNATE_PAGE_CLEAN Evaluate Event Monitor data using thedefinitions to utilize the Workload ING DB2 Registry variable Event Analyzer tool, the db2evmonManager-based event monitoring including Describe the calculation of prefetch size text-based tool the db2evmonfmtactivities, statistics and threshold violations when PREFETCHSIZE is set to application or using SQL queriesEvaluate Event Monitor data using the Event AUTOMATIC Define a LOCKING Event Monitor toAnalyzer tool, the db2evmon text-based tool List the advantages of selecting DMS or capture deadlocks, lock timeout or lockthe db2evmonfmt application or using SQL SMS table space management as well as waitsqueries using Automatic Storage-managed table Configure a DB2 database to controlDefine a LOCKING Event Monitor to capture spaces information captured for deadlocks, lockdeadlocks, lock timeout or lock waits Set file system caching options for table timeouts or extended lock waitsConfigure a DB2 database to control spaces to optimize table space Implement Event Monitors for units of workinformation captured for deadlocks, lock performance or lock-related events that storetimeouts or extended lock waits Describe the various row insertion information in unformatted Event MonitorImplement Event Monitors for units of work algorithms for tables that are based on tablesor lock-related events that store information using the APPEND option or defining a Capture SQL section information using anin unformatted Event Monitor tables clustering index ACTIVITIES Event Monitor and use the

Page 61: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Capture SQL section information using an Plan and implement Row Compression to data to generate Explain reports ACTIVITIES Event Monitor and use the data reduce disk and memory requirementsto generate Explain reports and improve application performance

Describe how DB2's Index compression lineDB2 memory management option can reduce disk storage List the tools for monitoring database andline requirements for indexes application activity

Describe memory heap usage for instance Explain how DB2 can compress Use GET SNAPSHOT commands tomemory, database shared memory and temporary data to improve application produce reports for analysis of databaseapplication memory performance performance

Utilize the DB2 provided tools and Utilize the administrative routines andfunctions to estimate compression results views provided by to DB2 to simplify

line for Indexes and data application access to databaseList the tools for monitoring database and Explain the management of database performance statisticsapplication activity shared memory based on setting the Use the db2pd to perform performanceUse GET SNAPSHOT commands to configuration option analysis or problem determination for aproduce reports for analysis of database DATABASE_MEMORY to AUTOMATIC, DB2 databaseperformance COMPUTED or a specific number of Utilize the enhanced table functions withUtilize the administrative routines and views pages SQL in reporting and monitoring of theprovided by to DB2 to simplify application Select the mode for managing data sort database system, data objects, and theaccess to database performance statistics memory using SHEAPTHRES, package cache to help you quickly identifyUse the db2pd to perform performance SORTHEAP, and SHEAPTHRES_SHR issues that might be causing problemsanalysis or problem determination for a DB2 Monitor DB2 memory usage using the Configure the DB2 Database configurationdatabase db2mtrk commands and SQL statements options that control the collection ofUtilize the enhanced table functions with Utilize the db2pd command for request, activity and object level metrics onSQL in reporting and monitoring of the monitoring current database memory the entire databasedatabase system, data objects, and the usage Compare the enhanced table functionspackage cache to help you quickly identify Explain the differences in STMM with the snapshot monitoring facilitiesissues that might be causing problems processing based on the setting of provided by previous DB2 releases Configure the DB2 Database configuration DATABASE_MEMORY Describe processing for writing databaseoptions that control the collection of request, Plan and configure a database for self pages from buffer poolsactivity and object level metrics on the entire tuning memory Monitor database read and write activitydatabase Activate or deactivate STMM for selected using GET SNAPSHOT commands orCompare the enhanced table functions with memory heaps Administrative Routines and Viewsthe snapshot monitoring facilities provided Describe the management of sortheap Monitor database logging activity andby previous DB2 releases memory based on the configuration of select appropriate values for SOFTMAXDescribe processing for writing database sheapthres and sheapthres_shr and MINCOMMITpages from buffer pools Explain how DB2 can automatically Describe how scan sharing can reduce theMonitor database read and write activity increase or decrease database memory I/O workload for accessing large tablesusing GET SNAPSHOT commands or for multiple DB2 databases running on Explain the alternate page cleaningAdministrative Routines and Views the same server processing associated with theMonitor database logging activity and select Describe the performance advantages of DB2_USE_ALTERNATE_PAGE_CLEANIappropriate values for SOFTMAX and using stored procedures NG DB2 Registry variable MINCOMMIT Design applications to maximize record Describe the calculation of prefetch sizeDescribe how scan sharing can reduce the blocking, minimize sort operations and when PREFETCHSIZE is set toI/O workload for accessing large tables minimize lock contention AUTOMATICExplain the alternate page cleaning Monitor application performance and lock List the advantages of selecting DMS orprocessing associated with the waits using GET SNAPSHOT commands SMS table space management as well asDB2_USE_ALTERNATE_PAGE_CLEANIN and SQL queries using Automatic Storage-managed tableG DB2 Registry variable Set the DB2 registry variables spacesDescribe the calculation of prefetch size DB2_EVALUNCOMMITTED, Set file system caching options for tablewhen PREFETCHSIZE is set to DB2_SKIPINSERTED and spaces to optimize table spaceAUTOMATIC DB2_SKIPDELETED to reduce lock performanceList the advantages of selecting DMS or contention based on application Describe the various row insertionSMS table space management as well as requirements algorithms for tables that are based onusing Automatic Storage-managed table Utilize the currently committed form of using the APPEND option or defining aspaces locking to reduce lock contention clustering indexSet file system caching options for table between read-only and update Plan and implement Row Compression tospaces to optimize table space performance applications reduce disk and memory requirements andDescribe the various row insertion Describe the advantages of using improve application performancealgorithms for tables that are based on using db2exfmt Describe how DB2's Index compressionthe APPEND option or defining a clustering Create special tables used by Visual option can reduce disk storageindex Explain and db2exfmt requirements for indexesPlan and implement Row Compression to Identify how to set the Explain snapshot Explain how DB2 can compress temporaryreduce disk and memory requirements and and Explain mode registers to capture data to improve application performanceimprove application performance the information of interest Utilize the DB2 provided tools andDescribe how DB2's Index compression Differentiate between the different functions to estimate compression results

Page 62: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

option can reduce disk storage requirements methods of viewing Explain information for Indexes and data for indexes Choose the appropriate optimization Explain the management of databaseExplain how DB2 can compress temporary class shared memory based on setting thedata to improve application performance Describe the catalog statistics and configuration optionUtilize the DB2 provided tools and functions database configuration options impact on DATABASE_MEMORY to AUTOMATIC,to estimate compression results for Indexes access plan selection COMPUTED or a specific number ofand data Implement a statistical view to provide pagesExplain the management of database better cardinality estimates for complex Select the mode for managing data sortshared memory based on setting the queries memory using SHEAPTHRES,configuration option DATABASE_MEMORY Enable the statement concentrator using SORTHEAP, and SHEAPTHRES_SHRto AUTOMATIC, COMPUTED or a specific the STMT_CONC database manager Monitor DB2 memory usage using thenumber of pages configuration parameter to reduce SQL db2mtrk commands and SQL statementsSelect the mode for managing data sort compilation overhead for dynamic SQL Utilize the db2pd command for monitoringmemory using SHEAPTHRES, SORTHEAP, statements current database memory usage and SHEAPTHRES_SHR Utilize the db2look utility to extract Explain the differences in STMMMonitor DB2 memory usage using the catalog statistics from existing tables to processing based on the setting ofdb2mtrk commands and SQL statements mimic an existing database environment DATABASE_MEMORYUtilize the db2pd command for monitoring Create an optimizer profile Plan and configure a database for selfcurrent database memory usage Describe the Block Indexing capability for tuning memoryExplain the differences in STMM processing MDC tables Activate or deactivate STMM for selectedbased on the setting of Monitor index usage using the memory heapsDATABASE_MEMORY MON_GET_INDEX function and db2pd Describe the management of sortheapPlan and configure a database for self commands memory based on the configuration oftuning memory Explain how multiple indexes can be sheapthres and sheapthres_shrActivate or deactivate STMM for selected combined using Index ORing and Explain how DB2 can automaticallymemory heaps Dynamic Bitmap Index ANDing increase or decrease database memory forDescribe the management of sortheap Use the Design Advisor to predict multiple DB2 databases running on thememory based on the configuration of performance gains from adding new same server sheapthres and sheapthres_shr indexes Describe the performance advantages ofExplain how DB2 can automatically increase Describe the differences between Nested using stored proceduresor decrease database memory for multiple Loop, Merge Scan and Hash Joins Design applications to maximize recordDB2 databases running on the same server Plan the implementation of Refresh blocking, minimize sort operations andDescribe the performance advantages of Immediate or Refresh Deferred minimize lock contentionusing stored procedures Materialized Query Tables to improve Monitor application performance and lockDesign applications to maximize record query performance waits using GET SNAPSHOT commandsblocking, minimize sort operations and Utilize the Design Advisor to analyze SQL and SQL queriesminimize lock contention statements and recommend new MQTs Set the DB2 registry variablesMonitor application performance and lock Describe the features of range-partitioned DB2_EVALUNCOMMITTED,waits using GET SNAPSHOT commands tables to support large DB2 tables using DB2_SKIPINSERTED andand SQL queries multiple table spaces, including the roll-in DB2_SKIPDELETED to reduce lockSet the DB2 registry variables and roll-out of data ranges contention based on applicationDB2_EVALUNCOMMITTED, Explain the difference between requirementsDB2_SKIPINSERTED and partitioned and non-partitioned indexes Utilize the currently committed form ofDB2_SKIPDELETED to reduce lock for a range-partitioned table locking to reduce lock contention betweencontention based on application Implement partitioned indexes to improve read-only and update applications requirements performance when you roll data out or roll Describe the advantages of usingUtilize the currently committed form of data into a range-partitioned table db2exfmtlocking to reduce lock contention between Use the DB2 Explain tools to determine if Create special tables used by Visualread-only and update applications partition elimination is being used to Explain and db2exfmtDescribe the advantages of using db2exfmt improve access performance to large Identify how to set the Explain snapshotCreate special tables used by Visual Explain range-partitioned tables and Explain mode registers to capture theand db2exfmt Select appropriate RUNSTATS options to information of interestIdentify how to set the Explain snapshot and collect Distribution Statistics or Column Differentiate between the differentExplain mode registers to capture the Group Statistics to improve cardinality methods of viewing Explain information information of interest estimates during SQL compilation Choose the appropriate optimization classDifferentiate between the different methods Use the table and indexes statistics to Describe the catalog statistics andof viewing Explain information plan for table and index reorganization database configuration options impact onChoose the appropriate optimization class using the REORG utility access plan selectionDescribe the catalog statistics and database Set the policies and options for Implement a statistical view to provideconfiguration options impact on access plan automation of catalog statistics collection better cardinality estimates for complexselection Monitor the activity associated with queriesImplement a statistical view to provide better implementing real-time statistics Enable the statement concentrator usingcardinality estimates for complex queries collection the STMT_CONC database managerEnable the statement concentrator using the Use the db2batch utility to run SQL configuration parameter to reduce SQLSTMT_CONC database manager workloads and collect performance compilation overhead for dynamic SQLconfiguration parameter to reduce SQL statistics that can be used to benchmark statements

Page 63: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

compilation overhead for dynamic SQL database and application changes Utilize the db2look utility to extract catalogstatements Implement simple Workload statistics from existing tables to mimic anUtilize the db2look utility to extract catalog Management definitions to utilize the existing database environmentstatistics from existing tables to mimic an Workload Manager-based event Create an optimizer profile existing database environment monitoring including activities, statistics Describe the Block Indexing capability forCreate an optimizer profile and threshold violations MDC tablesDescribe the Block Indexing capability for Evaluate Event Monitor data using the Monitor index usage using theMDC tables Event Analyzer tool, the db2evmon MON_GET_INDEX function and db2pdMonitor index usage using the text-based tool the db2evmonfmt commandsMON_GET_INDEX function and db2pd application or using SQL queries Explain how multiple indexes can becommands Define a LOCKING Event Monitor to combined using Index ORing and DynamicExplain how multiple indexes can be capture deadlocks, lock timeout or lock Bitmap Index ANDingcombined using Index ORing and Dynamic waits Use the Design Advisor to predictBitmap Index ANDing Configure a DB2 database to control performance gains from adding newUse the Design Advisor to predict information captured for deadlocks, lock indexes performance gains from adding new indexes timeouts or extended lock waits Describe the differences between NestedDescribe the differences between Nested Implement Event Monitors for units of Loop, Merge Scan and Hash JoinsLoop, Merge Scan and Hash Joins work or lock-related events that store Plan the implementation of RefreshPlan the implementation of Refresh information in unformatted Event Monitor Immediate or Refresh DeferredImmediate or Refresh Deferred Materialized tables Materialized Query Tables to improveQuery Tables to improve query performance Capture SQL section information using query performanceUtilize the Design Advisor to analyze SQL an ACTIVITIES Event Monitor and use Utilize the Design Advisor to analyze SQLstatements and recommend new MQTs the data to generate Explain reports statements and recommend new MQTsDescribe the features of range-partitioned Describe the features of range-partitionedtables to support large DB2 tables using tables to support large DB2 tables usingmultiple table spaces, including the roll-in line multiple table spaces, including the roll-inand roll-out of data ranges List the tools for monitoring database and and roll-out of data rangesExplain the difference between partitioned application activity Explain the difference between partitionedand non-partitioned indexes for a Use GET SNAPSHOT commands to and non-partitioned indexes for arange-partitioned table produce reports for analysis of database range-partitioned tableImplement partitioned indexes to improve performance Implement partitioned indexes to improveperformance when you roll data out or roll Utilize the administrative routines and performance when you roll data out or rolldata into a range-partitioned table views provided by to DB2 to simplify data into a range-partitioned tableUse the DB2 Explain tools to determine if application access to database Use the DB2 Explain tools to determine ifpartition elimination is being used to improve performance statistics partition elimination is being used toaccess performance to large Use the db2pd to perform performance improve access performance to largerange-partitioned tables analysis or problem determination for a range-partitioned tables Select appropriate RUNSTATS options to DB2 database Select appropriate RUNSTATS options tocollect Distribution Statistics or Column Utilize the enhanced table functions with collect Distribution Statistics or ColumnGroup Statistics to improve cardinality SQL in reporting and monitoring of the Group Statistics to improve cardinalityestimates during SQL compilation database system, data objects, and the estimates during SQL compilationUse the table and indexes statistics to plan package cache to help you quickly Use the table and indexes statistics to planfor table and index reorganization using the identify issues that might be causing for table and index reorganization usingREORG utility problems the REORG utilitySet the policies and options for automation Configure the DB2 Database Set the policies and options for automationof catalog statistics collection configuration options that control the of catalog statistics collectionMonitor the activity associated with collection of request, activity and object Monitor the activity associated withimplementing real-time statistics collection level metrics on the entire database implementing real-time statistics collectionUse the db2batch utility to run SQL Compare the enhanced table functions Use the db2batch utility to run SQLworkloads and collect performance statistics with the snapshot monitoring facilities workloads and collect performancethat can be used to benchmark database provided by previous DB2 releases statistics that can be used to benchmarkand application changes Describe processing for writing database database and application changes Implement simple Workload Management pages from buffer pools Implement simple Workload Managementdefinitions to utilize the Workload Monitor database read and write activity definitions to utilize the WorkloadManager-based event monitoring including using GET SNAPSHOT commands or Manager-based event monitoring includingactivities, statistics and threshold violations Administrative Routines and Views activities, statistics and threshold violationsEvaluate Event Monitor data using the Event Monitor database logging activity and Evaluate Event Monitor data using theAnalyzer tool, the db2evmon text-based tool select appropriate values for SOFTMAX Event Analyzer tool, the db2evmonthe db2evmonfmt application or using SQL and MINCOMMIT text-based tool the db2evmonfmtqueries Describe how scan sharing can reduce application or using SQL queriesDefine a LOCKING Event Monitor to capture the I/O workload for accessing large Define a LOCKING Event Monitor todeadlocks, lock timeout or lock waits tables capture deadlocks, lock timeout or lockConfigure a DB2 database to control Explain the alternate page cleaning waitsinformation captured for deadlocks, lock processing associated with the Configure a DB2 database to controltimeouts or extended lock waits DB2_USE_ALTERNATE_PAGE_CLEAN information captured for deadlocks, lockImplement Event Monitors for units of work ING DB2 Registry variable timeouts or extended lock waits

Page 64: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

or lock-related events that store information Describe the calculation of prefetch size Implement Event Monitors for units of workin unformatted Event Monitor tables when PREFETCHSIZE is set to or lock-related events that storeCapture SQL section information using an AUTOMATIC information in unformatted Event MonitorACTIVITIES Event Monitor and use the data List the advantages of selecting DMS or tablesto generate Explain reports SMS table space management as well as Capture SQL section information using an

using Automatic Storage-managed table ACTIVITIES Event Monitor and use thespaces data to generate Explain reports

line Set file system caching options for tableList the tools for monitoring database and spaces to optimize table spaceapplication activity performance lineUse GET SNAPSHOT commands to Describe the various row insertion List the tools for monitoring database andproduce reports for analysis of database algorithms for tables that are based on application activityperformance using the APPEND option or defining a Use GET SNAPSHOT commands toUtilize the administrative routines and views clustering index produce reports for analysis of databaseprovided by to DB2 to simplify application Plan and implement Row Compression to performanceaccess to database performance statistics reduce disk and memory requirements Utilize the administrative routines andUse the db2pd to perform performance and improve application performance views provided by to DB2 to simplifyanalysis or problem determination for a DB2 Describe how DB2's Index compression application access to databasedatabase option can reduce disk storage performance statisticsUtilize the enhanced table functions with requirements for indexes Use the db2pd to perform performanceSQL in reporting and monitoring of the Explain how DB2 can compress analysis or problem determination for adatabase system, data objects, and the temporary data to improve application DB2 databasepackage cache to help you quickly identify performance Utilize the enhanced table functions withissues that might be causing problems Utilize the DB2 provided tools and SQL in reporting and monitoring of theConfigure the DB2 Database configuration functions to estimate compression results database system, data objects, and theoptions that control the collection of request, for Indexes and data package cache to help you quickly identifyactivity and object level metrics on the entire Explain the management of database issues that might be causing problemsdatabase shared memory based on setting the Configure the DB2 Database configurationCompare the enhanced table functions with configuration option options that control the collection ofthe snapshot monitoring facilities provided DATABASE_MEMORY to AUTOMATIC, request, activity and object level metrics onby previous DB2 releases COMPUTED or a specific number of the entire databaseDescribe processing for writing database pages Compare the enhanced table functionspages from buffer pools Select the mode for managing data sort with the snapshot monitoring facilitiesMonitor database read and write activity memory using SHEAPTHRES, provided by previous DB2 releases using GET SNAPSHOT commands or SORTHEAP, and SHEAPTHRES_SHR Describe processing for writing databaseAdministrative Routines and Views Monitor DB2 memory usage using the pages from buffer poolsMonitor database logging activity and select db2mtrk commands and SQL statements Monitor database read and write activityappropriate values for SOFTMAX and Utilize the db2pd command for using GET SNAPSHOT commands orMINCOMMIT monitoring current database memory Administrative Routines and ViewsDescribe how scan sharing can reduce the usage Monitor database logging activity andI/O workload for accessing large tables Explain the differences in STMM select appropriate values for SOFTMAXExplain the alternate page cleaning processing based on the setting of and MINCOMMITprocessing associated with the DATABASE_MEMORY Describe how scan sharing can reduce theDB2_USE_ALTERNATE_PAGE_CLEANIN Plan and configure a database for self I/O workload for accessing large tablesG DB2 Registry variable tuning memory Explain the alternate page cleaningDescribe the calculation of prefetch size Activate or deactivate STMM for selected processing associated with thewhen PREFETCHSIZE is set to memory heaps DB2_USE_ALTERNATE_PAGE_CLEANIAUTOMATIC Describe the management of sortheap NG DB2 Registry variable List the advantages of selecting DMS or memory based on the configuration of Describe the calculation of prefetch sizeSMS table space management as well as sheapthres and sheapthres_shr when PREFETCHSIZE is set tousing Automatic Storage-managed table Explain how DB2 can automatically AUTOMATICspaces increase or decrease database memory List the advantages of selecting DMS orSet file system caching options for table for multiple DB2 databases running on SMS table space management as well asspaces to optimize table space performance the same server using Automatic Storage-managed tableDescribe the various row insertion Describe the performance advantages of spacesalgorithms for tables that are based on using using stored procedures Set file system caching options for tablethe APPEND option or defining a clustering Design applications to maximize record spaces to optimize table spaceindex blocking, minimize sort operations and performancePlan and implement Row Compression to minimize lock contention Describe the various row insertionreduce disk and memory requirements and Monitor application performance and lock algorithms for tables that are based onimprove application performance waits using GET SNAPSHOT commands using the APPEND option or defining aDescribe how DB2's Index compression and SQL queries clustering indexoption can reduce disk storage requirements Set the DB2 registry variables Plan and implement Row Compression tofor indexes DB2_EVALUNCOMMITTED, reduce disk and memory requirements andExplain how DB2 can compress temporary DB2_SKIPINSERTED and improve application performancedata to improve application performance DB2_SKIPDELETED to reduce lock Describe how DB2's Index compression

Page 65: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Utilize the DB2 provided tools and functions contention based on application option can reduce disk storageto estimate compression results for Indexes requirements requirements for indexesand data Utilize the currently committed form of Explain how DB2 can compress temporaryExplain the management of database locking to reduce lock contention data to improve application performanceshared memory based on setting the between read-only and update Utilize the DB2 provided tools andconfiguration option DATABASE_MEMORY applications functions to estimate compression resultsto AUTOMATIC, COMPUTED or a specific Describe the advantages of using for Indexes and data number of pages db2exfmt Explain the management of databaseSelect the mode for managing data sort Create special tables used by Visual shared memory based on setting thememory using SHEAPTHRES, SORTHEAP, Explain and db2exfmt configuration optionand SHEAPTHRES_SHR Identify how to set the Explain snapshot DATABASE_MEMORY to AUTOMATIC,Monitor DB2 memory usage using the and Explain mode registers to capture COMPUTED or a specific number ofdb2mtrk commands and SQL statements the information of interest pagesUtilize the db2pd command for monitoring Differentiate between the different Select the mode for managing data sortcurrent database memory usage methods of viewing Explain information memory using SHEAPTHRES,Explain the differences in STMM processing Choose the appropriate optimization SORTHEAP, and SHEAPTHRES_SHRbased on the setting of class Monitor DB2 memory usage using theDATABASE_MEMORY Describe the catalog statistics and db2mtrk commands and SQL statementsPlan and configure a database for self database configuration options impact on Utilize the db2pd command for monitoringtuning memory access plan selection current database memory usage Activate or deactivate STMM for selected Implement a statistical view to provide Explain the differences in STMMmemory heaps better cardinality estimates for complex processing based on the setting ofDescribe the management of sortheap queries DATABASE_MEMORYmemory based on the configuration of Enable the statement concentrator using Plan and configure a database for selfsheapthres and sheapthres_shr the STMT_CONC database manager tuning memoryExplain how DB2 can automatically increase configuration parameter to reduce SQL Activate or deactivate STMM for selectedor decrease database memory for multiple compilation overhead for dynamic SQL memory heapsDB2 databases running on the same server statements Describe the management of sortheapDescribe the performance advantages of Utilize the db2look utility to extract memory based on the configuration ofusing stored procedures catalog statistics from existing tables to sheapthres and sheapthres_shrDesign applications to maximize record mimic an existing database environment Explain how DB2 can automaticallyblocking, minimize sort operations and Create an optimizer profile increase or decrease database memory forminimize lock contention Describe the Block Indexing capability for multiple DB2 databases running on theMonitor application performance and lock MDC tables same server waits using GET SNAPSHOT commands Monitor index usage using the Describe the performance advantages ofand SQL queries MON_GET_INDEX function and db2pd using stored proceduresSet the DB2 registry variables commands Design applications to maximize recordDB2_EVALUNCOMMITTED, Explain how multiple indexes can be blocking, minimize sort operations andDB2_SKIPINSERTED and combined using Index ORing and minimize lock contentionDB2_SKIPDELETED to reduce lock Dynamic Bitmap Index ANDing Monitor application performance and lockcontention based on application Use the Design Advisor to predict waits using GET SNAPSHOT commandsrequirements performance gains from adding new and SQL queriesUtilize the currently committed form of indexes Set the DB2 registry variableslocking to reduce lock contention between Describe the differences between Nested DB2_EVALUNCOMMITTED,read-only and update applications Loop, Merge Scan and Hash Joins DB2_SKIPINSERTED andDescribe the advantages of using db2exfmt Plan the implementation of Refresh DB2_SKIPDELETED to reduce lockCreate special tables used by Visual Explain Immediate or Refresh Deferred contention based on applicationand db2exfmt Materialized Query Tables to improve requirementsIdentify how to set the Explain snapshot and query performance Utilize the currently committed form ofExplain mode registers to capture the Utilize the Design Advisor to analyze SQL locking to reduce lock contention betweeninformation of interest statements and recommend new MQTs read-only and update applications Differentiate between the different methods Describe the features of range-partitioned Describe the advantages of usingof viewing Explain information tables to support large DB2 tables using db2exfmtChoose the appropriate optimization class multiple table spaces, including the roll-in Create special tables used by VisualDescribe the catalog statistics and database and roll-out of data ranges Explain and db2exfmtconfiguration options impact on access plan Explain the difference between Identify how to set the Explain snapshotselection partitioned and non-partitioned indexes and Explain mode registers to capture theImplement a statistical view to provide better for a range-partitioned table information of interestcardinality estimates for complex queries Implement partitioned indexes to improve Differentiate between the differentEnable the statement concentrator using the performance when you roll data out or roll methods of viewing Explain information STMT_CONC database manager data into a range-partitioned table Choose the appropriate optimization classconfiguration parameter to reduce SQL Use the DB2 Explain tools to determine if Describe the catalog statistics andcompilation overhead for dynamic SQL partition elimination is being used to database configuration options impact onstatements improve access performance to large access plan selectionUtilize the db2look utility to extract catalog range-partitioned tables Implement a statistical view to providestatistics from existing tables to mimic an Select appropriate RUNSTATS options to better cardinality estimates for complex

Page 66: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

existing database environment collect Distribution Statistics or Column queriesCreate an optimizer profile Group Statistics to improve cardinality Enable the statement concentrator usingDescribe the Block Indexing capability for estimates during SQL compilation the STMT_CONC database managerMDC tables Use the table and indexes statistics to configuration parameter to reduce SQLMonitor index usage using the plan for table and index reorganization compilation overhead for dynamic SQLMON_GET_INDEX function and db2pd using the REORG utility statementscommands Set the policies and options for Utilize the db2look utility to extract catalogExplain how multiple indexes can be automation of catalog statistics collection statistics from existing tables to mimic ancombined using Index ORing and Dynamic Monitor the activity associated with existing database environmentBitmap Index ANDing implementing real-time statistics Create an optimizer profile Use the Design Advisor to predict collection Describe the Block Indexing capability forperformance gains from adding new indexes Use the db2batch utility to run SQL MDC tablesDescribe the differences between Nested workloads and collect performance Monitor index usage using theLoop, Merge Scan and Hash Joins statistics that can be used to benchmark MON_GET_INDEX function and db2pdPlan the implementation of Refresh database and application changes commandsImmediate or Refresh Deferred Materialized Implement simple Workload Explain how multiple indexes can beQuery Tables to improve query performance Management definitions to utilize the combined using Index ORing and DynamicUtilize the Design Advisor to analyze SQL Workload Manager-based event Bitmap Index ANDingstatements and recommend new MQTs monitoring including activities, statistics Use the Design Advisor to predictDescribe the features of range-partitioned and threshold violations performance gains from adding newtables to support large DB2 tables using Evaluate Event Monitor data using the indexes multiple table spaces, including the roll-in Event Analyzer tool, the db2evmon Describe the differences between Nestedand roll-out of data ranges text-based tool the db2evmonfmt Loop, Merge Scan and Hash JoinsExplain the difference between partitioned application or using SQL queries Plan the implementation of Refreshand non-partitioned indexes for a Define a LOCKING Event Monitor to Immediate or Refresh Deferredrange-partitioned table capture deadlocks, lock timeout or lock Materialized Query Tables to improveImplement partitioned indexes to improve waits query performanceperformance when you roll data out or roll Configure a DB2 database to control Utilize the Design Advisor to analyze SQLdata into a range-partitioned table information captured for deadlocks, lock statements and recommend new MQTsUse the DB2 Explain tools to determine if timeouts or extended lock waits Describe the features of range-partitionedpartition elimination is being used to improve Implement Event Monitors for units of tables to support large DB2 tables usingaccess performance to large work or lock-related events that store multiple table spaces, including the roll-inrange-partitioned tables information in unformatted Event Monitor and roll-out of data rangesSelect appropriate RUNSTATS options to tables Explain the difference between partitionedcollect Distribution Statistics or Column Capture SQL section information using and non-partitioned indexes for aGroup Statistics to improve cardinality an ACTIVITIES Event Monitor and use range-partitioned tableestimates during SQL compilation the data to generate Explain reports Implement partitioned indexes to improveUse the table and indexes statistics to plan performance when you roll data out or rollfor table and index reorganization using the data into a range-partitioned tableREORG utility line Use the DB2 Explain tools to determine ifSet the policies and options for automation List the tools for monitoring database and partition elimination is being used toof catalog statistics collection application activity improve access performance to largeMonitor the activity associated with Use GET SNAPSHOT commands to range-partitioned tables implementing real-time statistics collection produce reports for analysis of database Select appropriate RUNSTATS options toUse the db2batch utility to run SQL performance collect Distribution Statistics or Columnworkloads and collect performance statistics Utilize the administrative routines and Group Statistics to improve cardinalitythat can be used to benchmark database views provided by to DB2 to simplify estimates during SQL compilationand application changes application access to database Use the table and indexes statistics to planImplement simple Workload Management performance statistics for table and index reorganization usingdefinitions to utilize the Workload Use the db2pd to perform performance the REORG utilityManager-based event monitoring including analysis or problem determination for a Set the policies and options for automationactivities, statistics and threshold violations DB2 database of catalog statistics collectionEvaluate Event Monitor data using the Event Utilize the enhanced table functions with Monitor the activity associated withAnalyzer tool, the db2evmon text-based tool SQL in reporting and monitoring of the implementing real-time statistics collectionthe db2evmonfmt application or using SQL database system, data objects, and the Use the db2batch utility to run SQLqueries package cache to help you quickly workloads and collect performanceDefine a LOCKING Event Monitor to capture identify issues that might be causing statistics that can be used to benchmarkdeadlocks, lock timeout or lock waits problems database and application changes Configure a DB2 database to control Configure the DB2 Database Implement simple Workload Managementinformation captured for deadlocks, lock configuration options that control the definitions to utilize the Workloadtimeouts or extended lock waits collection of request, activity and object Manager-based event monitoring includingImplement Event Monitors for units of work level metrics on the entire database activities, statistics and threshold violationsor lock-related events that store information Compare the enhanced table functions Evaluate Event Monitor data using thein unformatted Event Monitor tables with the snapshot monitoring facilities Event Analyzer tool, the db2evmonCapture SQL section information using an provided by previous DB2 releases text-based tool the db2evmonfmtACTIVITIES Event Monitor and use the data Describe processing for writing database application or using SQL queries

Page 67: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

to generate Explain reports pages from buffer pools Define a LOCKING Event Monitor toMonitor database read and write activity capture deadlocks, lock timeout or lockusing GET SNAPSHOT commands or waits

line Administrative Routines and Views Configure a DB2 database to controlList the tools for monitoring database and Monitor database logging activity and information captured for deadlocks, lockapplication activity select appropriate values for SOFTMAX timeouts or extended lock waitsUse GET SNAPSHOT commands to and MINCOMMIT Implement Event Monitors for units of workproduce reports for analysis of database Describe how scan sharing can reduce or lock-related events that storeperformance the I/O workload for accessing large information in unformatted Event MonitorUtilize the administrative routines and views tables tablesprovided by to DB2 to simplify application Explain the alternate page cleaning Capture SQL section information using anaccess to database performance statistics processing associated with the ACTIVITIES Event Monitor and use theUse the db2pd to perform performance DB2_USE_ALTERNATE_PAGE_CLEAN data to generate Explain reports analysis or problem determination for a DB2 ING DB2 Registry variable database Describe the calculation of prefetch size ... continued at RemarksUtilize the enhanced table functions with when PREFETCHSIZE is set to lineSQL in reporting and monitoring of the AUTOMATICdatabase system, data objects, and the List the advantages of selecting DMS orpackage cache to help you quickly identify SMS table space management as well asissues that might be causing problems using Automatic Storage-managed tableConfigure the DB2 Database configuration spacesoptions that control the collection of request, Set file system caching options for tableactivity and object level metrics on the entire spaces to optimize table spacedatabase performanceCompare the enhanced table functions with Describe the various row insertionthe snapshot monitoring facilities provided algorithms for tables that are based onby previous DB2 releases using the APPEND option or defining aDescribe processing for writing database clustering indexpages from buffer pools Plan and implement Row Compression toMonitor database read and write activity reduce disk and memory requirementsusing GET SNAPSHOT commands or and improve application performanceAdministrative Routines and Views Describe how DB2's Index compressionMonitor database logging activity and select option can reduce disk storageappropriate values for SOFTMAX and requirements for indexesMINCOMMIT Explain how DB2 can compressDescribe how scan sharing can reduce the temporary data to improve applicationI/O workload for accessing large tables performanceExplain the alternate page cleaning Utilize the DB2 provided tools andprocessing associated with the functions to estimate compression resultsDB2_USE_ALTERNATE_PAGE_CLEANIN for Indexes and data G DB2 Registry variable Explain the management of databaseDescribe the calculation of prefetch size shared memory based on setting thewhen PREFETCHSIZE is set to configuration optionAUTOMATIC DATABASE_MEMORY to AUTOMATIC,List the advantages of selecting DMS or COMPUTED or a specific number ofSMS table space management as well as pagesusing Automatic Storage-managed table Select the mode for managing data sortspaces memory using SHEAPTHRES,Set file system caching options for table SORTHEAP, and SHEAPTHRES_SHRspaces to optimize table space performance Monitor DB2 memory usage using theDescribe the various row insertion db2mtrk commands and SQL statementsalgorithms for tables that are based on using Utilize the db2pd command forthe APPEND option or defining a clustering monitoring current database memoryindex usage Plan and implement Row Compression to Explain the differences in STMMreduce disk and memory requirements and processing based on the setting ofimprove application performance DATABASE_MEMORYDescribe how DB2's Index compression Plan and configure a database for selfoption can reduce disk storage requirements tuning memoryfor indexes Activate or deactivate STMM for selectedExplain how DB2 can compress temporary memory heapsdata to improve application performance Describe the management of sortheapUtilize the DB2 provided tools and functions memory based on the configuration ofto estimate compression results for Indexes sheapthres and sheapthres_shrand data Explain how DB2 can automaticallyExplain the management of database increase or decrease database memory

Page 68: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

shared memory based on setting the for multiple DB2 databases running onconfiguration option DATABASE_MEMORY the same server to AUTOMATIC, COMPUTED or a specific Describe the performance advantages ofnumber of pages using stored proceduresSelect the mode for managing data sort Design applications to maximize recordmemory using SHEAPTHRES, SORTHEAP, blocking, minimize sort operations andand SHEAPTHRES_SHR minimize lock contentionMonitor DB2 memory usage using the Monitor application performance and lockdb2mtrk commands and SQL statements waits using GET SNAPSHOT commandsUtilize the db2pd command for monitoring and SQL queriescurrent database memory usage Set the DB2 registry variablesExplain the differences in STMM processing DB2_EVALUNCOMMITTED,based on the setting of DB2_SKIPINSERTED andDATABASE_MEMORY DB2_SKIPDELETED to reduce lockPlan and configure a database for self contention based on applicationtuning memory requirementsActivate or deactivate STMM for selected Utilize the currently committed form ofmemory heaps locking to reduce lock contentionDescribe the management of sortheap between read-only and updatememory based on the configuration of applications sheapthres and sheapthres_shr Describe the advantages of usingExplain how DB2 can automatically increase db2exfmtor decrease database memory for multiple Create special tables used by VisualDB2 databases running on the same server Explain and db2exfmtDescribe the performance advantages of Identify how to set the Explain snapshotusing stored procedures and Explain mode registers to captureDesign applications to maximize record the information of interestblocking, minimize sort operations and Differentiate between the differentminimize lock contention methods of viewing Explain information Monitor application performance and lock Choose the appropriate optimizationwaits using GET SNAPSHOT commands classand SQL queries Describe the catalog statistics andSet the DB2 registry variables database configuration options impact onDB2_EVALUNCOMMITTED, access plan selectionDB2_SKIPINSERTED and Implement a statistical view to provideDB2_SKIPDELETED to reduce lock better cardinality estimates for complexcontention based on application queriesrequirements Enable the statement concentrator usingUtilize the currently committed form of the STMT_CONC database managerlocking to reduce lock contention between configuration parameter to reduce SQLread-only and update applications compilation overhead for dynamic SQLDescribe the advantages of using db2exfmt statementsCreate special tables used by Visual Explain Utilize the db2look utility to extractand db2exfmt catalog statistics from existing tables toIdentify how to set the Explain snapshot and mimic an existing database environmentExplain mode registers to capture the Create an optimizer profile information of interest Describe the Block Indexing capability forDifferentiate between the different methods MDC tablesof viewing Explain information Monitor index usage using theChoose the appropriate optimization class MON_GET_INDEX function and db2pdDescribe the catalog statistics and database commandsconfiguration options impact on access plan Explain how multiple indexes can beselection combined using Index ORing andImplement a statistical view to provide better Dynamic Bitmap Index ANDingcardinality estimates for complex queries Use the Design Advisor to predictEnable the statement concentrator using the performance gains from adding newSTMT_CONC database manager indexes configuration parameter to reduce SQL Describe the differences between Nestedcompilation overhead for dynamic SQL Loop, Merge Scan and Hash Joinsstatements Plan the implementation of RefreshUtilize the db2look utility to extract catalog Immediate or Refresh Deferredstatistics from existing tables to mimic an Materialized Query Tables to improveexisting database environment query performanceCreate an optimizer profile Utilize the Design Advisor to analyze SQLDescribe the Block Indexing capability for statements and recommend new MQTsMDC tables Describe the features of range-partitioned

Page 69: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Monitor index usage using the tables to support large DB2 tables usingMON_GET_INDEX function and db2pd multiple table spaces, including the roll-incommands and roll-out of data rangesExplain how multiple indexes can be Explain the difference betweencombined using Index ORing and Dynamic partitioned and non-partitioned indexesBitmap Index ANDing for a range-partitioned tableUse the Design Advisor to predict Implement partitioned indexes to improveperformance gains from adding new indexes performance when you roll data out or rollDescribe the differences between Nested data into a range-partitioned tableLoop, Merge Scan and Hash Joins Use the DB2 Explain tools to determine ifPlan the implementation of Refresh partition elimination is being used toImmediate or Refresh Deferred Materialized improve access performance to largeQuery Tables to improve query performance range-partitioned tables Utilize the Design Advisor to analyze SQL Select appropriate RUNSTATS options tostatements and recommend new MQTs collect Distribution Statistics or ColumnDescribe the features of range-partitioned Group Statistics to improve cardinalitytables to support large DB2 tables using estimates during SQL compilationmultiple table spaces, including the roll-in Use the table and indexes statistics toand roll-out of data ranges plan for table and index reorganizationExplain the difference between partitioned using the REORG utilityand non-partitioned indexes for a Set the policies and options forrange-partitioned table automation of catalog statistics collectionImplement partitioned indexes to improve Monitor the activity associated withperformance when you roll data out or roll implementing real-time statisticsdata into a range-partitioned table collectionUse the DB2 Explain tools to determine if Use the db2batch utility to run SQLpartition elimination is being used to improve workloads and collect performanceaccess performance to large statistics that can be used to benchmarkrange-partitioned tables database and application changes Select appropriate RUNSTATS options to Implement simple Workloadcollect Distribution Statistics or Column Management definitions to utilize theGroup Statistics to improve cardinality Workload Manager-based eventestimates during SQL compilation monitoring including activities, statisticsUse the table and indexes statistics to plan and threshold violationsfor table and index reorganization using the Evaluate Event Monitor data using theREORG utility Event Analyzer tool, the db2evmonSet the policies and options for automation text-based tool the db2evmonfmtof catalog statistics collection application or using SQL queriesMonitor the activity associated with Define a LOCKING Event Monitor toimplementing real-time statistics collection capture deadlocks, lock timeout or lockUse the db2batch utility to run SQL waitsworkloads and collect performance statistics Configure a DB2 database to controlthat can be used to benchmark database information captured for deadlocks, lockand application changes timeouts or extended lock waitsImplement simple Workload Management Implement Event Monitors for units ofdefinitions to utilize the Workload work or lock-related events that storeManager-based event monitoring including information in unformatted Event Monitoractivities, statistics and threshold violations tablesEvaluate Event Monitor data using the Event Capture SQL section information usingAnalyzer tool, the db2evmon text-based tool an ACTIVITIES Event Monitor and usethe db2evmonfmt application or using SQL the data to generate Explain reports queriesDefine a LOCKING Event Monitor to capture Using Indexes for Performance deadlocks, lock timeout or lock waits lineConfigure a DB2 database to control Describe the Indexing options that can beinformation captured for deadlocks, lock used to improve performance: Index Onlytimeouts or extended lock waits Access, Clustered Index, Reverse Scans,Implement Event Monitors for units of work Include Columns, and Index Freespaceor lock-related events that store informationin unformatted Event Monitor tablesCapture SQL section information using an lineACTIVITIES Event Monitor and use the data List the tools for monitoring database andto generate Explain reports application activity

Use GET SNAPSHOT commands toproduce reports for analysis of databaseperformance

Page 70: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Utilize the administrative routines andviews provided by to DB2 to simplifyapplication access to databaseperformance statisticsUse the db2pd to perform performanceanalysis or problem determination for aDB2 databaseUtilize the enhanced table functions withSQL in reporting and monitoring of thedatabase system, data objects, and thepackage cache to help you quicklyidentify issues that might be causingproblemsConfigure the DB2 Databaseconfiguration options that control thecollection of request, activity and objectlevel metrics on the entire databaseCompare the enhanced table functionswith the snapshot monitoring facilitiesprovided by previous DB2 releases Describe processing for writing databasepages from buffer poolsMonitor database read and write activityusing GET SNAPSHOT commands orAdministrative Routines and ViewsMonitor database logging activity andselect appropriate values for SOFTMAXand MINCOMMITDescribe how scan sharing can reducethe I/O workload for accessing largetablesExplain the alternate page cleaningprocessing associated with theDB2_USE_ALTERNATE_PAGE_CLEANING DB2 Registry variable Describe the calculation of prefetch sizewhen PREFETCHSIZE is set toAUTOMATICList the advantages of selecting DMS orSMS table space management as well asusing Automatic Storage-managed tablespacesSet file system caching options for tablespaces to optimize table spaceperformanceDescribe the various row insertionalgorithms for tables that are based onusing the APPEND option or defining aclustering indexPlan and implement Row Compression toreduce disk and memory requirementsand improve application performanceDescribe how DB2's Index compressionoption can reduce disk storagerequirements for indexesExplain how DB2 can compresstemporary data to improve applicationperformanceUtilize the DB2 provided tools andfunctions to estimate compression resultsfor Indexes and data Explain the management of databaseshared memory based on setting theconfiguration optionDATABASE_MEMORY to AUTOMATIC,COMPUTED or a specific number of

Page 71: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

pagesSelect the mode for managing data sortmemory using SHEAPTHRES,SORTHEAP, and SHEAPTHRES_SHRMonitor DB2 memory usage using thedb2mtrk commands and SQL statementsUtilize the db2pd command formonitoring current database memoryusage Explain the differences in STMMprocessing based on the setting ofDATABASE_MEMORYPlan and configure a database for selftuning memoryActivate or deactivate STMM for selectedmemory heapsDescribe the management of sortheapmemory based on the configuration ofsheapthres and sheapthres_shrExplain how DB2 can automaticallyincrease or decrease database memoryfor multiple DB2 databases running onthe same server Describe the performance advantages ofusing stored proceduresDesign applications to maximize recordblocking, minimize sort operations andminimize lock contentionMonitor application performance and lockwaits using GET SNAPSHOT commandsand SQL queriesSet the DB2 registry variablesDB2_EVALUNCOMMITTED,DB2_SKIPINSERTED andDB2_SKIPDELETED to reduce lockcontention based on applicationrequirementsUtilize the currently committed form oflocking to reduce lock contentionbetween read-only and updateapplications Describe the advantages of usingdb2exfmtCreate special tables used by VisualExplain and db2exfmtIdentify how to set the Explain snapshotand Explain mode registers to capturethe information of interestDifferentiate between the differentmethods of viewing Explain information Choose the appropriate optimizationclassDescribe the catalog statistics anddatabase configuration options impact onaccess plan selectionImplement a statistical view to providebetter cardinality estimates for complexqueriesEnable the statement concentrator usingthe STMT_CONC database managerconfiguration parameter to reduce SQLcompilation overhead for dynamic SQLstatementsUtilize the db2look utility to extractcatalog statistics from existing tables tomimic an existing database environment

Page 72: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

Create an optimizer profile Describe the Block Indexing capability forMDC tablesMonitor index usage using theMON_GET_INDEX function and db2pdcommandsExplain how multiple indexes can becombined using Index ORing andDynamic Bitmap Index ANDingUse the Design Advisor to predictperformance gains from adding newindexes Describe the differences between NestedLoop, Merge Scan and Hash JoinsPlan the implementation of RefreshImmediate or Refresh DeferredMaterialized Query Tables to improvequery performanceUtilize the Design Advisor to analyze SQLstatements and recommend new MQTsDescribe the features of range-partitionedtables to support large DB2 tables usingmultiple table spaces, including the roll-inand roll-out of data rangesExplain the difference betweenpartitioned and non-partitioned indexesfor a range-partitioned tableImplement partitioned indexes to improveperformance when you roll data out or rolldata into a range-partitioned tableUse the DB2 Explain tools to determine ifpartition elimination is being used toimprove access performance to largerange-partitioned tables Select appropriate RUNSTATS options tocollect Distribution Statistics or ColumnGroup Statistics to improve cardinalityestimates during SQL compilationUse the table and indexes statistics toplan for table and index reorganizationusing the REORG utilitySet the policies and options forautomation of catalog statistics collectionMonitor the activity associated withimplementing real-time statisticscollectionUse the db2batch utility to run SQLworkloads and collect performancestatistics that can be used to benchmarkdatabase and application changes Implement simple WorkloadManagement definitions to utilize theWorkload Manager-based eventmonitoring including activities, statisticsand threshold violationsEvaluate Event Monitor data using theEvent Analyzer tool, the db2evmontext-based tool the db2evmonfmtapplication or using SQL queriesDefine a LOCKING Event Monitor tocapture deadlocks, lock timeout or lockwaitsConfigure a DB2 database to controlinformation captured for deadlocks, locktimeouts or extended lock waitsImplement Event Monitors for units of

Page 73: IBM DB2 for Linux, UNIX, and Windows Performance Tuning ...store.globalknowledge.net/course-overviews/IE/CL412G.pdf · IBM DB2 for Linux, UNIX, and Windows Performance Tuning and

CL412G www.globalknowledge.ie [email protected] 353-1-814 8200

work or lock-related events that storeinformation in unformatted Event MonitortablesCapture SQL section information usingan ACTIVITIES Event Monitor and usethe data to generate Explain reports

Further Information:

For More information, or to book your course, please call us on 353-1-814 8200

[email protected]

www.globalknowledge.ie

Global Knowledge, 3rd Floor Jervis House, Millennium Walkway, Dublin 1