ibm db2 luw performance tuning and monitoring for single and...

67
CL442G www.globalknowledge.se [email protected] 020-73 73 73 IBM DB2 LUW Performance Tuning and Monitoring for Single and Multiple Partition DBs Längd: 5 Days Kurskod: CL442G Sammanfattning: 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. Learn about DB2 9 for Linux, UNIX, and Windows in support of single partition and multiple partition (DPF) database environments. 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. Use tools that are common across the Linux, UNIX, and Windows environments. During labs running on DB2 9.7, develop 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. Course Materials The course materials cover DB2 9.7 for Linux, UNIX, and Windows. Hands-On Labs The twelve labs use the DB2 9.7 Linux, UNIX, and Windows tools and commands to monitor, configure and analyze performance. The labs are performed using one DB2 9.7 for Linux system per student. Målgrupp: This is an advanced course for database designers, database administrators, and application developers working with DB2 9 for Linux, UNIX, and Windows who are concerned about performance in both single and multiple partition databases. Målsättning: Define the impact of database design (tables, indexes, and data Tune parameters to achieve optimum performance for Online placement) on database performance Transaction processing (OLTP) or Data Warehouse environments Describe database application programming considerations and Identify and use the tools that assist in monitoring and tuning of how they affect performance single partition and multiple partition (DPF) databases Identify and describe the parameters (database and Analyze Explain reports to identify the access strategies selected by non-database) that affect performance the DB2 Optimizer for execution of SQL statements including the selection of indexes, join techniques, sorts and table queues. Förkunskaper: You should complete: DB2 9 for LUW Multiple Partition DBA Workshop (CF24) or DB2 9 for LUW Multiple Partition Environment for Single Partition DBAs (CG24) or have equivalent experience

Upload: others

Post on 22-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

IBM DB2 LUW Performance Tuning and Monitoring for S ingle and Multiple Partition DBs

Längd: 5 Days Kurskod: CL442G

Sammanfattning:

Learn how to tune for optimum performance the IBM DB2 9 for Linux, UNIX, and Windows relational database management system andassociated applications written for this environment. Learn about DB2 9 for Linux, UNIX, and Windows in support of single partition and multiplepartition (DPF) database environments. 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. Use tools that are common across the Linux, UNIX, and Windows environments. During labs running on DB2 9.7, develop your ability to usemonitoring tools, Explain tools and DB2 utilities like RUNSTATS, REORG and db2batch to tune a database running on your local LINUXworkstation. Course Materials The course materials cover DB2 9.7 for Linux, UNIX, and Windows. Hands-On Labs The twelve labs use the DB2 9.7 Linux, UNIX, and Windows tools and commands to monitor, configure and analyze performance. The labs areperformed using one DB2 9.7 for Linux system per student.

Målgrupp:

This is an advanced course for database designers, database administrators, and application developers working with DB2 9 for Linux, UNIX,and Windows who are concerned about performance in both single and multiple partition databases.

Målsättning:

Define the impact of database design (tables, indexes, and data Tune parameters to achieve optimum performance for Onlineplacement) on database performance Transaction processing (OLTP) or Data Warehouse environments

Describe database application programming considerations and Identify and use the tools that assist in monitoring and tuning ofhow they affect performance single partition and multiple partition (DPF) databases

Identify and describe the parameters (database and Analyze Explain reports to identify the access strategies selected bynon-database) that affect performance the DB2 Optimizer for execution of SQL statements including the

selection of indexes, join techniques, sorts and table queues.

Förkunskaper:

You should complete:

DB2 9 for LUW Multiple Partition DBA Workshop (CF24) orDB2 9 for LUW Multiple Partition Environment for Single PartitionDBAs (CG24) or have equivalent experience

Page 2: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Innehåll:

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 relational monitoring Utilize the enhanced relational monitoringUse the db2pd to perform performance interfaces with SQL in reporting and interfaces with SQL in reporting andanalysis or problem determination for a DB2 monitoring of the database system, data monitoring of the database system, datadatabase objects, and the package cache to help objects, and the package cache to helpUtilize the enhanced relational monitoring you quickly identify issues that might be you quickly identify issues that might beinterfaces with SQL in reporting and causing problems causing problemsmonitoring of the database system, data Configure the DB2 Database Configure the DB2 Database configurationobjects, and the package cache to help you configuration options that control the options that control the collection ofquickly identify issues that might be causing collection of request, activity and object request, activity and object level metrics onproblems level metrics on the entire database the entire databaseConfigure the DB2 Database configuration Compare the enhanced monitoring Compare the enhanced monitoringoptions that control the collection of request, features with the snapshot monitoring features with the snapshot monitoringactivity and object level metrics on the entire facilities provided by previous DB2 facilities provided by previous DB2database releases releases Compare the enhanced monitoring features Describe processing for Writing Database Describe processing for Writing Databasewith the snapshot monitoring facilities Pages from Buffer Pools Pages from Buffer Poolsprovided by previous DB2 releases Monitor Database Read and Write Monitor Database Read and Write ActivityDescribe processing for Writing Database Activity using GET SNAPSHOT using GET SNAPSHOT commands orPages from Buffer Pools commands or Administrative Routines Administrative Routines and ViewsMonitor Database Read and Write Activity and Views Monitor Database Logging Activity andusing GET SNAPSHOT commands or Monitor Database Logging Activity and select appropriate values for SOFTMAXAdministrative Routines and Views select appropriate values for SOFTMAX and MINCOMMITMonitor Database Logging Activity and and MINCOMMIT Implement and monitor use of a blockselect appropriate values for SOFTMAX and Implement and monitor use of a block based buffer pool to improve table scanMINCOMMIT based buffer pool to improve table scan performanceImplement and monitor use of a block based performance Describe the alternate page cleaningbuffer pool to improve table scan Describe the alternate page cleaning processing associated with the DB2performance processing associated with the DB2 Registry variableDescribe the alternate page cleaning Registry variable DB2_USE_ALTERNATE_PAGE_CLEANIprocessing associated with the DB2 Registry DB2_USE_ALTERNATE_PAGE_CLEAN NGvariable ING Describe how scan sharing can reduce theDB2_USE_ALTERNATE_PAGE_CLEANIN Describe how scan sharing can reduce I/O workload for accessing large tables G the I/O workload for accessing large Describe the calculation of prefetch sizeDescribe how scan sharing can reduce the tables when PREFETCHSIZE is set toI/O workload for accessing large tables Describe the calculation of prefetch size AUTOMATICDescribe the calculation of prefetch size when PREFETCHSIZE is set to List the advantages of selecting DMS orwhen PREFETCHSIZE is set to AUTOMATIC SMS table space management as well asAUTOMATIC List the advantages of selecting DMS or using Automatic Storage managed tableList the advantages of selecting DMS or SMS table space management as well as spacesSMS table space management as well as using Automatic Storage managed table Set file system caching options for tableusing Automatic Storage managed table spaces spaces to optimize table spacespaces Set file system caching options for table performanceSet file system caching options for table spaces to optimize table space Describe the various row insertionspaces to optimize table space performance performance algorithms for tables that are based onDescribe the various row insertion Describe the various row insertion using the APPEND option or defining aalgorithms for tables that are based on using algorithms for tables that are based on clustering indexthe APPEND option or defining a clustering using the APPEND option or defining a Plan and implement Row Compression toindex clustering index reduce disk and memory requirements andPlan and implement Row Compression to Plan and implement Row Compression to improve application performancereduce disk and memory requirements and reduce disk and memory requirements Describe how DB2’s Index compression

Page 3: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

improve application performance and improve application performance option can reduce disk storageDescribe how DB2’s Index compression Describe how DB2’s Index compression requirements for indexesoption can reduce disk storage requirements option can reduce disk storage Explain how DB2 can compress temporaryfor indexes requirements for indexes data to improve application performanceExplain how DB2 can compress temporary Explain how DB2 can compress Utilize the DB2 provided tools anddata to improve application performance temporary data to improve application functions to estimate compression resultsUtilize the DB2 provided tools and functions performance for Indexes and XML data to estimate compression results for Indexes Utilize the DB2 provided tools and Explain the management of databaseand XML data functions to estimate compression results shared memory based on setting theExplain the management of database for Indexes and XML data configuration optionshared memory based on setting the Explain the management of database DATABASE_MEMORY to AUTOMATIC,configuration option DATABASE_MEMORY shared memory based on setting the COMPUTED or a specific number ofto AUTOMATIC, COMPUTED or a specific configuration option pagesnumber of pages DATABASE_MEMORY to AUTOMATIC, Select the mode for managing data sortSelect the mode for managing data sort COMPUTED or a specific number of memory using SHEAPTHRES,memory using SHEAPTHRES, SORTHEAP, pages SORTHEAP, and SHEAPTHRES_SHRand SHEAPTHRES_SHR Select the mode for managing data sort Monitor DB2 memory usage using theMonitor DB2 memory usage using the memory using SHEAPTHRES, db2mtrk command or the graphicaldb2mtrk command or the graphical SORTHEAP, and SHEAPTHRES_SHR application Memory Visualizer.application Memory Visualizer. Monitor DB2 memory usage using the Utilize the db2pd for monitoring currentUtilize the db2pd for monitoring current db2mtrk command or the graphical database memory usagedatabase memory usage application Memory Visualizer. Use AUTOCONFIGURE to set databaseUse AUTOCONFIGURE to set database Utilize the db2pd for monitoring current configuration defaults when a newconfiguration defaults when a new database database memory usage database is created or after a databaseis created or after a database workload Use AUTOCONFIGURE to set database workload changes changes configuration defaults when a new Explain the differences in STMMExplain the differences in STMM processing database is created or after a database processing based on the setting ofbased on the setting of workload changes DATABASE_MEMORYDATABASE_MEMORY Explain the differences in STMM Plan and configure a database forPlan and configure a database for processing based on the setting of self-tuning memoryself-tuning memory DATABASE_MEMORY Activate or deactivate STMM for selectedActivate or deactivate STMM for selected Plan and configure a database for memory heapsmemory heaps self-tuning memory Describe the management of sortheapDescribe the management of sortheap Activate or deactivate STMM for selected memory based on the configuration ofmemory based on the configuration of memory heaps sheapthres and sheapthres_shrsheapthres and sheapthres_shr Describe the management of sortheap Explain how DB2 can automaticallyExplain how DB2 can automatically increase memory based on the configuration of increase or decrease database memory foror decrease database memory for multiple sheapthres and sheapthres_shr multiple DB2 databases running on theDB2 databases running on the same server Explain how DB2 can automatically same server Describe the advantages of using db2exfmt increase or decrease database memory Describe the advantages of usingCreate special tables used by Visual Explain for multiple DB2 databases running on db2exfmtand db2exfmt the same server Create special tables used by VisualIdentify how to set the Explain snapshot and Describe the advantages of using Explain and db2exfmtExplain mode registers to capture the db2exfmt Identify how to set the Explain snapshotinformation of interest Create special tables used by Visual and Explain mode registers to capture theDifferentiate between the different methods Explain and db2exfmt information of interestof viewing Explain information Identify how to set the Explain snapshot Differentiate between the differentChoose the appropriate optimization class and Explain mode registers to capture methods of viewing Explain information Describe the catalog statistics and database the information of interest Choose the appropriate optimization classconfiguration options impact on access plan Differentiate between the different Describe the catalog statistics andselection methods of viewing Explain information database configuration options impact onImplement a statistical view to provide better Choose the appropriate optimization access plan selectioncardinality estimates for complex queries class Implement a statistical view to provideEnable the statement concentrator using the Describe the catalog statistics and better cardinality estimates for complexstmt_conc database manager configuration database configuration options impact on queriesparameter to reduce SQL compilation access plan selection Enable the statement concentrator usingoverhead for dynamic SQL statements Implement a statistical view to provide the stmt_conc database managerUtilize the db2look utility to extract catalog better cardinality estimates for complex configuration parameter to reduce SQLstatistics from existing tables to mimic an queries compilation overhead for dynamic SQLexisting database environment Enable the statement concentrator using statementsCreate an optimizer profile to influence the the stmt_conc database manager Utilize the db2look utility to extract catalogaccess plan selected by the DB2 optimizer configuration parameter to reduce SQL statistics from existing tables to mimic anUse the MON_GET_INDEX table function to compilation overhead for dynamic SQL existing database environmentmonitor index usage statements Create an optimizer profile to influence theDescribe the Block Indexing capability for Utilize the db2look utility to extract access plan selected by the DB2 optimizerMDC tables catalog statistics from existing tables to Use the MON_GET_INDEX table function

Page 4: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Explain how multiple indexes can be mimic an existing database environment to monitor index usagecombined using Index ORing and Dynamic Create an optimizer profile to influence Describe the Block Indexing capability forBitmap Index ANDing the access plan selected by the DB2 MDC tablesUse the Design Advisor to predict optimizer Explain how multiple indexes can beperformance gains from adding new indexes Use the MON_GET_INDEX table function combined using Index ORing and DynamicDescribe the differences between Nested to monitor index usage Bitmap Index ANDingLoop, Merge Scan and Hash Joins Describe the Block Indexing capability for Use the Design Advisor to predictPlan the implementation of Refresh MDC tables performance gains from adding newImmediate or Refresh Deferred Materialized Explain how multiple indexes can be indexes Query Tables to improve query performance combined using Index ORing and Describe the differences between NestedUtilize the design advisor to analyze SQL Dynamic Bitmap Index ANDing Loop, Merge Scan and Hash Joinsstatements and recommend new MQTs Use the Design Advisor to predict Plan the implementation of RefreshDescribe the features of Range Partitioned performance gains from adding new Immediate or Refresh DeferredTables to support large DB2 tables using indexes Materialized Query Tables to improvemultiple tablespaces, including the roll-in Describe the differences between Nested query performanceand roll-out of data ranges Loop, Merge Scan and Hash Joins Utilize the design advisor to analyze SQLExplain the difference between partitioned Plan the implementation of Refresh statements and recommend new MQTsand non-partitioned indexes for a Immediate or Refresh Deferred Describe the features of Range Partitionedrange-partitioned table Materialized Query Tables to improve Tables to support large DB2 tables usingImplement partitioned indexes to improve query performance multiple tablespaces, including the roll-inperformance when you roll data out or roll Utilize the design advisor to analyze SQL and roll-out of data rangesdata into a range-partitioned table statements and recommend new MQTs Explain the difference between partitionedUse the DB2 Explain tools to determine if Describe the features of Range and non-partitioned indexes for apartition elimination is being used to improve Partitioned Tables to support large DB2 range-partitioned tableaccess performance to large range tables using multiple tablespaces, Implement partitioned indexes to improvepartitioned tables including the roll-in and roll-out of data performance when you roll data out or rollSelect appropriate RUNSTATS options to ranges data into a range-partitioned tablecollect Distribution Statistics or Column Explain the difference between Use the DB2 Explain tools to determine ifGroup Statistics to improve cardinality partitioned and non-partitioned indexes partition elimination is being used toestimates during SQL compilation for a range-partitioned table improve access performance to largeUse the table and indexes statistics to plan Implement partitioned indexes to improve range partitioned tables for table and index reorganization using the performance when you roll data out or roll Select appropriate RUNSTATS options toREORG utility data into a range-partitioned table collect Distribution Statistics or ColumnSet the policies and options for automation Use the DB2 Explain tools to determine if Group Statistics to improve cardinalityof catalog statistics collection. partition elimination is being used to estimates during SQL compilationMonitor the activity associated with improve access performance to large Use the table and indexes statistics to planimplementing real time statistics collection range partitioned tables for table and index reorganization usingUse the db2batch utility to run SQL Select appropriate RUNSTATS options to the REORG utilityworkloads and collect performance statistics collect Distribution Statistics or Column Set the policies and options for automationthat can be used to benchmark database Group Statistics to improve cardinality of catalog statistics collection.and application changes estimates during SQL compilation Monitor the activity associated withDescribe the performance advantages of Use the table and indexes statistics to implementing real time statistics collectionusing stored procedures plan for table and index reorganization Use the db2batch utility to run SQLDesign applications to maximize record using the REORG utility workloads and collect performanceblocking, minimize sort operations and Set the policies and options for statistics that can be used to benchmarkminimize lock contention automation of catalog statistics collection. database and application changes Evaluate setting the CUR_COMMIT Monitor the activity associated with Describe the performance advantages ofdatabase configuration option to reduce lock implementing real time statistics using stored procedureswaits, lock timeouts or deadlocks collection Design applications to maximize recordExplain how DB2 can access the committed Use the db2batch utility to run SQL blocking, minimize sort operations andversion of a data row that is currently being workloads and collect performance minimize lock contentionupdated by another application statistics that can be used to benchmark Evaluate setting the CUR_COMMITMonitor application performance and lock database and application changes database configuration option to reducewaits using GET SNAPSHOT commands Describe the performance advantages of lock waits, lock timeouts or deadlocksand SQL queries using stored procedures Explain how DB2 can access theSet the DB2 registry variables Design applications to maximize record committed version of a data row that isDB2_EVALUNCOMMITTED, blocking, minimize sort operations and currently being updated by anotherDB2_SKIPINSERTED and minimize lock contention applicationDB2_SKIPDELETED to reduce lock Evaluate setting the CUR_COMMIT Monitor application performance and lockcontention based on application database configuration option to reduce waits using GET SNAPSHOT commandsrequirements lock waits, lock timeouts or deadlocks and SQL queries

Explain how DB2 can access the Set the DB2 registry variablescommitted version of a data row that is DB2_EVALUNCOMMITTED,

line currently being updated by another DB2_SKIPINSERTED andList the tools for monitoring database and application DB2_SKIPDELETED to reduce lockapplication activity Monitor application performance and lock contention based on application

Page 5: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Use GET SNAPSHOT commands to waits using GET SNAPSHOT commands requirements produce reports for analysis of database and SQL queriesperformance Set the DB2 registry variablesUtilize the administrative routines and views DB2_EVALUNCOMMITTED, lineprovided by to DB2 to simplify application DB2_SKIPINSERTED and List the tools for monitoring database andaccess to database performance statistics DB2_SKIPDELETED to reduce lock application activityUse the db2pd to perform performance contention based on application Use GET SNAPSHOT commands toanalysis or problem determination for a DB2 requirements produce reports for analysis of databasedatabase performanceUtilize the enhanced relational monitoring Utilize the administrative routines andinterfaces with SQL in reporting and line views provided by to DB2 to simplifymonitoring of the database system, data List the tools for monitoring database and application access to databaseobjects, and the package cache to help you application activity performance statisticsquickly identify issues that might be causing Use GET SNAPSHOT commands to Use the db2pd to perform performanceproblems produce reports for analysis of database analysis or problem determination for aConfigure the DB2 Database configuration performance DB2 databaseoptions that control the collection of request, Utilize the administrative routines and Utilize the enhanced relational monitoringactivity and object level metrics on the entire views provided by to DB2 to simplify interfaces with SQL in reporting anddatabase application access to database monitoring of the database system, dataCompare the enhanced monitoring features performance statistics objects, and the package cache to helpwith the snapshot monitoring facilities Use the db2pd to perform performance you quickly identify issues that might beprovided by previous DB2 releases analysis or problem determination for a causing problemsDescribe processing for Writing Database DB2 database Configure the DB2 Database configurationPages from Buffer Pools Utilize the enhanced relational monitoring options that control the collection ofMonitor Database Read and Write Activity interfaces with SQL in reporting and request, activity and object level metrics onusing GET SNAPSHOT commands or monitoring of the database system, data the entire databaseAdministrative Routines and Views objects, and the package cache to help Compare the enhanced monitoringMonitor Database Logging Activity and you quickly identify issues that might be features with the snapshot monitoringselect appropriate values for SOFTMAX and causing problems facilities provided by previous DB2MINCOMMIT Configure the DB2 Database releases Implement and monitor use of a block based configuration options that control the Describe processing for Writing Databasebuffer pool to improve table scan collection of request, activity and object Pages from Buffer Poolsperformance level metrics on the entire database Monitor Database Read and Write ActivityDescribe the alternate page cleaning Compare the enhanced monitoring using GET SNAPSHOT commands orprocessing associated with the DB2 Registry features with the snapshot monitoring Administrative Routines and Viewsvariable facilities provided by previous DB2 Monitor Database Logging Activity andDB2_USE_ALTERNATE_PAGE_CLEANIN releases select appropriate values for SOFTMAXG Describe processing for Writing Database and MINCOMMITDescribe how scan sharing can reduce the Pages from Buffer Pools Implement and monitor use of a blockI/O workload for accessing large tables Monitor Database Read and Write based buffer pool to improve table scanDescribe the calculation of prefetch size Activity using GET SNAPSHOT performancewhen PREFETCHSIZE is set to commands or Administrative Routines Describe the alternate page cleaningAUTOMATIC and Views processing associated with the DB2List the advantages of selecting DMS or Monitor Database Logging Activity and Registry variableSMS table space management as well as select appropriate values for SOFTMAX DB2_USE_ALTERNATE_PAGE_CLEANIusing Automatic Storage managed table and MINCOMMIT NGspaces Implement and monitor use of a block Describe how scan sharing can reduce theSet file system caching options for table based buffer pool to improve table scan I/O workload for accessing large tables spaces to optimize table space performance performance Describe the calculation of prefetch sizeDescribe the various row insertion Describe the alternate page cleaning when PREFETCHSIZE is set toalgorithms for tables that are based on using processing associated with the DB2 AUTOMATICthe APPEND option or defining a clustering Registry variable List the advantages of selecting DMS orindex DB2_USE_ALTERNATE_PAGE_CLEAN SMS table space management as well asPlan and implement Row Compression to ING using Automatic Storage managed tablereduce disk and memory requirements and Describe how scan sharing can reduce spacesimprove application performance the I/O workload for accessing large Set file system caching options for tableDescribe how DB2’s Index compression tables spaces to optimize table spaceoption can reduce disk storage requirements Describe the calculation of prefetch size performancefor indexes when PREFETCHSIZE is set to Describe the various row insertionExplain how DB2 can compress temporary AUTOMATIC algorithms for tables that are based ondata to improve application performance List the advantages of selecting DMS or using the APPEND option or defining aUtilize the DB2 provided tools and functions SMS table space management as well as clustering indexto estimate compression results for Indexes using Automatic Storage managed table Plan and implement Row Compression toand XML data spaces reduce disk and memory requirements andExplain the management of database Set file system caching options for table improve application performanceshared memory based on setting the spaces to optimize table space Describe how DB2’s Index compression

Page 6: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

configuration option DATABASE_MEMORY performance option can reduce disk storageto AUTOMATIC, COMPUTED or a specific Describe the various row insertion requirements for indexesnumber of pages algorithms for tables that are based on Explain how DB2 can compress temporarySelect the mode for managing data sort using the APPEND option or defining a data to improve application performancememory using SHEAPTHRES, SORTHEAP, clustering index Utilize the DB2 provided tools andand SHEAPTHRES_SHR Plan and implement Row Compression to functions to estimate compression resultsMonitor DB2 memory usage using the reduce disk and memory requirements for Indexes and XML data db2mtrk command or the graphical and improve application performance Explain the management of databaseapplication Memory Visualizer. Describe how DB2’s Index compression shared memory based on setting theUtilize the db2pd for monitoring current option can reduce disk storage configuration optiondatabase memory usage requirements for indexes DATABASE_MEMORY to AUTOMATIC,Use AUTOCONFIGURE to set database Explain how DB2 can compress COMPUTED or a specific number ofconfiguration defaults when a new database temporary data to improve application pagesis created or after a database workload performance Select the mode for managing data sortchanges Utilize the DB2 provided tools and memory using SHEAPTHRES,Explain the differences in STMM processing functions to estimate compression results SORTHEAP, and SHEAPTHRES_SHRbased on the setting of for Indexes and XML data Monitor DB2 memory usage using theDATABASE_MEMORY Explain the management of database db2mtrk command or the graphicalPlan and configure a database for shared memory based on setting the application Memory Visualizer.self-tuning memory configuration option Utilize the db2pd for monitoring currentActivate or deactivate STMM for selected DATABASE_MEMORY to AUTOMATIC, database memory usagememory heaps COMPUTED or a specific number of Use AUTOCONFIGURE to set databaseDescribe the management of sortheap pages configuration defaults when a newmemory based on the configuration of Select the mode for managing data sort database is created or after a databasesheapthres and sheapthres_shr memory using SHEAPTHRES, workload changes Explain how DB2 can automatically increase SORTHEAP, and SHEAPTHRES_SHR Explain the differences in STMMor decrease database memory for multiple Monitor DB2 memory usage using the processing based on the setting ofDB2 databases running on the same server db2mtrk command or the graphical DATABASE_MEMORYDescribe the advantages of using db2exfmt application Memory Visualizer. Plan and configure a database forCreate special tables used by Visual Explain Utilize the db2pd for monitoring current self-tuning memoryand db2exfmt database memory usage Activate or deactivate STMM for selectedIdentify how to set the Explain snapshot and Use AUTOCONFIGURE to set database memory heapsExplain mode registers to capture the configuration defaults when a new Describe the management of sortheapinformation of interest database is created or after a database memory based on the configuration ofDifferentiate between the different methods workload changes sheapthres and sheapthres_shrof viewing Explain information Explain the differences in STMM Explain how DB2 can automaticallyChoose the appropriate optimization class processing based on the setting of increase or decrease database memory forDescribe the catalog statistics and database DATABASE_MEMORY multiple DB2 databases running on theconfiguration options impact on access plan Plan and configure a database for same server selection self-tuning memory Describe the advantages of usingImplement a statistical view to provide better Activate or deactivate STMM for selected db2exfmtcardinality estimates for complex queries memory heaps Create special tables used by VisualEnable the statement concentrator using the Describe the management of sortheap Explain and db2exfmtstmt_conc database manager configuration memory based on the configuration of Identify how to set the Explain snapshotparameter to reduce SQL compilation sheapthres and sheapthres_shr and Explain mode registers to capture theoverhead for dynamic SQL statements Explain how DB2 can automatically information of interestUtilize the db2look utility to extract catalog increase or decrease database memory Differentiate between the differentstatistics from existing tables to mimic an for multiple DB2 databases running on methods of viewing Explain information existing database environment the same server Choose the appropriate optimization classCreate an optimizer profile to influence the Describe the advantages of using Describe the catalog statistics andaccess plan selected by the DB2 optimizer db2exfmt database configuration options impact onUse the MON_GET_INDEX table function to Create special tables used by Visual access plan selectionmonitor index usage Explain and db2exfmt Implement a statistical view to provideDescribe the Block Indexing capability for Identify how to set the Explain snapshot better cardinality estimates for complexMDC tables and Explain mode registers to capture queriesExplain how multiple indexes can be the information of interest Enable the statement concentrator usingcombined using Index ORing and Dynamic Differentiate between the different the stmt_conc database managerBitmap Index ANDing methods of viewing Explain information configuration parameter to reduce SQLUse the Design Advisor to predict Choose the appropriate optimization compilation overhead for dynamic SQLperformance gains from adding new indexes class statementsDescribe the differences between Nested Describe the catalog statistics and Utilize the db2look utility to extract catalogLoop, Merge Scan and Hash Joins database configuration options impact on statistics from existing tables to mimic anPlan the implementation of Refresh access plan selection existing database environmentImmediate or Refresh Deferred Materialized Implement a statistical view to provide Create an optimizer profile to influence theQuery Tables to improve query performance better cardinality estimates for complex access plan selected by the DB2 optimizerUtilize the design advisor to analyze SQL queries Use the MON_GET_INDEX table function

Page 7: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

statements and recommend new MQTs Enable the statement concentrator using to monitor index usageDescribe the features of Range Partitioned the stmt_conc database manager Describe the Block Indexing capability forTables to support large DB2 tables using configuration parameter to reduce SQL MDC tablesmultiple tablespaces, including the roll-in compilation overhead for dynamic SQL Explain how multiple indexes can beand roll-out of data ranges statements combined using Index ORing and DynamicExplain the difference between partitioned Utilize the db2look utility to extract Bitmap Index ANDingand non-partitioned indexes for a catalog statistics from existing tables to Use the Design Advisor to predictrange-partitioned table mimic an existing database environment performance gains from adding newImplement partitioned indexes to improve Create an optimizer profile to influence indexes performance when you roll data out or roll the access plan selected by the DB2 Describe the differences between Nesteddata into a range-partitioned table optimizer Loop, Merge Scan and Hash JoinsUse the DB2 Explain tools to determine if Use the MON_GET_INDEX table function Plan the implementation of Refreshpartition elimination is being used to improve to monitor index usage Immediate or Refresh Deferredaccess performance to large range Describe the Block Indexing capability for Materialized Query Tables to improvepartitioned tables MDC tables query performanceSelect appropriate RUNSTATS options to Explain how multiple indexes can be Utilize the design advisor to analyze SQLcollect Distribution Statistics or Column combined using Index ORing and statements and recommend new MQTsGroup Statistics to improve cardinality Dynamic Bitmap Index ANDing Describe the features of Range Partitionedestimates during SQL compilation Use the Design Advisor to predict Tables to support large DB2 tables usingUse the table and indexes statistics to plan performance gains from adding new multiple tablespaces, including the roll-infor table and index reorganization using the indexes and roll-out of data rangesREORG utility Describe the differences between Nested Explain the difference between partitionedSet the policies and options for automation Loop, Merge Scan and Hash Joins and non-partitioned indexes for aof catalog statistics collection. Plan the implementation of Refresh range-partitioned tableMonitor the activity associated with Immediate or Refresh Deferred Implement partitioned indexes to improveimplementing real time statistics collection Materialized Query Tables to improve performance when you roll data out or rollUse the db2batch utility to run SQL query performance data into a range-partitioned tableworkloads and collect performance statistics Utilize the design advisor to analyze SQL Use the DB2 Explain tools to determine ifthat can be used to benchmark database statements and recommend new MQTs partition elimination is being used toand application changes Describe the features of Range improve access performance to largeDescribe the performance advantages of Partitioned Tables to support large DB2 range partitioned tables using stored procedures tables using multiple tablespaces, Select appropriate RUNSTATS options toDesign applications to maximize record including the roll-in and roll-out of data collect Distribution Statistics or Columnblocking, minimize sort operations and ranges Group Statistics to improve cardinalityminimize lock contention Explain the difference between estimates during SQL compilationEvaluate setting the CUR_COMMIT partitioned and non-partitioned indexes Use the table and indexes statistics to plandatabase configuration option to reduce lock for a range-partitioned table for table and index reorganization usingwaits, lock timeouts or deadlocks Implement partitioned indexes to improve the REORG utilityExplain how DB2 can access the committed performance when you roll data out or roll Set the policies and options for automationversion of a data row that is currently being data into a range-partitioned table of catalog statistics collection.updated by another application Use the DB2 Explain tools to determine if Monitor the activity associated withMonitor application performance and lock partition elimination is being used to implementing real time statistics collectionwaits using GET SNAPSHOT commands improve access performance to large Use the db2batch utility to run SQLand SQL queries range partitioned tables workloads and collect performanceSet the DB2 registry variables Select appropriate RUNSTATS options to statistics that can be used to benchmarkDB2_EVALUNCOMMITTED, collect Distribution Statistics or Column database and application changes DB2_SKIPINSERTED and Group Statistics to improve cardinality Describe the performance advantages ofDB2_SKIPDELETED to reduce lock estimates during SQL compilation using stored procedurescontention based on application Use the table and indexes statistics to Design applications to maximize recordrequirements plan for table and index reorganization blocking, minimize sort operations and

using the REORG utility minimize lock contentionSet the policies and options for Evaluate setting the CUR_COMMIT

line automation of catalog statistics collection. database configuration option to reduceList the tools for monitoring database and Monitor the activity associated with lock waits, lock timeouts or deadlocksapplication activity implementing real time statistics Explain how DB2 can access theUse GET SNAPSHOT commands to collection committed version of a data row that isproduce reports for analysis of database Use the db2batch utility to run SQL currently being updated by anotherperformance workloads and collect performance applicationUtilize the administrative routines and views statistics that can be used to benchmark Monitor application performance and lockprovided by to DB2 to simplify application database and application changes waits using GET SNAPSHOT commandsaccess to database performance statistics Describe the performance advantages of and SQL queriesUse the db2pd to perform performance using stored procedures Set the DB2 registry variablesanalysis or problem determination for a DB2 Design applications to maximize record DB2_EVALUNCOMMITTED,database blocking, minimize sort operations and DB2_SKIPINSERTED andUtilize the enhanced relational monitoring minimize lock contention DB2_SKIPDELETED to reduce lockinterfaces with SQL in reporting and Evaluate setting the CUR_COMMIT contention based on application

Page 8: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

monitoring of the database system, data database configuration option to reduce requirements objects, and the package cache to help you lock waits, lock timeouts or deadlocksquickly identify issues that might be causing Explain how DB2 can access theproblems committed version of a data row that is lineConfigure the DB2 Database configuration currently being updated by another List the tools for monitoring database andoptions that control the collection of request, application application activityactivity and object level metrics on the entire Monitor application performance and lock Use GET SNAPSHOT commands todatabase waits using GET SNAPSHOT commands produce reports for analysis of databaseCompare the enhanced monitoring features and SQL queries performancewith the snapshot monitoring facilities Set the DB2 registry variables Utilize the administrative routines andprovided by previous DB2 releases DB2_EVALUNCOMMITTED, views provided by to DB2 to simplifyDescribe processing for Writing Database DB2_SKIPINSERTED and application access to databasePages from Buffer Pools DB2_SKIPDELETED to reduce lock performance statisticsMonitor Database Read and Write Activity contention based on application Use the db2pd to perform performanceusing GET SNAPSHOT commands or requirements analysis or problem determination for aAdministrative Routines and Views DB2 databaseMonitor Database Logging Activity and Utilize the enhanced relational monitoringselect appropriate values for SOFTMAX and line interfaces with SQL in reporting andMINCOMMIT List the tools for monitoring database and monitoring of the database system, dataImplement and monitor use of a block based application activity objects, and the package cache to helpbuffer pool to improve table scan Use GET SNAPSHOT commands to you quickly identify issues that might beperformance produce reports for analysis of database causing problemsDescribe the alternate page cleaning performance Configure the DB2 Database configurationprocessing associated with the DB2 Registry Utilize the administrative routines and options that control the collection ofvariable views provided by to DB2 to simplify request, activity and object level metrics onDB2_USE_ALTERNATE_PAGE_CLEANIN application access to database the entire databaseG performance statistics Compare the enhanced monitoringDescribe how scan sharing can reduce the Use the db2pd to perform performance features with the snapshot monitoringI/O workload for accessing large tables analysis or problem determination for a facilities provided by previous DB2Describe the calculation of prefetch size DB2 database releases when PREFETCHSIZE is set to Utilize the enhanced relational monitoring Describe processing for Writing DatabaseAUTOMATIC interfaces with SQL in reporting and Pages from Buffer PoolsList the advantages of selecting DMS or monitoring of the database system, data Monitor Database Read and Write ActivitySMS table space management as well as objects, and the package cache to help using GET SNAPSHOT commands orusing Automatic Storage managed table you quickly identify issues that might be Administrative Routines and Viewsspaces causing problems Monitor Database Logging Activity andSet file system caching options for table Configure the DB2 Database select appropriate values for SOFTMAXspaces to optimize table space performance configuration options that control the and MINCOMMITDescribe the various row insertion collection of request, activity and object Implement and monitor use of a blockalgorithms for tables that are based on using level metrics on the entire database based buffer pool to improve table scanthe APPEND option or defining a clustering Compare the enhanced monitoring performanceindex features with the snapshot monitoring Describe the alternate page cleaningPlan and implement Row Compression to facilities provided by previous DB2 processing associated with the DB2reduce disk and memory requirements and releases Registry variableimprove application performance Describe processing for Writing Database DB2_USE_ALTERNATE_PAGE_CLEANIDescribe how DB2’s Index compression Pages from Buffer Pools NGoption can reduce disk storage requirements Monitor Database Read and Write Describe how scan sharing can reduce thefor indexes Activity using GET SNAPSHOT I/O workload for accessing large tables Explain how DB2 can compress temporary commands or Administrative Routines Describe the calculation of prefetch sizedata to improve application performance and Views when PREFETCHSIZE is set toUtilize the DB2 provided tools and functions Monitor Database Logging Activity and AUTOMATICto estimate compression results for Indexes select appropriate values for SOFTMAX List the advantages of selecting DMS orand XML data and MINCOMMIT SMS table space management as well asExplain the management of database Implement and monitor use of a block using Automatic Storage managed tableshared memory based on setting the based buffer pool to improve table scan spacesconfiguration option DATABASE_MEMORY performance Set file system caching options for tableto AUTOMATIC, COMPUTED or a specific Describe the alternate page cleaning spaces to optimize table spacenumber of pages processing associated with the DB2 performanceSelect the mode for managing data sort Registry variable Describe the various row insertionmemory using SHEAPTHRES, SORTHEAP, DB2_USE_ALTERNATE_PAGE_CLEAN algorithms for tables that are based onand SHEAPTHRES_SHR ING using the APPEND option or defining aMonitor DB2 memory usage using the Describe how scan sharing can reduce clustering indexdb2mtrk command or the graphical the I/O workload for accessing large Plan and implement Row Compression toapplication Memory Visualizer. tables reduce disk and memory requirements andUtilize the db2pd for monitoring current Describe the calculation of prefetch size improve application performancedatabase memory usage when PREFETCHSIZE is set to Describe how DB2’s Index compression

Page 9: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Use AUTOCONFIGURE to set database AUTOMATIC option can reduce disk storageconfiguration defaults when a new database List the advantages of selecting DMS or requirements for indexesis created or after a database workload SMS table space management as well as Explain how DB2 can compress temporarychanges using Automatic Storage managed table data to improve application performanceExplain the differences in STMM processing spaces Utilize the DB2 provided tools andbased on the setting of Set file system caching options for table functions to estimate compression resultsDATABASE_MEMORY spaces to optimize table space for Indexes and XML data Plan and configure a database for performance Explain the management of databaseself-tuning memory Describe the various row insertion shared memory based on setting theActivate or deactivate STMM for selected algorithms for tables that are based on configuration optionmemory heaps using the APPEND option or defining a DATABASE_MEMORY to AUTOMATIC,Describe the management of sortheap clustering index COMPUTED or a specific number ofmemory based on the configuration of Plan and implement Row Compression to pagessheapthres and sheapthres_shr reduce disk and memory requirements Select the mode for managing data sortExplain how DB2 can automatically increase and improve application performance memory using SHEAPTHRES,or decrease database memory for multiple Describe how DB2’s Index compression SORTHEAP, and SHEAPTHRES_SHRDB2 databases running on the same server option can reduce disk storage Monitor DB2 memory usage using theDescribe the advantages of using db2exfmt requirements for indexes db2mtrk command or the graphicalCreate special tables used by Visual Explain Explain how DB2 can compress application Memory Visualizer.and db2exfmt temporary data to improve application Utilize the db2pd for monitoring currentIdentify how to set the Explain snapshot and performance database memory usageExplain mode registers to capture the Utilize the DB2 provided tools and Use AUTOCONFIGURE to set databaseinformation of interest functions to estimate compression results configuration defaults when a newDifferentiate between the different methods for Indexes and XML data database is created or after a databaseof viewing Explain information Explain the management of database workload changes Choose the appropriate optimization class shared memory based on setting the Explain the differences in STMMDescribe the catalog statistics and database configuration option processing based on the setting ofconfiguration options impact on access plan DATABASE_MEMORY to AUTOMATIC, DATABASE_MEMORYselection COMPUTED or a specific number of Plan and configure a database forImplement a statistical view to provide better pages self-tuning memorycardinality estimates for complex queries Select the mode for managing data sort Activate or deactivate STMM for selectedEnable the statement concentrator using the memory using SHEAPTHRES, memory heapsstmt_conc database manager configuration SORTHEAP, and SHEAPTHRES_SHR Describe the management of sortheapparameter to reduce SQL compilation Monitor DB2 memory usage using the memory based on the configuration ofoverhead for dynamic SQL statements db2mtrk command or the graphical sheapthres and sheapthres_shrUtilize the db2look utility to extract catalog application Memory Visualizer. Explain how DB2 can automaticallystatistics from existing tables to mimic an Utilize the db2pd for monitoring current increase or decrease database memory forexisting database environment database memory usage multiple DB2 databases running on theCreate an optimizer profile to influence the Use AUTOCONFIGURE to set database same server access plan selected by the DB2 optimizer configuration defaults when a new Describe the advantages of usingUse the MON_GET_INDEX table function to database is created or after a database db2exfmtmonitor index usage workload changes Create special tables used by VisualDescribe the Block Indexing capability for Explain the differences in STMM Explain and db2exfmtMDC tables processing based on the setting of Identify how to set the Explain snapshotExplain how multiple indexes can be DATABASE_MEMORY and Explain mode registers to capture thecombined using Index ORing and Dynamic Plan and configure a database for information of interestBitmap Index ANDing self-tuning memory Differentiate between the differentUse the Design Advisor to predict Activate or deactivate STMM for selected methods of viewing Explain information performance gains from adding new indexes memory heaps Choose the appropriate optimization classDescribe the differences between Nested Describe the management of sortheap Describe the catalog statistics andLoop, Merge Scan and Hash Joins memory based on the configuration of database configuration options impact onPlan the implementation of Refresh sheapthres and sheapthres_shr access plan selectionImmediate or Refresh Deferred Materialized Explain how DB2 can automatically Implement a statistical view to provideQuery Tables to improve query performance increase or decrease database memory better cardinality estimates for complexUtilize the design advisor to analyze SQL for multiple DB2 databases running on queriesstatements and recommend new MQTs the same server Enable the statement concentrator usingDescribe the features of Range Partitioned Describe the advantages of using the stmt_conc database managerTables to support large DB2 tables using db2exfmt configuration parameter to reduce SQLmultiple tablespaces, including the roll-in Create special tables used by Visual compilation overhead for dynamic SQLand roll-out of data ranges Explain and db2exfmt statementsExplain the difference between partitioned Identify how to set the Explain snapshot Utilize the db2look utility to extract catalogand non-partitioned indexes for a and Explain mode registers to capture statistics from existing tables to mimic anrange-partitioned table the information of interest existing database environmentImplement partitioned indexes to improve Differentiate between the different Create an optimizer profile to influence theperformance when you roll data out or roll methods of viewing Explain information access plan selected by the DB2 optimizerdata into a range-partitioned table Choose the appropriate optimization Use the MON_GET_INDEX table function

Page 10: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Use the DB2 Explain tools to determine if class to monitor index usagepartition elimination is being used to improve Describe the catalog statistics and Describe the Block Indexing capability foraccess performance to large range database configuration options impact on MDC tablespartitioned tables access plan selection Explain how multiple indexes can beSelect appropriate RUNSTATS options to Implement a statistical view to provide combined using Index ORing and Dynamiccollect Distribution Statistics or Column better cardinality estimates for complex Bitmap Index ANDingGroup Statistics to improve cardinality queries Use the Design Advisor to predictestimates during SQL compilation Enable the statement concentrator using performance gains from adding newUse the table and indexes statistics to plan the stmt_conc database manager indexes for table and index reorganization using the configuration parameter to reduce SQL Describe the differences between NestedREORG utility compilation overhead for dynamic SQL Loop, Merge Scan and Hash JoinsSet the policies and options for automation statements Plan the implementation of Refreshof catalog statistics collection. Utilize the db2look utility to extract Immediate or Refresh DeferredMonitor the activity associated with catalog statistics from existing tables to Materialized Query Tables to improveimplementing real time statistics collection mimic an existing database environment query performanceUse the db2batch utility to run SQL Create an optimizer profile to influence Utilize the design advisor to analyze SQLworkloads and collect performance statistics the access plan selected by the DB2 statements and recommend new MQTsthat can be used to benchmark database optimizer Describe the features of Range Partitionedand application changes Use the MON_GET_INDEX table function Tables to support large DB2 tables usingDescribe the performance advantages of to monitor index usage multiple tablespaces, including the roll-inusing stored procedures Describe the Block Indexing capability for and roll-out of data rangesDesign applications to maximize record MDC tables Explain the difference between partitionedblocking, minimize sort operations and Explain how multiple indexes can be and non-partitioned indexes for aminimize lock contention combined using Index ORing and range-partitioned tableEvaluate setting the CUR_COMMIT Dynamic Bitmap Index ANDing Implement partitioned indexes to improvedatabase configuration option to reduce lock Use the Design Advisor to predict performance when you roll data out or rollwaits, lock timeouts or deadlocks performance gains from adding new data into a range-partitioned tableExplain how DB2 can access the committed indexes Use the DB2 Explain tools to determine ifversion of a data row that is currently being Describe the differences between Nested partition elimination is being used toupdated by another application Loop, Merge Scan and Hash Joins improve access performance to largeMonitor application performance and lock Plan the implementation of Refresh range partitioned tables waits using GET SNAPSHOT commands Immediate or Refresh Deferred Select appropriate RUNSTATS options toand SQL queries Materialized Query Tables to improve collect Distribution Statistics or ColumnSet the DB2 registry variables query performance Group Statistics to improve cardinalityDB2_EVALUNCOMMITTED, Utilize the design advisor to analyze SQL estimates during SQL compilationDB2_SKIPINSERTED and statements and recommend new MQTs Use the table and indexes statistics to planDB2_SKIPDELETED to reduce lock Describe the features of Range for table and index reorganization usingcontention based on application Partitioned Tables to support large DB2 the REORG utilityrequirements tables using multiple tablespaces, Set the policies and options for automation

including the roll-in and roll-out of data of catalog statistics collection.ranges Monitor the activity associated with

line Explain the difference between implementing real time statistics collectionList the tools for monitoring database and partitioned and non-partitioned indexes Use the db2batch utility to run SQLapplication activity for a range-partitioned table workloads and collect performanceUse GET SNAPSHOT commands to Implement partitioned indexes to improve statistics that can be used to benchmarkproduce reports for analysis of database performance when you roll data out or roll database and application changes performance data into a range-partitioned table Describe the performance advantages ofUtilize the administrative routines and views Use the DB2 Explain tools to determine if using stored proceduresprovided by to DB2 to simplify application partition elimination is being used to Design applications to maximize recordaccess to database performance statistics improve access performance to large blocking, minimize sort operations andUse the db2pd to perform performance range partitioned tables minimize lock contentionanalysis or problem determination for a DB2 Select appropriate RUNSTATS options to Evaluate setting the CUR_COMMITdatabase collect Distribution Statistics or Column database configuration option to reduceUtilize the enhanced relational monitoring Group Statistics to improve cardinality lock waits, lock timeouts or deadlocksinterfaces with SQL in reporting and estimates during SQL compilation Explain how DB2 can access themonitoring of the database system, data Use the table and indexes statistics to committed version of a data row that isobjects, and the package cache to help you plan for table and index reorganization currently being updated by anotherquickly identify issues that might be causing using the REORG utility applicationproblems Set the policies and options for Monitor application performance and lockConfigure the DB2 Database configuration automation of catalog statistics collection. waits using GET SNAPSHOT commandsoptions that control the collection of request, Monitor the activity associated with and SQL queriesactivity and object level metrics on the entire implementing real time statistics Set the DB2 registry variablesdatabase collection DB2_EVALUNCOMMITTED,Compare the enhanced monitoring features Use the db2batch utility to run SQL DB2_SKIPINSERTED andwith the snapshot monitoring facilities workloads and collect performance DB2_SKIPDELETED to reduce lockprovided by previous DB2 releases statistics that can be used to benchmark contention based on application

Page 11: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Describe processing for Writing Database database and application changes requirements Pages from Buffer Pools Describe the performance advantages ofMonitor Database Read and Write Activity using stored procedures Complex SQL performance using GET SNAPSHOT commands or Design applications to maximize record lineAdministrative Routines and Views blocking, minimize sort operations and Review Explain reports for costly sortMonitor Database Logging Activity and minimize lock contention operationsselect appropriate values for SOFTMAX and Evaluate setting the CUR_COMMITMINCOMMIT database configuration option to reduceImplement and monitor use of a block based lock waits, lock timeouts or deadlocks linebuffer pool to improve table scan Explain how DB2 can access the List the tools for monitoring database andperformance committed version of a data row that is application activityDescribe the alternate page cleaning currently being updated by another Use GET SNAPSHOT commands toprocessing associated with the DB2 Registry application produce reports for analysis of databasevariable Monitor application performance and lock performanceDB2_USE_ALTERNATE_PAGE_CLEANIN waits using GET SNAPSHOT commands Utilize the administrative routines andG and SQL queries views provided by to DB2 to simplifyDescribe how scan sharing can reduce the Set the DB2 registry variables application access to databaseI/O workload for accessing large tables DB2_EVALUNCOMMITTED, performance statisticsDescribe the calculation of prefetch size DB2_SKIPINSERTED and Use the db2pd to perform performancewhen PREFETCHSIZE is set to DB2_SKIPDELETED to reduce lock analysis or problem determination for aAUTOMATIC contention based on application DB2 databaseList the advantages of selecting DMS or requirements Utilize the enhanced relational monitoringSMS table space management as well as interfaces with SQL in reporting andusing Automatic Storage managed table monitoring of the database system, dataspaces line objects, and the package cache to helpSet file system caching options for table List the tools for monitoring database and you quickly identify issues that might bespaces to optimize table space performance application activity causing problemsDescribe the various row insertion Use GET SNAPSHOT commands to Configure the DB2 Database configurationalgorithms for tables that are based on using produce reports for analysis of database options that control the collection ofthe APPEND option or defining a clustering performance request, activity and object level metrics onindex Utilize the administrative routines and the entire databasePlan and implement Row Compression to views provided by to DB2 to simplify Compare the enhanced monitoringreduce disk and memory requirements and application access to database features with the snapshot monitoringimprove application performance performance statistics facilities provided by previous DB2Describe how DB2’s Index compression Use the db2pd to perform performance releases option can reduce disk storage requirements analysis or problem determination for a Describe processing for Writing Databasefor indexes DB2 database Pages from Buffer PoolsExplain how DB2 can compress temporary Utilize the enhanced relational monitoring Monitor Database Read and Write Activitydata to improve application performance interfaces with SQL in reporting and using GET SNAPSHOT commands orUtilize the DB2 provided tools and functions monitoring of the database system, data Administrative Routines and Viewsto estimate compression results for Indexes objects, and the package cache to help Monitor Database Logging Activity andand XML data you quickly identify issues that might be select appropriate values for SOFTMAXExplain the management of database causing problems and MINCOMMITshared memory based on setting the Configure the DB2 Database Implement and monitor use of a blockconfiguration option DATABASE_MEMORY configuration options that control the based buffer pool to improve table scanto AUTOMATIC, COMPUTED or a specific collection of request, activity and object performancenumber of pages level metrics on the entire database Describe the alternate page cleaningSelect the mode for managing data sort Compare the enhanced monitoring processing associated with the DB2memory using SHEAPTHRES, SORTHEAP, features with the snapshot monitoring Registry variableand SHEAPTHRES_SHR facilities provided by previous DB2 DB2_USE_ALTERNATE_PAGE_CLEANIMonitor DB2 memory usage using the releases NGdb2mtrk command or the graphical Describe processing for Writing Database Describe how scan sharing can reduce theapplication Memory Visualizer. Pages from Buffer Pools I/O workload for accessing large tables Utilize the db2pd for monitoring current Monitor Database Read and Write Describe the calculation of prefetch sizedatabase memory usage Activity using GET SNAPSHOT when PREFETCHSIZE is set toUse AUTOCONFIGURE to set database commands or Administrative Routines AUTOMATICconfiguration defaults when a new database and Views List the advantages of selecting DMS oris created or after a database workload Monitor Database Logging Activity and SMS table space management as well aschanges select appropriate values for SOFTMAX using Automatic Storage managed tableExplain the differences in STMM processing and MINCOMMIT spacesbased on the setting of Implement and monitor use of a block Set file system caching options for tableDATABASE_MEMORY based buffer pool to improve table scan spaces to optimize table spacePlan and configure a database for performance performanceself-tuning memory Describe the alternate page cleaning Describe the various row insertionActivate or deactivate STMM for selected processing associated with the DB2 algorithms for tables that are based onmemory heaps Registry variable using the APPEND option or defining a

Page 12: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Describe the management of sortheap DB2_USE_ALTERNATE_PAGE_CLEAN clustering indexmemory based on the configuration of ING Plan and implement Row Compression tosheapthres and sheapthres_shr Describe how scan sharing can reduce reduce disk and memory requirements andExplain how DB2 can automatically increase the I/O workload for accessing large improve application performanceor decrease database memory for multiple tables Describe how DB2’s Index compressionDB2 databases running on the same server Describe the calculation of prefetch size option can reduce disk storageDescribe the advantages of using db2exfmt when PREFETCHSIZE is set to requirements for indexesCreate special tables used by Visual Explain AUTOMATIC Explain how DB2 can compress temporaryand db2exfmt List the advantages of selecting DMS or data to improve application performanceIdentify how to set the Explain snapshot and SMS table space management as well as Utilize the DB2 provided tools andExplain mode registers to capture the using Automatic Storage managed table functions to estimate compression resultsinformation of interest spaces for Indexes and XML data Differentiate between the different methods Set file system caching options for table Explain the management of databaseof viewing Explain information spaces to optimize table space shared memory based on setting theChoose the appropriate optimization class performance configuration optionDescribe the catalog statistics and database Describe the various row insertion DATABASE_MEMORY to AUTOMATIC,configuration options impact on access plan algorithms for tables that are based on COMPUTED or a specific number ofselection using the APPEND option or defining a pagesImplement a statistical view to provide better clustering index Select the mode for managing data sortcardinality estimates for complex queries Plan and implement Row Compression to memory using SHEAPTHRES,Enable the statement concentrator using the reduce disk and memory requirements SORTHEAP, and SHEAPTHRES_SHRstmt_conc database manager configuration and improve application performance Monitor DB2 memory usage using theparameter to reduce SQL compilation Describe how DB2’s Index compression db2mtrk command or the graphicaloverhead for dynamic SQL statements option can reduce disk storage application Memory Visualizer.Utilize the db2look utility to extract catalog requirements for indexes Utilize the db2pd for monitoring currentstatistics from existing tables to mimic an Explain how DB2 can compress database memory usageexisting database environment temporary data to improve application Use AUTOCONFIGURE to set databaseCreate an optimizer profile to influence the performance configuration defaults when a newaccess plan selected by the DB2 optimizer Utilize the DB2 provided tools and database is created or after a databaseUse the MON_GET_INDEX table function to functions to estimate compression results workload changes monitor index usage for Indexes and XML data Explain the differences in STMMDescribe the Block Indexing capability for Explain the management of database processing based on the setting ofMDC tables shared memory based on setting the DATABASE_MEMORYExplain how multiple indexes can be configuration option Plan and configure a database forcombined using Index ORing and Dynamic DATABASE_MEMORY to AUTOMATIC, self-tuning memoryBitmap Index ANDing COMPUTED or a specific number of Activate or deactivate STMM for selectedUse the Design Advisor to predict pages memory heapsperformance gains from adding new indexes Select the mode for managing data sort Describe the management of sortheapDescribe the differences between Nested memory using SHEAPTHRES, memory based on the configuration ofLoop, Merge Scan and Hash Joins SORTHEAP, and SHEAPTHRES_SHR sheapthres and sheapthres_shrPlan the implementation of Refresh Monitor DB2 memory usage using the Explain how DB2 can automaticallyImmediate or Refresh Deferred Materialized db2mtrk command or the graphical increase or decrease database memory forQuery Tables to improve query performance application Memory Visualizer. multiple DB2 databases running on theUtilize the design advisor to analyze SQL Utilize the db2pd for monitoring current same server statements and recommend new MQTs database memory usage Describe the advantages of usingDescribe the features of Range Partitioned Use AUTOCONFIGURE to set database db2exfmtTables to support large DB2 tables using configuration defaults when a new Create special tables used by Visualmultiple tablespaces, including the roll-in database is created or after a database Explain and db2exfmtand roll-out of data ranges workload changes Identify how to set the Explain snapshotExplain the difference between partitioned Explain the differences in STMM and Explain mode registers to capture theand non-partitioned indexes for a processing based on the setting of information of interestrange-partitioned table DATABASE_MEMORY Differentiate between the differentImplement partitioned indexes to improve Plan and configure a database for methods of viewing Explain information performance when you roll data out or roll self-tuning memory Choose the appropriate optimization classdata into a range-partitioned table Activate or deactivate STMM for selected Describe the catalog statistics andUse the DB2 Explain tools to determine if memory heaps database configuration options impact onpartition elimination is being used to improve Describe the management of sortheap access plan selectionaccess performance to large range memory based on the configuration of Implement a statistical view to providepartitioned tables sheapthres and sheapthres_shr better cardinality estimates for complexSelect appropriate RUNSTATS options to Explain how DB2 can automatically queriescollect Distribution Statistics or Column increase or decrease database memory Enable the statement concentrator usingGroup Statistics to improve cardinality for multiple DB2 databases running on the stmt_conc database managerestimates during SQL compilation the same server configuration parameter to reduce SQLUse the table and indexes statistics to plan Describe the advantages of using compilation overhead for dynamic SQLfor table and index reorganization using the db2exfmt statementsREORG utility Create special tables used by Visual Utilize the db2look utility to extract catalog

Page 13: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Set the policies and options for automation Explain and db2exfmt statistics from existing tables to mimic anof catalog statistics collection. Identify how to set the Explain snapshot existing database environmentMonitor the activity associated with and Explain mode registers to capture Create an optimizer profile to influence theimplementing real time statistics collection the information of interest access plan selected by the DB2 optimizerUse the db2batch utility to run SQL Differentiate between the different Use the MON_GET_INDEX table functionworkloads and collect performance statistics methods of viewing Explain information to monitor index usagethat can be used to benchmark database Choose the appropriate optimization Describe the Block Indexing capability forand application changes class MDC tablesDescribe the performance advantages of Describe the catalog statistics and Explain how multiple indexes can beusing stored procedures database configuration options impact on combined using Index ORing and DynamicDesign applications to maximize record access plan selection Bitmap Index ANDingblocking, minimize sort operations and Implement a statistical view to provide Use the Design Advisor to predictminimize lock contention better cardinality estimates for complex performance gains from adding newEvaluate setting the CUR_COMMIT queries indexes database configuration option to reduce lock Enable the statement concentrator using Describe the differences between Nestedwaits, lock timeouts or deadlocks the stmt_conc database manager Loop, Merge Scan and Hash JoinsExplain how DB2 can access the committed configuration parameter to reduce SQL Plan the implementation of Refreshversion of a data row that is currently being compilation overhead for dynamic SQL Immediate or Refresh Deferredupdated by another application statements Materialized Query Tables to improveMonitor application performance and lock Utilize the db2look utility to extract query performancewaits using GET SNAPSHOT commands catalog statistics from existing tables to Utilize the design advisor to analyze SQLand SQL queries mimic an existing database environment statements and recommend new MQTsSet the DB2 registry variables Create an optimizer profile to influence Describe the features of Range PartitionedDB2_EVALUNCOMMITTED, the access plan selected by the DB2 Tables to support large DB2 tables usingDB2_SKIPINSERTED and optimizer multiple tablespaces, including the roll-inDB2_SKIPDELETED to reduce lock Use the MON_GET_INDEX table function and roll-out of data rangescontention based on application to monitor index usage Explain the difference between partitionedrequirements Describe the Block Indexing capability for and non-partitioned indexes for a

MDC tables range-partitioned tableExplain how multiple indexes can be Implement partitioned indexes to improve

line combined using Index ORing and performance when you roll data out or rollList the tools for monitoring database and Dynamic Bitmap Index ANDing data into a range-partitioned tableapplication activity Use the Design Advisor to predict Use the DB2 Explain tools to determine ifUse GET SNAPSHOT commands to performance gains from adding new partition elimination is being used toproduce reports for analysis of database indexes improve access performance to largeperformance Describe the differences between Nested range partitioned tables Utilize the administrative routines and views Loop, Merge Scan and Hash Joins Select appropriate RUNSTATS options toprovided by to DB2 to simplify application Plan the implementation of Refresh collect Distribution Statistics or Columnaccess to database performance statistics Immediate or Refresh Deferred Group Statistics to improve cardinalityUse the db2pd to perform performance Materialized Query Tables to improve estimates during SQL compilationanalysis or problem determination for a DB2 query performance Use the table and indexes statistics to plandatabase Utilize the design advisor to analyze SQL for table and index reorganization usingUtilize the enhanced relational monitoring statements and recommend new MQTs the REORG utilityinterfaces with SQL in reporting and Describe the features of Range Set the policies and options for automationmonitoring of the database system, data Partitioned Tables to support large DB2 of catalog statistics collection.objects, and the package cache to help you tables using multiple tablespaces, Monitor the activity associated withquickly identify issues that might be causing including the roll-in and roll-out of data implementing real time statistics collectionproblems ranges Use the db2batch utility to run SQLConfigure the DB2 Database configuration Explain the difference between workloads and collect performanceoptions that control the collection of request, partitioned and non-partitioned indexes statistics that can be used to benchmarkactivity and object level metrics on the entire for a range-partitioned table database and application changes database Implement partitioned indexes to improve Describe the performance advantages ofCompare the enhanced monitoring features performance when you roll data out or roll using stored procedureswith the snapshot monitoring facilities data into a range-partitioned table Design applications to maximize recordprovided by previous DB2 releases Use the DB2 Explain tools to determine if blocking, minimize sort operations andDescribe processing for Writing Database partition elimination is being used to minimize lock contentionPages from Buffer Pools improve access performance to large Evaluate setting the CUR_COMMITMonitor Database Read and Write Activity range partitioned tables database configuration option to reduceusing GET SNAPSHOT commands or Select appropriate RUNSTATS options to lock waits, lock timeouts or deadlocksAdministrative Routines and Views collect Distribution Statistics or Column Explain how DB2 can access theMonitor Database Logging Activity and Group Statistics to improve cardinality committed version of a data row that isselect appropriate values for SOFTMAX and estimates during SQL compilation currently being updated by anotherMINCOMMIT Use the table and indexes statistics to applicationImplement and monitor use of a block based plan for table and index reorganization Monitor application performance and lockbuffer pool to improve table scan using the REORG utility waits using GET SNAPSHOT commandsperformance Set the policies and options for and SQL queries

Page 14: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Describe the alternate page cleaning automation of catalog statistics collection. Set the DB2 registry variablesprocessing associated with the DB2 Registry Monitor the activity associated with DB2_EVALUNCOMMITTED,variable implementing real time statistics DB2_SKIPINSERTED andDB2_USE_ALTERNATE_PAGE_CLEANIN collection DB2_SKIPDELETED to reduce lockG Use the db2batch utility to run SQL contention based on applicationDescribe how scan sharing can reduce the workloads and collect performance requirements I/O workload for accessing large tables statistics that can be used to benchmarkDescribe the calculation of prefetch size database and application changes when PREFETCHSIZE is set to Describe the performance advantages of lineAUTOMATIC using stored procedures List the tools for monitoring database andList the advantages of selecting DMS or Design applications to maximize record application activitySMS table space management as well as blocking, minimize sort operations and Use GET SNAPSHOT commands tousing Automatic Storage managed table minimize lock contention produce reports for analysis of databasespaces Evaluate setting the CUR_COMMIT performanceSet file system caching options for table database configuration option to reduce Utilize the administrative routines andspaces to optimize table space performance lock waits, lock timeouts or deadlocks views provided by to DB2 to simplifyDescribe the various row insertion Explain how DB2 can access the application access to databasealgorithms for tables that are based on using committed version of a data row that is performance statisticsthe APPEND option or defining a clustering currently being updated by another Use the db2pd to perform performanceindex application analysis or problem determination for aPlan and implement Row Compression to Monitor application performance and lock DB2 databasereduce disk and memory requirements and waits using GET SNAPSHOT commands Utilize the enhanced relational monitoringimprove application performance and SQL queries interfaces with SQL in reporting andDescribe how DB2’s Index compression Set the DB2 registry variables monitoring of the database system, dataoption can reduce disk storage requirements DB2_EVALUNCOMMITTED, objects, and the package cache to helpfor indexes DB2_SKIPINSERTED and you quickly identify issues that might beExplain how DB2 can compress temporary DB2_SKIPDELETED to reduce lock causing problemsdata to improve application performance contention based on application Configure the DB2 Database configurationUtilize the DB2 provided tools and functions requirements options that control the collection ofto estimate compression results for Indexes request, activity and object level metrics onand XML data the entire databaseExplain the management of database line Compare the enhanced monitoringshared memory based on setting the List the tools for monitoring database and features with the snapshot monitoringconfiguration option DATABASE_MEMORY application activity facilities provided by previous DB2to AUTOMATIC, COMPUTED or a specific Use GET SNAPSHOT commands to releases number of pages produce reports for analysis of database Describe processing for Writing DatabaseSelect the mode for managing data sort performance Pages from Buffer Poolsmemory using SHEAPTHRES, SORTHEAP, Utilize the administrative routines and Monitor Database Read and Write Activityand SHEAPTHRES_SHR views provided by to DB2 to simplify using GET SNAPSHOT commands orMonitor DB2 memory usage using the application access to database Administrative Routines and Viewsdb2mtrk command or the graphical performance statistics Monitor Database Logging Activity andapplication Memory Visualizer. Use the db2pd to perform performance select appropriate values for SOFTMAXUtilize the db2pd for monitoring current analysis or problem determination for a and MINCOMMITdatabase memory usage DB2 database Implement and monitor use of a blockUse AUTOCONFIGURE to set database Utilize the enhanced relational monitoring based buffer pool to improve table scanconfiguration defaults when a new database interfaces with SQL in reporting and performanceis created or after a database workload monitoring of the database system, data Describe the alternate page cleaningchanges objects, and the package cache to help processing associated with the DB2Explain the differences in STMM processing you quickly identify issues that might be Registry variablebased on the setting of causing problems DB2_USE_ALTERNATE_PAGE_CLEANIDATABASE_MEMORY Configure the DB2 Database NGPlan and configure a database for configuration options that control the Describe how scan sharing can reduce theself-tuning memory collection of request, activity and object I/O workload for accessing large tables Activate or deactivate STMM for selected level metrics on the entire database Describe the calculation of prefetch sizememory heaps Compare the enhanced monitoring when PREFETCHSIZE is set toDescribe the management of sortheap features with the snapshot monitoring AUTOMATICmemory based on the configuration of facilities provided by previous DB2 List the advantages of selecting DMS orsheapthres and sheapthres_shr releases SMS table space management as well asExplain how DB2 can automatically increase Describe processing for Writing Database using Automatic Storage managed tableor decrease database memory for multiple Pages from Buffer Pools spacesDB2 databases running on the same server Monitor Database Read and Write Set file system caching options for tableDescribe the advantages of using db2exfmt Activity using GET SNAPSHOT spaces to optimize table spaceCreate special tables used by Visual Explain commands or Administrative Routines performanceand db2exfmt and Views Describe the various row insertionIdentify how to set the Explain snapshot and Monitor Database Logging Activity and algorithms for tables that are based onExplain mode registers to capture the select appropriate values for SOFTMAX using the APPEND option or defining a

Page 15: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

information of interest and MINCOMMIT clustering indexDifferentiate between the different methods Implement and monitor use of a block Plan and implement Row Compression toof viewing Explain information based buffer pool to improve table scan reduce disk and memory requirements andChoose the appropriate optimization class performance improve application performanceDescribe the catalog statistics and database Describe the alternate page cleaning Describe how DB2’s Index compressionconfiguration options impact on access plan processing associated with the DB2 option can reduce disk storageselection Registry variable requirements for indexesImplement a statistical view to provide better DB2_USE_ALTERNATE_PAGE_CLEAN Explain how DB2 can compress temporarycardinality estimates for complex queries ING data to improve application performanceEnable the statement concentrator using the Describe how scan sharing can reduce Utilize the DB2 provided tools andstmt_conc database manager configuration the I/O workload for accessing large functions to estimate compression resultsparameter to reduce SQL compilation tables for Indexes and XML data overhead for dynamic SQL statements Describe the calculation of prefetch size Explain the management of databaseUtilize the db2look utility to extract catalog when PREFETCHSIZE is set to shared memory based on setting thestatistics from existing tables to mimic an AUTOMATIC configuration optionexisting database environment List the advantages of selecting DMS or DATABASE_MEMORY to AUTOMATIC,Create an optimizer profile to influence the SMS table space management as well as COMPUTED or a specific number ofaccess plan selected by the DB2 optimizer using Automatic Storage managed table pagesUse the MON_GET_INDEX table function to spaces Select the mode for managing data sortmonitor index usage Set file system caching options for table memory using SHEAPTHRES,Describe the Block Indexing capability for spaces to optimize table space SORTHEAP, and SHEAPTHRES_SHRMDC tables performance Monitor DB2 memory usage using theExplain how multiple indexes can be Describe the various row insertion db2mtrk command or the graphicalcombined using Index ORing and Dynamic algorithms for tables that are based on application Memory Visualizer.Bitmap Index ANDing using the APPEND option or defining a Utilize the db2pd for monitoring currentUse the Design Advisor to predict clustering index database memory usageperformance gains from adding new indexes Plan and implement Row Compression to Use AUTOCONFIGURE to set databaseDescribe the differences between Nested reduce disk and memory requirements configuration defaults when a newLoop, Merge Scan and Hash Joins and improve application performance database is created or after a databasePlan the implementation of Refresh Describe how DB2’s Index compression workload changes Immediate or Refresh Deferred Materialized option can reduce disk storage Explain the differences in STMMQuery Tables to improve query performance requirements for indexes processing based on the setting ofUtilize the design advisor to analyze SQL Explain how DB2 can compress DATABASE_MEMORYstatements and recommend new MQTs temporary data to improve application Plan and configure a database forDescribe the features of Range Partitioned performance self-tuning memoryTables to support large DB2 tables using Utilize the DB2 provided tools and Activate or deactivate STMM for selectedmultiple tablespaces, including the roll-in functions to estimate compression results memory heapsand roll-out of data ranges for Indexes and XML data Describe the management of sortheapExplain the difference between partitioned Explain the management of database memory based on the configuration ofand non-partitioned indexes for a shared memory based on setting the sheapthres and sheapthres_shrrange-partitioned table configuration option Explain how DB2 can automaticallyImplement partitioned indexes to improve DATABASE_MEMORY to AUTOMATIC, increase or decrease database memory forperformance when you roll data out or roll COMPUTED or a specific number of multiple DB2 databases running on thedata into a range-partitioned table pages same server Use the DB2 Explain tools to determine if Select the mode for managing data sort Describe the advantages of usingpartition elimination is being used to improve memory using SHEAPTHRES, db2exfmtaccess performance to large range SORTHEAP, and SHEAPTHRES_SHR Create special tables used by Visualpartitioned tables Monitor DB2 memory usage using the Explain and db2exfmtSelect appropriate RUNSTATS options to db2mtrk command or the graphical Identify how to set the Explain snapshotcollect Distribution Statistics or Column application Memory Visualizer. and Explain mode registers to capture theGroup Statistics to improve cardinality Utilize the db2pd for monitoring current information of interestestimates during SQL compilation database memory usage Differentiate between the differentUse the table and indexes statistics to plan Use AUTOCONFIGURE to set database methods of viewing Explain information for table and index reorganization using the configuration defaults when a new Choose the appropriate optimization classREORG utility database is created or after a database Describe the catalog statistics andSet the policies and options for automation workload changes database configuration options impact onof catalog statistics collection. Explain the differences in STMM access plan selectionMonitor the activity associated with processing based on the setting of Implement a statistical view to provideimplementing real time statistics collection DATABASE_MEMORY better cardinality estimates for complexUse the db2batch utility to run SQL Plan and configure a database for queriesworkloads and collect performance statistics self-tuning memory Enable the statement concentrator usingthat can be used to benchmark database Activate or deactivate STMM for selected the stmt_conc database managerand application changes memory heaps configuration parameter to reduce SQLDescribe the performance advantages of Describe the management of sortheap compilation overhead for dynamic SQLusing stored procedures memory based on the configuration of statementsDesign applications to maximize record sheapthres and sheapthres_shr Utilize the db2look utility to extract catalog

Page 16: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

blocking, minimize sort operations and Explain how DB2 can automatically statistics from existing tables to mimic anminimize lock contention increase or decrease database memory existing database environmentEvaluate setting the CUR_COMMIT for multiple DB2 databases running on Create an optimizer profile to influence thedatabase configuration option to reduce lock the same server access plan selected by the DB2 optimizerwaits, lock timeouts or deadlocks Describe the advantages of using Use the MON_GET_INDEX table functionExplain how DB2 can access the committed db2exfmt to monitor index usageversion of a data row that is currently being Create special tables used by Visual Describe the Block Indexing capability forupdated by another application Explain and db2exfmt MDC tablesMonitor application performance and lock Identify how to set the Explain snapshot Explain how multiple indexes can bewaits using GET SNAPSHOT commands and Explain mode registers to capture combined using Index ORing and Dynamicand SQL queries the information of interest Bitmap Index ANDingSet the DB2 registry variables Differentiate between the different Use the Design Advisor to predictDB2_EVALUNCOMMITTED, methods of viewing Explain information performance gains from adding newDB2_SKIPINSERTED and Choose the appropriate optimization indexes DB2_SKIPDELETED to reduce lock class Describe the differences between Nestedcontention based on application Describe the catalog statistics and Loop, Merge Scan and Hash Joinsrequirements database configuration options impact on Plan the implementation of Refresh

access plan selection Immediate or Refresh DeferredImplement a statistical view to provide Materialized Query Tables to improve

line better cardinality estimates for complex query performanceList the tools for monitoring database and queries Utilize the design advisor to analyze SQLapplication activity Enable the statement concentrator using statements and recommend new MQTsUse GET SNAPSHOT commands to the stmt_conc database manager Describe the features of Range Partitionedproduce reports for analysis of database configuration parameter to reduce SQL Tables to support large DB2 tables usingperformance compilation overhead for dynamic SQL multiple tablespaces, including the roll-inUtilize the administrative routines and views statements and roll-out of data rangesprovided by to DB2 to simplify application Utilize the db2look utility to extract Explain the difference between partitionedaccess to database performance statistics catalog statistics from existing tables to and non-partitioned indexes for aUse the db2pd to perform performance mimic an existing database environment range-partitioned tableanalysis or problem determination for a DB2 Create an optimizer profile to influence Implement partitioned indexes to improvedatabase the access plan selected by the DB2 performance when you roll data out or rollUtilize the enhanced relational monitoring optimizer data into a range-partitioned tableinterfaces with SQL in reporting and Use the MON_GET_INDEX table function Use the DB2 Explain tools to determine ifmonitoring of the database system, data to monitor index usage partition elimination is being used toobjects, and the package cache to help you Describe the Block Indexing capability for improve access performance to largequickly identify issues that might be causing MDC tables range partitioned tables problems Explain how multiple indexes can be Select appropriate RUNSTATS options toConfigure the DB2 Database configuration combined using Index ORing and collect Distribution Statistics or Columnoptions that control the collection of request, Dynamic Bitmap Index ANDing Group Statistics to improve cardinalityactivity and object level metrics on the entire Use the Design Advisor to predict estimates during SQL compilationdatabase performance gains from adding new Use the table and indexes statistics to planCompare the enhanced monitoring features indexes for table and index reorganization usingwith the snapshot monitoring facilities Describe the differences between Nested the REORG utilityprovided by previous DB2 releases Loop, Merge Scan and Hash Joins Set the policies and options for automationDescribe processing for Writing Database Plan the implementation of Refresh of catalog statistics collection.Pages from Buffer Pools Immediate or Refresh Deferred Monitor the activity associated withMonitor Database Read and Write Activity Materialized Query Tables to improve implementing real time statistics collectionusing GET SNAPSHOT commands or query performance Use the db2batch utility to run SQLAdministrative Routines and Views Utilize the design advisor to analyze SQL workloads and collect performanceMonitor Database Logging Activity and statements and recommend new MQTs statistics that can be used to benchmarkselect appropriate values for SOFTMAX and Describe the features of Range database and application changes MINCOMMIT Partitioned Tables to support large DB2 Describe the performance advantages ofImplement and monitor use of a block based tables using multiple tablespaces, using stored proceduresbuffer pool to improve table scan including the roll-in and roll-out of data Design applications to maximize recordperformance ranges blocking, minimize sort operations andDescribe the alternate page cleaning Explain the difference between minimize lock contentionprocessing associated with the DB2 Registry partitioned and non-partitioned indexes Evaluate setting the CUR_COMMITvariable for a range-partitioned table database configuration option to reduceDB2_USE_ALTERNATE_PAGE_CLEANIN Implement partitioned indexes to improve lock waits, lock timeouts or deadlocksG performance when you roll data out or roll Explain how DB2 can access theDescribe how scan sharing can reduce the data into a range-partitioned table committed version of a data row that isI/O workload for accessing large tables Use the DB2 Explain tools to determine if currently being updated by anotherDescribe the calculation of prefetch size partition elimination is being used to applicationwhen PREFETCHSIZE is set to improve access performance to large Monitor application performance and lockAUTOMATIC range partitioned tables waits using GET SNAPSHOT commandsList the advantages of selecting DMS or Select appropriate RUNSTATS options to and SQL queries

Page 17: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

SMS table space management as well as collect Distribution Statistics or Column Set the DB2 registry variablesusing Automatic Storage managed table Group Statistics to improve cardinality DB2_EVALUNCOMMITTED,spaces estimates during SQL compilation DB2_SKIPINSERTED andSet file system caching options for table Use the table and indexes statistics to DB2_SKIPDELETED to reduce lockspaces to optimize table space performance plan for table and index reorganization contention based on applicationDescribe the various row insertion using the REORG utility requirements algorithms for tables that are based on using Set the policies and options forthe APPEND option or defining a clustering automation of catalog statistics collection.index Monitor the activity associated with linePlan and implement Row Compression to implementing real time statistics List the tools for monitoring database andreduce disk and memory requirements and collection application activityimprove application performance Use the db2batch utility to run SQL Use GET SNAPSHOT commands toDescribe how DB2’s Index compression workloads and collect performance produce reports for analysis of databaseoption can reduce disk storage requirements statistics that can be used to benchmark performancefor indexes database and application changes Utilize the administrative routines andExplain how DB2 can compress temporary Describe the performance advantages of views provided by to DB2 to simplifydata to improve application performance using stored procedures application access to databaseUtilize the DB2 provided tools and functions Design applications to maximize record performance statisticsto estimate compression results for Indexes blocking, minimize sort operations and Use the db2pd to perform performanceand XML data minimize lock contention analysis or problem determination for aExplain the management of database Evaluate setting the CUR_COMMIT DB2 databaseshared memory based on setting the database configuration option to reduce Utilize the enhanced relational monitoringconfiguration option DATABASE_MEMORY lock waits, lock timeouts or deadlocks interfaces with SQL in reporting andto AUTOMATIC, COMPUTED or a specific Explain how DB2 can access the monitoring of the database system, datanumber of pages committed version of a data row that is objects, and the package cache to helpSelect the mode for managing data sort currently being updated by another you quickly identify issues that might bememory using SHEAPTHRES, SORTHEAP, application causing problemsand SHEAPTHRES_SHR Monitor application performance and lock Configure the DB2 Database configurationMonitor DB2 memory usage using the waits using GET SNAPSHOT commands options that control the collection ofdb2mtrk command or the graphical and SQL queries request, activity and object level metrics onapplication Memory Visualizer. Set the DB2 registry variables the entire databaseUtilize the db2pd for monitoring current DB2_EVALUNCOMMITTED, Compare the enhanced monitoringdatabase memory usage DB2_SKIPINSERTED and features with the snapshot monitoringUse AUTOCONFIGURE to set database DB2_SKIPDELETED to reduce lock facilities provided by previous DB2configuration defaults when a new database contention based on application releases is created or after a database workload requirements Describe processing for Writing Databasechanges Pages from Buffer PoolsExplain the differences in STMM processing Automatic memory management Monitor Database Read and Write Activitybased on the setting of line using GET SNAPSHOT commands orDATABASE_MEMORY Describe how Self-Tuning Memory Administrative Routines and ViewsPlan and configure a database for Manager (STMM) can be used to Monitor Database Logging Activity andself-tuning memory automatically manage database shared select appropriate values for SOFTMAXActivate or deactivate STMM for selected memory heaps and MINCOMMITmemory heaps Implement and monitor use of a blockDescribe the management of sortheap based buffer pool to improve table scanmemory based on the configuration of line performancesheapthres and sheapthres_shr List the tools for monitoring database and Describe the alternate page cleaningExplain how DB2 can automatically increase application activity processing associated with the DB2or decrease database memory for multiple Use GET SNAPSHOT commands to Registry variableDB2 databases running on the same server produce reports for analysis of database DB2_USE_ALTERNATE_PAGE_CLEANIDescribe the advantages of using db2exfmt performance NGCreate special tables used by Visual Explain Utilize the administrative routines and Describe how scan sharing can reduce theand db2exfmt views provided by to DB2 to simplify I/O workload for accessing large tables Identify how to set the Explain snapshot and application access to database Describe the calculation of prefetch sizeExplain mode registers to capture the performance statistics when PREFETCHSIZE is set toinformation of interest Use the db2pd to perform performance AUTOMATICDifferentiate between the different methods analysis or problem determination for a List the advantages of selecting DMS orof viewing Explain information DB2 database SMS table space management as well asChoose the appropriate optimization class Utilize the enhanced relational monitoring using Automatic Storage managed tableDescribe the catalog statistics and database interfaces with SQL in reporting and spacesconfiguration options impact on access plan monitoring of the database system, data Set file system caching options for tableselection objects, and the package cache to help spaces to optimize table spaceImplement a statistical view to provide better you quickly identify issues that might be performancecardinality estimates for complex queries causing problems Describe the various row insertionEnable the statement concentrator using the Configure the DB2 Database algorithms for tables that are based onstmt_conc database manager configuration configuration options that control the using the APPEND option or defining a

Page 18: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

parameter to reduce SQL compilation collection of request, activity and object clustering indexoverhead for dynamic SQL statements level metrics on the entire database Plan and implement Row Compression toUtilize the db2look utility to extract catalog Compare the enhanced monitoring reduce disk and memory requirements andstatistics from existing tables to mimic an features with the snapshot monitoring improve application performanceexisting database environment facilities provided by previous DB2 Describe how DB2’s Index compressionCreate an optimizer profile to influence the releases option can reduce disk storageaccess plan selected by the DB2 optimizer Describe processing for Writing Database requirements for indexesUse the MON_GET_INDEX table function to Pages from Buffer Pools Explain how DB2 can compress temporarymonitor index usage Monitor Database Read and Write data to improve application performanceDescribe the Block Indexing capability for Activity using GET SNAPSHOT Utilize the DB2 provided tools andMDC tables commands or Administrative Routines functions to estimate compression resultsExplain how multiple indexes can be and Views for Indexes and XML data combined using Index ORing and Dynamic Monitor Database Logging Activity and Explain the management of databaseBitmap Index ANDing select appropriate values for SOFTMAX shared memory based on setting theUse the Design Advisor to predict and MINCOMMIT configuration optionperformance gains from adding new indexes Implement and monitor use of a block DATABASE_MEMORY to AUTOMATIC,Describe the differences between Nested based buffer pool to improve table scan COMPUTED or a specific number ofLoop, Merge Scan and Hash Joins performance pagesPlan the implementation of Refresh Describe the alternate page cleaning Select the mode for managing data sortImmediate or Refresh Deferred Materialized processing associated with the DB2 memory using SHEAPTHRES,Query Tables to improve query performance Registry variable SORTHEAP, and SHEAPTHRES_SHRUtilize the design advisor to analyze SQL DB2_USE_ALTERNATE_PAGE_CLEAN Monitor DB2 memory usage using thestatements and recommend new MQTs ING db2mtrk command or the graphicalDescribe the features of Range Partitioned Describe how scan sharing can reduce application Memory Visualizer.Tables to support large DB2 tables using the I/O workload for accessing large Utilize the db2pd for monitoring currentmultiple tablespaces, including the roll-in tables database memory usageand roll-out of data ranges Describe the calculation of prefetch size Use AUTOCONFIGURE to set databaseExplain the difference between partitioned when PREFETCHSIZE is set to configuration defaults when a newand non-partitioned indexes for a AUTOMATIC database is created or after a databaserange-partitioned table List the advantages of selecting DMS or workload changes Implement partitioned indexes to improve SMS table space management as well as Explain the differences in STMMperformance when you roll data out or roll using Automatic Storage managed table processing based on the setting ofdata into a range-partitioned table spaces DATABASE_MEMORYUse the DB2 Explain tools to determine if Set file system caching options for table Plan and configure a database forpartition elimination is being used to improve spaces to optimize table space self-tuning memoryaccess performance to large range performance Activate or deactivate STMM for selectedpartitioned tables Describe the various row insertion memory heapsSelect appropriate RUNSTATS options to algorithms for tables that are based on Describe the management of sortheapcollect Distribution Statistics or Column using the APPEND option or defining a memory based on the configuration ofGroup Statistics to improve cardinality clustering index sheapthres and sheapthres_shrestimates during SQL compilation Plan and implement Row Compression to Explain how DB2 can automaticallyUse the table and indexes statistics to plan reduce disk and memory requirements increase or decrease database memory forfor table and index reorganization using the and improve application performance multiple DB2 databases running on theREORG utility Describe how DB2’s Index compression same server Set the policies and options for automation option can reduce disk storage Describe the advantages of usingof catalog statistics collection. requirements for indexes db2exfmtMonitor the activity associated with Explain how DB2 can compress Create special tables used by Visualimplementing real time statistics collection temporary data to improve application Explain and db2exfmtUse the db2batch utility to run SQL performance Identify how to set the Explain snapshotworkloads and collect performance statistics Utilize the DB2 provided tools and and Explain mode registers to capture thethat can be used to benchmark database functions to estimate compression results information of interestand application changes for Indexes and XML data Differentiate between the differentDescribe the performance advantages of Explain the management of database methods of viewing Explain information using stored procedures shared memory based on setting the Choose the appropriate optimization classDesign applications to maximize record configuration option Describe the catalog statistics andblocking, minimize sort operations and DATABASE_MEMORY to AUTOMATIC, database configuration options impact onminimize lock contention COMPUTED or a specific number of access plan selectionEvaluate setting the CUR_COMMIT pages Implement a statistical view to providedatabase configuration option to reduce lock Select the mode for managing data sort better cardinality estimates for complexwaits, lock timeouts or deadlocks memory using SHEAPTHRES, queriesExplain how DB2 can access the committed SORTHEAP, and SHEAPTHRES_SHR Enable the statement concentrator usingversion of a data row that is currently being Monitor DB2 memory usage using the the stmt_conc database managerupdated by another application db2mtrk command or the graphical configuration parameter to reduce SQLMonitor application performance and lock application Memory Visualizer. compilation overhead for dynamic SQLwaits using GET SNAPSHOT commands Utilize the db2pd for monitoring current statementsand SQL queries database memory usage Utilize the db2look utility to extract catalog

Page 19: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Set the DB2 registry variables Use AUTOCONFIGURE to set database statistics from existing tables to mimic anDB2_EVALUNCOMMITTED, configuration defaults when a new existing database environmentDB2_SKIPINSERTED and database is created or after a database Create an optimizer profile to influence theDB2_SKIPDELETED to reduce lock workload changes access plan selected by the DB2 optimizercontention based on application Explain the differences in STMM Use the MON_GET_INDEX table functionrequirements processing based on the setting of to monitor index usage

DATABASE_MEMORY Describe the Block Indexing capability forPlan and configure a database for MDC tables

line self-tuning memory Explain how multiple indexes can beList the tools for monitoring database and Activate or deactivate STMM for selected combined using Index ORing and Dynamicapplication activity memory heaps Bitmap Index ANDingUse GET SNAPSHOT commands to Describe the management of sortheap Use the Design Advisor to predictproduce reports for analysis of database memory based on the configuration of performance gains from adding newperformance sheapthres and sheapthres_shr indexes Utilize the administrative routines and views Explain how DB2 can automatically Describe the differences between Nestedprovided by to DB2 to simplify application increase or decrease database memory Loop, Merge Scan and Hash Joinsaccess to database performance statistics for multiple DB2 databases running on Plan the implementation of RefreshUse the db2pd to perform performance the same server Immediate or Refresh Deferredanalysis or problem determination for a DB2 Describe the advantages of using Materialized Query Tables to improvedatabase db2exfmt query performanceUtilize the enhanced relational monitoring Create special tables used by Visual Utilize the design advisor to analyze SQLinterfaces with SQL in reporting and Explain and db2exfmt statements and recommend new MQTsmonitoring of the database system, data Identify how to set the Explain snapshot Describe the features of Range Partitionedobjects, and the package cache to help you and Explain mode registers to capture Tables to support large DB2 tables usingquickly identify issues that might be causing the information of interest multiple tablespaces, including the roll-inproblems Differentiate between the different and roll-out of data rangesConfigure the DB2 Database configuration methods of viewing Explain information Explain the difference between partitionedoptions that control the collection of request, Choose the appropriate optimization and non-partitioned indexes for aactivity and object level metrics on the entire class range-partitioned tabledatabase Describe the catalog statistics and Implement partitioned indexes to improveCompare the enhanced monitoring features database configuration options impact on performance when you roll data out or rollwith the snapshot monitoring facilities access plan selection data into a range-partitioned tableprovided by previous DB2 releases Implement a statistical view to provide Use the DB2 Explain tools to determine ifDescribe processing for Writing Database better cardinality estimates for complex partition elimination is being used toPages from Buffer Pools queries improve access performance to largeMonitor Database Read and Write Activity Enable the statement concentrator using range partitioned tables using GET SNAPSHOT commands or the stmt_conc database manager Select appropriate RUNSTATS options toAdministrative Routines and Views configuration parameter to reduce SQL collect Distribution Statistics or ColumnMonitor Database Logging Activity and compilation overhead for dynamic SQL Group Statistics to improve cardinalityselect appropriate values for SOFTMAX and statements estimates during SQL compilationMINCOMMIT Utilize the db2look utility to extract Use the table and indexes statistics to planImplement and monitor use of a block based catalog statistics from existing tables to for table and index reorganization usingbuffer pool to improve table scan mimic an existing database environment the REORG utilityperformance Create an optimizer profile to influence Set the policies and options for automationDescribe the alternate page cleaning the access plan selected by the DB2 of catalog statistics collection.processing associated with the DB2 Registry optimizer Monitor the activity associated withvariable Use the MON_GET_INDEX table function implementing real time statistics collectionDB2_USE_ALTERNATE_PAGE_CLEANIN to monitor index usage Use the db2batch utility to run SQLG Describe the Block Indexing capability for workloads and collect performanceDescribe how scan sharing can reduce the MDC tables statistics that can be used to benchmarkI/O workload for accessing large tables Explain how multiple indexes can be database and application changes Describe the calculation of prefetch size combined using Index ORing and Describe the performance advantages ofwhen PREFETCHSIZE is set to Dynamic Bitmap Index ANDing using stored proceduresAUTOMATIC Use the Design Advisor to predict Design applications to maximize recordList the advantages of selecting DMS or performance gains from adding new blocking, minimize sort operations andSMS table space management as well as indexes minimize lock contentionusing Automatic Storage managed table Describe the differences between Nested Evaluate setting the CUR_COMMITspaces Loop, Merge Scan and Hash Joins database configuration option to reduceSet file system caching options for table Plan the implementation of Refresh lock waits, lock timeouts or deadlocksspaces to optimize table space performance Immediate or Refresh Deferred Explain how DB2 can access theDescribe the various row insertion Materialized Query Tables to improve committed version of a data row that isalgorithms for tables that are based on using query performance currently being updated by anotherthe APPEND option or defining a clustering Utilize the design advisor to analyze SQL applicationindex statements and recommend new MQTs Monitor application performance and lockPlan and implement Row Compression to Describe the features of Range waits using GET SNAPSHOT commandsreduce disk and memory requirements and Partitioned Tables to support large DB2 and SQL queries

Page 20: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

improve application performance tables using multiple tablespaces, Set the DB2 registry variablesDescribe how DB2’s Index compression including the roll-in and roll-out of data DB2_EVALUNCOMMITTED,option can reduce disk storage requirements ranges DB2_SKIPINSERTED andfor indexes Explain the difference between DB2_SKIPDELETED to reduce lockExplain how DB2 can compress temporary partitioned and non-partitioned indexes contention based on applicationdata to improve application performance for a range-partitioned table requirements Utilize the DB2 provided tools and functions Implement partitioned indexes to improveto estimate compression results for Indexes performance when you roll data out or rolland XML data data into a range-partitioned table lineExplain the management of database Use the DB2 Explain tools to determine if List the tools for monitoring database andshared memory based on setting the partition elimination is being used to application activityconfiguration option DATABASE_MEMORY improve access performance to large Use GET SNAPSHOT commands toto AUTOMATIC, COMPUTED or a specific range partitioned tables produce reports for analysis of databasenumber of pages Select appropriate RUNSTATS options to performanceSelect the mode for managing data sort collect Distribution Statistics or Column Utilize the administrative routines andmemory using SHEAPTHRES, SORTHEAP, Group Statistics to improve cardinality views provided by to DB2 to simplifyand SHEAPTHRES_SHR estimates during SQL compilation application access to databaseMonitor DB2 memory usage using the Use the table and indexes statistics to performance statisticsdb2mtrk command or the graphical plan for table and index reorganization Use the db2pd to perform performanceapplication Memory Visualizer. using the REORG utility analysis or problem determination for aUtilize the db2pd for monitoring current Set the policies and options for DB2 databasedatabase memory usage automation of catalog statistics collection. Utilize the enhanced relational monitoringUse AUTOCONFIGURE to set database Monitor the activity associated with interfaces with SQL in reporting andconfiguration defaults when a new database implementing real time statistics monitoring of the database system, datais created or after a database workload collection objects, and the package cache to helpchanges Use the db2batch utility to run SQL you quickly identify issues that might beExplain the differences in STMM processing workloads and collect performance causing problemsbased on the setting of statistics that can be used to benchmark Configure the DB2 Database configurationDATABASE_MEMORY database and application changes options that control the collection ofPlan and configure a database for Describe the performance advantages of request, activity and object level metrics onself-tuning memory using stored procedures the entire databaseActivate or deactivate STMM for selected Design applications to maximize record Compare the enhanced monitoringmemory heaps blocking, minimize sort operations and features with the snapshot monitoringDescribe the management of sortheap minimize lock contention facilities provided by previous DB2memory based on the configuration of Evaluate setting the CUR_COMMIT releases sheapthres and sheapthres_shr database configuration option to reduce Describe processing for Writing DatabaseExplain how DB2 can automatically increase lock waits, lock timeouts or deadlocks Pages from Buffer Poolsor decrease database memory for multiple Explain how DB2 can access the Monitor Database Read and Write ActivityDB2 databases running on the same server committed version of a data row that is using GET SNAPSHOT commands orDescribe the advantages of using db2exfmt currently being updated by another Administrative Routines and ViewsCreate special tables used by Visual Explain application Monitor Database Logging Activity andand db2exfmt Monitor application performance and lock select appropriate values for SOFTMAXIdentify how to set the Explain snapshot and waits using GET SNAPSHOT commands and MINCOMMITExplain mode registers to capture the and SQL queries Implement and monitor use of a blockinformation of interest Set the DB2 registry variables based buffer pool to improve table scanDifferentiate between the different methods DB2_EVALUNCOMMITTED, performanceof viewing Explain information DB2_SKIPINSERTED and Describe the alternate page cleaningChoose the appropriate optimization class DB2_SKIPDELETED to reduce lock processing associated with the DB2Describe the catalog statistics and database contention based on application Registry variableconfiguration options impact on access plan requirements DB2_USE_ALTERNATE_PAGE_CLEANIselection NGImplement a statistical view to provide better Describe how scan sharing can reduce thecardinality estimates for complex queries line I/O workload for accessing large tables Enable the statement concentrator using the List the tools for monitoring database and Describe the calculation of prefetch sizestmt_conc database manager configuration application activity when PREFETCHSIZE is set toparameter to reduce SQL compilation Use GET SNAPSHOT commands to AUTOMATICoverhead for dynamic SQL statements produce reports for analysis of database List the advantages of selecting DMS orUtilize the db2look utility to extract catalog performance SMS table space management as well asstatistics from existing tables to mimic an Utilize the administrative routines and using Automatic Storage managed tableexisting database environment views provided by to DB2 to simplify spacesCreate an optimizer profile to influence the application access to database Set file system caching options for tableaccess plan selected by the DB2 optimizer performance statistics spaces to optimize table spaceUse the MON_GET_INDEX table function to Use the db2pd to perform performance performancemonitor index usage analysis or problem determination for a Describe the various row insertionDescribe the Block Indexing capability for DB2 database algorithms for tables that are based onMDC tables Utilize the enhanced relational monitoring using the APPEND option or defining a

Page 21: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Explain how multiple indexes can be interfaces with SQL in reporting and clustering indexcombined using Index ORing and Dynamic monitoring of the database system, data Plan and implement Row Compression toBitmap Index ANDing objects, and the package cache to help reduce disk and memory requirements andUse the Design Advisor to predict you quickly identify issues that might be improve application performanceperformance gains from adding new indexes causing problems Describe how DB2’s Index compressionDescribe the differences between Nested Configure the DB2 Database option can reduce disk storageLoop, Merge Scan and Hash Joins configuration options that control the requirements for indexesPlan the implementation of Refresh collection of request, activity and object Explain how DB2 can compress temporaryImmediate or Refresh Deferred Materialized level metrics on the entire database data to improve application performanceQuery Tables to improve query performance Compare the enhanced monitoring Utilize the DB2 provided tools andUtilize the design advisor to analyze SQL features with the snapshot monitoring functions to estimate compression resultsstatements and recommend new MQTs facilities provided by previous DB2 for Indexes and XML data Describe the features of Range Partitioned releases Explain the management of databaseTables to support large DB2 tables using Describe processing for Writing Database shared memory based on setting themultiple tablespaces, including the roll-in Pages from Buffer Pools configuration optionand roll-out of data ranges Monitor Database Read and Write DATABASE_MEMORY to AUTOMATIC,Explain the difference between partitioned Activity using GET SNAPSHOT COMPUTED or a specific number ofand non-partitioned indexes for a commands or Administrative Routines pagesrange-partitioned table and Views Select the mode for managing data sortImplement partitioned indexes to improve Monitor Database Logging Activity and memory using SHEAPTHRES,performance when you roll data out or roll select appropriate values for SOFTMAX SORTHEAP, and SHEAPTHRES_SHRdata into a range-partitioned table and MINCOMMIT Monitor DB2 memory usage using theUse the DB2 Explain tools to determine if Implement and monitor use of a block db2mtrk command or the graphicalpartition elimination is being used to improve based buffer pool to improve table scan application Memory Visualizer.access performance to large range performance Utilize the db2pd for monitoring currentpartitioned tables Describe the alternate page cleaning database memory usageSelect appropriate RUNSTATS options to processing associated with the DB2 Use AUTOCONFIGURE to set databasecollect Distribution Statistics or Column Registry variable configuration defaults when a newGroup Statistics to improve cardinality DB2_USE_ALTERNATE_PAGE_CLEAN database is created or after a databaseestimates during SQL compilation ING workload changes Use the table and indexes statistics to plan Describe how scan sharing can reduce Explain the differences in STMMfor table and index reorganization using the the I/O workload for accessing large processing based on the setting ofREORG utility tables DATABASE_MEMORYSet the policies and options for automation Describe the calculation of prefetch size Plan and configure a database forof catalog statistics collection. when PREFETCHSIZE is set to self-tuning memoryMonitor the activity associated with AUTOMATIC Activate or deactivate STMM for selectedimplementing real time statistics collection List the advantages of selecting DMS or memory heapsUse the db2batch utility to run SQL SMS table space management as well as Describe the management of sortheapworkloads and collect performance statistics using Automatic Storage managed table memory based on the configuration ofthat can be used to benchmark database spaces sheapthres and sheapthres_shrand application changes Set file system caching options for table Explain how DB2 can automaticallyDescribe the performance advantages of spaces to optimize table space increase or decrease database memory forusing stored procedures performance multiple DB2 databases running on theDesign applications to maximize record Describe the various row insertion same server blocking, minimize sort operations and algorithms for tables that are based on Describe the advantages of usingminimize lock contention using the APPEND option or defining a db2exfmtEvaluate setting the CUR_COMMIT clustering index Create special tables used by Visualdatabase configuration option to reduce lock Plan and implement Row Compression to Explain and db2exfmtwaits, lock timeouts or deadlocks reduce disk and memory requirements Identify how to set the Explain snapshotExplain how DB2 can access the committed and improve application performance and Explain mode registers to capture theversion of a data row that is currently being Describe how DB2’s Index compression information of interestupdated by another application option can reduce disk storage Differentiate between the differentMonitor application performance and lock requirements for indexes methods of viewing Explain information waits using GET SNAPSHOT commands Explain how DB2 can compress Choose the appropriate optimization classand SQL queries temporary data to improve application Describe the catalog statistics andSet the DB2 registry variables performance database configuration options impact onDB2_EVALUNCOMMITTED, Utilize the DB2 provided tools and access plan selectionDB2_SKIPINSERTED and functions to estimate compression results Implement a statistical view to provideDB2_SKIPDELETED to reduce lock for Indexes and XML data better cardinality estimates for complexcontention based on application Explain the management of database queriesrequirements shared memory based on setting the Enable the statement concentrator using

configuration option the stmt_conc database managerDatabase Input/Output (I/O) management DATABASE_MEMORY to AUTOMATIC, configuration parameter to reduce SQLline COMPUTED or a specific number of compilation overhead for dynamic SQL

Describe processing for Reading Database pages statementsPages into Buffer Pools Select the mode for managing data sort Utilize the db2look utility to extract catalog

Page 22: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

memory using SHEAPTHRES, statistics from existing tables to mimic anSORTHEAP, and SHEAPTHRES_SHR existing database environment

line Monitor DB2 memory usage using the Create an optimizer profile to influence theList the tools for monitoring database and db2mtrk command or the graphical access plan selected by the DB2 optimizerapplication activity application Memory Visualizer. Use the MON_GET_INDEX table functionUse GET SNAPSHOT commands to Utilize the db2pd for monitoring current to monitor index usageproduce reports for analysis of database database memory usage Describe the Block Indexing capability forperformance Use AUTOCONFIGURE to set database MDC tablesUtilize the administrative routines and views configuration defaults when a new Explain how multiple indexes can beprovided by to DB2 to simplify application database is created or after a database combined using Index ORing and Dynamicaccess to database performance statistics workload changes Bitmap Index ANDingUse the db2pd to perform performance Explain the differences in STMM Use the Design Advisor to predictanalysis or problem determination for a DB2 processing based on the setting of performance gains from adding newdatabase DATABASE_MEMORY indexes Utilize the enhanced relational monitoring Plan and configure a database for Describe the differences between Nestedinterfaces with SQL in reporting and self-tuning memory Loop, Merge Scan and Hash Joinsmonitoring of the database system, data Activate or deactivate STMM for selected Plan the implementation of Refreshobjects, and the package cache to help you memory heaps Immediate or Refresh Deferredquickly identify issues that might be causing Describe the management of sortheap Materialized Query Tables to improveproblems memory based on the configuration of query performanceConfigure the DB2 Database configuration sheapthres and sheapthres_shr Utilize the design advisor to analyze SQLoptions that control the collection of request, Explain how DB2 can automatically statements and recommend new MQTsactivity and object level metrics on the entire increase or decrease database memory Describe the features of Range Partitioneddatabase for multiple DB2 databases running on Tables to support large DB2 tables usingCompare the enhanced monitoring features the same server multiple tablespaces, including the roll-inwith the snapshot monitoring facilities Describe the advantages of using and roll-out of data rangesprovided by previous DB2 releases db2exfmt Explain the difference between partitionedDescribe processing for Writing Database Create special tables used by Visual and non-partitioned indexes for aPages from Buffer Pools Explain and db2exfmt range-partitioned tableMonitor Database Read and Write Activity Identify how to set the Explain snapshot Implement partitioned indexes to improveusing GET SNAPSHOT commands or and Explain mode registers to capture performance when you roll data out or rollAdministrative Routines and Views the information of interest data into a range-partitioned tableMonitor Database Logging Activity and Differentiate between the different Use the DB2 Explain tools to determine ifselect appropriate values for SOFTMAX and methods of viewing Explain information partition elimination is being used toMINCOMMIT Choose the appropriate optimization improve access performance to largeImplement and monitor use of a block based class range partitioned tables buffer pool to improve table scan Describe the catalog statistics and Select appropriate RUNSTATS options toperformance database configuration options impact on collect Distribution Statistics or ColumnDescribe the alternate page cleaning access plan selection Group Statistics to improve cardinalityprocessing associated with the DB2 Registry Implement a statistical view to provide estimates during SQL compilationvariable better cardinality estimates for complex Use the table and indexes statistics to planDB2_USE_ALTERNATE_PAGE_CLEANIN queries for table and index reorganization usingG Enable the statement concentrator using the REORG utilityDescribe how scan sharing can reduce the the stmt_conc database manager Set the policies and options for automationI/O workload for accessing large tables configuration parameter to reduce SQL of catalog statistics collection.Describe the calculation of prefetch size compilation overhead for dynamic SQL Monitor the activity associated withwhen PREFETCHSIZE is set to statements implementing real time statistics collectionAUTOMATIC Utilize the db2look utility to extract Use the db2batch utility to run SQLList the advantages of selecting DMS or catalog statistics from existing tables to workloads and collect performanceSMS table space management as well as mimic an existing database environment statistics that can be used to benchmarkusing Automatic Storage managed table Create an optimizer profile to influence database and application changes spaces the access plan selected by the DB2 Describe the performance advantages ofSet file system caching options for table optimizer using stored proceduresspaces to optimize table space performance Use the MON_GET_INDEX table function Design applications to maximize recordDescribe the various row insertion to monitor index usage blocking, minimize sort operations andalgorithms for tables that are based on using Describe the Block Indexing capability for minimize lock contentionthe APPEND option or defining a clustering MDC tables Evaluate setting the CUR_COMMITindex Explain how multiple indexes can be database configuration option to reducePlan and implement Row Compression to combined using Index ORing and lock waits, lock timeouts or deadlocksreduce disk and memory requirements and Dynamic Bitmap Index ANDing Explain how DB2 can access theimprove application performance Use the Design Advisor to predict committed version of a data row that isDescribe how DB2’s Index compression performance gains from adding new currently being updated by anotheroption can reduce disk storage requirements indexes applicationfor indexes Describe the differences between Nested Monitor application performance and lockExplain how DB2 can compress temporary Loop, Merge Scan and Hash Joins waits using GET SNAPSHOT commandsdata to improve application performance Plan the implementation of Refresh and SQL queries

Page 23: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Utilize the DB2 provided tools and functions Immediate or Refresh Deferred Set the DB2 registry variablesto estimate compression results for Indexes Materialized Query Tables to improve DB2_EVALUNCOMMITTED,and XML data query performance DB2_SKIPINSERTED andExplain the management of database Utilize the design advisor to analyze SQL DB2_SKIPDELETED to reduce lockshared memory based on setting the statements and recommend new MQTs contention based on applicationconfiguration option DATABASE_MEMORY Describe the features of Range requirements to AUTOMATIC, COMPUTED or a specific Partitioned Tables to support large DB2number of pages tables using multiple tablespaces,Select the mode for managing data sort including the roll-in and roll-out of data linememory using SHEAPTHRES, SORTHEAP, ranges List the tools for monitoring database andand SHEAPTHRES_SHR Explain the difference between application activityMonitor DB2 memory usage using the partitioned and non-partitioned indexes Use GET SNAPSHOT commands todb2mtrk command or the graphical for a range-partitioned table produce reports for analysis of databaseapplication Memory Visualizer. Implement partitioned indexes to improve performanceUtilize the db2pd for monitoring current performance when you roll data out or roll Utilize the administrative routines anddatabase memory usage data into a range-partitioned table views provided by to DB2 to simplifyUse AUTOCONFIGURE to set database Use the DB2 Explain tools to determine if application access to databaseconfiguration defaults when a new database partition elimination is being used to performance statisticsis created or after a database workload improve access performance to large Use the db2pd to perform performancechanges range partitioned tables analysis or problem determination for aExplain the differences in STMM processing Select appropriate RUNSTATS options to DB2 databasebased on the setting of collect Distribution Statistics or Column Utilize the enhanced relational monitoringDATABASE_MEMORY Group Statistics to improve cardinality interfaces with SQL in reporting andPlan and configure a database for estimates during SQL compilation monitoring of the database system, dataself-tuning memory Use the table and indexes statistics to objects, and the package cache to helpActivate or deactivate STMM for selected plan for table and index reorganization you quickly identify issues that might bememory heaps using the REORG utility causing problemsDescribe the management of sortheap Set the policies and options for Configure the DB2 Database configurationmemory based on the configuration of automation of catalog statistics collection. options that control the collection ofsheapthres and sheapthres_shr Monitor the activity associated with request, activity and object level metrics onExplain how DB2 can automatically increase implementing real time statistics the entire databaseor decrease database memory for multiple collection Compare the enhanced monitoringDB2 databases running on the same server Use the db2batch utility to run SQL features with the snapshot monitoringDescribe the advantages of using db2exfmt workloads and collect performance facilities provided by previous DB2Create special tables used by Visual Explain statistics that can be used to benchmark releases and db2exfmt database and application changes Describe processing for Writing DatabaseIdentify how to set the Explain snapshot and Describe the performance advantages of Pages from Buffer PoolsExplain mode registers to capture the using stored procedures Monitor Database Read and Write Activityinformation of interest Design applications to maximize record using GET SNAPSHOT commands orDifferentiate between the different methods blocking, minimize sort operations and Administrative Routines and Viewsof viewing Explain information minimize lock contention Monitor Database Logging Activity andChoose the appropriate optimization class Evaluate setting the CUR_COMMIT select appropriate values for SOFTMAXDescribe the catalog statistics and database database configuration option to reduce and MINCOMMITconfiguration options impact on access plan lock waits, lock timeouts or deadlocks Implement and monitor use of a blockselection Explain how DB2 can access the based buffer pool to improve table scanImplement a statistical view to provide better committed version of a data row that is performancecardinality estimates for complex queries currently being updated by another Describe the alternate page cleaningEnable the statement concentrator using the application processing associated with the DB2stmt_conc database manager configuration Monitor application performance and lock Registry variableparameter to reduce SQL compilation waits using GET SNAPSHOT commands DB2_USE_ALTERNATE_PAGE_CLEANIoverhead for dynamic SQL statements and SQL queries NGUtilize the db2look utility to extract catalog Set the DB2 registry variables Describe how scan sharing can reduce thestatistics from existing tables to mimic an DB2_EVALUNCOMMITTED, I/O workload for accessing large tables existing database environment DB2_SKIPINSERTED and Describe the calculation of prefetch sizeCreate an optimizer profile to influence the DB2_SKIPDELETED to reduce lock when PREFETCHSIZE is set toaccess plan selected by the DB2 optimizer contention based on application AUTOMATICUse the MON_GET_INDEX table function to requirements List the advantages of selecting DMS ormonitor index usage SMS table space management as well asDescribe the Block Indexing capability for using Automatic Storage managed tableMDC tables line spacesExplain how multiple indexes can be List the tools for monitoring database and Set file system caching options for tablecombined using Index ORing and Dynamic application activity spaces to optimize table spaceBitmap Index ANDing Use GET SNAPSHOT commands to performanceUse the Design Advisor to predict produce reports for analysis of database Describe the various row insertionperformance gains from adding new indexes performance algorithms for tables that are based onDescribe the differences between Nested Utilize the administrative routines and using the APPEND option or defining a

Page 24: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Loop, Merge Scan and Hash Joins views provided by to DB2 to simplify clustering indexPlan the implementation of Refresh application access to database Plan and implement Row Compression toImmediate or Refresh Deferred Materialized performance statistics reduce disk and memory requirements andQuery Tables to improve query performance Use the db2pd to perform performance improve application performanceUtilize the design advisor to analyze SQL analysis or problem determination for a Describe how DB2’s Index compressionstatements and recommend new MQTs DB2 database option can reduce disk storageDescribe the features of Range Partitioned Utilize the enhanced relational monitoring requirements for indexesTables to support large DB2 tables using interfaces with SQL in reporting and Explain how DB2 can compress temporarymultiple tablespaces, including the roll-in monitoring of the database system, data data to improve application performanceand roll-out of data ranges objects, and the package cache to help Utilize the DB2 provided tools andExplain the difference between partitioned you quickly identify issues that might be functions to estimate compression resultsand non-partitioned indexes for a causing problems for Indexes and XML data range-partitioned table Configure the DB2 Database Explain the management of databaseImplement partitioned indexes to improve configuration options that control the shared memory based on setting theperformance when you roll data out or roll collection of request, activity and object configuration optiondata into a range-partitioned table level metrics on the entire database DATABASE_MEMORY to AUTOMATIC,Use the DB2 Explain tools to determine if Compare the enhanced monitoring COMPUTED or a specific number ofpartition elimination is being used to improve features with the snapshot monitoring pagesaccess performance to large range facilities provided by previous DB2 Select the mode for managing data sortpartitioned tables releases memory using SHEAPTHRES,Select appropriate RUNSTATS options to Describe processing for Writing Database SORTHEAP, and SHEAPTHRES_SHRcollect Distribution Statistics or Column Pages from Buffer Pools Monitor DB2 memory usage using theGroup Statistics to improve cardinality Monitor Database Read and Write db2mtrk command or the graphicalestimates during SQL compilation Activity using GET SNAPSHOT application Memory Visualizer.Use the table and indexes statistics to plan commands or Administrative Routines Utilize the db2pd for monitoring currentfor table and index reorganization using the and Views database memory usageREORG utility Monitor Database Logging Activity and Use AUTOCONFIGURE to set databaseSet the policies and options for automation select appropriate values for SOFTMAX configuration defaults when a newof catalog statistics collection. and MINCOMMIT database is created or after a databaseMonitor the activity associated with Implement and monitor use of a block workload changes implementing real time statistics collection based buffer pool to improve table scan Explain the differences in STMMUse the db2batch utility to run SQL performance processing based on the setting ofworkloads and collect performance statistics Describe the alternate page cleaning DATABASE_MEMORYthat can be used to benchmark database processing associated with the DB2 Plan and configure a database forand application changes Registry variable self-tuning memoryDescribe the performance advantages of DB2_USE_ALTERNATE_PAGE_CLEAN Activate or deactivate STMM for selectedusing stored procedures ING memory heapsDesign applications to maximize record Describe how scan sharing can reduce Describe the management of sortheapblocking, minimize sort operations and the I/O workload for accessing large memory based on the configuration ofminimize lock contention tables sheapthres and sheapthres_shrEvaluate setting the CUR_COMMIT Describe the calculation of prefetch size Explain how DB2 can automaticallydatabase configuration option to reduce lock when PREFETCHSIZE is set to increase or decrease database memory forwaits, lock timeouts or deadlocks AUTOMATIC multiple DB2 databases running on theExplain how DB2 can access the committed List the advantages of selecting DMS or same server version of a data row that is currently being SMS table space management as well as Describe the advantages of usingupdated by another application using Automatic Storage managed table db2exfmtMonitor application performance and lock spaces Create special tables used by Visualwaits using GET SNAPSHOT commands Set file system caching options for table Explain and db2exfmtand SQL queries spaces to optimize table space Identify how to set the Explain snapshotSet the DB2 registry variables performance and Explain mode registers to capture theDB2_EVALUNCOMMITTED, Describe the various row insertion information of interestDB2_SKIPINSERTED and algorithms for tables that are based on Differentiate between the differentDB2_SKIPDELETED to reduce lock using the APPEND option or defining a methods of viewing Explain information contention based on application clustering index Choose the appropriate optimization classrequirements Plan and implement Row Compression to Describe the catalog statistics and

reduce disk and memory requirements database configuration options impact onand improve application performance access plan selection

line Describe how DB2’s Index compression Implement a statistical view to provideList the tools for monitoring database and option can reduce disk storage better cardinality estimates for complexapplication activity requirements for indexes queriesUse GET SNAPSHOT commands to Explain how DB2 can compress Enable the statement concentrator usingproduce reports for analysis of database temporary data to improve application the stmt_conc database managerperformance performance configuration parameter to reduce SQLUtilize the administrative routines and views Utilize the DB2 provided tools and compilation overhead for dynamic SQLprovided by to DB2 to simplify application functions to estimate compression results statementsaccess to database performance statistics for Indexes and XML data Utilize the db2look utility to extract catalog

Page 25: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Use the db2pd to perform performance Explain the management of database statistics from existing tables to mimic ananalysis or problem determination for a DB2 shared memory based on setting the existing database environmentdatabase configuration option Create an optimizer profile to influence theUtilize the enhanced relational monitoring DATABASE_MEMORY to AUTOMATIC, access plan selected by the DB2 optimizerinterfaces with SQL in reporting and COMPUTED or a specific number of Use the MON_GET_INDEX table functionmonitoring of the database system, data pages to monitor index usageobjects, and the package cache to help you Select the mode for managing data sort Describe the Block Indexing capability forquickly identify issues that might be causing memory using SHEAPTHRES, MDC tablesproblems SORTHEAP, and SHEAPTHRES_SHR Explain how multiple indexes can beConfigure the DB2 Database configuration Monitor DB2 memory usage using the combined using Index ORing and Dynamicoptions that control the collection of request, db2mtrk command or the graphical Bitmap Index ANDingactivity and object level metrics on the entire application Memory Visualizer. Use the Design Advisor to predictdatabase Utilize the db2pd for monitoring current performance gains from adding newCompare the enhanced monitoring features database memory usage indexes with the snapshot monitoring facilities Use AUTOCONFIGURE to set database Describe the differences between Nestedprovided by previous DB2 releases configuration defaults when a new Loop, Merge Scan and Hash JoinsDescribe processing for Writing Database database is created or after a database Plan the implementation of RefreshPages from Buffer Pools workload changes Immediate or Refresh DeferredMonitor Database Read and Write Activity Explain the differences in STMM Materialized Query Tables to improveusing GET SNAPSHOT commands or processing based on the setting of query performanceAdministrative Routines and Views DATABASE_MEMORY Utilize the design advisor to analyze SQLMonitor Database Logging Activity and Plan and configure a database for statements and recommend new MQTsselect appropriate values for SOFTMAX and self-tuning memory Describe the features of Range PartitionedMINCOMMIT Activate or deactivate STMM for selected Tables to support large DB2 tables usingImplement and monitor use of a block based memory heaps multiple tablespaces, including the roll-inbuffer pool to improve table scan Describe the management of sortheap and roll-out of data rangesperformance memory based on the configuration of Explain the difference between partitionedDescribe the alternate page cleaning sheapthres and sheapthres_shr and non-partitioned indexes for aprocessing associated with the DB2 Registry Explain how DB2 can automatically range-partitioned tablevariable increase or decrease database memory Implement partitioned indexes to improveDB2_USE_ALTERNATE_PAGE_CLEANIN for multiple DB2 databases running on performance when you roll data out or rollG the same server data into a range-partitioned tableDescribe how scan sharing can reduce the Describe the advantages of using Use the DB2 Explain tools to determine ifI/O workload for accessing large tables db2exfmt partition elimination is being used toDescribe the calculation of prefetch size Create special tables used by Visual improve access performance to largewhen PREFETCHSIZE is set to Explain and db2exfmt range partitioned tables AUTOMATIC Identify how to set the Explain snapshot Select appropriate RUNSTATS options toList the advantages of selecting DMS or and Explain mode registers to capture collect Distribution Statistics or ColumnSMS table space management as well as the information of interest Group Statistics to improve cardinalityusing Automatic Storage managed table Differentiate between the different estimates during SQL compilationspaces methods of viewing Explain information Use the table and indexes statistics to planSet file system caching options for table Choose the appropriate optimization for table and index reorganization usingspaces to optimize table space performance class the REORG utilityDescribe the various row insertion Describe the catalog statistics and Set the policies and options for automationalgorithms for tables that are based on using database configuration options impact on of catalog statistics collection.the APPEND option or defining a clustering access plan selection Monitor the activity associated withindex Implement a statistical view to provide implementing real time statistics collectionPlan and implement Row Compression to better cardinality estimates for complex Use the db2batch utility to run SQLreduce disk and memory requirements and queries workloads and collect performanceimprove application performance Enable the statement concentrator using statistics that can be used to benchmarkDescribe how DB2’s Index compression the stmt_conc database manager database and application changes option can reduce disk storage requirements configuration parameter to reduce SQL Describe the performance advantages offor indexes compilation overhead for dynamic SQL using stored proceduresExplain how DB2 can compress temporary statements Design applications to maximize recorddata to improve application performance Utilize the db2look utility to extract blocking, minimize sort operations andUtilize the DB2 provided tools and functions catalog statistics from existing tables to minimize lock contentionto estimate compression results for Indexes mimic an existing database environment Evaluate setting the CUR_COMMITand XML data Create an optimizer profile to influence database configuration option to reduceExplain the management of database the access plan selected by the DB2 lock waits, lock timeouts or deadlocksshared memory based on setting the optimizer Explain how DB2 can access theconfiguration option DATABASE_MEMORY Use the MON_GET_INDEX table function committed version of a data row that isto AUTOMATIC, COMPUTED or a specific to monitor index usage currently being updated by anothernumber of pages Describe the Block Indexing capability for applicationSelect the mode for managing data sort MDC tables Monitor application performance and lockmemory using SHEAPTHRES, SORTHEAP, Explain how multiple indexes can be waits using GET SNAPSHOT commandsand SHEAPTHRES_SHR combined using Index ORing and and SQL queries

Page 26: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Monitor DB2 memory usage using the Dynamic Bitmap Index ANDing Set the DB2 registry variablesdb2mtrk command or the graphical Use the Design Advisor to predict DB2_EVALUNCOMMITTED,application Memory Visualizer. performance gains from adding new DB2_SKIPINSERTED andUtilize the db2pd for monitoring current indexes DB2_SKIPDELETED to reduce lockdatabase memory usage Describe the differences between Nested contention based on applicationUse AUTOCONFIGURE to set database Loop, Merge Scan and Hash Joins requirements configuration defaults when a new database Plan the implementation of Refreshis created or after a database workload Immediate or Refresh Deferredchanges Materialized Query Tables to improve lineExplain the differences in STMM processing query performance List the tools for monitoring database andbased on the setting of Utilize the design advisor to analyze SQL application activityDATABASE_MEMORY statements and recommend new MQTs Use GET SNAPSHOT commands toPlan and configure a database for Describe the features of Range produce reports for analysis of databaseself-tuning memory Partitioned Tables to support large DB2 performanceActivate or deactivate STMM for selected tables using multiple tablespaces, Utilize the administrative routines andmemory heaps including the roll-in and roll-out of data views provided by to DB2 to simplifyDescribe the management of sortheap ranges application access to databasememory based on the configuration of Explain the difference between performance statisticssheapthres and sheapthres_shr partitioned and non-partitioned indexes Use the db2pd to perform performanceExplain how DB2 can automatically increase for a range-partitioned table analysis or problem determination for aor decrease database memory for multiple Implement partitioned indexes to improve DB2 databaseDB2 databases running on the same server performance when you roll data out or roll Utilize the enhanced relational monitoringDescribe the advantages of using db2exfmt data into a range-partitioned table interfaces with SQL in reporting andCreate special tables used by Visual Explain Use the DB2 Explain tools to determine if monitoring of the database system, dataand db2exfmt partition elimination is being used to objects, and the package cache to helpIdentify how to set the Explain snapshot and improve access performance to large you quickly identify issues that might beExplain mode registers to capture the range partitioned tables causing problemsinformation of interest Select appropriate RUNSTATS options to Configure the DB2 Database configurationDifferentiate between the different methods collect Distribution Statistics or Column options that control the collection ofof viewing Explain information Group Statistics to improve cardinality request, activity and object level metrics onChoose the appropriate optimization class estimates during SQL compilation the entire databaseDescribe the catalog statistics and database Use the table and indexes statistics to Compare the enhanced monitoringconfiguration options impact on access plan plan for table and index reorganization features with the snapshot monitoringselection using the REORG utility facilities provided by previous DB2Implement a statistical view to provide better Set the policies and options for releases cardinality estimates for complex queries automation of catalog statistics collection. Describe processing for Writing DatabaseEnable the statement concentrator using the Monitor the activity associated with Pages from Buffer Poolsstmt_conc database manager configuration implementing real time statistics Monitor Database Read and Write Activityparameter to reduce SQL compilation collection using GET SNAPSHOT commands oroverhead for dynamic SQL statements Use the db2batch utility to run SQL Administrative Routines and ViewsUtilize the db2look utility to extract catalog workloads and collect performance Monitor Database Logging Activity andstatistics from existing tables to mimic an statistics that can be used to benchmark select appropriate values for SOFTMAXexisting database environment database and application changes and MINCOMMITCreate an optimizer profile to influence the Describe the performance advantages of Implement and monitor use of a blockaccess plan selected by the DB2 optimizer using stored procedures based buffer pool to improve table scanUse the MON_GET_INDEX table function to Design applications to maximize record performancemonitor index usage blocking, minimize sort operations and Describe the alternate page cleaningDescribe the Block Indexing capability for minimize lock contention processing associated with the DB2MDC tables Evaluate setting the CUR_COMMIT Registry variableExplain how multiple indexes can be database configuration option to reduce DB2_USE_ALTERNATE_PAGE_CLEANIcombined using Index ORing and Dynamic lock waits, lock timeouts or deadlocks NGBitmap Index ANDing Explain how DB2 can access the Describe how scan sharing can reduce theUse the Design Advisor to predict committed version of a data row that is I/O workload for accessing large tables performance gains from adding new indexes currently being updated by another Describe the calculation of prefetch sizeDescribe the differences between Nested application when PREFETCHSIZE is set toLoop, Merge Scan and Hash Joins Monitor application performance and lock AUTOMATICPlan the implementation of Refresh waits using GET SNAPSHOT commands List the advantages of selecting DMS orImmediate or Refresh Deferred Materialized and SQL queries SMS table space management as well asQuery Tables to improve query performance Set the DB2 registry variables using Automatic Storage managed tableUtilize the design advisor to analyze SQL DB2_EVALUNCOMMITTED, spacesstatements and recommend new MQTs DB2_SKIPINSERTED and Set file system caching options for tableDescribe the features of Range Partitioned DB2_SKIPDELETED to reduce lock spaces to optimize table spaceTables to support large DB2 tables using contention based on application performancemultiple tablespaces, including the roll-in requirements Describe the various row insertionand roll-out of data ranges algorithms for tables that are based onExplain the difference between partitioned using the APPEND option or defining a

Page 27: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

and non-partitioned indexes for a line clustering indexrange-partitioned table List the tools for monitoring database and Plan and implement Row Compression toImplement partitioned indexes to improve application activity reduce disk and memory requirements andperformance when you roll data out or roll Use GET SNAPSHOT commands to improve application performancedata into a range-partitioned table produce reports for analysis of database Describe how DB2’s Index compressionUse the DB2 Explain tools to determine if performance option can reduce disk storagepartition elimination is being used to improve Utilize the administrative routines and requirements for indexesaccess performance to large range views provided by to DB2 to simplify Explain how DB2 can compress temporarypartitioned tables application access to database data to improve application performanceSelect appropriate RUNSTATS options to performance statistics Utilize the DB2 provided tools andcollect Distribution Statistics or Column Use the db2pd to perform performance functions to estimate compression resultsGroup Statistics to improve cardinality analysis or problem determination for a for Indexes and XML data estimates during SQL compilation DB2 database Explain the management of databaseUse the table and indexes statistics to plan Utilize the enhanced relational monitoring shared memory based on setting thefor table and index reorganization using the interfaces with SQL in reporting and configuration optionREORG utility monitoring of the database system, data DATABASE_MEMORY to AUTOMATIC,Set the policies and options for automation objects, and the package cache to help COMPUTED or a specific number ofof catalog statistics collection. you quickly identify issues that might be pagesMonitor the activity associated with causing problems Select the mode for managing data sortimplementing real time statistics collection Configure the DB2 Database memory using SHEAPTHRES,Use the db2batch utility to run SQL configuration options that control the SORTHEAP, and SHEAPTHRES_SHRworkloads and collect performance statistics collection of request, activity and object Monitor DB2 memory usage using thethat can be used to benchmark database level metrics on the entire database db2mtrk command or the graphicaland application changes Compare the enhanced monitoring application Memory Visualizer.Describe the performance advantages of features with the snapshot monitoring Utilize the db2pd for monitoring currentusing stored procedures facilities provided by previous DB2 database memory usageDesign applications to maximize record releases Use AUTOCONFIGURE to set databaseblocking, minimize sort operations and Describe processing for Writing Database configuration defaults when a newminimize lock contention Pages from Buffer Pools database is created or after a databaseEvaluate setting the CUR_COMMIT Monitor Database Read and Write workload changes database configuration option to reduce lock Activity using GET SNAPSHOT Explain the differences in STMMwaits, lock timeouts or deadlocks commands or Administrative Routines processing based on the setting ofExplain how DB2 can access the committed and Views DATABASE_MEMORYversion of a data row that is currently being Monitor Database Logging Activity and Plan and configure a database forupdated by another application select appropriate values for SOFTMAX self-tuning memoryMonitor application performance and lock and MINCOMMIT Activate or deactivate STMM for selectedwaits using GET SNAPSHOT commands Implement and monitor use of a block memory heapsand SQL queries based buffer pool to improve table scan Describe the management of sortheapSet the DB2 registry variables performance memory based on the configuration ofDB2_EVALUNCOMMITTED, Describe the alternate page cleaning sheapthres and sheapthres_shrDB2_SKIPINSERTED and processing associated with the DB2 Explain how DB2 can automaticallyDB2_SKIPDELETED to reduce lock Registry variable increase or decrease database memory forcontention based on application DB2_USE_ALTERNATE_PAGE_CLEAN multiple DB2 databases running on therequirements ING same server

Describe how scan sharing can reduce Describe the advantages of usingthe I/O workload for accessing large db2exfmt

line tables Create special tables used by VisualList the tools for monitoring database and Describe the calculation of prefetch size Explain and db2exfmtapplication activity when PREFETCHSIZE is set to Identify how to set the Explain snapshotUse GET SNAPSHOT commands to AUTOMATIC and Explain mode registers to capture theproduce reports for analysis of database List the advantages of selecting DMS or information of interestperformance SMS table space management as well as Differentiate between the differentUtilize the administrative routines and views using Automatic Storage managed table methods of viewing Explain information provided by to DB2 to simplify application spaces Choose the appropriate optimization classaccess to database performance statistics Set file system caching options for table Describe the catalog statistics andUse the db2pd to perform performance spaces to optimize table space database configuration options impact onanalysis or problem determination for a DB2 performance access plan selectiondatabase Describe the various row insertion Implement a statistical view to provideUtilize the enhanced relational monitoring algorithms for tables that are based on better cardinality estimates for complexinterfaces with SQL in reporting and using the APPEND option or defining a queriesmonitoring of the database system, data clustering index Enable the statement concentrator usingobjects, and the package cache to help you Plan and implement Row Compression to the stmt_conc database managerquickly identify issues that might be causing reduce disk and memory requirements configuration parameter to reduce SQLproblems and improve application performance compilation overhead for dynamic SQLConfigure the DB2 Database configuration Describe how DB2’s Index compression statementsoptions that control the collection of request, option can reduce disk storage Utilize the db2look utility to extract catalog

Page 28: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

activity and object level metrics on the entire requirements for indexes statistics from existing tables to mimic andatabase Explain how DB2 can compress existing database environmentCompare the enhanced monitoring features temporary data to improve application Create an optimizer profile to influence thewith the snapshot monitoring facilities performance access plan selected by the DB2 optimizerprovided by previous DB2 releases Utilize the DB2 provided tools and Use the MON_GET_INDEX table functionDescribe processing for Writing Database functions to estimate compression results to monitor index usagePages from Buffer Pools for Indexes and XML data Describe the Block Indexing capability forMonitor Database Read and Write Activity Explain the management of database MDC tablesusing GET SNAPSHOT commands or shared memory based on setting the Explain how multiple indexes can beAdministrative Routines and Views configuration option combined using Index ORing and DynamicMonitor Database Logging Activity and DATABASE_MEMORY to AUTOMATIC, Bitmap Index ANDingselect appropriate values for SOFTMAX and COMPUTED or a specific number of Use the Design Advisor to predictMINCOMMIT pages performance gains from adding newImplement and monitor use of a block based Select the mode for managing data sort indexes buffer pool to improve table scan memory using SHEAPTHRES, Describe the differences between Nestedperformance SORTHEAP, and SHEAPTHRES_SHR Loop, Merge Scan and Hash JoinsDescribe the alternate page cleaning Monitor DB2 memory usage using the Plan the implementation of Refreshprocessing associated with the DB2 Registry db2mtrk command or the graphical Immediate or Refresh Deferredvariable application Memory Visualizer. Materialized Query Tables to improveDB2_USE_ALTERNATE_PAGE_CLEANIN Utilize the db2pd for monitoring current query performanceG database memory usage Utilize the design advisor to analyze SQLDescribe how scan sharing can reduce the Use AUTOCONFIGURE to set database statements and recommend new MQTsI/O workload for accessing large tables configuration defaults when a new Describe the features of Range PartitionedDescribe the calculation of prefetch size database is created or after a database Tables to support large DB2 tables usingwhen PREFETCHSIZE is set to workload changes multiple tablespaces, including the roll-inAUTOMATIC Explain the differences in STMM and roll-out of data rangesList the advantages of selecting DMS or processing based on the setting of Explain the difference between partitionedSMS table space management as well as DATABASE_MEMORY and non-partitioned indexes for ausing Automatic Storage managed table Plan and configure a database for range-partitioned tablespaces self-tuning memory Implement partitioned indexes to improveSet file system caching options for table Activate or deactivate STMM for selected performance when you roll data out or rollspaces to optimize table space performance memory heaps data into a range-partitioned tableDescribe the various row insertion Describe the management of sortheap Use the DB2 Explain tools to determine ifalgorithms for tables that are based on using memory based on the configuration of partition elimination is being used tothe APPEND option or defining a clustering sheapthres and sheapthres_shr improve access performance to largeindex Explain how DB2 can automatically range partitioned tables Plan and implement Row Compression to increase or decrease database memory Select appropriate RUNSTATS options toreduce disk and memory requirements and for multiple DB2 databases running on collect Distribution Statistics or Columnimprove application performance the same server Group Statistics to improve cardinalityDescribe how DB2’s Index compression Describe the advantages of using estimates during SQL compilationoption can reduce disk storage requirements db2exfmt Use the table and indexes statistics to planfor indexes Create special tables used by Visual for table and index reorganization usingExplain how DB2 can compress temporary Explain and db2exfmt the REORG utilitydata to improve application performance Identify how to set the Explain snapshot Set the policies and options for automationUtilize the DB2 provided tools and functions and Explain mode registers to capture of catalog statistics collection.to estimate compression results for Indexes the information of interest Monitor the activity associated withand XML data Differentiate between the different implementing real time statistics collectionExplain the management of database methods of viewing Explain information Use the db2batch utility to run SQLshared memory based on setting the Choose the appropriate optimization workloads and collect performanceconfiguration option DATABASE_MEMORY class statistics that can be used to benchmarkto AUTOMATIC, COMPUTED or a specific Describe the catalog statistics and database and application changes number of pages database configuration options impact on Describe the performance advantages ofSelect the mode for managing data sort access plan selection using stored proceduresmemory using SHEAPTHRES, SORTHEAP, Implement a statistical view to provide Design applications to maximize recordand SHEAPTHRES_SHR better cardinality estimates for complex blocking, minimize sort operations andMonitor DB2 memory usage using the queries minimize lock contentiondb2mtrk command or the graphical Enable the statement concentrator using Evaluate setting the CUR_COMMITapplication Memory Visualizer. the stmt_conc database manager database configuration option to reduceUtilize the db2pd for monitoring current configuration parameter to reduce SQL lock waits, lock timeouts or deadlocksdatabase memory usage compilation overhead for dynamic SQL Explain how DB2 can access theUse AUTOCONFIGURE to set database statements committed version of a data row that isconfiguration defaults when a new database Utilize the db2look utility to extract currently being updated by anotheris created or after a database workload catalog statistics from existing tables to applicationchanges mimic an existing database environment Monitor application performance and lockExplain the differences in STMM processing Create an optimizer profile to influence waits using GET SNAPSHOT commandsbased on the setting of the access plan selected by the DB2 and SQL queries

Page 29: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

DATABASE_MEMORY optimizer Set the DB2 registry variablesPlan and configure a database for Use the MON_GET_INDEX table function DB2_EVALUNCOMMITTED,self-tuning memory to monitor index usage DB2_SKIPINSERTED andActivate or deactivate STMM for selected Describe the Block Indexing capability for DB2_SKIPDELETED to reduce lockmemory heaps MDC tables contention based on applicationDescribe the management of sortheap Explain how multiple indexes can be requirements memory based on the configuration of combined using Index ORing andsheapthres and sheapthres_shr Dynamic Bitmap Index ANDingExplain how DB2 can automatically increase Use the Design Advisor to predict lineor decrease database memory for multiple performance gains from adding new List the tools for monitoring database andDB2 databases running on the same server indexes application activityDescribe the advantages of using db2exfmt Describe the differences between Nested Use GET SNAPSHOT commands toCreate special tables used by Visual Explain Loop, Merge Scan and Hash Joins produce reports for analysis of databaseand db2exfmt Plan the implementation of Refresh performanceIdentify how to set the Explain snapshot and Immediate or Refresh Deferred Utilize the administrative routines andExplain mode registers to capture the Materialized Query Tables to improve views provided by to DB2 to simplifyinformation of interest query performance application access to databaseDifferentiate between the different methods Utilize the design advisor to analyze SQL performance statisticsof viewing Explain information statements and recommend new MQTs Use the db2pd to perform performanceChoose the appropriate optimization class Describe the features of Range analysis or problem determination for aDescribe the catalog statistics and database Partitioned Tables to support large DB2 DB2 databaseconfiguration options impact on access plan tables using multiple tablespaces, Utilize the enhanced relational monitoringselection including the roll-in and roll-out of data interfaces with SQL in reporting andImplement a statistical view to provide better ranges monitoring of the database system, datacardinality estimates for complex queries Explain the difference between objects, and the package cache to helpEnable the statement concentrator using the partitioned and non-partitioned indexes you quickly identify issues that might bestmt_conc database manager configuration for a range-partitioned table causing problemsparameter to reduce SQL compilation Implement partitioned indexes to improve Configure the DB2 Database configurationoverhead for dynamic SQL statements performance when you roll data out or roll options that control the collection ofUtilize the db2look utility to extract catalog data into a range-partitioned table request, activity and object level metrics onstatistics from existing tables to mimic an Use the DB2 Explain tools to determine if the entire databaseexisting database environment partition elimination is being used to Compare the enhanced monitoringCreate an optimizer profile to influence the improve access performance to large features with the snapshot monitoringaccess plan selected by the DB2 optimizer range partitioned tables facilities provided by previous DB2Use the MON_GET_INDEX table function to Select appropriate RUNSTATS options to releases monitor index usage collect Distribution Statistics or Column Describe processing for Writing DatabaseDescribe the Block Indexing capability for Group Statistics to improve cardinality Pages from Buffer PoolsMDC tables estimates during SQL compilation Monitor Database Read and Write ActivityExplain how multiple indexes can be Use the table and indexes statistics to using GET SNAPSHOT commands orcombined using Index ORing and Dynamic plan for table and index reorganization Administrative Routines and ViewsBitmap Index ANDing using the REORG utility Monitor Database Logging Activity andUse the Design Advisor to predict Set the policies and options for select appropriate values for SOFTMAXperformance gains from adding new indexes automation of catalog statistics collection. and MINCOMMITDescribe the differences between Nested Monitor the activity associated with Implement and monitor use of a blockLoop, Merge Scan and Hash Joins implementing real time statistics based buffer pool to improve table scanPlan the implementation of Refresh collection performanceImmediate or Refresh Deferred Materialized Use the db2batch utility to run SQL Describe the alternate page cleaningQuery Tables to improve query performance workloads and collect performance processing associated with the DB2Utilize the design advisor to analyze SQL statistics that can be used to benchmark Registry variablestatements and recommend new MQTs database and application changes DB2_USE_ALTERNATE_PAGE_CLEANIDescribe the features of Range Partitioned Describe the performance advantages of NGTables to support large DB2 tables using using stored procedures Describe how scan sharing can reduce themultiple tablespaces, including the roll-in Design applications to maximize record I/O workload for accessing large tables and roll-out of data ranges blocking, minimize sort operations and Describe the calculation of prefetch sizeExplain the difference between partitioned minimize lock contention when PREFETCHSIZE is set toand non-partitioned indexes for a Evaluate setting the CUR_COMMIT AUTOMATICrange-partitioned table database configuration option to reduce List the advantages of selecting DMS orImplement partitioned indexes to improve lock waits, lock timeouts or deadlocks SMS table space management as well asperformance when you roll data out or roll Explain how DB2 can access the using Automatic Storage managed tabledata into a range-partitioned table committed version of a data row that is spacesUse the DB2 Explain tools to determine if currently being updated by another Set file system caching options for tablepartition elimination is being used to improve application spaces to optimize table spaceaccess performance to large range Monitor application performance and lock performancepartitioned tables waits using GET SNAPSHOT commands Describe the various row insertionSelect appropriate RUNSTATS options to and SQL queries algorithms for tables that are based oncollect Distribution Statistics or Column Set the DB2 registry variables using the APPEND option or defining a

Page 30: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Group Statistics to improve cardinality DB2_EVALUNCOMMITTED, clustering indexestimates during SQL compilation DB2_SKIPINSERTED and Plan and implement Row Compression toUse the table and indexes statistics to plan DB2_SKIPDELETED to reduce lock reduce disk and memory requirements andfor table and index reorganization using the contention based on application improve application performanceREORG utility requirements Describe how DB2’s Index compressionSet the policies and options for automation option can reduce disk storageof catalog statistics collection. requirements for indexesMonitor the activity associated with line Explain how DB2 can compress temporaryimplementing real time statistics collection List the tools for monitoring database and data to improve application performanceUse the db2batch utility to run SQL application activity Utilize the DB2 provided tools andworkloads and collect performance statistics Use GET SNAPSHOT commands to functions to estimate compression resultsthat can be used to benchmark database produce reports for analysis of database for Indexes and XML data and application changes performance Explain the management of databaseDescribe the performance advantages of Utilize the administrative routines and shared memory based on setting theusing stored procedures views provided by to DB2 to simplify configuration optionDesign applications to maximize record application access to database DATABASE_MEMORY to AUTOMATIC,blocking, minimize sort operations and performance statistics COMPUTED or a specific number ofminimize lock contention Use the db2pd to perform performance pagesEvaluate setting the CUR_COMMIT analysis or problem determination for a Select the mode for managing data sortdatabase configuration option to reduce lock DB2 database memory using SHEAPTHRES,waits, lock timeouts or deadlocks Utilize the enhanced relational monitoring SORTHEAP, and SHEAPTHRES_SHRExplain how DB2 can access the committed interfaces with SQL in reporting and Monitor DB2 memory usage using theversion of a data row that is currently being monitoring of the database system, data db2mtrk command or the graphicalupdated by another application objects, and the package cache to help application Memory Visualizer.Monitor application performance and lock you quickly identify issues that might be Utilize the db2pd for monitoring currentwaits using GET SNAPSHOT commands causing problems database memory usageand SQL queries Configure the DB2 Database Use AUTOCONFIGURE to set databaseSet the DB2 registry variables configuration options that control the configuration defaults when a newDB2_EVALUNCOMMITTED, collection of request, activity and object database is created or after a databaseDB2_SKIPINSERTED and level metrics on the entire database workload changes DB2_SKIPDELETED to reduce lock Compare the enhanced monitoring Explain the differences in STMMcontention based on application features with the snapshot monitoring processing based on the setting ofrequirements facilities provided by previous DB2 DATABASE_MEMORY

releases Plan and configure a database forDescribe processing for Writing Database self-tuning memory

line Pages from Buffer Pools Activate or deactivate STMM for selectedList the tools for monitoring database and Monitor Database Read and Write memory heapsapplication activity Activity using GET SNAPSHOT Describe the management of sortheapUse GET SNAPSHOT commands to commands or Administrative Routines memory based on the configuration ofproduce reports for analysis of database and Views sheapthres and sheapthres_shrperformance Monitor Database Logging Activity and Explain how DB2 can automaticallyUtilize the administrative routines and views select appropriate values for SOFTMAX increase or decrease database memory forprovided by to DB2 to simplify application and MINCOMMIT multiple DB2 databases running on theaccess to database performance statistics Implement and monitor use of a block same server Use the db2pd to perform performance based buffer pool to improve table scan Describe the advantages of usinganalysis or problem determination for a DB2 performance db2exfmtdatabase Describe the alternate page cleaning Create special tables used by VisualUtilize the enhanced relational monitoring processing associated with the DB2 Explain and db2exfmtinterfaces with SQL in reporting and Registry variable Identify how to set the Explain snapshotmonitoring of the database system, data DB2_USE_ALTERNATE_PAGE_CLEAN and Explain mode registers to capture theobjects, and the package cache to help you ING information of interestquickly identify issues that might be causing Describe how scan sharing can reduce Differentiate between the differentproblems the I/O workload for accessing large methods of viewing Explain information Configure the DB2 Database configuration tables Choose the appropriate optimization classoptions that control the collection of request, Describe the calculation of prefetch size Describe the catalog statistics andactivity and object level metrics on the entire when PREFETCHSIZE is set to database configuration options impact ondatabase AUTOMATIC access plan selectionCompare the enhanced monitoring features List the advantages of selecting DMS or Implement a statistical view to providewith the snapshot monitoring facilities SMS table space management as well as better cardinality estimates for complexprovided by previous DB2 releases using Automatic Storage managed table queriesDescribe processing for Writing Database spaces Enable the statement concentrator usingPages from Buffer Pools Set file system caching options for table the stmt_conc database managerMonitor Database Read and Write Activity spaces to optimize table space configuration parameter to reduce SQLusing GET SNAPSHOT commands or performance compilation overhead for dynamic SQLAdministrative Routines and Views Describe the various row insertion statementsMonitor Database Logging Activity and algorithms for tables that are based on Utilize the db2look utility to extract catalog

Page 31: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

select appropriate values for SOFTMAX and using the APPEND option or defining a statistics from existing tables to mimic anMINCOMMIT clustering index existing database environmentImplement and monitor use of a block based Plan and implement Row Compression to Create an optimizer profile to influence thebuffer pool to improve table scan reduce disk and memory requirements access plan selected by the DB2 optimizerperformance and improve application performance Use the MON_GET_INDEX table functionDescribe the alternate page cleaning Describe how DB2’s Index compression to monitor index usageprocessing associated with the DB2 Registry option can reduce disk storage Describe the Block Indexing capability forvariable requirements for indexes MDC tablesDB2_USE_ALTERNATE_PAGE_CLEANIN Explain how DB2 can compress Explain how multiple indexes can beG temporary data to improve application combined using Index ORing and DynamicDescribe how scan sharing can reduce the performance Bitmap Index ANDingI/O workload for accessing large tables Utilize the DB2 provided tools and Use the Design Advisor to predictDescribe the calculation of prefetch size functions to estimate compression results performance gains from adding newwhen PREFETCHSIZE is set to for Indexes and XML data indexes AUTOMATIC Explain the management of database Describe the differences between NestedList the advantages of selecting DMS or shared memory based on setting the Loop, Merge Scan and Hash JoinsSMS table space management as well as configuration option Plan the implementation of Refreshusing Automatic Storage managed table DATABASE_MEMORY to AUTOMATIC, Immediate or Refresh Deferredspaces COMPUTED or a specific number of Materialized Query Tables to improveSet file system caching options for table pages query performancespaces to optimize table space performance Select the mode for managing data sort Utilize the design advisor to analyze SQLDescribe the various row insertion memory using SHEAPTHRES, statements and recommend new MQTsalgorithms for tables that are based on using SORTHEAP, and SHEAPTHRES_SHR Describe the features of Range Partitionedthe APPEND option or defining a clustering Monitor DB2 memory usage using the Tables to support large DB2 tables usingindex db2mtrk command or the graphical multiple tablespaces, including the roll-inPlan and implement Row Compression to application Memory Visualizer. and roll-out of data rangesreduce disk and memory requirements and Utilize the db2pd for monitoring current Explain the difference between partitionedimprove application performance database memory usage and non-partitioned indexes for aDescribe how DB2’s Index compression Use AUTOCONFIGURE to set database range-partitioned tableoption can reduce disk storage requirements configuration defaults when a new Implement partitioned indexes to improvefor indexes database is created or after a database performance when you roll data out or rollExplain how DB2 can compress temporary workload changes data into a range-partitioned tabledata to improve application performance Explain the differences in STMM Use the DB2 Explain tools to determine ifUtilize the DB2 provided tools and functions processing based on the setting of partition elimination is being used toto estimate compression results for Indexes DATABASE_MEMORY improve access performance to largeand XML data Plan and configure a database for range partitioned tables Explain the management of database self-tuning memory Select appropriate RUNSTATS options toshared memory based on setting the Activate or deactivate STMM for selected collect Distribution Statistics or Columnconfiguration option DATABASE_MEMORY memory heaps Group Statistics to improve cardinalityto AUTOMATIC, COMPUTED or a specific Describe the management of sortheap estimates during SQL compilationnumber of pages memory based on the configuration of Use the table and indexes statistics to planSelect the mode for managing data sort sheapthres and sheapthres_shr for table and index reorganization usingmemory using SHEAPTHRES, SORTHEAP, Explain how DB2 can automatically the REORG utilityand SHEAPTHRES_SHR increase or decrease database memory Set the policies and options for automationMonitor DB2 memory usage using the for multiple DB2 databases running on of catalog statistics collection.db2mtrk command or the graphical the same server Monitor the activity associated withapplication Memory Visualizer. Describe the advantages of using implementing real time statistics collectionUtilize the db2pd for monitoring current db2exfmt Use the db2batch utility to run SQLdatabase memory usage Create special tables used by Visual workloads and collect performanceUse AUTOCONFIGURE to set database Explain and db2exfmt statistics that can be used to benchmarkconfiguration defaults when a new database Identify how to set the Explain snapshot database and application changes is created or after a database workload and Explain mode registers to capture Describe the performance advantages ofchanges the information of interest using stored proceduresExplain the differences in STMM processing Differentiate between the different Design applications to maximize recordbased on the setting of methods of viewing Explain information blocking, minimize sort operations andDATABASE_MEMORY Choose the appropriate optimization minimize lock contentionPlan and configure a database for class Evaluate setting the CUR_COMMITself-tuning memory Describe the catalog statistics and database configuration option to reduceActivate or deactivate STMM for selected database configuration options impact on lock waits, lock timeouts or deadlocksmemory heaps access plan selection Explain how DB2 can access theDescribe the management of sortheap Implement a statistical view to provide committed version of a data row that ismemory based on the configuration of better cardinality estimates for complex currently being updated by anothersheapthres and sheapthres_shr queries applicationExplain how DB2 can automatically increase Enable the statement concentrator using Monitor application performance and lockor decrease database memory for multiple the stmt_conc database manager waits using GET SNAPSHOT commandsDB2 databases running on the same server configuration parameter to reduce SQL and SQL queries

Page 32: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Describe the advantages of using db2exfmt compilation overhead for dynamic SQL Set the DB2 registry variablesCreate special tables used by Visual Explain statements DB2_EVALUNCOMMITTED,and db2exfmt Utilize the db2look utility to extract DB2_SKIPINSERTED andIdentify how to set the Explain snapshot and catalog statistics from existing tables to DB2_SKIPDELETED to reduce lockExplain mode registers to capture the mimic an existing database environment contention based on applicationinformation of interest Create an optimizer profile to influence requirements Differentiate between the different methods the access plan selected by the DB2of viewing Explain information optimizer Tools and utilities for performance Choose the appropriate optimization class Use the MON_GET_INDEX table function lineDescribe the catalog statistics and database to monitor index usage Use the RUNSTATS utility to collect tableconfiguration options impact on access plan Describe the Block Indexing capability for and index statistics to enable the DB2selection MDC tables Optimizer to generate efficient accessImplement a statistical view to provide better Explain how multiple indexes can be strategiescardinality estimates for complex queries combined using Index ORing andEnable the statement concentrator using the Dynamic Bitmap Index ANDingstmt_conc database manager configuration Use the Design Advisor to predict lineparameter to reduce SQL compilation performance gains from adding new List the tools for monitoring database andoverhead for dynamic SQL statements indexes application activityUtilize the db2look utility to extract catalog Describe the differences between Nested Use GET SNAPSHOT commands tostatistics from existing tables to mimic an Loop, Merge Scan and Hash Joins produce reports for analysis of databaseexisting database environment Plan the implementation of Refresh performanceCreate an optimizer profile to influence the Immediate or Refresh Deferred Utilize the administrative routines andaccess plan selected by the DB2 optimizer Materialized Query Tables to improve views provided by to DB2 to simplifyUse the MON_GET_INDEX table function to query performance application access to databasemonitor index usage Utilize the design advisor to analyze SQL performance statisticsDescribe the Block Indexing capability for statements and recommend new MQTs Use the db2pd to perform performanceMDC tables Describe the features of Range analysis or problem determination for aExplain how multiple indexes can be Partitioned Tables to support large DB2 DB2 databasecombined using Index ORing and Dynamic tables using multiple tablespaces, Utilize the enhanced relational monitoringBitmap Index ANDing including the roll-in and roll-out of data interfaces with SQL in reporting andUse the Design Advisor to predict ranges monitoring of the database system, dataperformance gains from adding new indexes Explain the difference between objects, and the package cache to helpDescribe the differences between Nested partitioned and non-partitioned indexes you quickly identify issues that might beLoop, Merge Scan and Hash Joins for a range-partitioned table causing problemsPlan the implementation of Refresh Implement partitioned indexes to improve Configure the DB2 Database configurationImmediate or Refresh Deferred Materialized performance when you roll data out or roll options that control the collection ofQuery Tables to improve query performance data into a range-partitioned table request, activity and object level metrics onUtilize the design advisor to analyze SQL Use the DB2 Explain tools to determine if the entire databasestatements and recommend new MQTs partition elimination is being used to Compare the enhanced monitoringDescribe the features of Range Partitioned improve access performance to large features with the snapshot monitoringTables to support large DB2 tables using range partitioned tables facilities provided by previous DB2multiple tablespaces, including the roll-in Select appropriate RUNSTATS options to releases and roll-out of data ranges collect Distribution Statistics or Column Describe processing for Writing DatabaseExplain the difference between partitioned Group Statistics to improve cardinality Pages from Buffer Poolsand non-partitioned indexes for a estimates during SQL compilation Monitor Database Read and Write Activityrange-partitioned table Use the table and indexes statistics to using GET SNAPSHOT commands orImplement partitioned indexes to improve plan for table and index reorganization Administrative Routines and Viewsperformance when you roll data out or roll using the REORG utility Monitor Database Logging Activity anddata into a range-partitioned table Set the policies and options for select appropriate values for SOFTMAXUse the DB2 Explain tools to determine if automation of catalog statistics collection. and MINCOMMITpartition elimination is being used to improve Monitor the activity associated with Implement and monitor use of a blockaccess performance to large range implementing real time statistics based buffer pool to improve table scanpartitioned tables collection performanceSelect appropriate RUNSTATS options to Use the db2batch utility to run SQL Describe the alternate page cleaningcollect Distribution Statistics or Column workloads and collect performance processing associated with the DB2Group Statistics to improve cardinality statistics that can be used to benchmark Registry variableestimates during SQL compilation database and application changes DB2_USE_ALTERNATE_PAGE_CLEANIUse the table and indexes statistics to plan Describe the performance advantages of NGfor table and index reorganization using the using stored procedures Describe how scan sharing can reduce theREORG utility Design applications to maximize record I/O workload for accessing large tables Set the policies and options for automation blocking, minimize sort operations and Describe the calculation of prefetch sizeof catalog statistics collection. minimize lock contention when PREFETCHSIZE is set toMonitor the activity associated with Evaluate setting the CUR_COMMIT AUTOMATICimplementing real time statistics collection database configuration option to reduce List the advantages of selecting DMS orUse the db2batch utility to run SQL lock waits, lock timeouts or deadlocks SMS table space management as well asworkloads and collect performance statistics Explain how DB2 can access the using Automatic Storage managed table

Page 33: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

that can be used to benchmark database committed version of a data row that is spacesand application changes currently being updated by another Set file system caching options for tableDescribe the performance advantages of application spaces to optimize table spaceusing stored procedures Monitor application performance and lock performanceDesign applications to maximize record waits using GET SNAPSHOT commands Describe the various row insertionblocking, minimize sort operations and and SQL queries algorithms for tables that are based onminimize lock contention Set the DB2 registry variables using the APPEND option or defining aEvaluate setting the CUR_COMMIT DB2_EVALUNCOMMITTED, clustering indexdatabase configuration option to reduce lock DB2_SKIPINSERTED and Plan and implement Row Compression towaits, lock timeouts or deadlocks DB2_SKIPDELETED to reduce lock reduce disk and memory requirements andExplain how DB2 can access the committed contention based on application improve application performanceversion of a data row that is currently being requirements Describe how DB2’s Index compressionupdated by another application option can reduce disk storageMonitor application performance and lock Using explain tools requirements for indexeswaits using GET SNAPSHOT commands line Explain how DB2 can compress temporaryand SQL queries Describe the advantages of using Visual data to improve application performanceSet the DB2 registry variables Explain Utilize the DB2 provided tools andDB2_EVALUNCOMMITTED, functions to estimate compression resultsDB2_SKIPINSERTED and for Indexes and XML data DB2_SKIPDELETED to reduce lock line Explain the management of databasecontention based on application List the tools for monitoring database and shared memory based on setting therequirements application activity configuration option

Use GET SNAPSHOT commands to DATABASE_MEMORY to AUTOMATIC,produce reports for analysis of database COMPUTED or a specific number of

line performance pagesList the tools for monitoring database and Utilize the administrative routines and Select the mode for managing data sortapplication activity views provided by to DB2 to simplify memory using SHEAPTHRES,Use GET SNAPSHOT commands to application access to database SORTHEAP, and SHEAPTHRES_SHRproduce reports for analysis of database performance statistics Monitor DB2 memory usage using theperformance Use the db2pd to perform performance db2mtrk command or the graphicalUtilize the administrative routines and views analysis or problem determination for a application Memory Visualizer.provided by to DB2 to simplify application DB2 database Utilize the db2pd for monitoring currentaccess to database performance statistics Utilize the enhanced relational monitoring database memory usageUse the db2pd to perform performance interfaces with SQL in reporting and Use AUTOCONFIGURE to set databaseanalysis or problem determination for a DB2 monitoring of the database system, data configuration defaults when a newdatabase objects, and the package cache to help database is created or after a databaseUtilize the enhanced relational monitoring you quickly identify issues that might be workload changes interfaces with SQL in reporting and causing problems Explain the differences in STMMmonitoring of the database system, data Configure the DB2 Database processing based on the setting ofobjects, and the package cache to help you configuration options that control the DATABASE_MEMORYquickly identify issues that might be causing collection of request, activity and object Plan and configure a database forproblems level metrics on the entire database self-tuning memoryConfigure the DB2 Database configuration Compare the enhanced monitoring Activate or deactivate STMM for selectedoptions that control the collection of request, features with the snapshot monitoring memory heapsactivity and object level metrics on the entire facilities provided by previous DB2 Describe the management of sortheapdatabase releases memory based on the configuration ofCompare the enhanced monitoring features Describe processing for Writing Database sheapthres and sheapthres_shrwith the snapshot monitoring facilities Pages from Buffer Pools Explain how DB2 can automaticallyprovided by previous DB2 releases Monitor Database Read and Write increase or decrease database memory forDescribe processing for Writing Database Activity using GET SNAPSHOT multiple DB2 databases running on thePages from Buffer Pools commands or Administrative Routines same server Monitor Database Read and Write Activity and Views Describe the advantages of usingusing GET SNAPSHOT commands or Monitor Database Logging Activity and db2exfmtAdministrative Routines and Views select appropriate values for SOFTMAX Create special tables used by VisualMonitor Database Logging Activity and and MINCOMMIT Explain and db2exfmtselect appropriate values for SOFTMAX and Implement and monitor use of a block Identify how to set the Explain snapshotMINCOMMIT based buffer pool to improve table scan and Explain mode registers to capture theImplement and monitor use of a block based performance information of interestbuffer pool to improve table scan Describe the alternate page cleaning Differentiate between the differentperformance processing associated with the DB2 methods of viewing Explain information Describe the alternate page cleaning Registry variable Choose the appropriate optimization classprocessing associated with the DB2 Registry DB2_USE_ALTERNATE_PAGE_CLEAN Describe the catalog statistics andvariable ING database configuration options impact onDB2_USE_ALTERNATE_PAGE_CLEANIN Describe how scan sharing can reduce access plan selectionG the I/O workload for accessing large Implement a statistical view to provideDescribe how scan sharing can reduce the tables better cardinality estimates for complex

Page 34: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

I/O workload for accessing large tables Describe the calculation of prefetch size queriesDescribe the calculation of prefetch size when PREFETCHSIZE is set to Enable the statement concentrator usingwhen PREFETCHSIZE is set to AUTOMATIC the stmt_conc database managerAUTOMATIC List the advantages of selecting DMS or configuration parameter to reduce SQLList the advantages of selecting DMS or SMS table space management as well as compilation overhead for dynamic SQLSMS table space management as well as using Automatic Storage managed table statementsusing Automatic Storage managed table spaces Utilize the db2look utility to extract catalogspaces Set file system caching options for table statistics from existing tables to mimic anSet file system caching options for table spaces to optimize table space existing database environmentspaces to optimize table space performance performance Create an optimizer profile to influence theDescribe the various row insertion Describe the various row insertion access plan selected by the DB2 optimizeralgorithms for tables that are based on using algorithms for tables that are based on Use the MON_GET_INDEX table functionthe APPEND option or defining a clustering using the APPEND option or defining a to monitor index usageindex clustering index Describe the Block Indexing capability forPlan and implement Row Compression to Plan and implement Row Compression to MDC tablesreduce disk and memory requirements and reduce disk and memory requirements Explain how multiple indexes can beimprove application performance and improve application performance combined using Index ORing and DynamicDescribe how DB2’s Index compression Describe how DB2’s Index compression Bitmap Index ANDingoption can reduce disk storage requirements option can reduce disk storage Use the Design Advisor to predictfor indexes requirements for indexes performance gains from adding newExplain how DB2 can compress temporary Explain how DB2 can compress indexes data to improve application performance temporary data to improve application Describe the differences between NestedUtilize the DB2 provided tools and functions performance Loop, Merge Scan and Hash Joinsto estimate compression results for Indexes Utilize the DB2 provided tools and Plan the implementation of Refreshand XML data functions to estimate compression results Immediate or Refresh DeferredExplain the management of database for Indexes and XML data Materialized Query Tables to improveshared memory based on setting the Explain the management of database query performanceconfiguration option DATABASE_MEMORY shared memory based on setting the Utilize the design advisor to analyze SQLto AUTOMATIC, COMPUTED or a specific configuration option statements and recommend new MQTsnumber of pages DATABASE_MEMORY to AUTOMATIC, Describe the features of Range PartitionedSelect the mode for managing data sort COMPUTED or a specific number of Tables to support large DB2 tables usingmemory using SHEAPTHRES, SORTHEAP, pages multiple tablespaces, including the roll-inand SHEAPTHRES_SHR Select the mode for managing data sort and roll-out of data rangesMonitor DB2 memory usage using the memory using SHEAPTHRES, Explain the difference between partitioneddb2mtrk command or the graphical SORTHEAP, and SHEAPTHRES_SHR and non-partitioned indexes for aapplication Memory Visualizer. Monitor DB2 memory usage using the range-partitioned tableUtilize the db2pd for monitoring current db2mtrk command or the graphical Implement partitioned indexes to improvedatabase memory usage application Memory Visualizer. performance when you roll data out or rollUse AUTOCONFIGURE to set database Utilize the db2pd for monitoring current data into a range-partitioned tableconfiguration defaults when a new database database memory usage Use the DB2 Explain tools to determine ifis created or after a database workload Use AUTOCONFIGURE to set database partition elimination is being used tochanges configuration defaults when a new improve access performance to largeExplain the differences in STMM processing database is created or after a database range partitioned tables based on the setting of workload changes Select appropriate RUNSTATS options toDATABASE_MEMORY Explain the differences in STMM collect Distribution Statistics or ColumnPlan and configure a database for processing based on the setting of Group Statistics to improve cardinalityself-tuning memory DATABASE_MEMORY estimates during SQL compilationActivate or deactivate STMM for selected Plan and configure a database for Use the table and indexes statistics to planmemory heaps self-tuning memory for table and index reorganization usingDescribe the management of sortheap Activate or deactivate STMM for selected the REORG utilitymemory based on the configuration of memory heaps Set the policies and options for automationsheapthres and sheapthres_shr Describe the management of sortheap of catalog statistics collection.Explain how DB2 can automatically increase memory based on the configuration of Monitor the activity associated withor decrease database memory for multiple sheapthres and sheapthres_shr implementing real time statistics collectionDB2 databases running on the same server Explain how DB2 can automatically Use the db2batch utility to run SQLDescribe the advantages of using db2exfmt increase or decrease database memory workloads and collect performanceCreate special tables used by Visual Explain for multiple DB2 databases running on statistics that can be used to benchmarkand db2exfmt the same server database and application changes Identify how to set the Explain snapshot and Describe the advantages of using Describe the performance advantages ofExplain mode registers to capture the db2exfmt using stored proceduresinformation of interest Create special tables used by Visual Design applications to maximize recordDifferentiate between the different methods Explain and db2exfmt blocking, minimize sort operations andof viewing Explain information Identify how to set the Explain snapshot minimize lock contentionChoose the appropriate optimization class and Explain mode registers to capture Evaluate setting the CUR_COMMITDescribe the catalog statistics and database the information of interest database configuration option to reduceconfiguration options impact on access plan Differentiate between the different lock waits, lock timeouts or deadlocks

Page 35: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

selection methods of viewing Explain information Explain how DB2 can access theImplement a statistical view to provide better Choose the appropriate optimization committed version of a data row that iscardinality estimates for complex queries class currently being updated by anotherEnable the statement concentrator using the Describe the catalog statistics and applicationstmt_conc database manager configuration database configuration options impact on Monitor application performance and lockparameter to reduce SQL compilation access plan selection waits using GET SNAPSHOT commandsoverhead for dynamic SQL statements Implement a statistical view to provide and SQL queriesUtilize the db2look utility to extract catalog better cardinality estimates for complex Set the DB2 registry variablesstatistics from existing tables to mimic an queries DB2_EVALUNCOMMITTED,existing database environment Enable the statement concentrator using DB2_SKIPINSERTED andCreate an optimizer profile to influence the the stmt_conc database manager DB2_SKIPDELETED to reduce lockaccess plan selected by the DB2 optimizer configuration parameter to reduce SQL contention based on applicationUse the MON_GET_INDEX table function to compilation overhead for dynamic SQL requirements monitor index usage statementsDescribe the Block Indexing capability for Utilize the db2look utility to extractMDC tables catalog statistics from existing tables to lineExplain how multiple indexes can be mimic an existing database environment List the tools for monitoring database andcombined using Index ORing and Dynamic Create an optimizer profile to influence application activityBitmap Index ANDing the access plan selected by the DB2 Use GET SNAPSHOT commands toUse the Design Advisor to predict optimizer produce reports for analysis of databaseperformance gains from adding new indexes Use the MON_GET_INDEX table function performanceDescribe the differences between Nested to monitor index usage Utilize the administrative routines andLoop, Merge Scan and Hash Joins Describe the Block Indexing capability for views provided by to DB2 to simplifyPlan the implementation of Refresh MDC tables application access to databaseImmediate or Refresh Deferred Materialized Explain how multiple indexes can be performance statisticsQuery Tables to improve query performance combined using Index ORing and Use the db2pd to perform performanceUtilize the design advisor to analyze SQL Dynamic Bitmap Index ANDing analysis or problem determination for astatements and recommend new MQTs Use the Design Advisor to predict DB2 databaseDescribe the features of Range Partitioned performance gains from adding new Utilize the enhanced relational monitoringTables to support large DB2 tables using indexes interfaces with SQL in reporting andmultiple tablespaces, including the roll-in Describe the differences between Nested monitoring of the database system, dataand roll-out of data ranges Loop, Merge Scan and Hash Joins objects, and the package cache to helpExplain the difference between partitioned Plan the implementation of Refresh you quickly identify issues that might beand non-partitioned indexes for a Immediate or Refresh Deferred causing problemsrange-partitioned table Materialized Query Tables to improve Configure the DB2 Database configurationImplement partitioned indexes to improve query performance options that control the collection ofperformance when you roll data out or roll Utilize the design advisor to analyze SQL request, activity and object level metrics ondata into a range-partitioned table statements and recommend new MQTs the entire databaseUse the DB2 Explain tools to determine if Describe the features of Range Compare the enhanced monitoringpartition elimination is being used to improve Partitioned Tables to support large DB2 features with the snapshot monitoringaccess performance to large range tables using multiple tablespaces, facilities provided by previous DB2partitioned tables including the roll-in and roll-out of data releases Select appropriate RUNSTATS options to ranges Describe processing for Writing Databasecollect Distribution Statistics or Column Explain the difference between Pages from Buffer PoolsGroup Statistics to improve cardinality partitioned and non-partitioned indexes Monitor Database Read and Write Activityestimates during SQL compilation for a range-partitioned table using GET SNAPSHOT commands orUse the table and indexes statistics to plan Implement partitioned indexes to improve Administrative Routines and Viewsfor table and index reorganization using the performance when you roll data out or roll Monitor Database Logging Activity andREORG utility data into a range-partitioned table select appropriate values for SOFTMAXSet the policies and options for automation Use the DB2 Explain tools to determine if and MINCOMMITof catalog statistics collection. partition elimination is being used to Implement and monitor use of a blockMonitor the activity associated with improve access performance to large based buffer pool to improve table scanimplementing real time statistics collection range partitioned tables performanceUse the db2batch utility to run SQL Select appropriate RUNSTATS options to Describe the alternate page cleaningworkloads and collect performance statistics collect Distribution Statistics or Column processing associated with the DB2that can be used to benchmark database Group Statistics to improve cardinality Registry variableand application changes estimates during SQL compilation DB2_USE_ALTERNATE_PAGE_CLEANIDescribe the performance advantages of Use the table and indexes statistics to NGusing stored procedures plan for table and index reorganization Describe how scan sharing can reduce theDesign applications to maximize record using the REORG utility I/O workload for accessing large tables blocking, minimize sort operations and Set the policies and options for Describe the calculation of prefetch sizeminimize lock contention automation of catalog statistics collection. when PREFETCHSIZE is set toEvaluate setting the CUR_COMMIT Monitor the activity associated with AUTOMATICdatabase configuration option to reduce lock implementing real time statistics List the advantages of selecting DMS orwaits, lock timeouts or deadlocks collection SMS table space management as well asExplain how DB2 can access the committed Use the db2batch utility to run SQL using Automatic Storage managed table

Page 36: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

version of a data row that is currently being workloads and collect performance spacesupdated by another application statistics that can be used to benchmark Set file system caching options for tableMonitor application performance and lock database and application changes spaces to optimize table spacewaits using GET SNAPSHOT commands Describe the performance advantages of performanceand SQL queries using stored procedures Describe the various row insertionSet the DB2 registry variables Design applications to maximize record algorithms for tables that are based onDB2_EVALUNCOMMITTED, blocking, minimize sort operations and using the APPEND option or defining aDB2_SKIPINSERTED and minimize lock contention clustering indexDB2_SKIPDELETED to reduce lock Evaluate setting the CUR_COMMIT Plan and implement Row Compression tocontention based on application database configuration option to reduce reduce disk and memory requirements andrequirements lock waits, lock timeouts or deadlocks improve application performance

Explain how DB2 can access the Describe how DB2’s Index compressioncommitted version of a data row that is option can reduce disk storage

line currently being updated by another requirements for indexesList the tools for monitoring database and application Explain how DB2 can compress temporaryapplication activity Monitor application performance and lock data to improve application performanceUse GET SNAPSHOT commands to waits using GET SNAPSHOT commands Utilize the DB2 provided tools andproduce reports for analysis of database and SQL queries functions to estimate compression resultsperformance Set the DB2 registry variables for Indexes and XML data Utilize the administrative routines and views DB2_EVALUNCOMMITTED, Explain the management of databaseprovided by to DB2 to simplify application DB2_SKIPINSERTED and shared memory based on setting theaccess to database performance statistics DB2_SKIPDELETED to reduce lock configuration optionUse the db2pd to perform performance contention based on application DATABASE_MEMORY to AUTOMATIC,analysis or problem determination for a DB2 requirements COMPUTED or a specific number ofdatabase pagesUtilize the enhanced relational monitoring Select the mode for managing data sortinterfaces with SQL in reporting and line memory using SHEAPTHRES,monitoring of the database system, data List the tools for monitoring database and SORTHEAP, and SHEAPTHRES_SHRobjects, and the package cache to help you application activity Monitor DB2 memory usage using thequickly identify issues that might be causing Use GET SNAPSHOT commands to db2mtrk command or the graphicalproblems produce reports for analysis of database application Memory Visualizer.Configure the DB2 Database configuration performance Utilize the db2pd for monitoring currentoptions that control the collection of request, Utilize the administrative routines and database memory usageactivity and object level metrics on the entire views provided by to DB2 to simplify Use AUTOCONFIGURE to set databasedatabase application access to database configuration defaults when a newCompare the enhanced monitoring features performance statistics database is created or after a databasewith the snapshot monitoring facilities Use the db2pd to perform performance workload changes provided by previous DB2 releases analysis or problem determination for a Explain the differences in STMMDescribe processing for Writing Database DB2 database processing based on the setting ofPages from Buffer Pools Utilize the enhanced relational monitoring DATABASE_MEMORYMonitor Database Read and Write Activity interfaces with SQL in reporting and Plan and configure a database forusing GET SNAPSHOT commands or monitoring of the database system, data self-tuning memoryAdministrative Routines and Views objects, and the package cache to help Activate or deactivate STMM for selectedMonitor Database Logging Activity and you quickly identify issues that might be memory heapsselect appropriate values for SOFTMAX and causing problems Describe the management of sortheapMINCOMMIT Configure the DB2 Database memory based on the configuration ofImplement and monitor use of a block based configuration options that control the sheapthres and sheapthres_shrbuffer pool to improve table scan collection of request, activity and object Explain how DB2 can automaticallyperformance level metrics on the entire database increase or decrease database memory forDescribe the alternate page cleaning Compare the enhanced monitoring multiple DB2 databases running on theprocessing associated with the DB2 Registry features with the snapshot monitoring same server variable facilities provided by previous DB2 Describe the advantages of usingDB2_USE_ALTERNATE_PAGE_CLEANIN releases db2exfmtG Describe processing for Writing Database Create special tables used by VisualDescribe how scan sharing can reduce the Pages from Buffer Pools Explain and db2exfmtI/O workload for accessing large tables Monitor Database Read and Write Identify how to set the Explain snapshotDescribe the calculation of prefetch size Activity using GET SNAPSHOT and Explain mode registers to capture thewhen PREFETCHSIZE is set to commands or Administrative Routines information of interestAUTOMATIC and Views Differentiate between the differentList the advantages of selecting DMS or Monitor Database Logging Activity and methods of viewing Explain information SMS table space management as well as select appropriate values for SOFTMAX Choose the appropriate optimization classusing Automatic Storage managed table and MINCOMMIT Describe the catalog statistics andspaces Implement and monitor use of a block database configuration options impact onSet file system caching options for table based buffer pool to improve table scan access plan selectionspaces to optimize table space performance performance Implement a statistical view to provideDescribe the various row insertion Describe the alternate page cleaning better cardinality estimates for complex

Page 37: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

algorithms for tables that are based on using processing associated with the DB2 queriesthe APPEND option or defining a clustering Registry variable Enable the statement concentrator usingindex DB2_USE_ALTERNATE_PAGE_CLEAN the stmt_conc database managerPlan and implement Row Compression to ING configuration parameter to reduce SQLreduce disk and memory requirements and Describe how scan sharing can reduce compilation overhead for dynamic SQLimprove application performance the I/O workload for accessing large statementsDescribe how DB2’s Index compression tables Utilize the db2look utility to extract catalogoption can reduce disk storage requirements Describe the calculation of prefetch size statistics from existing tables to mimic anfor indexes when PREFETCHSIZE is set to existing database environmentExplain how DB2 can compress temporary AUTOMATIC Create an optimizer profile to influence thedata to improve application performance List the advantages of selecting DMS or access plan selected by the DB2 optimizerUtilize the DB2 provided tools and functions SMS table space management as well as Use the MON_GET_INDEX table functionto estimate compression results for Indexes using Automatic Storage managed table to monitor index usageand XML data spaces Describe the Block Indexing capability forExplain the management of database Set file system caching options for table MDC tablesshared memory based on setting the spaces to optimize table space Explain how multiple indexes can beconfiguration option DATABASE_MEMORY performance combined using Index ORing and Dynamicto AUTOMATIC, COMPUTED or a specific Describe the various row insertion Bitmap Index ANDingnumber of pages algorithms for tables that are based on Use the Design Advisor to predictSelect the mode for managing data sort using the APPEND option or defining a performance gains from adding newmemory using SHEAPTHRES, SORTHEAP, clustering index indexes and SHEAPTHRES_SHR Plan and implement Row Compression to Describe the differences between NestedMonitor DB2 memory usage using the reduce disk and memory requirements Loop, Merge Scan and Hash Joinsdb2mtrk command or the graphical and improve application performance Plan the implementation of Refreshapplication Memory Visualizer. Describe how DB2’s Index compression Immediate or Refresh DeferredUtilize the db2pd for monitoring current option can reduce disk storage Materialized Query Tables to improvedatabase memory usage requirements for indexes query performanceUse AUTOCONFIGURE to set database Explain how DB2 can compress Utilize the design advisor to analyze SQLconfiguration defaults when a new database temporary data to improve application statements and recommend new MQTsis created or after a database workload performance Describe the features of Range Partitionedchanges Utilize the DB2 provided tools and Tables to support large DB2 tables usingExplain the differences in STMM processing functions to estimate compression results multiple tablespaces, including the roll-inbased on the setting of for Indexes and XML data and roll-out of data rangesDATABASE_MEMORY Explain the management of database Explain the difference between partitionedPlan and configure a database for shared memory based on setting the and non-partitioned indexes for aself-tuning memory configuration option range-partitioned tableActivate or deactivate STMM for selected DATABASE_MEMORY to AUTOMATIC, Implement partitioned indexes to improvememory heaps COMPUTED or a specific number of performance when you roll data out or rollDescribe the management of sortheap pages data into a range-partitioned tablememory based on the configuration of Select the mode for managing data sort Use the DB2 Explain tools to determine ifsheapthres and sheapthres_shr memory using SHEAPTHRES, partition elimination is being used toExplain how DB2 can automatically increase SORTHEAP, and SHEAPTHRES_SHR improve access performance to largeor decrease database memory for multiple Monitor DB2 memory usage using the range partitioned tables DB2 databases running on the same server db2mtrk command or the graphical Select appropriate RUNSTATS options toDescribe the advantages of using db2exfmt application Memory Visualizer. collect Distribution Statistics or ColumnCreate special tables used by Visual Explain Utilize the db2pd for monitoring current Group Statistics to improve cardinalityand db2exfmt database memory usage estimates during SQL compilationIdentify how to set the Explain snapshot and Use AUTOCONFIGURE to set database Use the table and indexes statistics to planExplain mode registers to capture the configuration defaults when a new for table and index reorganization usinginformation of interest database is created or after a database the REORG utilityDifferentiate between the different methods workload changes Set the policies and options for automationof viewing Explain information Explain the differences in STMM of catalog statistics collection.Choose the appropriate optimization class processing based on the setting of Monitor the activity associated withDescribe the catalog statistics and database DATABASE_MEMORY implementing real time statistics collectionconfiguration options impact on access plan Plan and configure a database for Use the db2batch utility to run SQLselection self-tuning memory workloads and collect performanceImplement a statistical view to provide better Activate or deactivate STMM for selected statistics that can be used to benchmarkcardinality estimates for complex queries memory heaps database and application changes Enable the statement concentrator using the Describe the management of sortheap Describe the performance advantages ofstmt_conc database manager configuration memory based on the configuration of using stored proceduresparameter to reduce SQL compilation sheapthres and sheapthres_shr Design applications to maximize recordoverhead for dynamic SQL statements Explain how DB2 can automatically blocking, minimize sort operations andUtilize the db2look utility to extract catalog increase or decrease database memory minimize lock contentionstatistics from existing tables to mimic an for multiple DB2 databases running on Evaluate setting the CUR_COMMITexisting database environment the same server database configuration option to reduceCreate an optimizer profile to influence the Describe the advantages of using lock waits, lock timeouts or deadlocks

Page 38: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

access plan selected by the DB2 optimizer db2exfmt Explain how DB2 can access theUse the MON_GET_INDEX table function to Create special tables used by Visual committed version of a data row that ismonitor index usage Explain and db2exfmt currently being updated by anotherDescribe the Block Indexing capability for Identify how to set the Explain snapshot applicationMDC tables and Explain mode registers to capture Monitor application performance and lockExplain how multiple indexes can be the information of interest waits using GET SNAPSHOT commandscombined using Index ORing and Dynamic Differentiate between the different and SQL queriesBitmap Index ANDing methods of viewing Explain information Set the DB2 registry variablesUse the Design Advisor to predict Choose the appropriate optimization DB2_EVALUNCOMMITTED,performance gains from adding new indexes class DB2_SKIPINSERTED andDescribe the differences between Nested Describe the catalog statistics and DB2_SKIPDELETED to reduce lockLoop, Merge Scan and Hash Joins database configuration options impact on contention based on applicationPlan the implementation of Refresh access plan selection requirements Immediate or Refresh Deferred Materialized Implement a statistical view to provideQuery Tables to improve query performance better cardinality estimates for complexUtilize the design advisor to analyze SQL queries linestatements and recommend new MQTs Enable the statement concentrator using List the tools for monitoring database andDescribe the features of Range Partitioned the stmt_conc database manager application activityTables to support large DB2 tables using configuration parameter to reduce SQL Use GET SNAPSHOT commands tomultiple tablespaces, including the roll-in compilation overhead for dynamic SQL produce reports for analysis of databaseand roll-out of data ranges statements performanceExplain the difference between partitioned Utilize the db2look utility to extract Utilize the administrative routines andand non-partitioned indexes for a catalog statistics from existing tables to views provided by to DB2 to simplifyrange-partitioned table mimic an existing database environment application access to databaseImplement partitioned indexes to improve Create an optimizer profile to influence performance statisticsperformance when you roll data out or roll the access plan selected by the DB2 Use the db2pd to perform performancedata into a range-partitioned table optimizer analysis or problem determination for aUse the DB2 Explain tools to determine if Use the MON_GET_INDEX table function DB2 databasepartition elimination is being used to improve to monitor index usage Utilize the enhanced relational monitoringaccess performance to large range Describe the Block Indexing capability for interfaces with SQL in reporting andpartitioned tables MDC tables monitoring of the database system, dataSelect appropriate RUNSTATS options to Explain how multiple indexes can be objects, and the package cache to helpcollect Distribution Statistics or Column combined using Index ORing and you quickly identify issues that might beGroup Statistics to improve cardinality Dynamic Bitmap Index ANDing causing problemsestimates during SQL compilation Use the Design Advisor to predict Configure the DB2 Database configurationUse the table and indexes statistics to plan performance gains from adding new options that control the collection offor table and index reorganization using the indexes request, activity and object level metrics onREORG utility Describe the differences between Nested the entire databaseSet the policies and options for automation Loop, Merge Scan and Hash Joins Compare the enhanced monitoringof catalog statistics collection. Plan the implementation of Refresh features with the snapshot monitoringMonitor the activity associated with Immediate or Refresh Deferred facilities provided by previous DB2implementing real time statistics collection Materialized Query Tables to improve releases Use the db2batch utility to run SQL query performance Describe processing for Writing Databaseworkloads and collect performance statistics Utilize the design advisor to analyze SQL Pages from Buffer Poolsthat can be used to benchmark database statements and recommend new MQTs Monitor Database Read and Write Activityand application changes Describe the features of Range using GET SNAPSHOT commands orDescribe the performance advantages of Partitioned Tables to support large DB2 Administrative Routines and Viewsusing stored procedures tables using multiple tablespaces, Monitor Database Logging Activity andDesign applications to maximize record including the roll-in and roll-out of data select appropriate values for SOFTMAXblocking, minimize sort operations and ranges and MINCOMMITminimize lock contention Explain the difference between Implement and monitor use of a blockEvaluate setting the CUR_COMMIT partitioned and non-partitioned indexes based buffer pool to improve table scandatabase configuration option to reduce lock for a range-partitioned table performancewaits, lock timeouts or deadlocks Implement partitioned indexes to improve Describe the alternate page cleaningExplain how DB2 can access the committed performance when you roll data out or roll processing associated with the DB2version of a data row that is currently being data into a range-partitioned table Registry variableupdated by another application Use the DB2 Explain tools to determine if DB2_USE_ALTERNATE_PAGE_CLEANIMonitor application performance and lock partition elimination is being used to NGwaits using GET SNAPSHOT commands improve access performance to large Describe how scan sharing can reduce theand SQL queries range partitioned tables I/O workload for accessing large tables Set the DB2 registry variables Select appropriate RUNSTATS options to Describe the calculation of prefetch sizeDB2_EVALUNCOMMITTED, collect Distribution Statistics or Column when PREFETCHSIZE is set toDB2_SKIPINSERTED and Group Statistics to improve cardinality AUTOMATICDB2_SKIPDELETED to reduce lock estimates during SQL compilation List the advantages of selecting DMS orcontention based on application Use the table and indexes statistics to SMS table space management as well asrequirements plan for table and index reorganization using Automatic Storage managed table

Page 39: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

using the REORG utility spacesTablespace and Table design for performance Set the policies and options for Set file system caching options for tableline automation of catalog statistics collection. spaces to optimize table space

Select appropriate values for table space Monitor the activity associated with performancepage size and extent size to support implementing real time statistics Describe the various row insertionapplication performance requirements collection algorithms for tables that are based on

Use the db2batch utility to run SQL using the APPEND option or defining aworkloads and collect performance clustering index

line statistics that can be used to benchmark Plan and implement Row Compression toList the tools for monitoring database and database and application changes reduce disk and memory requirements andapplication activity Describe the performance advantages of improve application performanceUse GET SNAPSHOT commands to using stored procedures Describe how DB2’s Index compressionproduce reports for analysis of database Design applications to maximize record option can reduce disk storageperformance blocking, minimize sort operations and requirements for indexesUtilize the administrative routines and views minimize lock contention Explain how DB2 can compress temporaryprovided by to DB2 to simplify application Evaluate setting the CUR_COMMIT data to improve application performanceaccess to database performance statistics database configuration option to reduce Utilize the DB2 provided tools andUse the db2pd to perform performance lock waits, lock timeouts or deadlocks functions to estimate compression resultsanalysis or problem determination for a DB2 Explain how DB2 can access the for Indexes and XML data database committed version of a data row that is Explain the management of databaseUtilize the enhanced relational monitoring currently being updated by another shared memory based on setting theinterfaces with SQL in reporting and application configuration optionmonitoring of the database system, data Monitor application performance and lock DATABASE_MEMORY to AUTOMATIC,objects, and the package cache to help you waits using GET SNAPSHOT commands COMPUTED or a specific number ofquickly identify issues that might be causing and SQL queries pagesproblems Set the DB2 registry variables Select the mode for managing data sortConfigure the DB2 Database configuration DB2_EVALUNCOMMITTED, memory using SHEAPTHRES,options that control the collection of request, DB2_SKIPINSERTED and SORTHEAP, and SHEAPTHRES_SHRactivity and object level metrics on the entire DB2_SKIPDELETED to reduce lock Monitor DB2 memory usage using thedatabase contention based on application db2mtrk command or the graphicalCompare the enhanced monitoring features requirements application Memory Visualizer.with the snapshot monitoring facilities Utilize the db2pd for monitoring currentprovided by previous DB2 releases database memory usageDescribe processing for Writing Database line Use AUTOCONFIGURE to set databasePages from Buffer Pools List the tools for monitoring database and configuration defaults when a newMonitor Database Read and Write Activity application activity database is created or after a databaseusing GET SNAPSHOT commands or Use GET SNAPSHOT commands to workload changes Administrative Routines and Views produce reports for analysis of database Explain the differences in STMMMonitor Database Logging Activity and performance processing based on the setting ofselect appropriate values for SOFTMAX and Utilize the administrative routines and DATABASE_MEMORYMINCOMMIT views provided by to DB2 to simplify Plan and configure a database forImplement and monitor use of a block based application access to database self-tuning memorybuffer pool to improve table scan performance statistics Activate or deactivate STMM for selectedperformance Use the db2pd to perform performance memory heapsDescribe the alternate page cleaning analysis or problem determination for a Describe the management of sortheapprocessing associated with the DB2 Registry DB2 database memory based on the configuration ofvariable Utilize the enhanced relational monitoring sheapthres and sheapthres_shrDB2_USE_ALTERNATE_PAGE_CLEANIN interfaces with SQL in reporting and Explain how DB2 can automaticallyG monitoring of the database system, data increase or decrease database memory forDescribe how scan sharing can reduce the objects, and the package cache to help multiple DB2 databases running on theI/O workload for accessing large tables you quickly identify issues that might be same server Describe the calculation of prefetch size causing problems Describe the advantages of usingwhen PREFETCHSIZE is set to Configure the DB2 Database db2exfmtAUTOMATIC configuration options that control the Create special tables used by VisualList the advantages of selecting DMS or collection of request, activity and object Explain and db2exfmtSMS table space management as well as level metrics on the entire database Identify how to set the Explain snapshotusing Automatic Storage managed table Compare the enhanced monitoring and Explain mode registers to capture thespaces features with the snapshot monitoring information of interestSet file system caching options for table facilities provided by previous DB2 Differentiate between the differentspaces to optimize table space performance releases methods of viewing Explain information Describe the various row insertion Describe processing for Writing Database Choose the appropriate optimization classalgorithms for tables that are based on using Pages from Buffer Pools Describe the catalog statistics andthe APPEND option or defining a clustering Monitor Database Read and Write database configuration options impact onindex Activity using GET SNAPSHOT access plan selectionPlan and implement Row Compression to commands or Administrative Routines Implement a statistical view to providereduce disk and memory requirements and and Views better cardinality estimates for complex

Page 40: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

improve application performance Monitor Database Logging Activity and queriesDescribe how DB2’s Index compression select appropriate values for SOFTMAX Enable the statement concentrator usingoption can reduce disk storage requirements and MINCOMMIT the stmt_conc database managerfor indexes Implement and monitor use of a block configuration parameter to reduce SQLExplain how DB2 can compress temporary based buffer pool to improve table scan compilation overhead for dynamic SQLdata to improve application performance performance statementsUtilize the DB2 provided tools and functions Describe the alternate page cleaning Utilize the db2look utility to extract catalogto estimate compression results for Indexes processing associated with the DB2 statistics from existing tables to mimic anand XML data Registry variable existing database environmentExplain the management of database DB2_USE_ALTERNATE_PAGE_CLEAN Create an optimizer profile to influence theshared memory based on setting the ING access plan selected by the DB2 optimizerconfiguration option DATABASE_MEMORY Describe how scan sharing can reduce Use the MON_GET_INDEX table functionto AUTOMATIC, COMPUTED or a specific the I/O workload for accessing large to monitor index usagenumber of pages tables Describe the Block Indexing capability forSelect the mode for managing data sort Describe the calculation of prefetch size MDC tablesmemory using SHEAPTHRES, SORTHEAP, when PREFETCHSIZE is set to Explain how multiple indexes can beand SHEAPTHRES_SHR AUTOMATIC combined using Index ORing and DynamicMonitor DB2 memory usage using the List the advantages of selecting DMS or Bitmap Index ANDingdb2mtrk command or the graphical SMS table space management as well as Use the Design Advisor to predictapplication Memory Visualizer. using Automatic Storage managed table performance gains from adding newUtilize the db2pd for monitoring current spaces indexes database memory usage Set file system caching options for table Describe the differences between NestedUse AUTOCONFIGURE to set database spaces to optimize table space Loop, Merge Scan and Hash Joinsconfiguration defaults when a new database performance Plan the implementation of Refreshis created or after a database workload Describe the various row insertion Immediate or Refresh Deferredchanges algorithms for tables that are based on Materialized Query Tables to improveExplain the differences in STMM processing using the APPEND option or defining a query performancebased on the setting of clustering index Utilize the design advisor to analyze SQLDATABASE_MEMORY Plan and implement Row Compression to statements and recommend new MQTsPlan and configure a database for reduce disk and memory requirements Describe the features of Range Partitionedself-tuning memory and improve application performance Tables to support large DB2 tables usingActivate or deactivate STMM for selected Describe how DB2’s Index compression multiple tablespaces, including the roll-inmemory heaps option can reduce disk storage and roll-out of data rangesDescribe the management of sortheap requirements for indexes Explain the difference between partitionedmemory based on the configuration of Explain how DB2 can compress and non-partitioned indexes for asheapthres and sheapthres_shr temporary data to improve application range-partitioned tableExplain how DB2 can automatically increase performance Implement partitioned indexes to improveor decrease database memory for multiple Utilize the DB2 provided tools and performance when you roll data out or rollDB2 databases running on the same server functions to estimate compression results data into a range-partitioned tableDescribe the advantages of using db2exfmt for Indexes and XML data Use the DB2 Explain tools to determine ifCreate special tables used by Visual Explain Explain the management of database partition elimination is being used toand db2exfmt shared memory based on setting the improve access performance to largeIdentify how to set the Explain snapshot and configuration option range partitioned tables Explain mode registers to capture the DATABASE_MEMORY to AUTOMATIC, Select appropriate RUNSTATS options toinformation of interest COMPUTED or a specific number of collect Distribution Statistics or ColumnDifferentiate between the different methods pages Group Statistics to improve cardinalityof viewing Explain information Select the mode for managing data sort estimates during SQL compilationChoose the appropriate optimization class memory using SHEAPTHRES, Use the table and indexes statistics to planDescribe the catalog statistics and database SORTHEAP, and SHEAPTHRES_SHR for table and index reorganization usingconfiguration options impact on access plan Monitor DB2 memory usage using the the REORG utilityselection db2mtrk command or the graphical Set the policies and options for automationImplement a statistical view to provide better application Memory Visualizer. of catalog statistics collection.cardinality estimates for complex queries Utilize the db2pd for monitoring current Monitor the activity associated withEnable the statement concentrator using the database memory usage implementing real time statistics collectionstmt_conc database manager configuration Use AUTOCONFIGURE to set database Use the db2batch utility to run SQLparameter to reduce SQL compilation configuration defaults when a new workloads and collect performanceoverhead for dynamic SQL statements database is created or after a database statistics that can be used to benchmarkUtilize the db2look utility to extract catalog workload changes database and application changes statistics from existing tables to mimic an Explain the differences in STMM Describe the performance advantages ofexisting database environment processing based on the setting of using stored proceduresCreate an optimizer profile to influence the DATABASE_MEMORY Design applications to maximize recordaccess plan selected by the DB2 optimizer Plan and configure a database for blocking, minimize sort operations andUse the MON_GET_INDEX table function to self-tuning memory minimize lock contentionmonitor index usage Activate or deactivate STMM for selected Evaluate setting the CUR_COMMITDescribe the Block Indexing capability for memory heaps database configuration option to reduceMDC tables Describe the management of sortheap lock waits, lock timeouts or deadlocks

Page 41: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Explain how multiple indexes can be memory based on the configuration of Explain how DB2 can access thecombined using Index ORing and Dynamic sheapthres and sheapthres_shr committed version of a data row that isBitmap Index ANDing Explain how DB2 can automatically currently being updated by anotherUse the Design Advisor to predict increase or decrease database memory applicationperformance gains from adding new indexes for multiple DB2 databases running on Monitor application performance and lockDescribe the differences between Nested the same server waits using GET SNAPSHOT commandsLoop, Merge Scan and Hash Joins Describe the advantages of using and SQL queriesPlan the implementation of Refresh db2exfmt Set the DB2 registry variablesImmediate or Refresh Deferred Materialized Create special tables used by Visual DB2_EVALUNCOMMITTED,Query Tables to improve query performance Explain and db2exfmt DB2_SKIPINSERTED andUtilize the design advisor to analyze SQL Identify how to set the Explain snapshot DB2_SKIPDELETED to reduce lockstatements and recommend new MQTs and Explain mode registers to capture contention based on applicationDescribe the features of Range Partitioned the information of interest requirements Tables to support large DB2 tables using Differentiate between the differentmultiple tablespaces, including the roll-in methods of viewing Explain information and roll-out of data ranges Choose the appropriate optimization lineExplain the difference between partitioned class List the tools for monitoring database andand non-partitioned indexes for a Describe the catalog statistics and application activityrange-partitioned table database configuration options impact on Use GET SNAPSHOT commands toImplement partitioned indexes to improve access plan selection produce reports for analysis of databaseperformance when you roll data out or roll Implement a statistical view to provide performancedata into a range-partitioned table better cardinality estimates for complex Utilize the administrative routines andUse the DB2 Explain tools to determine if queries views provided by to DB2 to simplifypartition elimination is being used to improve Enable the statement concentrator using application access to databaseaccess performance to large range the stmt_conc database manager performance statisticspartitioned tables configuration parameter to reduce SQL Use the db2pd to perform performanceSelect appropriate RUNSTATS options to compilation overhead for dynamic SQL analysis or problem determination for acollect Distribution Statistics or Column statements DB2 databaseGroup Statistics to improve cardinality Utilize the db2look utility to extract Utilize the enhanced relational monitoringestimates during SQL compilation catalog statistics from existing tables to interfaces with SQL in reporting andUse the table and indexes statistics to plan mimic an existing database environment monitoring of the database system, datafor table and index reorganization using the Create an optimizer profile to influence objects, and the package cache to helpREORG utility the access plan selected by the DB2 you quickly identify issues that might beSet the policies and options for automation optimizer causing problemsof catalog statistics collection. Use the MON_GET_INDEX table function Configure the DB2 Database configurationMonitor the activity associated with to monitor index usage options that control the collection ofimplementing real time statistics collection Describe the Block Indexing capability for request, activity and object level metrics onUse the db2batch utility to run SQL MDC tables the entire databaseworkloads and collect performance statistics Explain how multiple indexes can be Compare the enhanced monitoringthat can be used to benchmark database combined using Index ORing and features with the snapshot monitoringand application changes Dynamic Bitmap Index ANDing facilities provided by previous DB2Describe the performance advantages of Use the Design Advisor to predict releases using stored procedures performance gains from adding new Describe processing for Writing DatabaseDesign applications to maximize record indexes Pages from Buffer Poolsblocking, minimize sort operations and Describe the differences between Nested Monitor Database Read and Write Activityminimize lock contention Loop, Merge Scan and Hash Joins using GET SNAPSHOT commands orEvaluate setting the CUR_COMMIT Plan the implementation of Refresh Administrative Routines and Viewsdatabase configuration option to reduce lock Immediate or Refresh Deferred Monitor Database Logging Activity andwaits, lock timeouts or deadlocks Materialized Query Tables to improve select appropriate values for SOFTMAXExplain how DB2 can access the committed query performance and MINCOMMITversion of a data row that is currently being Utilize the design advisor to analyze SQL Implement and monitor use of a blockupdated by another application statements and recommend new MQTs based buffer pool to improve table scanMonitor application performance and lock Describe the features of Range performancewaits using GET SNAPSHOT commands Partitioned Tables to support large DB2 Describe the alternate page cleaningand SQL queries tables using multiple tablespaces, processing associated with the DB2Set the DB2 registry variables including the roll-in and roll-out of data Registry variableDB2_EVALUNCOMMITTED, ranges DB2_USE_ALTERNATE_PAGE_CLEANIDB2_SKIPINSERTED and Explain the difference between NGDB2_SKIPDELETED to reduce lock partitioned and non-partitioned indexes Describe how scan sharing can reduce thecontention based on application for a range-partitioned table I/O workload for accessing large tables requirements Implement partitioned indexes to improve Describe the calculation of prefetch size

performance when you roll data out or roll when PREFETCHSIZE is set todata into a range-partitioned table AUTOMATIC

line Use the DB2 Explain tools to determine if List the advantages of selecting DMS orList the tools for monitoring database and partition elimination is being used to SMS table space management as well asapplication activity improve access performance to large using Automatic Storage managed table

Page 42: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Use GET SNAPSHOT commands to range partitioned tables spacesproduce reports for analysis of database Select appropriate RUNSTATS options to Set file system caching options for tableperformance collect Distribution Statistics or Column spaces to optimize table spaceUtilize the administrative routines and views Group Statistics to improve cardinality performanceprovided by to DB2 to simplify application estimates during SQL compilation Describe the various row insertionaccess to database performance statistics Use the table and indexes statistics to algorithms for tables that are based onUse the db2pd to perform performance plan for table and index reorganization using the APPEND option or defining aanalysis or problem determination for a DB2 using the REORG utility clustering indexdatabase Set the policies and options for Plan and implement Row Compression toUtilize the enhanced relational monitoring automation of catalog statistics collection. reduce disk and memory requirements andinterfaces with SQL in reporting and Monitor the activity associated with improve application performancemonitoring of the database system, data implementing real time statistics Describe how DB2’s Index compressionobjects, and the package cache to help you collection option can reduce disk storagequickly identify issues that might be causing Use the db2batch utility to run SQL requirements for indexesproblems workloads and collect performance Explain how DB2 can compress temporaryConfigure the DB2 Database configuration statistics that can be used to benchmark data to improve application performanceoptions that control the collection of request, database and application changes Utilize the DB2 provided tools andactivity and object level metrics on the entire Describe the performance advantages of functions to estimate compression resultsdatabase using stored procedures for Indexes and XML data Compare the enhanced monitoring features Design applications to maximize record Explain the management of databasewith the snapshot monitoring facilities blocking, minimize sort operations and shared memory based on setting theprovided by previous DB2 releases minimize lock contention configuration optionDescribe processing for Writing Database Evaluate setting the CUR_COMMIT DATABASE_MEMORY to AUTOMATIC,Pages from Buffer Pools database configuration option to reduce COMPUTED or a specific number ofMonitor Database Read and Write Activity lock waits, lock timeouts or deadlocks pagesusing GET SNAPSHOT commands or Explain how DB2 can access the Select the mode for managing data sortAdministrative Routines and Views committed version of a data row that is memory using SHEAPTHRES,Monitor Database Logging Activity and currently being updated by another SORTHEAP, and SHEAPTHRES_SHRselect appropriate values for SOFTMAX and application Monitor DB2 memory usage using theMINCOMMIT Monitor application performance and lock db2mtrk command or the graphicalImplement and monitor use of a block based waits using GET SNAPSHOT commands application Memory Visualizer.buffer pool to improve table scan and SQL queries Utilize the db2pd for monitoring currentperformance Set the DB2 registry variables database memory usageDescribe the alternate page cleaning DB2_EVALUNCOMMITTED, Use AUTOCONFIGURE to set databaseprocessing associated with the DB2 Registry DB2_SKIPINSERTED and configuration defaults when a newvariable DB2_SKIPDELETED to reduce lock database is created or after a databaseDB2_USE_ALTERNATE_PAGE_CLEANIN contention based on application workload changes G requirements Explain the differences in STMMDescribe how scan sharing can reduce the processing based on the setting ofI/O workload for accessing large tables DATABASE_MEMORYDescribe the calculation of prefetch size line Plan and configure a database forwhen PREFETCHSIZE is set to List the tools for monitoring database and self-tuning memoryAUTOMATIC application activity Activate or deactivate STMM for selectedList the advantages of selecting DMS or Use GET SNAPSHOT commands to memory heapsSMS table space management as well as produce reports for analysis of database Describe the management of sortheapusing Automatic Storage managed table performance memory based on the configuration ofspaces Utilize the administrative routines and sheapthres and sheapthres_shrSet file system caching options for table views provided by to DB2 to simplify Explain how DB2 can automaticallyspaces to optimize table space performance application access to database increase or decrease database memory forDescribe the various row insertion performance statistics multiple DB2 databases running on thealgorithms for tables that are based on using Use the db2pd to perform performance same server the APPEND option or defining a clustering analysis or problem determination for a Describe the advantages of usingindex DB2 database db2exfmtPlan and implement Row Compression to Utilize the enhanced relational monitoring Create special tables used by Visualreduce disk and memory requirements and interfaces with SQL in reporting and Explain and db2exfmtimprove application performance monitoring of the database system, data Identify how to set the Explain snapshotDescribe how DB2’s Index compression objects, and the package cache to help and Explain mode registers to capture theoption can reduce disk storage requirements you quickly identify issues that might be information of interestfor indexes causing problems Differentiate between the differentExplain how DB2 can compress temporary Configure the DB2 Database methods of viewing Explain information data to improve application performance configuration options that control the Choose the appropriate optimization classUtilize the DB2 provided tools and functions collection of request, activity and object Describe the catalog statistics andto estimate compression results for Indexes level metrics on the entire database database configuration options impact onand XML data Compare the enhanced monitoring access plan selectionExplain the management of database features with the snapshot monitoring Implement a statistical view to provideshared memory based on setting the facilities provided by previous DB2 better cardinality estimates for complex

Page 43: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

configuration option DATABASE_MEMORY releases queriesto AUTOMATIC, COMPUTED or a specific Describe processing for Writing Database Enable the statement concentrator usingnumber of pages Pages from Buffer Pools the stmt_conc database managerSelect the mode for managing data sort Monitor Database Read and Write configuration parameter to reduce SQLmemory using SHEAPTHRES, SORTHEAP, Activity using GET SNAPSHOT compilation overhead for dynamic SQLand SHEAPTHRES_SHR commands or Administrative Routines statementsMonitor DB2 memory usage using the and Views Utilize the db2look utility to extract catalogdb2mtrk command or the graphical Monitor Database Logging Activity and statistics from existing tables to mimic anapplication Memory Visualizer. select appropriate values for SOFTMAX existing database environmentUtilize the db2pd for monitoring current and MINCOMMIT Create an optimizer profile to influence thedatabase memory usage Implement and monitor use of a block access plan selected by the DB2 optimizerUse AUTOCONFIGURE to set database based buffer pool to improve table scan Use the MON_GET_INDEX table functionconfiguration defaults when a new database performance to monitor index usageis created or after a database workload Describe the alternate page cleaning Describe the Block Indexing capability forchanges processing associated with the DB2 MDC tablesExplain the differences in STMM processing Registry variable Explain how multiple indexes can bebased on the setting of DB2_USE_ALTERNATE_PAGE_CLEAN combined using Index ORing and DynamicDATABASE_MEMORY ING Bitmap Index ANDingPlan and configure a database for Describe how scan sharing can reduce Use the Design Advisor to predictself-tuning memory the I/O workload for accessing large performance gains from adding newActivate or deactivate STMM for selected tables indexes memory heaps Describe the calculation of prefetch size Describe the differences between NestedDescribe the management of sortheap when PREFETCHSIZE is set to Loop, Merge Scan and Hash Joinsmemory based on the configuration of AUTOMATIC Plan the implementation of Refreshsheapthres and sheapthres_shr List the advantages of selecting DMS or Immediate or Refresh DeferredExplain how DB2 can automatically increase SMS table space management as well as Materialized Query Tables to improveor decrease database memory for multiple using Automatic Storage managed table query performanceDB2 databases running on the same server spaces Utilize the design advisor to analyze SQLDescribe the advantages of using db2exfmt Set file system caching options for table statements and recommend new MQTsCreate special tables used by Visual Explain spaces to optimize table space Describe the features of Range Partitionedand db2exfmt performance Tables to support large DB2 tables usingIdentify how to set the Explain snapshot and Describe the various row insertion multiple tablespaces, including the roll-inExplain mode registers to capture the algorithms for tables that are based on and roll-out of data rangesinformation of interest using the APPEND option or defining a Explain the difference between partitionedDifferentiate between the different methods clustering index and non-partitioned indexes for aof viewing Explain information Plan and implement Row Compression to range-partitioned tableChoose the appropriate optimization class reduce disk and memory requirements Implement partitioned indexes to improveDescribe the catalog statistics and database and improve application performance performance when you roll data out or rollconfiguration options impact on access plan Describe how DB2’s Index compression data into a range-partitioned tableselection option can reduce disk storage Use the DB2 Explain tools to determine ifImplement a statistical view to provide better requirements for indexes partition elimination is being used tocardinality estimates for complex queries Explain how DB2 can compress improve access performance to largeEnable the statement concentrator using the temporary data to improve application range partitioned tables stmt_conc database manager configuration performance Select appropriate RUNSTATS options toparameter to reduce SQL compilation Utilize the DB2 provided tools and collect Distribution Statistics or Columnoverhead for dynamic SQL statements functions to estimate compression results Group Statistics to improve cardinalityUtilize the db2look utility to extract catalog for Indexes and XML data estimates during SQL compilationstatistics from existing tables to mimic an Explain the management of database Use the table and indexes statistics to planexisting database environment shared memory based on setting the for table and index reorganization usingCreate an optimizer profile to influence the configuration option the REORG utilityaccess plan selected by the DB2 optimizer DATABASE_MEMORY to AUTOMATIC, Set the policies and options for automationUse the MON_GET_INDEX table function to COMPUTED or a specific number of of catalog statistics collection.monitor index usage pages Monitor the activity associated withDescribe the Block Indexing capability for Select the mode for managing data sort implementing real time statistics collectionMDC tables memory using SHEAPTHRES, Use the db2batch utility to run SQLExplain how multiple indexes can be SORTHEAP, and SHEAPTHRES_SHR workloads and collect performancecombined using Index ORing and Dynamic Monitor DB2 memory usage using the statistics that can be used to benchmarkBitmap Index ANDing db2mtrk command or the graphical database and application changes Use the Design Advisor to predict application Memory Visualizer. Describe the performance advantages ofperformance gains from adding new indexes Utilize the db2pd for monitoring current using stored proceduresDescribe the differences between Nested database memory usage Design applications to maximize recordLoop, Merge Scan and Hash Joins Use AUTOCONFIGURE to set database blocking, minimize sort operations andPlan the implementation of Refresh configuration defaults when a new minimize lock contentionImmediate or Refresh Deferred Materialized database is created or after a database Evaluate setting the CUR_COMMITQuery Tables to improve query performance workload changes database configuration option to reduceUtilize the design advisor to analyze SQL Explain the differences in STMM lock waits, lock timeouts or deadlocks

Page 44: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

statements and recommend new MQTs processing based on the setting of Explain how DB2 can access theDescribe the features of Range Partitioned DATABASE_MEMORY committed version of a data row that isTables to support large DB2 tables using Plan and configure a database for currently being updated by anothermultiple tablespaces, including the roll-in self-tuning memory applicationand roll-out of data ranges Activate or deactivate STMM for selected Monitor application performance and lockExplain the difference between partitioned memory heaps waits using GET SNAPSHOT commandsand non-partitioned indexes for a Describe the management of sortheap and SQL queriesrange-partitioned table memory based on the configuration of Set the DB2 registry variablesImplement partitioned indexes to improve sheapthres and sheapthres_shr DB2_EVALUNCOMMITTED,performance when you roll data out or roll Explain how DB2 can automatically DB2_SKIPINSERTED anddata into a range-partitioned table increase or decrease database memory DB2_SKIPDELETED to reduce lockUse the DB2 Explain tools to determine if for multiple DB2 databases running on contention based on applicationpartition elimination is being used to improve the same server requirements access performance to large range Describe the advantages of usingpartitioned tables db2exfmtSelect appropriate RUNSTATS options to Create special tables used by Visual linecollect Distribution Statistics or Column Explain and db2exfmt List the tools for monitoring database andGroup Statistics to improve cardinality Identify how to set the Explain snapshot application activityestimates during SQL compilation and Explain mode registers to capture Use GET SNAPSHOT commands toUse the table and indexes statistics to plan the information of interest produce reports for analysis of databasefor table and index reorganization using the Differentiate between the different performanceREORG utility methods of viewing Explain information Utilize the administrative routines andSet the policies and options for automation Choose the appropriate optimization views provided by to DB2 to simplifyof catalog statistics collection. class application access to databaseMonitor the activity associated with Describe the catalog statistics and performance statisticsimplementing real time statistics collection database configuration options impact on Use the db2pd to perform performanceUse the db2batch utility to run SQL access plan selection analysis or problem determination for aworkloads and collect performance statistics Implement a statistical view to provide DB2 databasethat can be used to benchmark database better cardinality estimates for complex Utilize the enhanced relational monitoringand application changes queries interfaces with SQL in reporting andDescribe the performance advantages of Enable the statement concentrator using monitoring of the database system, datausing stored procedures the stmt_conc database manager objects, and the package cache to helpDesign applications to maximize record configuration parameter to reduce SQL you quickly identify issues that might beblocking, minimize sort operations and compilation overhead for dynamic SQL causing problemsminimize lock contention statements Configure the DB2 Database configurationEvaluate setting the CUR_COMMIT Utilize the db2look utility to extract options that control the collection ofdatabase configuration option to reduce lock catalog statistics from existing tables to request, activity and object level metrics onwaits, lock timeouts or deadlocks mimic an existing database environment the entire databaseExplain how DB2 can access the committed Create an optimizer profile to influence Compare the enhanced monitoringversion of a data row that is currently being the access plan selected by the DB2 features with the snapshot monitoringupdated by another application optimizer facilities provided by previous DB2Monitor application performance and lock Use the MON_GET_INDEX table function releases waits using GET SNAPSHOT commands to monitor index usage Describe processing for Writing Databaseand SQL queries Describe the Block Indexing capability for Pages from Buffer PoolsSet the DB2 registry variables MDC tables Monitor Database Read and Write ActivityDB2_EVALUNCOMMITTED, Explain how multiple indexes can be using GET SNAPSHOT commands orDB2_SKIPINSERTED and combined using Index ORing and Administrative Routines and ViewsDB2_SKIPDELETED to reduce lock Dynamic Bitmap Index ANDing Monitor Database Logging Activity andcontention based on application Use the Design Advisor to predict select appropriate values for SOFTMAXrequirements performance gains from adding new and MINCOMMIT

indexes Implement and monitor use of a blockDescribe the differences between Nested based buffer pool to improve table scan

line Loop, Merge Scan and Hash Joins performanceList the tools for monitoring database and Plan the implementation of Refresh Describe the alternate page cleaningapplication activity Immediate or Refresh Deferred processing associated with the DB2Use GET SNAPSHOT commands to Materialized Query Tables to improve Registry variableproduce reports for analysis of database query performance DB2_USE_ALTERNATE_PAGE_CLEANIperformance Utilize the design advisor to analyze SQL NGUtilize the administrative routines and views statements and recommend new MQTs Describe how scan sharing can reduce theprovided by to DB2 to simplify application Describe the features of Range I/O workload for accessing large tables access to database performance statistics Partitioned Tables to support large DB2 Describe the calculation of prefetch sizeUse the db2pd to perform performance tables using multiple tablespaces, when PREFETCHSIZE is set toanalysis or problem determination for a DB2 including the roll-in and roll-out of data AUTOMATICdatabase ranges List the advantages of selecting DMS orUtilize the enhanced relational monitoring Explain the difference between SMS table space management as well asinterfaces with SQL in reporting and partitioned and non-partitioned indexes using Automatic Storage managed table

Page 45: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

monitoring of the database system, data for a range-partitioned table spacesobjects, and the package cache to help you Implement partitioned indexes to improve Set file system caching options for tablequickly identify issues that might be causing performance when you roll data out or roll spaces to optimize table spaceproblems data into a range-partitioned table performanceConfigure the DB2 Database configuration Use the DB2 Explain tools to determine if Describe the various row insertionoptions that control the collection of request, partition elimination is being used to algorithms for tables that are based onactivity and object level metrics on the entire improve access performance to large using the APPEND option or defining adatabase range partitioned tables clustering indexCompare the enhanced monitoring features Select appropriate RUNSTATS options to Plan and implement Row Compression towith the snapshot monitoring facilities collect Distribution Statistics or Column reduce disk and memory requirements andprovided by previous DB2 releases Group Statistics to improve cardinality improve application performanceDescribe processing for Writing Database estimates during SQL compilation Describe how DB2’s Index compressionPages from Buffer Pools Use the table and indexes statistics to option can reduce disk storageMonitor Database Read and Write Activity plan for table and index reorganization requirements for indexesusing GET SNAPSHOT commands or using the REORG utility Explain how DB2 can compress temporaryAdministrative Routines and Views Set the policies and options for data to improve application performanceMonitor Database Logging Activity and automation of catalog statistics collection. Utilize the DB2 provided tools andselect appropriate values for SOFTMAX and Monitor the activity associated with functions to estimate compression resultsMINCOMMIT implementing real time statistics for Indexes and XML data Implement and monitor use of a block based collection Explain the management of databasebuffer pool to improve table scan Use the db2batch utility to run SQL shared memory based on setting theperformance workloads and collect performance configuration optionDescribe the alternate page cleaning statistics that can be used to benchmark DATABASE_MEMORY to AUTOMATIC,processing associated with the DB2 Registry database and application changes COMPUTED or a specific number ofvariable Describe the performance advantages of pagesDB2_USE_ALTERNATE_PAGE_CLEANIN using stored procedures Select the mode for managing data sortG Design applications to maximize record memory using SHEAPTHRES,Describe how scan sharing can reduce the blocking, minimize sort operations and SORTHEAP, and SHEAPTHRES_SHRI/O workload for accessing large tables minimize lock contention Monitor DB2 memory usage using theDescribe the calculation of prefetch size Evaluate setting the CUR_COMMIT db2mtrk command or the graphicalwhen PREFETCHSIZE is set to database configuration option to reduce application Memory Visualizer.AUTOMATIC lock waits, lock timeouts or deadlocks Utilize the db2pd for monitoring currentList the advantages of selecting DMS or Explain how DB2 can access the database memory usageSMS table space management as well as committed version of a data row that is Use AUTOCONFIGURE to set databaseusing Automatic Storage managed table currently being updated by another configuration defaults when a newspaces application database is created or after a databaseSet file system caching options for table Monitor application performance and lock workload changes spaces to optimize table space performance waits using GET SNAPSHOT commands Explain the differences in STMMDescribe the various row insertion and SQL queries processing based on the setting ofalgorithms for tables that are based on using Set the DB2 registry variables DATABASE_MEMORYthe APPEND option or defining a clustering DB2_EVALUNCOMMITTED, Plan and configure a database forindex DB2_SKIPINSERTED and self-tuning memoryPlan and implement Row Compression to DB2_SKIPDELETED to reduce lock Activate or deactivate STMM for selectedreduce disk and memory requirements and contention based on application memory heapsimprove application performance requirements Describe the management of sortheapDescribe how DB2’s Index compression memory based on the configuration ofoption can reduce disk storage requirements The optimizer sheapthres and sheapthres_shrfor indexes line Explain how DB2 can automaticallyExplain how DB2 can compress temporary Describe the stages of the SQL compiler increase or decrease database memory fordata to improve application performance multiple DB2 databases running on theUtilize the DB2 provided tools and functions same server to estimate compression results for Indexes line Describe the advantages of usingand XML data List the tools for monitoring database and db2exfmtExplain the management of database application activity Create special tables used by Visualshared memory based on setting the Use GET SNAPSHOT commands to Explain and db2exfmtconfiguration option DATABASE_MEMORY produce reports for analysis of database Identify how to set the Explain snapshotto AUTOMATIC, COMPUTED or a specific performance and Explain mode registers to capture thenumber of pages Utilize the administrative routines and information of interestSelect the mode for managing data sort views provided by to DB2 to simplify Differentiate between the differentmemory using SHEAPTHRES, SORTHEAP, application access to database methods of viewing Explain information and SHEAPTHRES_SHR performance statistics Choose the appropriate optimization classMonitor DB2 memory usage using the Use the db2pd to perform performance Describe the catalog statistics anddb2mtrk command or the graphical analysis or problem determination for a database configuration options impact onapplication Memory Visualizer. DB2 database access plan selectionUtilize the db2pd for monitoring current Utilize the enhanced relational monitoring Implement a statistical view to providedatabase memory usage interfaces with SQL in reporting and better cardinality estimates for complex

Page 46: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Use AUTOCONFIGURE to set database monitoring of the database system, data queriesconfiguration defaults when a new database objects, and the package cache to help Enable the statement concentrator usingis created or after a database workload you quickly identify issues that might be the stmt_conc database managerchanges causing problems configuration parameter to reduce SQLExplain the differences in STMM processing Configure the DB2 Database compilation overhead for dynamic SQLbased on the setting of configuration options that control the statementsDATABASE_MEMORY collection of request, activity and object Utilize the db2look utility to extract catalogPlan and configure a database for level metrics on the entire database statistics from existing tables to mimic anself-tuning memory Compare the enhanced monitoring existing database environmentActivate or deactivate STMM for selected features with the snapshot monitoring Create an optimizer profile to influence thememory heaps facilities provided by previous DB2 access plan selected by the DB2 optimizerDescribe the management of sortheap releases Use the MON_GET_INDEX table functionmemory based on the configuration of Describe processing for Writing Database to monitor index usagesheapthres and sheapthres_shr Pages from Buffer Pools Describe the Block Indexing capability forExplain how DB2 can automatically increase Monitor Database Read and Write MDC tablesor decrease database memory for multiple Activity using GET SNAPSHOT Explain how multiple indexes can beDB2 databases running on the same server commands or Administrative Routines combined using Index ORing and DynamicDescribe the advantages of using db2exfmt and Views Bitmap Index ANDingCreate special tables used by Visual Explain Monitor Database Logging Activity and Use the Design Advisor to predictand db2exfmt select appropriate values for SOFTMAX performance gains from adding newIdentify how to set the Explain snapshot and and MINCOMMIT indexes Explain mode registers to capture the Implement and monitor use of a block Describe the differences between Nestedinformation of interest based buffer pool to improve table scan Loop, Merge Scan and Hash JoinsDifferentiate between the different methods performance Plan the implementation of Refreshof viewing Explain information Describe the alternate page cleaning Immediate or Refresh DeferredChoose the appropriate optimization class processing associated with the DB2 Materialized Query Tables to improveDescribe the catalog statistics and database Registry variable query performanceconfiguration options impact on access plan DB2_USE_ALTERNATE_PAGE_CLEAN Utilize the design advisor to analyze SQLselection ING statements and recommend new MQTsImplement a statistical view to provide better Describe how scan sharing can reduce Describe the features of Range Partitionedcardinality estimates for complex queries the I/O workload for accessing large Tables to support large DB2 tables usingEnable the statement concentrator using the tables multiple tablespaces, including the roll-instmt_conc database manager configuration Describe the calculation of prefetch size and roll-out of data rangesparameter to reduce SQL compilation when PREFETCHSIZE is set to Explain the difference between partitionedoverhead for dynamic SQL statements AUTOMATIC and non-partitioned indexes for aUtilize the db2look utility to extract catalog List the advantages of selecting DMS or range-partitioned tablestatistics from existing tables to mimic an SMS table space management as well as Implement partitioned indexes to improveexisting database environment using Automatic Storage managed table performance when you roll data out or rollCreate an optimizer profile to influence the spaces data into a range-partitioned tableaccess plan selected by the DB2 optimizer Set file system caching options for table Use the DB2 Explain tools to determine ifUse the MON_GET_INDEX table function to spaces to optimize table space partition elimination is being used tomonitor index usage performance improve access performance to largeDescribe the Block Indexing capability for Describe the various row insertion range partitioned tables MDC tables algorithms for tables that are based on Select appropriate RUNSTATS options toExplain how multiple indexes can be using the APPEND option or defining a collect Distribution Statistics or Columncombined using Index ORing and Dynamic clustering index Group Statistics to improve cardinalityBitmap Index ANDing Plan and implement Row Compression to estimates during SQL compilationUse the Design Advisor to predict reduce disk and memory requirements Use the table and indexes statistics to planperformance gains from adding new indexes and improve application performance for table and index reorganization usingDescribe the differences between Nested Describe how DB2’s Index compression the REORG utilityLoop, Merge Scan and Hash Joins option can reduce disk storage Set the policies and options for automationPlan the implementation of Refresh requirements for indexes of catalog statistics collection.Immediate or Refresh Deferred Materialized Explain how DB2 can compress Monitor the activity associated withQuery Tables to improve query performance temporary data to improve application implementing real time statistics collectionUtilize the design advisor to analyze SQL performance Use the db2batch utility to run SQLstatements and recommend new MQTs Utilize the DB2 provided tools and workloads and collect performanceDescribe the features of Range Partitioned functions to estimate compression results statistics that can be used to benchmarkTables to support large DB2 tables using for Indexes and XML data database and application changes multiple tablespaces, including the roll-in Explain the management of database Describe the performance advantages ofand roll-out of data ranges shared memory based on setting the using stored proceduresExplain the difference between partitioned configuration option Design applications to maximize recordand non-partitioned indexes for a DATABASE_MEMORY to AUTOMATIC, blocking, minimize sort operations andrange-partitioned table COMPUTED or a specific number of minimize lock contentionImplement partitioned indexes to improve pages Evaluate setting the CUR_COMMITperformance when you roll data out or roll Select the mode for managing data sort database configuration option to reducedata into a range-partitioned table memory using SHEAPTHRES, lock waits, lock timeouts or deadlocks

Page 47: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Use the DB2 Explain tools to determine if SORTHEAP, and SHEAPTHRES_SHR Explain how DB2 can access thepartition elimination is being used to improve Monitor DB2 memory usage using the committed version of a data row that isaccess performance to large range db2mtrk command or the graphical currently being updated by anotherpartitioned tables application Memory Visualizer. applicationSelect appropriate RUNSTATS options to Utilize the db2pd for monitoring current Monitor application performance and lockcollect Distribution Statistics or Column database memory usage waits using GET SNAPSHOT commandsGroup Statistics to improve cardinality Use AUTOCONFIGURE to set database and SQL queriesestimates during SQL compilation configuration defaults when a new Set the DB2 registry variablesUse the table and indexes statistics to plan database is created or after a database DB2_EVALUNCOMMITTED,for table and index reorganization using the workload changes DB2_SKIPINSERTED andREORG utility Explain the differences in STMM DB2_SKIPDELETED to reduce lockSet the policies and options for automation processing based on the setting of contention based on applicationof catalog statistics collection. DATABASE_MEMORY requirements Monitor the activity associated with Plan and configure a database forimplementing real time statistics collection self-tuning memory Application Performance Considerations Use the db2batch utility to run SQL Activate or deactivate STMM for selected lineworkloads and collect performance statistics memory heaps List examples of application codingthat can be used to benchmark database Describe the management of sortheap techniques that can effect performanceand application changes memory based on the configuration ofDescribe the performance advantages of sheapthres and sheapthres_shrusing stored procedures Explain how DB2 can automatically lineDesign applications to maximize record increase or decrease database memory List the tools for monitoring database andblocking, minimize sort operations and for multiple DB2 databases running on application activityminimize lock contention the same server Use GET SNAPSHOT commands toEvaluate setting the CUR_COMMIT Describe the advantages of using produce reports for analysis of databasedatabase configuration option to reduce lock db2exfmt performancewaits, lock timeouts or deadlocks Create special tables used by Visual Utilize the administrative routines andExplain how DB2 can access the committed Explain and db2exfmt views provided by to DB2 to simplifyversion of a data row that is currently being Identify how to set the Explain snapshot application access to databaseupdated by another application and Explain mode registers to capture performance statisticsMonitor application performance and lock the information of interest Use the db2pd to perform performancewaits using GET SNAPSHOT commands Differentiate between the different analysis or problem determination for aand SQL queries methods of viewing Explain information DB2 databaseSet the DB2 registry variables Choose the appropriate optimization Utilize the enhanced relational monitoringDB2_EVALUNCOMMITTED, class interfaces with SQL in reporting andDB2_SKIPINSERTED and Describe the catalog statistics and monitoring of the database system, dataDB2_SKIPDELETED to reduce lock database configuration options impact on objects, and the package cache to helpcontention based on application access plan selection you quickly identify issues that might berequirements Implement a statistical view to provide causing problems

better cardinality estimates for complex Configure the DB2 Database configurationqueries options that control the collection of

line Enable the statement concentrator using request, activity and object level metrics onList the tools for monitoring database and the stmt_conc database manager the entire databaseapplication activity configuration parameter to reduce SQL Compare the enhanced monitoringUse GET SNAPSHOT commands to compilation overhead for dynamic SQL features with the snapshot monitoringproduce reports for analysis of database statements facilities provided by previous DB2performance Utilize the db2look utility to extract releases Utilize the administrative routines and views catalog statistics from existing tables to Describe processing for Writing Databaseprovided by to DB2 to simplify application mimic an existing database environment Pages from Buffer Poolsaccess to database performance statistics Create an optimizer profile to influence Monitor Database Read and Write ActivityUse the db2pd to perform performance the access plan selected by the DB2 using GET SNAPSHOT commands oranalysis or problem determination for a DB2 optimizer Administrative Routines and Viewsdatabase Use the MON_GET_INDEX table function Monitor Database Logging Activity andUtilize the enhanced relational monitoring to monitor index usage select appropriate values for SOFTMAXinterfaces with SQL in reporting and Describe the Block Indexing capability for and MINCOMMITmonitoring of the database system, data MDC tables Implement and monitor use of a blockobjects, and the package cache to help you Explain how multiple indexes can be based buffer pool to improve table scanquickly identify issues that might be causing combined using Index ORing and performanceproblems Dynamic Bitmap Index ANDing Describe the alternate page cleaningConfigure the DB2 Database configuration Use the Design Advisor to predict processing associated with the DB2options that control the collection of request, performance gains from adding new Registry variableactivity and object level metrics on the entire indexes DB2_USE_ALTERNATE_PAGE_CLEANIdatabase Describe the differences between Nested NGCompare the enhanced monitoring features Loop, Merge Scan and Hash Joins Describe how scan sharing can reduce thewith the snapshot monitoring facilities Plan the implementation of Refresh I/O workload for accessing large tables provided by previous DB2 releases Immediate or Refresh Deferred Describe the calculation of prefetch size

Page 48: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Describe processing for Writing Database Materialized Query Tables to improve when PREFETCHSIZE is set toPages from Buffer Pools query performance AUTOMATICMonitor Database Read and Write Activity Utilize the design advisor to analyze SQL List the advantages of selecting DMS orusing GET SNAPSHOT commands or statements and recommend new MQTs SMS table space management as well asAdministrative Routines and Views Describe the features of Range using Automatic Storage managed tableMonitor Database Logging Activity and Partitioned Tables to support large DB2 spacesselect appropriate values for SOFTMAX and tables using multiple tablespaces, Set file system caching options for tableMINCOMMIT including the roll-in and roll-out of data spaces to optimize table spaceImplement and monitor use of a block based ranges performancebuffer pool to improve table scan Explain the difference between Describe the various row insertionperformance partitioned and non-partitioned indexes algorithms for tables that are based onDescribe the alternate page cleaning for a range-partitioned table using the APPEND option or defining aprocessing associated with the DB2 Registry Implement partitioned indexes to improve clustering indexvariable performance when you roll data out or roll Plan and implement Row Compression toDB2_USE_ALTERNATE_PAGE_CLEANIN data into a range-partitioned table reduce disk and memory requirements andG Use the DB2 Explain tools to determine if improve application performanceDescribe how scan sharing can reduce the partition elimination is being used to Describe how DB2’s Index compressionI/O workload for accessing large tables improve access performance to large option can reduce disk storageDescribe the calculation of prefetch size range partitioned tables requirements for indexeswhen PREFETCHSIZE is set to Select appropriate RUNSTATS options to Explain how DB2 can compress temporaryAUTOMATIC collect Distribution Statistics or Column data to improve application performanceList the advantages of selecting DMS or Group Statistics to improve cardinality Utilize the DB2 provided tools andSMS table space management as well as estimates during SQL compilation functions to estimate compression resultsusing Automatic Storage managed table Use the table and indexes statistics to for Indexes and XML data spaces plan for table and index reorganization Explain the management of databaseSet file system caching options for table using the REORG utility shared memory based on setting thespaces to optimize table space performance Set the policies and options for configuration optionDescribe the various row insertion automation of catalog statistics collection. DATABASE_MEMORY to AUTOMATIC,algorithms for tables that are based on using Monitor the activity associated with COMPUTED or a specific number ofthe APPEND option or defining a clustering implementing real time statistics pagesindex collection Select the mode for managing data sortPlan and implement Row Compression to Use the db2batch utility to run SQL memory using SHEAPTHRES,reduce disk and memory requirements and workloads and collect performance SORTHEAP, and SHEAPTHRES_SHRimprove application performance statistics that can be used to benchmark Monitor DB2 memory usage using theDescribe how DB2’s Index compression database and application changes db2mtrk command or the graphicaloption can reduce disk storage requirements Describe the performance advantages of application Memory Visualizer.for indexes using stored procedures Utilize the db2pd for monitoring currentExplain how DB2 can compress temporary Design applications to maximize record database memory usagedata to improve application performance blocking, minimize sort operations and Use AUTOCONFIGURE to set databaseUtilize the DB2 provided tools and functions minimize lock contention configuration defaults when a newto estimate compression results for Indexes Evaluate setting the CUR_COMMIT database is created or after a databaseand XML data database configuration option to reduce workload changes Explain the management of database lock waits, lock timeouts or deadlocks Explain the differences in STMMshared memory based on setting the Explain how DB2 can access the processing based on the setting ofconfiguration option DATABASE_MEMORY committed version of a data row that is DATABASE_MEMORYto AUTOMATIC, COMPUTED or a specific currently being updated by another Plan and configure a database fornumber of pages application self-tuning memorySelect the mode for managing data sort Monitor application performance and lock Activate or deactivate STMM for selectedmemory using SHEAPTHRES, SORTHEAP, waits using GET SNAPSHOT commands memory heapsand SHEAPTHRES_SHR and SQL queries Describe the management of sortheapMonitor DB2 memory usage using the Set the DB2 registry variables memory based on the configuration ofdb2mtrk command or the graphical DB2_EVALUNCOMMITTED, sheapthres and sheapthres_shrapplication Memory Visualizer. DB2_SKIPINSERTED and Explain how DB2 can automaticallyUtilize the db2pd for monitoring current DB2_SKIPDELETED to reduce lock increase or decrease database memory fordatabase memory usage contention based on application multiple DB2 databases running on theUse AUTOCONFIGURE to set database requirements same server configuration defaults when a new database Describe the advantages of usingis created or after a database workload db2exfmtchanges line Create special tables used by VisualExplain the differences in STMM processing List the tools for monitoring database and Explain and db2exfmtbased on the setting of application activity Identify how to set the Explain snapshotDATABASE_MEMORY Use GET SNAPSHOT commands to and Explain mode registers to capture thePlan and configure a database for produce reports for analysis of database information of interestself-tuning memory performance Differentiate between the differentActivate or deactivate STMM for selected Utilize the administrative routines and methods of viewing Explain information memory heaps views provided by to DB2 to simplify Choose the appropriate optimization class

Page 49: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Describe the management of sortheap application access to database Describe the catalog statistics andmemory based on the configuration of performance statistics database configuration options impact onsheapthres and sheapthres_shr Use the db2pd to perform performance access plan selectionExplain how DB2 can automatically increase analysis or problem determination for a Implement a statistical view to provideor decrease database memory for multiple DB2 database better cardinality estimates for complexDB2 databases running on the same server Utilize the enhanced relational monitoring queriesDescribe the advantages of using db2exfmt interfaces with SQL in reporting and Enable the statement concentrator usingCreate special tables used by Visual Explain monitoring of the database system, data the stmt_conc database managerand db2exfmt objects, and the package cache to help configuration parameter to reduce SQLIdentify how to set the Explain snapshot and you quickly identify issues that might be compilation overhead for dynamic SQLExplain mode registers to capture the causing problems statementsinformation of interest Configure the DB2 Database Utilize the db2look utility to extract catalogDifferentiate between the different methods configuration options that control the statistics from existing tables to mimic anof viewing Explain information collection of request, activity and object existing database environmentChoose the appropriate optimization class level metrics on the entire database Create an optimizer profile to influence theDescribe the catalog statistics and database Compare the enhanced monitoring access plan selected by the DB2 optimizerconfiguration options impact on access plan features with the snapshot monitoring Use the MON_GET_INDEX table functionselection facilities provided by previous DB2 to monitor index usageImplement a statistical view to provide better releases Describe the Block Indexing capability forcardinality estimates for complex queries Describe processing for Writing Database MDC tablesEnable the statement concentrator using the Pages from Buffer Pools Explain how multiple indexes can bestmt_conc database manager configuration Monitor Database Read and Write combined using Index ORing and Dynamicparameter to reduce SQL compilation Activity using GET SNAPSHOT Bitmap Index ANDingoverhead for dynamic SQL statements commands or Administrative Routines Use the Design Advisor to predictUtilize the db2look utility to extract catalog and Views performance gains from adding newstatistics from existing tables to mimic an Monitor Database Logging Activity and indexes existing database environment select appropriate values for SOFTMAX Describe the differences between NestedCreate an optimizer profile to influence the and MINCOMMIT Loop, Merge Scan and Hash Joinsaccess plan selected by the DB2 optimizer Implement and monitor use of a block Plan the implementation of RefreshUse the MON_GET_INDEX table function to based buffer pool to improve table scan Immediate or Refresh Deferredmonitor index usage performance Materialized Query Tables to improveDescribe the Block Indexing capability for Describe the alternate page cleaning query performanceMDC tables processing associated with the DB2 Utilize the design advisor to analyze SQLExplain how multiple indexes can be Registry variable statements and recommend new MQTscombined using Index ORing and Dynamic DB2_USE_ALTERNATE_PAGE_CLEAN Describe the features of Range PartitionedBitmap Index ANDing ING Tables to support large DB2 tables usingUse the Design Advisor to predict Describe how scan sharing can reduce multiple tablespaces, including the roll-inperformance gains from adding new indexes the I/O workload for accessing large and roll-out of data rangesDescribe the differences between Nested tables Explain the difference between partitionedLoop, Merge Scan and Hash Joins Describe the calculation of prefetch size and non-partitioned indexes for aPlan the implementation of Refresh when PREFETCHSIZE is set to range-partitioned tableImmediate or Refresh Deferred Materialized AUTOMATIC Implement partitioned indexes to improveQuery Tables to improve query performance List the advantages of selecting DMS or performance when you roll data out or rollUtilize the design advisor to analyze SQL SMS table space management as well as data into a range-partitioned tablestatements and recommend new MQTs using Automatic Storage managed table Use the DB2 Explain tools to determine ifDescribe the features of Range Partitioned spaces partition elimination is being used toTables to support large DB2 tables using Set file system caching options for table improve access performance to largemultiple tablespaces, including the roll-in spaces to optimize table space range partitioned tables and roll-out of data ranges performance Select appropriate RUNSTATS options toExplain the difference between partitioned Describe the various row insertion collect Distribution Statistics or Columnand non-partitioned indexes for a algorithms for tables that are based on Group Statistics to improve cardinalityrange-partitioned table using the APPEND option or defining a estimates during SQL compilationImplement partitioned indexes to improve clustering index Use the table and indexes statistics to planperformance when you roll data out or roll Plan and implement Row Compression to for table and index reorganization usingdata into a range-partitioned table reduce disk and memory requirements the REORG utilityUse the DB2 Explain tools to determine if and improve application performance Set the policies and options for automationpartition elimination is being used to improve Describe how DB2’s Index compression of catalog statistics collection.access performance to large range option can reduce disk storage Monitor the activity associated withpartitioned tables requirements for indexes implementing real time statistics collectionSelect appropriate RUNSTATS options to Explain how DB2 can compress Use the db2batch utility to run SQLcollect Distribution Statistics or Column temporary data to improve application workloads and collect performanceGroup Statistics to improve cardinality performance statistics that can be used to benchmarkestimates during SQL compilation Utilize the DB2 provided tools and database and application changes Use the table and indexes statistics to plan functions to estimate compression results Describe the performance advantages offor table and index reorganization using the for Indexes and XML data using stored proceduresREORG utility Explain the management of database Design applications to maximize record

Page 50: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Set the policies and options for automation shared memory based on setting the blocking, minimize sort operations andof catalog statistics collection. configuration option minimize lock contentionMonitor the activity associated with DATABASE_MEMORY to AUTOMATIC, Evaluate setting the CUR_COMMITimplementing real time statistics collection COMPUTED or a specific number of database configuration option to reduceUse the db2batch utility to run SQL pages lock waits, lock timeouts or deadlocksworkloads and collect performance statistics Select the mode for managing data sort Explain how DB2 can access thethat can be used to benchmark database memory using SHEAPTHRES, committed version of a data row that isand application changes SORTHEAP, and SHEAPTHRES_SHR currently being updated by anotherDescribe the performance advantages of Monitor DB2 memory usage using the applicationusing stored procedures db2mtrk command or the graphical Monitor application performance and lockDesign applications to maximize record application Memory Visualizer. waits using GET SNAPSHOT commandsblocking, minimize sort operations and Utilize the db2pd for monitoring current and SQL queriesminimize lock contention database memory usage Set the DB2 registry variablesEvaluate setting the CUR_COMMIT Use AUTOCONFIGURE to set database DB2_EVALUNCOMMITTED,database configuration option to reduce lock configuration defaults when a new DB2_SKIPINSERTED andwaits, lock timeouts or deadlocks database is created or after a database DB2_SKIPDELETED to reduce lockExplain how DB2 can access the committed workload changes contention based on applicationversion of a data row that is currently being Explain the differences in STMM requirements updated by another application processing based on the setting ofMonitor application performance and lock DATABASE_MEMORYwaits using GET SNAPSHOT commands Plan and configure a database for lineand SQL queries self-tuning memory List the tools for monitoring database andSet the DB2 registry variables Activate or deactivate STMM for selected application activityDB2_EVALUNCOMMITTED, memory heaps Use GET SNAPSHOT commands toDB2_SKIPINSERTED and Describe the management of sortheap produce reports for analysis of databaseDB2_SKIPDELETED to reduce lock memory based on the configuration of performancecontention based on application sheapthres and sheapthres_shr Utilize the administrative routines andrequirements Explain how DB2 can automatically views provided by to DB2 to simplify

increase or decrease database memory application access to databasefor multiple DB2 databases running on performance statistics

line the same server Use the db2pd to perform performanceList the tools for monitoring database and Describe the advantages of using analysis or problem determination for aapplication activity db2exfmt DB2 databaseUse GET SNAPSHOT commands to Create special tables used by Visual Utilize the enhanced relational monitoringproduce reports for analysis of database Explain and db2exfmt interfaces with SQL in reporting andperformance Identify how to set the Explain snapshot monitoring of the database system, dataUtilize the administrative routines and views and Explain mode registers to capture objects, and the package cache to helpprovided by to DB2 to simplify application the information of interest you quickly identify issues that might beaccess to database performance statistics Differentiate between the different causing problemsUse the db2pd to perform performance methods of viewing Explain information Configure the DB2 Database configurationanalysis or problem determination for a DB2 Choose the appropriate optimization options that control the collection ofdatabase class request, activity and object level metrics onUtilize the enhanced relational monitoring Describe the catalog statistics and the entire databaseinterfaces with SQL in reporting and database configuration options impact on Compare the enhanced monitoringmonitoring of the database system, data access plan selection features with the snapshot monitoringobjects, and the package cache to help you Implement a statistical view to provide facilities provided by previous DB2quickly identify issues that might be causing better cardinality estimates for complex releases problems queries Describe processing for Writing DatabaseConfigure the DB2 Database configuration Enable the statement concentrator using Pages from Buffer Poolsoptions that control the collection of request, the stmt_conc database manager Monitor Database Read and Write Activityactivity and object level metrics on the entire configuration parameter to reduce SQL using GET SNAPSHOT commands ordatabase compilation overhead for dynamic SQL Administrative Routines and ViewsCompare the enhanced monitoring features statements Monitor Database Logging Activity andwith the snapshot monitoring facilities Utilize the db2look utility to extract select appropriate values for SOFTMAXprovided by previous DB2 releases catalog statistics from existing tables to and MINCOMMITDescribe processing for Writing Database mimic an existing database environment Implement and monitor use of a blockPages from Buffer Pools Create an optimizer profile to influence based buffer pool to improve table scanMonitor Database Read and Write Activity the access plan selected by the DB2 performanceusing GET SNAPSHOT commands or optimizer Describe the alternate page cleaningAdministrative Routines and Views Use the MON_GET_INDEX table function processing associated with the DB2Monitor Database Logging Activity and to monitor index usage Registry variableselect appropriate values for SOFTMAX and Describe the Block Indexing capability for DB2_USE_ALTERNATE_PAGE_CLEANIMINCOMMIT MDC tables NGImplement and monitor use of a block based Explain how multiple indexes can be Describe how scan sharing can reduce thebuffer pool to improve table scan combined using Index ORing and I/O workload for accessing large tables performance Dynamic Bitmap Index ANDing Describe the calculation of prefetch size

Page 51: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Describe the alternate page cleaning Use the Design Advisor to predict when PREFETCHSIZE is set toprocessing associated with the DB2 Registry performance gains from adding new AUTOMATICvariable indexes List the advantages of selecting DMS orDB2_USE_ALTERNATE_PAGE_CLEANIN Describe the differences between Nested SMS table space management as well asG Loop, Merge Scan and Hash Joins using Automatic Storage managed tableDescribe how scan sharing can reduce the Plan the implementation of Refresh spacesI/O workload for accessing large tables Immediate or Refresh Deferred Set file system caching options for tableDescribe the calculation of prefetch size Materialized Query Tables to improve spaces to optimize table spacewhen PREFETCHSIZE is set to query performance performanceAUTOMATIC Utilize the design advisor to analyze SQL Describe the various row insertionList the advantages of selecting DMS or statements and recommend new MQTs algorithms for tables that are based onSMS table space management as well as Describe the features of Range using the APPEND option or defining ausing Automatic Storage managed table Partitioned Tables to support large DB2 clustering indexspaces tables using multiple tablespaces, Plan and implement Row Compression toSet file system caching options for table including the roll-in and roll-out of data reduce disk and memory requirements andspaces to optimize table space performance ranges improve application performanceDescribe the various row insertion Explain the difference between Describe how DB2’s Index compressionalgorithms for tables that are based on using partitioned and non-partitioned indexes option can reduce disk storagethe APPEND option or defining a clustering for a range-partitioned table requirements for indexesindex Implement partitioned indexes to improve Explain how DB2 can compress temporaryPlan and implement Row Compression to performance when you roll data out or roll data to improve application performancereduce disk and memory requirements and data into a range-partitioned table Utilize the DB2 provided tools andimprove application performance Use the DB2 Explain tools to determine if functions to estimate compression resultsDescribe how DB2’s Index compression partition elimination is being used to for Indexes and XML data option can reduce disk storage requirements improve access performance to large Explain the management of databasefor indexes range partitioned tables shared memory based on setting theExplain how DB2 can compress temporary Select appropriate RUNSTATS options to configuration optiondata to improve application performance collect Distribution Statistics or Column DATABASE_MEMORY to AUTOMATIC,Utilize the DB2 provided tools and functions Group Statistics to improve cardinality COMPUTED or a specific number ofto estimate compression results for Indexes estimates during SQL compilation pagesand XML data Use the table and indexes statistics to Select the mode for managing data sortExplain the management of database plan for table and index reorganization memory using SHEAPTHRES,shared memory based on setting the using the REORG utility SORTHEAP, and SHEAPTHRES_SHRconfiguration option DATABASE_MEMORY Set the policies and options for Monitor DB2 memory usage using theto AUTOMATIC, COMPUTED or a specific automation of catalog statistics collection. db2mtrk command or the graphicalnumber of pages Monitor the activity associated with application Memory Visualizer.Select the mode for managing data sort implementing real time statistics Utilize the db2pd for monitoring currentmemory using SHEAPTHRES, SORTHEAP, collection database memory usageand SHEAPTHRES_SHR Use the db2batch utility to run SQL Use AUTOCONFIGURE to set databaseMonitor DB2 memory usage using the workloads and collect performance configuration defaults when a newdb2mtrk command or the graphical statistics that can be used to benchmark database is created or after a databaseapplication Memory Visualizer. database and application changes workload changes Utilize the db2pd for monitoring current Describe the performance advantages of Explain the differences in STMMdatabase memory usage using stored procedures processing based on the setting ofUse AUTOCONFIGURE to set database Design applications to maximize record DATABASE_MEMORYconfiguration defaults when a new database blocking, minimize sort operations and Plan and configure a database foris created or after a database workload minimize lock contention self-tuning memorychanges Evaluate setting the CUR_COMMIT Activate or deactivate STMM for selectedExplain the differences in STMM processing database configuration option to reduce memory heapsbased on the setting of lock waits, lock timeouts or deadlocks Describe the management of sortheapDATABASE_MEMORY Explain how DB2 can access the memory based on the configuration ofPlan and configure a database for committed version of a data row that is sheapthres and sheapthres_shrself-tuning memory currently being updated by another Explain how DB2 can automaticallyActivate or deactivate STMM for selected application increase or decrease database memory formemory heaps Monitor application performance and lock multiple DB2 databases running on theDescribe the management of sortheap waits using GET SNAPSHOT commands same server memory based on the configuration of and SQL queries Describe the advantages of usingsheapthres and sheapthres_shr Set the DB2 registry variables db2exfmtExplain how DB2 can automatically increase DB2_EVALUNCOMMITTED, Create special tables used by Visualor decrease database memory for multiple DB2_SKIPINSERTED and Explain and db2exfmtDB2 databases running on the same server DB2_SKIPDELETED to reduce lock Identify how to set the Explain snapshotDescribe the advantages of using db2exfmt contention based on application and Explain mode registers to capture theCreate special tables used by Visual Explain requirements information of interestand db2exfmt Differentiate between the differentIdentify how to set the Explain snapshot and methods of viewing Explain information Explain mode registers to capture the line Choose the appropriate optimization class

Page 52: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

information of interest List the tools for monitoring database and Describe the catalog statistics andDifferentiate between the different methods application activity database configuration options impact onof viewing Explain information Use GET SNAPSHOT commands to access plan selectionChoose the appropriate optimization class produce reports for analysis of database Implement a statistical view to provideDescribe the catalog statistics and database performance better cardinality estimates for complexconfiguration options impact on access plan Utilize the administrative routines and queriesselection views provided by to DB2 to simplify Enable the statement concentrator usingImplement a statistical view to provide better application access to database the stmt_conc database managercardinality estimates for complex queries performance statistics configuration parameter to reduce SQLEnable the statement concentrator using the Use the db2pd to perform performance compilation overhead for dynamic SQLstmt_conc database manager configuration analysis or problem determination for a statementsparameter to reduce SQL compilation DB2 database Utilize the db2look utility to extract catalogoverhead for dynamic SQL statements Utilize the enhanced relational monitoring statistics from existing tables to mimic anUtilize the db2look utility to extract catalog interfaces with SQL in reporting and existing database environmentstatistics from existing tables to mimic an monitoring of the database system, data Create an optimizer profile to influence theexisting database environment objects, and the package cache to help access plan selected by the DB2 optimizerCreate an optimizer profile to influence the you quickly identify issues that might be Use the MON_GET_INDEX table functionaccess plan selected by the DB2 optimizer causing problems to monitor index usageUse the MON_GET_INDEX table function to Configure the DB2 Database Describe the Block Indexing capability formonitor index usage configuration options that control the MDC tablesDescribe the Block Indexing capability for collection of request, activity and object Explain how multiple indexes can beMDC tables level metrics on the entire database combined using Index ORing and DynamicExplain how multiple indexes can be Compare the enhanced monitoring Bitmap Index ANDingcombined using Index ORing and Dynamic features with the snapshot monitoring Use the Design Advisor to predictBitmap Index ANDing facilities provided by previous DB2 performance gains from adding newUse the Design Advisor to predict releases indexes performance gains from adding new indexes Describe processing for Writing Database Describe the differences between NestedDescribe the differences between Nested Pages from Buffer Pools Loop, Merge Scan and Hash JoinsLoop, Merge Scan and Hash Joins Monitor Database Read and Write Plan the implementation of RefreshPlan the implementation of Refresh Activity using GET SNAPSHOT Immediate or Refresh DeferredImmediate or Refresh Deferred Materialized commands or Administrative Routines Materialized Query Tables to improveQuery Tables to improve query performance and Views query performanceUtilize the design advisor to analyze SQL Monitor Database Logging Activity and Utilize the design advisor to analyze SQLstatements and recommend new MQTs select appropriate values for SOFTMAX statements and recommend new MQTsDescribe the features of Range Partitioned and MINCOMMIT Describe the features of Range PartitionedTables to support large DB2 tables using Implement and monitor use of a block Tables to support large DB2 tables usingmultiple tablespaces, including the roll-in based buffer pool to improve table scan multiple tablespaces, including the roll-inand roll-out of data ranges performance and roll-out of data rangesExplain the difference between partitioned Describe the alternate page cleaning Explain the difference between partitionedand non-partitioned indexes for a processing associated with the DB2 and non-partitioned indexes for arange-partitioned table Registry variable range-partitioned tableImplement partitioned indexes to improve DB2_USE_ALTERNATE_PAGE_CLEAN Implement partitioned indexes to improveperformance when you roll data out or roll ING performance when you roll data out or rolldata into a range-partitioned table Describe how scan sharing can reduce data into a range-partitioned tableUse the DB2 Explain tools to determine if the I/O workload for accessing large Use the DB2 Explain tools to determine ifpartition elimination is being used to improve tables partition elimination is being used toaccess performance to large range Describe the calculation of prefetch size improve access performance to largepartitioned tables when PREFETCHSIZE is set to range partitioned tables Select appropriate RUNSTATS options to AUTOMATIC Select appropriate RUNSTATS options tocollect Distribution Statistics or Column List the advantages of selecting DMS or collect Distribution Statistics or ColumnGroup Statistics to improve cardinality SMS table space management as well as Group Statistics to improve cardinalityestimates during SQL compilation using Automatic Storage managed table estimates during SQL compilationUse the table and indexes statistics to plan spaces Use the table and indexes statistics to planfor table and index reorganization using the Set file system caching options for table for table and index reorganization usingREORG utility spaces to optimize table space the REORG utilitySet the policies and options for automation performance Set the policies and options for automationof catalog statistics collection. Describe the various row insertion of catalog statistics collection.Monitor the activity associated with algorithms for tables that are based on Monitor the activity associated withimplementing real time statistics collection using the APPEND option or defining a implementing real time statistics collectionUse the db2batch utility to run SQL clustering index Use the db2batch utility to run SQLworkloads and collect performance statistics Plan and implement Row Compression to workloads and collect performancethat can be used to benchmark database reduce disk and memory requirements statistics that can be used to benchmarkand application changes and improve application performance database and application changes Describe the performance advantages of Describe how DB2’s Index compression Describe the performance advantages ofusing stored procedures option can reduce disk storage using stored proceduresDesign applications to maximize record requirements for indexes Design applications to maximize record

Page 53: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

blocking, minimize sort operations and Explain how DB2 can compress blocking, minimize sort operations andminimize lock contention temporary data to improve application minimize lock contentionEvaluate setting the CUR_COMMIT performance Evaluate setting the CUR_COMMITdatabase configuration option to reduce lock Utilize the DB2 provided tools and database configuration option to reducewaits, lock timeouts or deadlocks functions to estimate compression results lock waits, lock timeouts or deadlocksExplain how DB2 can access the committed for Indexes and XML data Explain how DB2 can access theversion of a data row that is currently being Explain the management of database committed version of a data row that isupdated by another application shared memory based on setting the currently being updated by anotherMonitor application performance and lock configuration option applicationwaits using GET SNAPSHOT commands DATABASE_MEMORY to AUTOMATIC, Monitor application performance and lockand SQL queries COMPUTED or a specific number of waits using GET SNAPSHOT commandsSet the DB2 registry variables pages and SQL queriesDB2_EVALUNCOMMITTED, Select the mode for managing data sort Set the DB2 registry variablesDB2_SKIPINSERTED and memory using SHEAPTHRES, DB2_EVALUNCOMMITTED,DB2_SKIPDELETED to reduce lock SORTHEAP, and SHEAPTHRES_SHR DB2_SKIPINSERTED andcontention based on application Monitor DB2 memory usage using the DB2_SKIPDELETED to reduce lockrequirements db2mtrk command or the graphical contention based on application

application Memory Visualizer. requirements Utilize the db2pd for monitoring current

line database memory usageList the tools for monitoring database and Use AUTOCONFIGURE to set database lineapplication activity configuration defaults when a new List the tools for monitoring database andUse GET SNAPSHOT commands to database is created or after a database application activityproduce reports for analysis of database workload changes Use GET SNAPSHOT commands toperformance Explain the differences in STMM produce reports for analysis of databaseUtilize the administrative routines and views processing based on the setting of performanceprovided by to DB2 to simplify application DATABASE_MEMORY Utilize the administrative routines andaccess to database performance statistics Plan and configure a database for views provided by to DB2 to simplifyUse the db2pd to perform performance self-tuning memory application access to databaseanalysis or problem determination for a DB2 Activate or deactivate STMM for selected performance statisticsdatabase memory heaps Use the db2pd to perform performanceUtilize the enhanced relational monitoring Describe the management of sortheap analysis or problem determination for ainterfaces with SQL in reporting and memory based on the configuration of DB2 databasemonitoring of the database system, data sheapthres and sheapthres_shr Utilize the enhanced relational monitoringobjects, and the package cache to help you Explain how DB2 can automatically interfaces with SQL in reporting andquickly identify issues that might be causing increase or decrease database memory monitoring of the database system, dataproblems for multiple DB2 databases running on objects, and the package cache to helpConfigure the DB2 Database configuration the same server you quickly identify issues that might beoptions that control the collection of request, Describe the advantages of using causing problemsactivity and object level metrics on the entire db2exfmt Configure the DB2 Database configurationdatabase Create special tables used by Visual options that control the collection ofCompare the enhanced monitoring features Explain and db2exfmt request, activity and object level metrics onwith the snapshot monitoring facilities Identify how to set the Explain snapshot the entire databaseprovided by previous DB2 releases and Explain mode registers to capture Compare the enhanced monitoringDescribe processing for Writing Database the information of interest features with the snapshot monitoringPages from Buffer Pools Differentiate between the different facilities provided by previous DB2Monitor Database Read and Write Activity methods of viewing Explain information releases using GET SNAPSHOT commands or Choose the appropriate optimization Describe processing for Writing DatabaseAdministrative Routines and Views class Pages from Buffer PoolsMonitor Database Logging Activity and Describe the catalog statistics and Monitor Database Read and Write Activityselect appropriate values for SOFTMAX and database configuration options impact on using GET SNAPSHOT commands orMINCOMMIT access plan selection Administrative Routines and ViewsImplement and monitor use of a block based Implement a statistical view to provide Monitor Database Logging Activity andbuffer pool to improve table scan better cardinality estimates for complex select appropriate values for SOFTMAXperformance queries and MINCOMMITDescribe the alternate page cleaning Enable the statement concentrator using Implement and monitor use of a blockprocessing associated with the DB2 Registry the stmt_conc database manager based buffer pool to improve table scanvariable configuration parameter to reduce SQL performanceDB2_USE_ALTERNATE_PAGE_CLEANIN compilation overhead for dynamic SQL Describe the alternate page cleaningG statements processing associated with the DB2Describe how scan sharing can reduce the Utilize the db2look utility to extract Registry variableI/O workload for accessing large tables catalog statistics from existing tables to DB2_USE_ALTERNATE_PAGE_CLEANIDescribe the calculation of prefetch size mimic an existing database environment NGwhen PREFETCHSIZE is set to Create an optimizer profile to influence Describe how scan sharing can reduce theAUTOMATIC the access plan selected by the DB2 I/O workload for accessing large tables List the advantages of selecting DMS or optimizer Describe the calculation of prefetch size

Page 54: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

SMS table space management as well as Use the MON_GET_INDEX table function when PREFETCHSIZE is set tousing Automatic Storage managed table to monitor index usage AUTOMATICspaces Describe the Block Indexing capability for List the advantages of selecting DMS orSet file system caching options for table MDC tables SMS table space management as well asspaces to optimize table space performance Explain how multiple indexes can be using Automatic Storage managed tableDescribe the various row insertion combined using Index ORing and spacesalgorithms for tables that are based on using Dynamic Bitmap Index ANDing Set file system caching options for tablethe APPEND option or defining a clustering Use the Design Advisor to predict spaces to optimize table spaceindex performance gains from adding new performancePlan and implement Row Compression to indexes Describe the various row insertionreduce disk and memory requirements and Describe the differences between Nested algorithms for tables that are based onimprove application performance Loop, Merge Scan and Hash Joins using the APPEND option or defining aDescribe how DB2’s Index compression Plan the implementation of Refresh clustering indexoption can reduce disk storage requirements Immediate or Refresh Deferred Plan and implement Row Compression tofor indexes Materialized Query Tables to improve reduce disk and memory requirements andExplain how DB2 can compress temporary query performance improve application performancedata to improve application performance Utilize the design advisor to analyze SQL Describe how DB2’s Index compressionUtilize the DB2 provided tools and functions statements and recommend new MQTs option can reduce disk storageto estimate compression results for Indexes Describe the features of Range requirements for indexesand XML data Partitioned Tables to support large DB2 Explain how DB2 can compress temporaryExplain the management of database tables using multiple tablespaces, data to improve application performanceshared memory based on setting the including the roll-in and roll-out of data Utilize the DB2 provided tools andconfiguration option DATABASE_MEMORY ranges functions to estimate compression resultsto AUTOMATIC, COMPUTED or a specific Explain the difference between for Indexes and XML data number of pages partitioned and non-partitioned indexes Explain the management of databaseSelect the mode for managing data sort for a range-partitioned table shared memory based on setting thememory using SHEAPTHRES, SORTHEAP, Implement partitioned indexes to improve configuration optionand SHEAPTHRES_SHR performance when you roll data out or roll DATABASE_MEMORY to AUTOMATIC,Monitor DB2 memory usage using the data into a range-partitioned table COMPUTED or a specific number ofdb2mtrk command or the graphical Use the DB2 Explain tools to determine if pagesapplication Memory Visualizer. partition elimination is being used to Select the mode for managing data sortUtilize the db2pd for monitoring current improve access performance to large memory using SHEAPTHRES,database memory usage range partitioned tables SORTHEAP, and SHEAPTHRES_SHRUse AUTOCONFIGURE to set database Select appropriate RUNSTATS options to Monitor DB2 memory usage using theconfiguration defaults when a new database collect Distribution Statistics or Column db2mtrk command or the graphicalis created or after a database workload Group Statistics to improve cardinality application Memory Visualizer.changes estimates during SQL compilation Utilize the db2pd for monitoring currentExplain the differences in STMM processing Use the table and indexes statistics to database memory usagebased on the setting of plan for table and index reorganization Use AUTOCONFIGURE to set databaseDATABASE_MEMORY using the REORG utility configuration defaults when a newPlan and configure a database for Set the policies and options for database is created or after a databaseself-tuning memory automation of catalog statistics collection. workload changes Activate or deactivate STMM for selected Monitor the activity associated with Explain the differences in STMMmemory heaps implementing real time statistics processing based on the setting ofDescribe the management of sortheap collection DATABASE_MEMORYmemory based on the configuration of Use the db2batch utility to run SQL Plan and configure a database forsheapthres and sheapthres_shr workloads and collect performance self-tuning memoryExplain how DB2 can automatically increase statistics that can be used to benchmark Activate or deactivate STMM for selectedor decrease database memory for multiple database and application changes memory heapsDB2 databases running on the same server Describe the performance advantages of Describe the management of sortheapDescribe the advantages of using db2exfmt using stored procedures memory based on the configuration ofCreate special tables used by Visual Explain Design applications to maximize record sheapthres and sheapthres_shrand db2exfmt blocking, minimize sort operations and Explain how DB2 can automaticallyIdentify how to set the Explain snapshot and minimize lock contention increase or decrease database memory forExplain mode registers to capture the Evaluate setting the CUR_COMMIT multiple DB2 databases running on theinformation of interest database configuration option to reduce same server Differentiate between the different methods lock waits, lock timeouts or deadlocks Describe the advantages of usingof viewing Explain information Explain how DB2 can access the db2exfmtChoose the appropriate optimization class committed version of a data row that is Create special tables used by VisualDescribe the catalog statistics and database currently being updated by another Explain and db2exfmtconfiguration options impact on access plan application Identify how to set the Explain snapshotselection Monitor application performance and lock and Explain mode registers to capture theImplement a statistical view to provide better waits using GET SNAPSHOT commands information of interestcardinality estimates for complex queries and SQL queries Differentiate between the differentEnable the statement concentrator using the Set the DB2 registry variables methods of viewing Explain information stmt_conc database manager configuration DB2_EVALUNCOMMITTED, Choose the appropriate optimization class

Page 55: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

parameter to reduce SQL compilation DB2_SKIPINSERTED and Describe the catalog statistics andoverhead for dynamic SQL statements DB2_SKIPDELETED to reduce lock database configuration options impact onUtilize the db2look utility to extract catalog contention based on application access plan selectionstatistics from existing tables to mimic an requirements Implement a statistical view to provideexisting database environment better cardinality estimates for complexCreate an optimizer profile to influence the queriesaccess plan selected by the DB2 optimizer line Enable the statement concentrator usingUse the MON_GET_INDEX table function to List the tools for monitoring database and the stmt_conc database managermonitor index usage application activity configuration parameter to reduce SQLDescribe the Block Indexing capability for Use GET SNAPSHOT commands to compilation overhead for dynamic SQLMDC tables produce reports for analysis of database statementsExplain how multiple indexes can be performance Utilize the db2look utility to extract catalogcombined using Index ORing and Dynamic Utilize the administrative routines and statistics from existing tables to mimic anBitmap Index ANDing views provided by to DB2 to simplify existing database environmentUse the Design Advisor to predict application access to database Create an optimizer profile to influence theperformance gains from adding new indexes performance statistics access plan selected by the DB2 optimizerDescribe the differences between Nested Use the db2pd to perform performance Use the MON_GET_INDEX table functionLoop, Merge Scan and Hash Joins analysis or problem determination for a to monitor index usagePlan the implementation of Refresh DB2 database Describe the Block Indexing capability forImmediate or Refresh Deferred Materialized Utilize the enhanced relational monitoring MDC tablesQuery Tables to improve query performance interfaces with SQL in reporting and Explain how multiple indexes can beUtilize the design advisor to analyze SQL monitoring of the database system, data combined using Index ORing and Dynamicstatements and recommend new MQTs objects, and the package cache to help Bitmap Index ANDingDescribe the features of Range Partitioned you quickly identify issues that might be Use the Design Advisor to predictTables to support large DB2 tables using causing problems performance gains from adding newmultiple tablespaces, including the roll-in Configure the DB2 Database indexes and roll-out of data ranges configuration options that control the Describe the differences between NestedExplain the difference between partitioned collection of request, activity and object Loop, Merge Scan and Hash Joinsand non-partitioned indexes for a level metrics on the entire database Plan the implementation of Refreshrange-partitioned table Compare the enhanced monitoring Immediate or Refresh DeferredImplement partitioned indexes to improve features with the snapshot monitoring Materialized Query Tables to improveperformance when you roll data out or roll facilities provided by previous DB2 query performancedata into a range-partitioned table releases Utilize the design advisor to analyze SQLUse the DB2 Explain tools to determine if Describe processing for Writing Database statements and recommend new MQTspartition elimination is being used to improve Pages from Buffer Pools Describe the features of Range Partitionedaccess performance to large range Monitor Database Read and Write Tables to support large DB2 tables usingpartitioned tables Activity using GET SNAPSHOT multiple tablespaces, including the roll-inSelect appropriate RUNSTATS options to commands or Administrative Routines and roll-out of data rangescollect Distribution Statistics or Column and Views Explain the difference between partitionedGroup Statistics to improve cardinality Monitor Database Logging Activity and and non-partitioned indexes for aestimates during SQL compilation select appropriate values for SOFTMAX range-partitioned tableUse the table and indexes statistics to plan and MINCOMMIT Implement partitioned indexes to improvefor table and index reorganization using the Implement and monitor use of a block performance when you roll data out or rollREORG utility based buffer pool to improve table scan data into a range-partitioned tableSet the policies and options for automation performance Use the DB2 Explain tools to determine ifof catalog statistics collection. Describe the alternate page cleaning partition elimination is being used toMonitor the activity associated with processing associated with the DB2 improve access performance to largeimplementing real time statistics collection Registry variable range partitioned tables Use the db2batch utility to run SQL DB2_USE_ALTERNATE_PAGE_CLEAN Select appropriate RUNSTATS options toworkloads and collect performance statistics ING collect Distribution Statistics or Columnthat can be used to benchmark database Describe how scan sharing can reduce Group Statistics to improve cardinalityand application changes the I/O workload for accessing large estimates during SQL compilationDescribe the performance advantages of tables Use the table and indexes statistics to planusing stored procedures Describe the calculation of prefetch size for table and index reorganization usingDesign applications to maximize record when PREFETCHSIZE is set to the REORG utilityblocking, minimize sort operations and AUTOMATIC Set the policies and options for automationminimize lock contention List the advantages of selecting DMS or of catalog statistics collection.Evaluate setting the CUR_COMMIT SMS table space management as well as Monitor the activity associated withdatabase configuration option to reduce lock using Automatic Storage managed table implementing real time statistics collectionwaits, lock timeouts or deadlocks spaces Use the db2batch utility to run SQLExplain how DB2 can access the committed Set file system caching options for table workloads and collect performanceversion of a data row that is currently being spaces to optimize table space statistics that can be used to benchmarkupdated by another application performance database and application changes Monitor application performance and lock Describe the various row insertion Describe the performance advantages ofwaits using GET SNAPSHOT commands algorithms for tables that are based on using stored proceduresand SQL queries using the APPEND option or defining a Design applications to maximize record

Page 56: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Set the DB2 registry variables clustering index blocking, minimize sort operations andDB2_EVALUNCOMMITTED, Plan and implement Row Compression to minimize lock contentionDB2_SKIPINSERTED and reduce disk and memory requirements Evaluate setting the CUR_COMMITDB2_SKIPDELETED to reduce lock and improve application performance database configuration option to reducecontention based on application Describe how DB2’s Index compression lock waits, lock timeouts or deadlocksrequirements option can reduce disk storage Explain how DB2 can access the

requirements for indexes committed version of a data row that isExplain how DB2 can compress currently being updated by another

line temporary data to improve application applicationList the tools for monitoring database and performance Monitor application performance and lockapplication activity Utilize the DB2 provided tools and waits using GET SNAPSHOT commandsUse GET SNAPSHOT commands to functions to estimate compression results and SQL queriesproduce reports for analysis of database for Indexes and XML data Set the DB2 registry variablesperformance Explain the management of database DB2_EVALUNCOMMITTED,Utilize the administrative routines and views shared memory based on setting the DB2_SKIPINSERTED andprovided by to DB2 to simplify application configuration option DB2_SKIPDELETED to reduce lockaccess to database performance statistics DATABASE_MEMORY to AUTOMATIC, contention based on applicationUse the db2pd to perform performance COMPUTED or a specific number of requirements analysis or problem determination for a DB2 pagesdatabase Select the mode for managing data sortUtilize the enhanced relational monitoring memory using SHEAPTHRES, lineinterfaces with SQL in reporting and SORTHEAP, and SHEAPTHRES_SHR List the tools for monitoring database andmonitoring of the database system, data Monitor DB2 memory usage using the application activityobjects, and the package cache to help you db2mtrk command or the graphical Use GET SNAPSHOT commands toquickly identify issues that might be causing application Memory Visualizer. produce reports for analysis of databaseproblems Utilize the db2pd for monitoring current performanceConfigure the DB2 Database configuration database memory usage Utilize the administrative routines andoptions that control the collection of request, Use AUTOCONFIGURE to set database views provided by to DB2 to simplifyactivity and object level metrics on the entire configuration defaults when a new application access to databasedatabase database is created or after a database performance statisticsCompare the enhanced monitoring features workload changes Use the db2pd to perform performancewith the snapshot monitoring facilities Explain the differences in STMM analysis or problem determination for aprovided by previous DB2 releases processing based on the setting of DB2 databaseDescribe processing for Writing Database DATABASE_MEMORY Utilize the enhanced relational monitoringPages from Buffer Pools Plan and configure a database for interfaces with SQL in reporting andMonitor Database Read and Write Activity self-tuning memory monitoring of the database system, datausing GET SNAPSHOT commands or Activate or deactivate STMM for selected objects, and the package cache to helpAdministrative Routines and Views memory heaps you quickly identify issues that might beMonitor Database Logging Activity and Describe the management of sortheap causing problemsselect appropriate values for SOFTMAX and memory based on the configuration of Configure the DB2 Database configurationMINCOMMIT sheapthres and sheapthres_shr options that control the collection ofImplement and monitor use of a block based Explain how DB2 can automatically request, activity and object level metrics onbuffer pool to improve table scan increase or decrease database memory the entire databaseperformance for multiple DB2 databases running on Compare the enhanced monitoringDescribe the alternate page cleaning the same server features with the snapshot monitoringprocessing associated with the DB2 Registry Describe the advantages of using facilities provided by previous DB2variable db2exfmt releases DB2_USE_ALTERNATE_PAGE_CLEANIN Create special tables used by Visual Describe processing for Writing DatabaseG Explain and db2exfmt Pages from Buffer PoolsDescribe how scan sharing can reduce the Identify how to set the Explain snapshot Monitor Database Read and Write ActivityI/O workload for accessing large tables and Explain mode registers to capture using GET SNAPSHOT commands orDescribe the calculation of prefetch size the information of interest Administrative Routines and Viewswhen PREFETCHSIZE is set to Differentiate between the different Monitor Database Logging Activity andAUTOMATIC methods of viewing Explain information select appropriate values for SOFTMAXList the advantages of selecting DMS or Choose the appropriate optimization and MINCOMMITSMS table space management as well as class Implement and monitor use of a blockusing Automatic Storage managed table Describe the catalog statistics and based buffer pool to improve table scanspaces database configuration options impact on performanceSet file system caching options for table access plan selection Describe the alternate page cleaningspaces to optimize table space performance Implement a statistical view to provide processing associated with the DB2Describe the various row insertion better cardinality estimates for complex Registry variablealgorithms for tables that are based on using queries DB2_USE_ALTERNATE_PAGE_CLEANIthe APPEND option or defining a clustering Enable the statement concentrator using NGindex the stmt_conc database manager Describe how scan sharing can reduce thePlan and implement Row Compression to configuration parameter to reduce SQL I/O workload for accessing large tables reduce disk and memory requirements and compilation overhead for dynamic SQL Describe the calculation of prefetch size

Page 57: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

improve application performance statements when PREFETCHSIZE is set toDescribe how DB2’s Index compression Utilize the db2look utility to extract AUTOMATICoption can reduce disk storage requirements catalog statistics from existing tables to List the advantages of selecting DMS orfor indexes mimic an existing database environment SMS table space management as well asExplain how DB2 can compress temporary Create an optimizer profile to influence using Automatic Storage managed tabledata to improve application performance the access plan selected by the DB2 spacesUtilize the DB2 provided tools and functions optimizer Set file system caching options for tableto estimate compression results for Indexes Use the MON_GET_INDEX table function spaces to optimize table spaceand XML data to monitor index usage performanceExplain the management of database Describe the Block Indexing capability for Describe the various row insertionshared memory based on setting the MDC tables algorithms for tables that are based onconfiguration option DATABASE_MEMORY Explain how multiple indexes can be using the APPEND option or defining ato AUTOMATIC, COMPUTED or a specific combined using Index ORing and clustering indexnumber of pages Dynamic Bitmap Index ANDing Plan and implement Row Compression toSelect the mode for managing data sort Use the Design Advisor to predict reduce disk and memory requirements andmemory using SHEAPTHRES, SORTHEAP, performance gains from adding new improve application performanceand SHEAPTHRES_SHR indexes Describe how DB2’s Index compressionMonitor DB2 memory usage using the Describe the differences between Nested option can reduce disk storagedb2mtrk command or the graphical Loop, Merge Scan and Hash Joins requirements for indexesapplication Memory Visualizer. Plan the implementation of Refresh Explain how DB2 can compress temporaryUtilize the db2pd for monitoring current Immediate or Refresh Deferred data to improve application performancedatabase memory usage Materialized Query Tables to improve Utilize the DB2 provided tools andUse AUTOCONFIGURE to set database query performance functions to estimate compression resultsconfiguration defaults when a new database Utilize the design advisor to analyze SQL for Indexes and XML data is created or after a database workload statements and recommend new MQTs Explain the management of databasechanges Describe the features of Range shared memory based on setting theExplain the differences in STMM processing Partitioned Tables to support large DB2 configuration optionbased on the setting of tables using multiple tablespaces, DATABASE_MEMORY to AUTOMATIC,DATABASE_MEMORY including the roll-in and roll-out of data COMPUTED or a specific number ofPlan and configure a database for ranges pagesself-tuning memory Explain the difference between Select the mode for managing data sortActivate or deactivate STMM for selected partitioned and non-partitioned indexes memory using SHEAPTHRES,memory heaps for a range-partitioned table SORTHEAP, and SHEAPTHRES_SHRDescribe the management of sortheap Implement partitioned indexes to improve Monitor DB2 memory usage using thememory based on the configuration of performance when you roll data out or roll db2mtrk command or the graphicalsheapthres and sheapthres_shr data into a range-partitioned table application Memory Visualizer.Explain how DB2 can automatically increase Use the DB2 Explain tools to determine if Utilize the db2pd for monitoring currentor decrease database memory for multiple partition elimination is being used to database memory usageDB2 databases running on the same server improve access performance to large Use AUTOCONFIGURE to set databaseDescribe the advantages of using db2exfmt range partitioned tables configuration defaults when a newCreate special tables used by Visual Explain Select appropriate RUNSTATS options to database is created or after a databaseand db2exfmt collect Distribution Statistics or Column workload changes Identify how to set the Explain snapshot and Group Statistics to improve cardinality Explain the differences in STMMExplain mode registers to capture the estimates during SQL compilation processing based on the setting ofinformation of interest Use the table and indexes statistics to DATABASE_MEMORYDifferentiate between the different methods plan for table and index reorganization Plan and configure a database forof viewing Explain information using the REORG utility self-tuning memoryChoose the appropriate optimization class Set the policies and options for Activate or deactivate STMM for selectedDescribe the catalog statistics and database automation of catalog statistics collection. memory heapsconfiguration options impact on access plan Monitor the activity associated with Describe the management of sortheapselection implementing real time statistics memory based on the configuration ofImplement a statistical view to provide better collection sheapthres and sheapthres_shrcardinality estimates for complex queries Use the db2batch utility to run SQL Explain how DB2 can automaticallyEnable the statement concentrator using the workloads and collect performance increase or decrease database memory forstmt_conc database manager configuration statistics that can be used to benchmark multiple DB2 databases running on theparameter to reduce SQL compilation database and application changes same server overhead for dynamic SQL statements Describe the performance advantages of Describe the advantages of usingUtilize the db2look utility to extract catalog using stored procedures db2exfmtstatistics from existing tables to mimic an Design applications to maximize record Create special tables used by Visualexisting database environment blocking, minimize sort operations and Explain and db2exfmtCreate an optimizer profile to influence the minimize lock contention Identify how to set the Explain snapshotaccess plan selected by the DB2 optimizer Evaluate setting the CUR_COMMIT and Explain mode registers to capture theUse the MON_GET_INDEX table function to database configuration option to reduce information of interestmonitor index usage lock waits, lock timeouts or deadlocks Differentiate between the differentDescribe the Block Indexing capability for Explain how DB2 can access the methods of viewing Explain information MDC tables committed version of a data row that is Choose the appropriate optimization class

Page 58: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Explain how multiple indexes can be currently being updated by another Describe the catalog statistics andcombined using Index ORing and Dynamic application database configuration options impact onBitmap Index ANDing Monitor application performance and lock access plan selectionUse the Design Advisor to predict waits using GET SNAPSHOT commands Implement a statistical view to provideperformance gains from adding new indexes and SQL queries better cardinality estimates for complexDescribe the differences between Nested Set the DB2 registry variables queriesLoop, Merge Scan and Hash Joins DB2_EVALUNCOMMITTED, Enable the statement concentrator usingPlan the implementation of Refresh DB2_SKIPINSERTED and the stmt_conc database managerImmediate or Refresh Deferred Materialized DB2_SKIPDELETED to reduce lock configuration parameter to reduce SQLQuery Tables to improve query performance contention based on application compilation overhead for dynamic SQLUtilize the design advisor to analyze SQL requirements statementsstatements and recommend new MQTs Utilize the db2look utility to extract catalogDescribe the features of Range Partitioned statistics from existing tables to mimic anTables to support large DB2 tables using line existing database environmentmultiple tablespaces, including the roll-in List the tools for monitoring database and Create an optimizer profile to influence theand roll-out of data ranges application activity access plan selected by the DB2 optimizerExplain the difference between partitioned Use GET SNAPSHOT commands to Use the MON_GET_INDEX table functionand non-partitioned indexes for a produce reports for analysis of database to monitor index usagerange-partitioned table performance Describe the Block Indexing capability forImplement partitioned indexes to improve Utilize the administrative routines and MDC tablesperformance when you roll data out or roll views provided by to DB2 to simplify Explain how multiple indexes can bedata into a range-partitioned table application access to database combined using Index ORing and DynamicUse the DB2 Explain tools to determine if performance statistics Bitmap Index ANDingpartition elimination is being used to improve Use the db2pd to perform performance Use the Design Advisor to predictaccess performance to large range analysis or problem determination for a performance gains from adding newpartitioned tables DB2 database indexes Select appropriate RUNSTATS options to Utilize the enhanced relational monitoring Describe the differences between Nestedcollect Distribution Statistics or Column interfaces with SQL in reporting and Loop, Merge Scan and Hash JoinsGroup Statistics to improve cardinality monitoring of the database system, data Plan the implementation of Refreshestimates during SQL compilation objects, and the package cache to help Immediate or Refresh DeferredUse the table and indexes statistics to plan you quickly identify issues that might be Materialized Query Tables to improvefor table and index reorganization using the causing problems query performanceREORG utility Configure the DB2 Database Utilize the design advisor to analyze SQLSet the policies and options for automation configuration options that control the statements and recommend new MQTsof catalog statistics collection. collection of request, activity and object Describe the features of Range PartitionedMonitor the activity associated with level metrics on the entire database Tables to support large DB2 tables usingimplementing real time statistics collection Compare the enhanced monitoring multiple tablespaces, including the roll-inUse the db2batch utility to run SQL features with the snapshot monitoring and roll-out of data rangesworkloads and collect performance statistics facilities provided by previous DB2 Explain the difference between partitionedthat can be used to benchmark database releases and non-partitioned indexes for aand application changes Describe processing for Writing Database range-partitioned tableDescribe the performance advantages of Pages from Buffer Pools Implement partitioned indexes to improveusing stored procedures Monitor Database Read and Write performance when you roll data out or rollDesign applications to maximize record Activity using GET SNAPSHOT data into a range-partitioned tableblocking, minimize sort operations and commands or Administrative Routines Use the DB2 Explain tools to determine ifminimize lock contention and Views partition elimination is being used toEvaluate setting the CUR_COMMIT Monitor Database Logging Activity and improve access performance to largedatabase configuration option to reduce lock select appropriate values for SOFTMAX range partitioned tables waits, lock timeouts or deadlocks and MINCOMMIT Select appropriate RUNSTATS options toExplain how DB2 can access the committed Implement and monitor use of a block collect Distribution Statistics or Columnversion of a data row that is currently being based buffer pool to improve table scan Group Statistics to improve cardinalityupdated by another application performance estimates during SQL compilationMonitor application performance and lock Describe the alternate page cleaning Use the table and indexes statistics to planwaits using GET SNAPSHOT commands processing associated with the DB2 for table and index reorganization usingand SQL queries Registry variable the REORG utilitySet the DB2 registry variables DB2_USE_ALTERNATE_PAGE_CLEAN Set the policies and options for automationDB2_EVALUNCOMMITTED, ING of catalog statistics collection.DB2_SKIPINSERTED and Describe how scan sharing can reduce Monitor the activity associated withDB2_SKIPDELETED to reduce lock the I/O workload for accessing large implementing real time statistics collectioncontention based on application tables Use the db2batch utility to run SQLrequirements Describe the calculation of prefetch size workloads and collect performance

when PREFETCHSIZE is set to statistics that can be used to benchmarkAUTOMATIC database and application changes

line List the advantages of selecting DMS or Describe the performance advantages ofList the tools for monitoring database and SMS table space management as well as using stored proceduresapplication activity using Automatic Storage managed table Design applications to maximize record

Page 59: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Use GET SNAPSHOT commands to spaces blocking, minimize sort operations andproduce reports for analysis of database Set file system caching options for table minimize lock contentionperformance spaces to optimize table space Evaluate setting the CUR_COMMITUtilize the administrative routines and views performance database configuration option to reduceprovided by to DB2 to simplify application Describe the various row insertion lock waits, lock timeouts or deadlocksaccess to database performance statistics algorithms for tables that are based on Explain how DB2 can access theUse the db2pd to perform performance using the APPEND option or defining a committed version of a data row that isanalysis or problem determination for a DB2 clustering index currently being updated by anotherdatabase Plan and implement Row Compression to applicationUtilize the enhanced relational monitoring reduce disk and memory requirements Monitor application performance and lockinterfaces with SQL in reporting and and improve application performance waits using GET SNAPSHOT commandsmonitoring of the database system, data Describe how DB2’s Index compression and SQL queriesobjects, and the package cache to help you option can reduce disk storage Set the DB2 registry variablesquickly identify issues that might be causing requirements for indexes DB2_EVALUNCOMMITTED,problems Explain how DB2 can compress DB2_SKIPINSERTED andConfigure the DB2 Database configuration temporary data to improve application DB2_SKIPDELETED to reduce lockoptions that control the collection of request, performance contention based on applicationactivity and object level metrics on the entire Utilize the DB2 provided tools and requirements database functions to estimate compression resultsCompare the enhanced monitoring features for Indexes and XML data with the snapshot monitoring facilities Explain the management of database lineprovided by previous DB2 releases shared memory based on setting the List the tools for monitoring database andDescribe processing for Writing Database configuration option application activityPages from Buffer Pools DATABASE_MEMORY to AUTOMATIC, Use GET SNAPSHOT commands toMonitor Database Read and Write Activity COMPUTED or a specific number of produce reports for analysis of databaseusing GET SNAPSHOT commands or pages performanceAdministrative Routines and Views Select the mode for managing data sort Utilize the administrative routines andMonitor Database Logging Activity and memory using SHEAPTHRES, views provided by to DB2 to simplifyselect appropriate values for SOFTMAX and SORTHEAP, and SHEAPTHRES_SHR application access to databaseMINCOMMIT Monitor DB2 memory usage using the performance statisticsImplement and monitor use of a block based db2mtrk command or the graphical Use the db2pd to perform performancebuffer pool to improve table scan application Memory Visualizer. analysis or problem determination for aperformance Utilize the db2pd for monitoring current DB2 databaseDescribe the alternate page cleaning database memory usage Utilize the enhanced relational monitoringprocessing associated with the DB2 Registry Use AUTOCONFIGURE to set database interfaces with SQL in reporting andvariable configuration defaults when a new monitoring of the database system, dataDB2_USE_ALTERNATE_PAGE_CLEANIN database is created or after a database objects, and the package cache to helpG workload changes you quickly identify issues that might beDescribe how scan sharing can reduce the Explain the differences in STMM causing problemsI/O workload for accessing large tables processing based on the setting of Configure the DB2 Database configurationDescribe the calculation of prefetch size DATABASE_MEMORY options that control the collection ofwhen PREFETCHSIZE is set to Plan and configure a database for request, activity and object level metrics onAUTOMATIC self-tuning memory the entire databaseList the advantages of selecting DMS or Activate or deactivate STMM for selected Compare the enhanced monitoringSMS table space management as well as memory heaps features with the snapshot monitoringusing Automatic Storage managed table Describe the management of sortheap facilities provided by previous DB2spaces memory based on the configuration of releases Set file system caching options for table sheapthres and sheapthres_shr Describe processing for Writing Databasespaces to optimize table space performance Explain how DB2 can automatically Pages from Buffer PoolsDescribe the various row insertion increase or decrease database memory Monitor Database Read and Write Activityalgorithms for tables that are based on using for multiple DB2 databases running on using GET SNAPSHOT commands orthe APPEND option or defining a clustering the same server Administrative Routines and Viewsindex Describe the advantages of using Monitor Database Logging Activity andPlan and implement Row Compression to db2exfmt select appropriate values for SOFTMAXreduce disk and memory requirements and Create special tables used by Visual and MINCOMMITimprove application performance Explain and db2exfmt Implement and monitor use of a blockDescribe how DB2’s Index compression Identify how to set the Explain snapshot based buffer pool to improve table scanoption can reduce disk storage requirements and Explain mode registers to capture performancefor indexes the information of interest Describe the alternate page cleaningExplain how DB2 can compress temporary Differentiate between the different processing associated with the DB2data to improve application performance methods of viewing Explain information Registry variableUtilize the DB2 provided tools and functions Choose the appropriate optimization DB2_USE_ALTERNATE_PAGE_CLEANIto estimate compression results for Indexes class NGand XML data Describe the catalog statistics and Describe how scan sharing can reduce theExplain the management of database database configuration options impact on I/O workload for accessing large tables shared memory based on setting the access plan selection Describe the calculation of prefetch size

Page 60: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

configuration option DATABASE_MEMORY Implement a statistical view to provide when PREFETCHSIZE is set toto AUTOMATIC, COMPUTED or a specific better cardinality estimates for complex AUTOMATICnumber of pages queries List the advantages of selecting DMS orSelect the mode for managing data sort Enable the statement concentrator using SMS table space management as well asmemory using SHEAPTHRES, SORTHEAP, the stmt_conc database manager using Automatic Storage managed tableand SHEAPTHRES_SHR configuration parameter to reduce SQL spacesMonitor DB2 memory usage using the compilation overhead for dynamic SQL Set file system caching options for tabledb2mtrk command or the graphical statements spaces to optimize table spaceapplication Memory Visualizer. Utilize the db2look utility to extract performanceUtilize the db2pd for monitoring current catalog statistics from existing tables to Describe the various row insertiondatabase memory usage mimic an existing database environment algorithms for tables that are based onUse AUTOCONFIGURE to set database Create an optimizer profile to influence using the APPEND option or defining aconfiguration defaults when a new database the access plan selected by the DB2 clustering indexis created or after a database workload optimizer Plan and implement Row Compression tochanges Use the MON_GET_INDEX table function reduce disk and memory requirements andExplain the differences in STMM processing to monitor index usage improve application performancebased on the setting of Describe the Block Indexing capability for Describe how DB2’s Index compressionDATABASE_MEMORY MDC tables option can reduce disk storagePlan and configure a database for Explain how multiple indexes can be requirements for indexesself-tuning memory combined using Index ORing and Explain how DB2 can compress temporaryActivate or deactivate STMM for selected Dynamic Bitmap Index ANDing data to improve application performancememory heaps Use the Design Advisor to predict Utilize the DB2 provided tools andDescribe the management of sortheap performance gains from adding new functions to estimate compression resultsmemory based on the configuration of indexes for Indexes and XML data sheapthres and sheapthres_shr Describe the differences between Nested Explain the management of databaseExplain how DB2 can automatically increase Loop, Merge Scan and Hash Joins shared memory based on setting theor decrease database memory for multiple Plan the implementation of Refresh configuration optionDB2 databases running on the same server Immediate or Refresh Deferred DATABASE_MEMORY to AUTOMATIC,Describe the advantages of using db2exfmt Materialized Query Tables to improve COMPUTED or a specific number ofCreate special tables used by Visual Explain query performance pagesand db2exfmt Utilize the design advisor to analyze SQL Select the mode for managing data sortIdentify how to set the Explain snapshot and statements and recommend new MQTs memory using SHEAPTHRES,Explain mode registers to capture the Describe the features of Range SORTHEAP, and SHEAPTHRES_SHRinformation of interest Partitioned Tables to support large DB2 Monitor DB2 memory usage using theDifferentiate between the different methods tables using multiple tablespaces, db2mtrk command or the graphicalof viewing Explain information including the roll-in and roll-out of data application Memory Visualizer.Choose the appropriate optimization class ranges Utilize the db2pd for monitoring currentDescribe the catalog statistics and database Explain the difference between database memory usageconfiguration options impact on access plan partitioned and non-partitioned indexes Use AUTOCONFIGURE to set databaseselection for a range-partitioned table configuration defaults when a newImplement a statistical view to provide better Implement partitioned indexes to improve database is created or after a databasecardinality estimates for complex queries performance when you roll data out or roll workload changes Enable the statement concentrator using the data into a range-partitioned table Explain the differences in STMMstmt_conc database manager configuration Use the DB2 Explain tools to determine if processing based on the setting ofparameter to reduce SQL compilation partition elimination is being used to DATABASE_MEMORYoverhead for dynamic SQL statements improve access performance to large Plan and configure a database forUtilize the db2look utility to extract catalog range partitioned tables self-tuning memorystatistics from existing tables to mimic an Select appropriate RUNSTATS options to Activate or deactivate STMM for selectedexisting database environment collect Distribution Statistics or Column memory heapsCreate an optimizer profile to influence the Group Statistics to improve cardinality Describe the management of sortheapaccess plan selected by the DB2 optimizer estimates during SQL compilation memory based on the configuration ofUse the MON_GET_INDEX table function to Use the table and indexes statistics to sheapthres and sheapthres_shrmonitor index usage plan for table and index reorganization Explain how DB2 can automaticallyDescribe the Block Indexing capability for using the REORG utility increase or decrease database memory forMDC tables Set the policies and options for multiple DB2 databases running on theExplain how multiple indexes can be automation of catalog statistics collection. same server combined using Index ORing and Dynamic Monitor the activity associated with Describe the advantages of usingBitmap Index ANDing implementing real time statistics db2exfmtUse the Design Advisor to predict collection Create special tables used by Visualperformance gains from adding new indexes Use the db2batch utility to run SQL Explain and db2exfmtDescribe the differences between Nested workloads and collect performance Identify how to set the Explain snapshotLoop, Merge Scan and Hash Joins statistics that can be used to benchmark and Explain mode registers to capture thePlan the implementation of Refresh database and application changes information of interestImmediate or Refresh Deferred Materialized Describe the performance advantages of Differentiate between the differentQuery Tables to improve query performance using stored procedures methods of viewing Explain information Utilize the design advisor to analyze SQL Design applications to maximize record Choose the appropriate optimization class

Page 61: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

statements and recommend new MQTs blocking, minimize sort operations and Describe the catalog statistics andDescribe the features of Range Partitioned minimize lock contention database configuration options impact onTables to support large DB2 tables using Evaluate setting the CUR_COMMIT access plan selectionmultiple tablespaces, including the roll-in database configuration option to reduce Implement a statistical view to provideand roll-out of data ranges lock waits, lock timeouts or deadlocks better cardinality estimates for complexExplain the difference between partitioned Explain how DB2 can access the queriesand non-partitioned indexes for a committed version of a data row that is Enable the statement concentrator usingrange-partitioned table currently being updated by another the stmt_conc database managerImplement partitioned indexes to improve application configuration parameter to reduce SQLperformance when you roll data out or roll Monitor application performance and lock compilation overhead for dynamic SQLdata into a range-partitioned table waits using GET SNAPSHOT commands statementsUse the DB2 Explain tools to determine if and SQL queries Utilize the db2look utility to extract catalogpartition elimination is being used to improve Set the DB2 registry variables statistics from existing tables to mimic anaccess performance to large range DB2_EVALUNCOMMITTED, existing database environmentpartitioned tables DB2_SKIPINSERTED and Create an optimizer profile to influence theSelect appropriate RUNSTATS options to DB2_SKIPDELETED to reduce lock access plan selected by the DB2 optimizercollect Distribution Statistics or Column contention based on application Use the MON_GET_INDEX table functionGroup Statistics to improve cardinality requirements to monitor index usageestimates during SQL compilation Describe the Block Indexing capability forUse the table and indexes statistics to plan MDC tablesfor table and index reorganization using the line Explain how multiple indexes can beREORG utility List the tools for monitoring database and combined using Index ORing and DynamicSet the policies and options for automation application activity Bitmap Index ANDingof catalog statistics collection. Use GET SNAPSHOT commands to Use the Design Advisor to predictMonitor the activity associated with produce reports for analysis of database performance gains from adding newimplementing real time statistics collection performance indexes Use the db2batch utility to run SQL Utilize the administrative routines and Describe the differences between Nestedworkloads and collect performance statistics views provided by to DB2 to simplify Loop, Merge Scan and Hash Joinsthat can be used to benchmark database application access to database Plan the implementation of Refreshand application changes performance statistics Immediate or Refresh DeferredDescribe the performance advantages of Use the db2pd to perform performance Materialized Query Tables to improveusing stored procedures analysis or problem determination for a query performanceDesign applications to maximize record DB2 database Utilize the design advisor to analyze SQLblocking, minimize sort operations and Utilize the enhanced relational monitoring statements and recommend new MQTsminimize lock contention interfaces with SQL in reporting and Describe the features of Range PartitionedEvaluate setting the CUR_COMMIT monitoring of the database system, data Tables to support large DB2 tables usingdatabase configuration option to reduce lock objects, and the package cache to help multiple tablespaces, including the roll-inwaits, lock timeouts or deadlocks you quickly identify issues that might be and roll-out of data rangesExplain how DB2 can access the committed causing problems Explain the difference between partitionedversion of a data row that is currently being Configure the DB2 Database and non-partitioned indexes for aupdated by another application configuration options that control the range-partitioned tableMonitor application performance and lock collection of request, activity and object Implement partitioned indexes to improvewaits using GET SNAPSHOT commands level metrics on the entire database performance when you roll data out or rolland SQL queries Compare the enhanced monitoring data into a range-partitioned tableSet the DB2 registry variables features with the snapshot monitoring Use the DB2 Explain tools to determine ifDB2_EVALUNCOMMITTED, facilities provided by previous DB2 partition elimination is being used toDB2_SKIPINSERTED and releases improve access performance to largeDB2_SKIPDELETED to reduce lock Describe processing for Writing Database range partitioned tables contention based on application Pages from Buffer Pools Select appropriate RUNSTATS options torequirements Monitor Database Read and Write collect Distribution Statistics or Column

Activity using GET SNAPSHOT Group Statistics to improve cardinalityDatabase memory management commands or Administrative Routines estimates during SQL compilationline and Views Use the table and indexes statistics to plan

Describe memory heap usage for instance Monitor Database Logging Activity and for table and index reorganization usingmemory, database shared memory, and select appropriate values for SOFTMAX the REORG utilityagent private memory and MINCOMMIT Set the policies and options for automation

Implement and monitor use of a block of catalog statistics collection.based buffer pool to improve table scan Monitor the activity associated withperformance implementing real time statistics collectionDescribe the alternate page cleaning Use the db2batch utility to run SQLprocessing associated with the DB2 workloads and collect performanceRegistry variable statistics that can be used to benchmarkDB2_USE_ALTERNATE_PAGE_CLEAN database and application changes ING Describe the performance advantages ofDescribe how scan sharing can reduce using stored proceduresthe I/O workload for accessing large Design applications to maximize record

Page 62: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

tables blocking, minimize sort operations andDescribe the calculation of prefetch size minimize lock contentionwhen PREFETCHSIZE is set to Evaluate setting the CUR_COMMITAUTOMATIC database configuration option to reduceList the advantages of selecting DMS or lock waits, lock timeouts or deadlocksSMS table space management as well as Explain how DB2 can access theusing Automatic Storage managed table committed version of a data row that isspaces currently being updated by anotherSet file system caching options for table applicationspaces to optimize table space Monitor application performance and lockperformance waits using GET SNAPSHOT commandsDescribe the various row insertion and SQL queriesalgorithms for tables that are based on Set the DB2 registry variablesusing the APPEND option or defining a DB2_EVALUNCOMMITTED,clustering index DB2_SKIPINSERTED andPlan and implement Row Compression to DB2_SKIPDELETED to reduce lockreduce disk and memory requirements contention based on applicationand improve application performance requirements Describe how DB2’s Index compressionoption can reduce disk storagerequirements for indexes lineExplain how DB2 can compress List the tools for monitoring database andtemporary data to improve application application activityperformance Use GET SNAPSHOT commands toUtilize the DB2 provided tools and produce reports for analysis of databasefunctions to estimate compression results performancefor Indexes and XML data Utilize the administrative routines andExplain the management of database views provided by to DB2 to simplifyshared memory based on setting the application access to databaseconfiguration option performance statisticsDATABASE_MEMORY to AUTOMATIC, Use the db2pd to perform performanceCOMPUTED or a specific number of analysis or problem determination for apages DB2 databaseSelect the mode for managing data sort Utilize the enhanced relational monitoringmemory using SHEAPTHRES, interfaces with SQL in reporting andSORTHEAP, and SHEAPTHRES_SHR monitoring of the database system, dataMonitor DB2 memory usage using the objects, and the package cache to helpdb2mtrk command or the graphical you quickly identify issues that might beapplication Memory Visualizer. causing problemsUtilize the db2pd for monitoring current Configure the DB2 Database configurationdatabase memory usage options that control the collection ofUse AUTOCONFIGURE to set database request, activity and object level metrics onconfiguration defaults when a new the entire databasedatabase is created or after a database Compare the enhanced monitoringworkload changes features with the snapshot monitoringExplain the differences in STMM facilities provided by previous DB2processing based on the setting of releases DATABASE_MEMORY Describe processing for Writing DatabasePlan and configure a database for Pages from Buffer Poolsself-tuning memory Monitor Database Read and Write ActivityActivate or deactivate STMM for selected using GET SNAPSHOT commands ormemory heaps Administrative Routines and ViewsDescribe the management of sortheap Monitor Database Logging Activity andmemory based on the configuration of select appropriate values for SOFTMAXsheapthres and sheapthres_shr and MINCOMMITExplain how DB2 can automatically Implement and monitor use of a blockincrease or decrease database memory based buffer pool to improve table scanfor multiple DB2 databases running on performancethe same server Describe the alternate page cleaningDescribe the advantages of using processing associated with the DB2db2exfmt Registry variableCreate special tables used by Visual DB2_USE_ALTERNATE_PAGE_CLEANIExplain and db2exfmt NGIdentify how to set the Explain snapshot Describe how scan sharing can reduce theand Explain mode registers to capture I/O workload for accessing large tables the information of interest Describe the calculation of prefetch size

Page 63: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Differentiate between the different when PREFETCHSIZE is set tomethods of viewing Explain information AUTOMATICChoose the appropriate optimization List the advantages of selecting DMS orclass SMS table space management as well asDescribe the catalog statistics and using Automatic Storage managed tabledatabase configuration options impact on spacesaccess plan selection Set file system caching options for tableImplement a statistical view to provide spaces to optimize table spacebetter cardinality estimates for complex performancequeries Describe the various row insertionEnable the statement concentrator using algorithms for tables that are based onthe stmt_conc database manager using the APPEND option or defining aconfiguration parameter to reduce SQL clustering indexcompilation overhead for dynamic SQL Plan and implement Row Compression tostatements reduce disk and memory requirements andUtilize the db2look utility to extract improve application performancecatalog statistics from existing tables to Describe how DB2’s Index compressionmimic an existing database environment option can reduce disk storageCreate an optimizer profile to influence requirements for indexesthe access plan selected by the DB2 Explain how DB2 can compress temporaryoptimizer data to improve application performanceUse the MON_GET_INDEX table function Utilize the DB2 provided tools andto monitor index usage functions to estimate compression resultsDescribe the Block Indexing capability for for Indexes and XML data MDC tables Explain the management of databaseExplain how multiple indexes can be shared memory based on setting thecombined using Index ORing and configuration optionDynamic Bitmap Index ANDing DATABASE_MEMORY to AUTOMATIC,Use the Design Advisor to predict COMPUTED or a specific number ofperformance gains from adding new pagesindexes Select the mode for managing data sortDescribe the differences between Nested memory using SHEAPTHRES,Loop, Merge Scan and Hash Joins SORTHEAP, and SHEAPTHRES_SHRPlan the implementation of Refresh Monitor DB2 memory usage using theImmediate or Refresh Deferred db2mtrk command or the graphicalMaterialized Query Tables to improve application Memory Visualizer.query performance Utilize the db2pd for monitoring currentUtilize the design advisor to analyze SQL database memory usagestatements and recommend new MQTs Use AUTOCONFIGURE to set databaseDescribe the features of Range configuration defaults when a newPartitioned Tables to support large DB2 database is created or after a databasetables using multiple tablespaces, workload changes including the roll-in and roll-out of data Explain the differences in STMMranges processing based on the setting ofExplain the difference between DATABASE_MEMORYpartitioned and non-partitioned indexes Plan and configure a database forfor a range-partitioned table self-tuning memoryImplement partitioned indexes to improve Activate or deactivate STMM for selectedperformance when you roll data out or roll memory heapsdata into a range-partitioned table Describe the management of sortheapUse the DB2 Explain tools to determine if memory based on the configuration ofpartition elimination is being used to sheapthres and sheapthres_shrimprove access performance to large Explain how DB2 can automaticallyrange partitioned tables increase or decrease database memory forSelect appropriate RUNSTATS options to multiple DB2 databases running on thecollect Distribution Statistics or Column same server Group Statistics to improve cardinality Describe the advantages of usingestimates during SQL compilation db2exfmtUse the table and indexes statistics to Create special tables used by Visualplan for table and index reorganization Explain and db2exfmtusing the REORG utility Identify how to set the Explain snapshotSet the policies and options for and Explain mode registers to capture theautomation of catalog statistics collection. information of interestMonitor the activity associated with Differentiate between the differentimplementing real time statistics methods of viewing Explain information collection Choose the appropriate optimization class

Page 64: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

Use the db2batch utility to run SQL Describe the catalog statistics andworkloads and collect performance database configuration options impact onstatistics that can be used to benchmark access plan selectiondatabase and application changes Implement a statistical view to provideDescribe the performance advantages of better cardinality estimates for complexusing stored procedures queriesDesign applications to maximize record Enable the statement concentrator usingblocking, minimize sort operations and the stmt_conc database managerminimize lock contention configuration parameter to reduce SQLEvaluate setting the CUR_COMMIT compilation overhead for dynamic SQLdatabase configuration option to reduce statementslock waits, lock timeouts or deadlocks Utilize the db2look utility to extract catalogExplain how DB2 can access the statistics from existing tables to mimic ancommitted version of a data row that is existing database environmentcurrently being updated by another Create an optimizer profile to influence theapplication access plan selected by the DB2 optimizerMonitor application performance and lock Use the MON_GET_INDEX table functionwaits using GET SNAPSHOT commands to monitor index usageand SQL queries Describe the Block Indexing capability forSet the DB2 registry variables MDC tablesDB2_EVALUNCOMMITTED, Explain how multiple indexes can beDB2_SKIPINSERTED and combined using Index ORing and DynamicDB2_SKIPDELETED to reduce lock Bitmap Index ANDingcontention based on application Use the Design Advisor to predictrequirements performance gains from adding new

indexes Using indexes for performance Describe the differences between Nestedline Loop, Merge Scan and Hash Joins

Describe the Indexing options that can be Plan the implementation of Refreshused to improve performance including: Immediate or Refresh DeferredIndex Only Access, Clustered Index, Materialized Query Tables to improveReverse Scans, Include Columns, and query performanceIndex Freespace Utilize the design advisor to analyze SQL

statements and recommend new MQTsDescribe the features of Range Partitioned

line Tables to support large DB2 tables usingList the tools for monitoring database and multiple tablespaces, including the roll-inapplication activity and roll-out of data rangesUse GET SNAPSHOT commands to Explain the difference between partitionedproduce reports for analysis of database and non-partitioned indexes for aperformance range-partitioned tableUtilize the administrative routines and Implement partitioned indexes to improveviews provided by to DB2 to simplify performance when you roll data out or rollapplication access to database data into a range-partitioned tableperformance statistics Use the DB2 Explain tools to determine ifUse the db2pd to perform performance partition elimination is being used toanalysis or problem determination for a improve access performance to largeDB2 database range partitioned tables Utilize the enhanced relational monitoring Select appropriate RUNSTATS options tointerfaces with SQL in reporting and collect Distribution Statistics or Columnmonitoring of the database system, data Group Statistics to improve cardinalityobjects, and the package cache to help estimates during SQL compilationyou quickly identify issues that might be Use the table and indexes statistics to plancausing problems for table and index reorganization usingConfigure the DB2 Database the REORG utilityconfiguration options that control the Set the policies and options for automationcollection of request, activity and object of catalog statistics collection.level metrics on the entire database Monitor the activity associated withCompare the enhanced monitoring implementing real time statistics collectionfeatures with the snapshot monitoring Use the db2batch utility to run SQLfacilities provided by previous DB2 workloads and collect performancereleases statistics that can be used to benchmarkDescribe processing for Writing Database database and application changes Pages from Buffer Pools Describe the performance advantages ofMonitor Database Read and Write using stored proceduresActivity using GET SNAPSHOT Design applications to maximize record

Page 65: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

commands or Administrative Routines blocking, minimize sort operations andand Views minimize lock contentionMonitor Database Logging Activity and Evaluate setting the CUR_COMMITselect appropriate values for SOFTMAX database configuration option to reduceand MINCOMMIT lock waits, lock timeouts or deadlocksImplement and monitor use of a block Explain how DB2 can access thebased buffer pool to improve table scan committed version of a data row that isperformance currently being updated by anotherDescribe the alternate page cleaning applicationprocessing associated with the DB2 Monitor application performance and lockRegistry variable waits using GET SNAPSHOT commandsDB2_USE_ALTERNATE_PAGE_CLEAN and SQL queriesING Set the DB2 registry variablesDescribe how scan sharing can reduce DB2_EVALUNCOMMITTED,the I/O workload for accessing large DB2_SKIPINSERTED andtables DB2_SKIPDELETED to reduce lockDescribe the calculation of prefetch size contention based on applicationwhen PREFETCHSIZE is set to requirements AUTOMATICList the advantages of selecting DMS or Continued on the Remarks sectionSMS table space management as well as lineusing 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 XML data Explain the management of databaseshared memory based on setting theconfiguration optionDATABASE_MEMORY to AUTOMATIC,COMPUTED or a specific number ofpagesSelect the mode for managing data sortmemory using SHEAPTHRES,SORTHEAP, and SHEAPTHRES_SHRMonitor DB2 memory usage using thedb2mtrk command or the graphicalapplication Memory Visualizer.Utilize the db2pd for monitoring currentdatabase memory usageUse AUTOCONFIGURE to set databaseconfiguration defaults when a newdatabase is created or after a databaseworkload changes Explain the differences in STMMprocessing based on the setting ofDATABASE_MEMORYPlan and configure a database forself-tuning memoryActivate or deactivate STMM for selected

Page 66: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

memory 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 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 environmentCreate an optimizer profile to influencethe access plan selected by the DB2optimizer Use the MON_GET_INDEX table functionto monitor index usageDescribe the Block Indexing capability forMDC tablesExplain 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 RangePartitioned Tables to support large DB2tables using multiple tablespaces,including the roll-in and roll-out of datarangesExplain 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 if

Page 67: IBM DB2 LUW Performance Tuning and Monitoring for Single and …store.globalknowledge.net/course-overviews/SE/CL442G.pdf · 2016. 1. 20. · CL442G info@globalknowledge.se 020-73

CL442G www.globalknowledge.se [email protected] 020-73 73 73

partition 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 collection.Monitor 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 Describe the performance advantages ofusing stored proceduresDesign applications to maximize recordblocking, minimize sort operations andminimize lock contentionEvaluate setting the CUR_COMMITdatabase configuration option to reducelock waits, lock timeouts or deadlocksExplain how DB2 can access thecommitted version of a data row that iscurrently being updated by anotherapplicationMonitor application performance and lockwaits using GET SNAPSHOT commandsand SQL queriesSet the DB2 registry variablesDB2_EVALUNCOMMITTED,DB2_SKIPINSERTED andDB2_SKIPDELETED to reduce lockcontention based on applicationrequirements

Övrig information:

För mer information eller kursbokning, vänligen kontakta oss på telefon. 020-73 73 73

[email protected]

www.globalknowledge.se

Vretenvägen 13, plan 3, 171 54 Solna