IBM DB2 for Linux, UNIX, and Windows Performance...

92
CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60 IBM DB2 for Linux, UNIX, and Windows Performance Tuning and Monitoring Workshop Duración: 4 Días Código del Curso: CL412G Temario: This course enables you to learn how to tune for optimum performance the IBM DB2 9 for Linux, UNIX, and Windows relational database management system and associated applications written for this environment. You will also learn about DB2 9 for Linux, UNIX, and Windows in a single partition database environment. Explore performance issues affecting the design of the database and applications using the database, the major database performance parameters, and the different tools that assist in performance monitoring and tuning. In this course, you will also use tools that are common across the Linux, UNIX, and Windows environments. During labs running on DB2 9.7, you will enhance your ability to use monitoring tools, explain tools and DB2 utilities like RUNSTATS, REORG and db2batch to tune a database running on your local LINUX workstation. Dirigido a: This is an advanced course for database designers, database administrators, and application developers working with DB2 for Linux, UNIX, and Windows who are concerned about performance. This course is appropriate for students using DB2 in a z/Linux environment. Objetivos: Define the impact of database design (tables, indexes, and data placement) on database performance Tune parameters to achieve optimum performance Describe database application programming considerations and how they affect performance Identify and use the tools that assist in monitoring and tuning of a database Identify and describe the parameters (database and non-database) that affect performance Prerequisitos: You should complete: DB2 9 Database Administration Workshop for Linux, UNIX, and Windows (CL2X2) or DB2 9 for Linux, UNIX, and Windows Quickstart for Experienced Relational DBAs (CL482) or have equivalent experience

Transcript of IBM DB2 for Linux, UNIX, and Windows Performance...

Page 1: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

IBM DB2 for Linux, UNIX, and Windows Performance Tu ning and Monitoring Workshop

Duración: 4 Días Código del Curso: CL412G

Temario:

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

Dirigido a:

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

Objetivos:

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

Tune parameters to achieve optimum performance

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

database

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

Prerequisitos:

You should complete:

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

Page 2: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Contenido:

line line lineDescribe the basic principles in monitoring a List the tools for monitoring database and List the tools for monitoring database andDB2 database application activity application activityDescribe processing for reading database Use GET SNAPSHOT commands to Use GET SNAPSHOT commands topages into buffer pools produce reports for analysis of database produce reports for analysis of databaseSelect appropriate values for table space performance performancepage size and extent size to support Utilize the administrative routines and Utilize the administrative routines andapplication performance requirements views provided by to DB2 to simplify views provided by to DB2 to simplifyDescribe memory heap usage for instance application access to database application access to databasememory, database shared memory and performance statistics performance statisticsapplication memory Use the db2pd to perform performance Use the db2pd to perform performanceDescribe how STMM can be used to analysis or problem determination for a analysis or problem determination for aautomatically manage database shared DB2 database DB2 databasememory heaps Utilize the enhanced table functions with Utilize the enhanced table functions withList examples of application coding SQL in reporting and monitoring of the SQL in reporting and monitoring of thetechniques that can effect performance database system, data objects, and the database system, data objects, and theDescribe the advantages of using Visual package cache to help you quickly package cache to help you quickly identifyExplain identify issues that might be causing issues that might be causing problemsDescribe the stages of the SQL compiler problems Configure the DB2 Database configurationDescribe the Indexing options that can be Configure the DB2 Database options that control the collection ofused to improve performance: Index Only configuration options that control the request, activity and object level metrics onAccess, Clustered Index, Reverse Scans, collection of request, activity and object the entire databaseInclude Columns, and Index Freespace level metrics on the entire database Compare the enhanced table functionsReview Explain reports for costly sort Compare the enhanced table functions with the snapshot monitoring facilitiesoperations with the snapshot monitoring facilities provided by previous DB2 releasesUse the RUNSTATS utility to collect table provided by previous DB2 releases Database Input/Output (I/O) Managementand index statistics to enable the DB2 Database Input/Output (I/O) Management Describe processing for writing databaseOptimizer to generate efficient access Describe processing for writing database pages from buffer poolsstrategies pages from buffer pools Monitor database read and write activityCreate Event Monitors to collect Monitor database read and write activity using GET SNAPSHOT commands orperformance statistics at the database, using GET SNAPSHOT commands or Administrative Routines and Viewsapplication or SQL statement level Administrative Routines and Views Monitor database logging activity and

Monitor database logging activity and select appropriate values for SOFTMAXselect appropriate values for SOFTMAX and MINCOMMIT

line and MINCOMMIT Describe how scan sharing can reduce theList the tools for monitoring database and Describe how scan sharing can reduce I/O workload for accessing large tablesapplication activity the I/O workload for accessing large Explain the alternate page cleaningUse GET SNAPSHOT commands to tables processing associated with theproduce reports for analysis of database Explain the alternate page cleaning DB2_USE_ALTERNATE_PAGE_CLEANIperformance processing associated with the NG DB2 Registry variableUtilize the administrative routines and views DB2_USE_ALTERNATE_PAGE_CLEAN Tablespace and Table Design forprovided by to DB2 to simplify application ING DB2 Registry variable Performanceaccess to database performance statistics Tablespace and Table Design for Describe the calculation of prefetch sizeUse the db2pd to perform performance Performance when PREFETCHSIZE is set toanalysis or problem determination for a DB2 Describe the calculation of prefetch size AUTOMATICdatabase when PREFETCHSIZE is set to List the advantages of selecting DMS orUtilize the enhanced table functions with AUTOMATIC SMS table space management as well asSQL in reporting and monitoring of the List the advantages of selecting DMS or using Automatic Storage-managed tabledatabase system, data objects, and the SMS table space management as well as spacespackage cache to help you quickly identify using Automatic Storage-managed table Set file system caching options for tableissues that might be causing problems spaces spaces to optimize table spaceConfigure the DB2 Database configuration Set file system caching options for table performanceoptions that control the collection of request, spaces to optimize table space Describe the various row insertionactivity and object level metrics on the entire performance algorithms for tables that are based ondatabase Describe the various row insertion using the APPEND option or defining aCompare the enhanced table functions with algorithms for tables that are based on clustering indexthe snapshot monitoring facilities provided using the APPEND option or defining a Plan and implement Row Compression toby previous DB2 releases clustering index reduce disk and memory requirements andDatabase Input/Output (I/O) Management Plan and implement Row Compression to improve application performanceDescribe processing for writing database reduce disk and memory requirements Describe how DB2's Index compressionpages from buffer pools and improve application performance option can reduce disk storageMonitor database read and write activity Describe how DB2's Index compression requirements for indexesusing GET SNAPSHOT commands or option can reduce disk storage Explain how DB2 can compress temporary

Page 3: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Administrative Routines and Views requirements for indexes data to improve application performanceMonitor database logging activity and select Explain how DB2 can compress Utilize the DB2 provided tools andappropriate values for SOFTMAX and temporary data to improve application functions to estimate compression resultsMINCOMMIT performance for Indexes and dataDescribe how scan sharing can reduce the Utilize the DB2 provided tools and DB2 memory managementI/O workload for accessing large tables functions to estimate compression results Explain the management of databaseExplain the alternate page cleaning for Indexes and data shared memory based on setting theprocessing associated with the DB2 memory management configuration optionDB2_USE_ALTERNATE_PAGE_CLEANIN Explain the management of database DATABASE_MEMORY to AUTOMATIC,G DB2 Registry variable shared memory based on setting the COMPUTED or a specific number ofTablespace and Table Design for configuration option pagesPerformance DATABASE_MEMORY to AUTOMATIC, Select the mode for managing data sortDescribe the calculation of prefetch size COMPUTED or a specific number of memory using SHEAPTHRES,when PREFETCHSIZE is set to pages SORTHEAP, and SHEAPTHRES_SHRAUTOMATIC Select the mode for managing data sort Monitor DB2 memory usage using theList the advantages of selecting DMS or memory using SHEAPTHRES, db2mtrk commands and SQL statementsSMS table space management as well as SORTHEAP, and SHEAPTHRES_SHR Utilize the db2pd command for monitoringusing Automatic Storage-managed table Monitor DB2 memory usage using the current database memory usagespaces db2mtrk commands and SQL statements Automated Memory ManagementSet file system caching options for table Utilize the db2pd command for Explain the differences in STMMspaces to optimize table space performance monitoring current database memory processing based on the setting ofDescribe the various row insertion usage DATABASE_MEMORYalgorithms for tables that are based on using Automated Memory Management Plan and configure a database for selfthe APPEND option or defining a clustering Explain the differences in STMM tuning memoryindex processing based on the setting of Activate or deactivate STMM for selectedPlan and implement Row Compression to DATABASE_MEMORY memory heapsreduce disk and memory requirements and Plan and configure a database for self Describe the management of sortheapimprove application performance tuning memory memory based on the configuration ofDescribe how DB2's Index compression Activate or deactivate STMM for selected sheapthres and sheapthres_shroption can reduce disk storage requirements memory heaps Explain how DB2 can automaticallyfor indexes Describe the management of sortheap increase or decrease database memory forExplain how DB2 can compress temporary memory based on the configuration of multiple DB2 databases running on thedata to improve application performance sheapthres and sheapthres_shr same serverUtilize the DB2 provided tools and functions Explain how DB2 can automatically Application Performance Considerationsto estimate compression results for Indexes increase or decrease database memory Describe the performance advantages ofand data for multiple DB2 databases running on using stored proceduresDB2 memory management the same server Design applications to maximize recordExplain the management of database Application Performance Considerations blocking, minimize sort operations andshared memory based on setting the Describe the performance advantages of minimize lock contentionconfiguration option DATABASE_MEMORY using stored procedures Monitor application performance and lockto AUTOMATIC, COMPUTED or a specific Design applications to maximize record waits using GET SNAPSHOT commandsnumber of pages blocking, minimize sort operations and and SQL queriesSelect the mode for managing data sort minimize lock contention Set the DB2 registry variablesmemory using SHEAPTHRES, SORTHEAP, Monitor application performance and lock DB2_EVALUNCOMMITTED,and SHEAPTHRES_SHR waits using GET SNAPSHOT commands DB2_SKIPINSERTED andMonitor DB2 memory usage using the and SQL queries DB2_SKIPDELETED to reduce lockdb2mtrk commands and SQL statements Set the DB2 registry variables contention based on applicationUtilize the db2pd command for monitoring DB2_EVALUNCOMMITTED, requirementscurrent database memory usage DB2_SKIPINSERTED and Utilize the currently committed form ofAutomated Memory Management DB2_SKIPDELETED to reduce lock locking to reduce lock contention betweenExplain the differences in STMM processing contention based on application read-only and update applicationsbased on the setting of requirements Using Explain ToolsDATABASE_MEMORY Utilize the currently committed form of Describe the advantages of usingPlan and configure a database for self locking to reduce lock contention db2exfmttuning memory between read-only and update Create special tables used by VisualActivate or deactivate STMM for selected applications Explain and db2exfmtmemory heaps Using Explain Tools Identify how to set the Explain snapshotDescribe the management of sortheap Describe the advantages of using and Explain mode registers to capture thememory based on the configuration of db2exfmt information of interestsheapthres and sheapthres_shr Create special tables used by Visual Differentiate between the differentExplain how DB2 can automatically increase Explain and db2exfmt methods of viewing Explain informationor decrease database memory for multiple Identify how to set the Explain snapshot The DB2 OptimizerDB2 databases running on the same server and Explain mode registers to capture Choose the appropriate optimization classApplication Performance Considerations the information of interest Describe the catalog statistics andDescribe the performance advantages of Differentiate between the different database configuration options impact onusing stored procedures methods of viewing Explain information access plan selection

Page 4: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Design applications to maximize record The DB2 Optimizer Implement a statistical view to provideblocking, minimize sort operations and Choose the appropriate optimization better cardinality estimates for complexminimize lock contention class queriesMonitor application performance and lock Describe the catalog statistics and Enable the statement concentrator usingwaits using GET SNAPSHOT commands database configuration options impact on the STMT_CONC database managerand SQL queries access plan selection configuration parameter to reduce SQLSet the DB2 registry variables Implement a statistical view to provide compilation overhead for dynamic SQLDB2_EVALUNCOMMITTED, better cardinality estimates for complex statementsDB2_SKIPINSERTED and queries Utilize the db2look utility to extract catalogDB2_SKIPDELETED to reduce lock Enable the statement concentrator using statistics from existing tables to mimic ancontention based on application the STMT_CONC database manager existing database environmentrequirements configuration parameter to reduce SQL Create an optimizer profileUtilize the currently committed form of compilation overhead for dynamic SQL Using Indexes for Performancelocking to reduce lock contention between statements Describe the Block Indexing capability forread-only and update applications Utilize the db2look utility to extract MDC tablesUsing Explain Tools catalog statistics from existing tables to Monitor index usage using theDescribe the advantages of using db2exfmt mimic an existing database environment MON_GET_INDEX function and db2pdCreate special tables used by Visual Explain Create an optimizer profile commandsand db2exfmt Using Indexes for Performance Explain how multiple indexes can beIdentify how to set the Explain snapshot and Describe the Block Indexing capability for combined using Index ORing and DynamicExplain mode registers to capture the MDC tables Bitmap Index ANDinginformation of interest Monitor index usage using the Use the Design Advisor to predictDifferentiate between the different methods MON_GET_INDEX function and db2pd performance gains from adding newof viewing Explain information commands indexesThe DB2 Optimizer Explain how multiple indexes can be Complex SQL PerformanceChoose the appropriate optimization class combined using Index ORing and Describe the differences between NestedDescribe the catalog statistics and database Dynamic Bitmap Index ANDing Loop, Merge Scan and Hash Joinsconfiguration options impact on access plan Use the Design Advisor to predict Plan the implementation of Refreshselection performance gains from adding new Immediate or Refresh DeferredImplement a statistical view to provide better indexes Materialized Query Tables to improvecardinality estimates for complex queries Complex SQL Performance query performanceEnable the statement concentrator using the Describe the differences between Nested Utilize the Design Advisor to analyze SQLSTMT_CONC database manager Loop, Merge Scan and Hash Joins statements and recommend new MQTsconfiguration parameter to reduce SQL Plan the implementation of Refresh Describe the features of range-partitionedcompilation overhead for dynamic SQL Immediate or Refresh Deferred tables to support large DB2 tables usingstatements Materialized Query Tables to improve multiple table spaces, including the roll-inUtilize the db2look utility to extract catalog query performance and roll-out of data rangesstatistics from existing tables to mimic an Utilize the Design Advisor to analyze SQL Explain the difference between partitionedexisting database environment statements and recommend new MQTs and non-partitioned indexes for aCreate an optimizer profile Describe the features of range-partitioned range-partitioned tableUsing Indexes for Performance tables to support large DB2 tables using Implement partitioned indexes to improveDescribe the Block Indexing capability for multiple table spaces, including the roll-in performance when you roll data out or rollMDC tables and roll-out of data ranges data into a range-partitioned tableMonitor index usage using the Explain the difference between Use the DB2 Explain tools to determine ifMON_GET_INDEX function and db2pd partitioned and non-partitioned indexes partition elimination is being used tocommands for a range-partitioned table improve access performance to largeExplain how multiple indexes can be Implement partitioned indexes to improve range-partitioned tablescombined using Index ORing and Dynamic performance when you roll data out or roll Tools and Utilities for PerformanceBitmap Index ANDing data into a range-partitioned table Select appropriate RUNSTATS options toUse the Design Advisor to predict Use the DB2 Explain tools to determine if collect Distribution Statistics or Columnperformance gains from adding new indexes partition elimination is being used to Group Statistics to improve cardinalityComplex SQL Performance improve access performance to large estimates during SQL compilationDescribe the differences between Nested range-partitioned tables Use the table and indexes statistics to planLoop, Merge Scan and Hash Joins Tools and Utilities for Performance for table and index reorganization usingPlan the implementation of Refresh Select appropriate RUNSTATS options to the REORG utilityImmediate or Refresh Deferred Materialized collect Distribution Statistics or Column Set the policies and options for automationQuery Tables to improve query performance Group Statistics to improve cardinality of catalog statistics collectionUtilize the Design Advisor to analyze SQL estimates during SQL compilation Monitor the activity associated withstatements and recommend new MQTs Use the table and indexes statistics to implementing real-time statistics collectionDescribe the features of range-partitioned plan for table and index reorganization Use the db2batch utility to run SQLtables to support large DB2 tables using using the REORG utility workloads and collect performancemultiple table spaces, including the roll-in Set the policies and options for statistics that can be used to benchmarkand roll-out of data ranges automation of catalog statistics collection database and application changesExplain the difference between partitioned Monitor the activity associated with Event Monitoringand non-partitioned indexes for a implementing real-time statistics Implement simple Workload Managementrange-partitioned table collection definitions to utilize the Workload

Page 5: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Implement partitioned indexes to improve Use the db2batch utility to run SQL Manager-based event monitoring includingperformance when you roll data out or roll workloads and collect performance activities, statistics and threshold violationsdata into a range-partitioned table statistics that can be used to benchmark Evaluate Event Monitor data using theUse the DB2 Explain tools to determine if database and application changes Event Analyzer tool, the db2evmonpartition elimination is being used to improve Event Monitoring text-based tool the db2evmonfmtaccess performance to large Implement simple Workload application or using SQL queriesrange-partitioned tables Management definitions to utilize the Define a LOCKING Event Monitor toTools and Utilities for Performance Workload Manager-based event capture deadlocks, lock timeout or lockSelect appropriate RUNSTATS options to monitoring including activities, statistics waitscollect Distribution Statistics or Column and threshold violations Configure a DB2 database to controlGroup Statistics to improve cardinality Evaluate Event Monitor data using the information captured for deadlocks, lockestimates during SQL compilation Event Analyzer tool, the db2evmon timeouts or extended lock waitsUse the table and indexes statistics to plan text-based tool the db2evmonfmt Implement Event Monitors for units of workfor table and index reorganization using the application or using SQL queries or lock-related events that storeREORG utility Define a LOCKING Event Monitor to information in unformatted Event MonitorSet the policies and options for automation capture deadlocks, lock timeout or lock tablesof catalog statistics collection waits Capture SQL section information using anMonitor the activity associated with Configure a DB2 database to control ACTIVITIES Event Monitor and use theimplementing real-time statistics collection information captured for deadlocks, lock data to generate Explain reportsUse the db2batch utility to run SQL timeouts or extended lock waitsworkloads and collect performance statistics Implement Event Monitors for units ofthat can be used to benchmark database work or lock-related events that store lineand application changes information in unformatted Event Monitor List the tools for monitoring database andEvent Monitoring tables application activityImplement simple Workload Management Capture SQL section information using Use GET SNAPSHOT commands todefinitions to utilize the Workload an ACTIVITIES Event Monitor and use produce reports for analysis of databaseManager-based event monitoring including the data to generate Explain reports performanceactivities, statistics and threshold violations Utilize the administrative routines andEvaluate Event Monitor data using the Event views provided by to DB2 to simplifyAnalyzer tool, the db2evmon text-based tool line application access to databasethe db2evmonfmt application or using SQL Describe the basic principles in performance statisticsqueries monitoring a DB2 database Use the db2pd to perform performanceDefine a LOCKING Event Monitor to capture Describe processing for reading database analysis or problem determination for adeadlocks, lock timeout or lock waits pages into buffer pools DB2 databaseConfigure a DB2 database to control Select appropriate values for table space Utilize the enhanced table functions withinformation captured for deadlocks, lock page size and extent size to support SQL in reporting and monitoring of thetimeouts or extended lock waits application performance requirements database system, data objects, and theImplement Event Monitors for units of work Describe memory heap usage for package cache to help you quickly identifyor lock-related events that store information instance memory, database shared issues that might be causing problemsin unformatted Event Monitor tables memory and application memory Configure the DB2 Database configurationCapture SQL section information using an Describe how STMM can be used to options that control the collection ofACTIVITIES Event Monitor and use the data automatically manage database shared request, activity and object level metrics onto generate Explain reports memory heaps the entire database

List examples of application coding Compare the enhanced table functionstechniques that can effect performance with the snapshot monitoring facilities

line Describe the advantages of using Visual provided by previous DB2 releasesList the tools for monitoring database and Explain Database Input/Output (I/O) Managementapplication activity Describe the stages of the SQL compiler Describe processing for writing databaseUse GET SNAPSHOT commands to Describe the Indexing options that can be pages from buffer poolsproduce reports for analysis of database used to improve performance: Index Only Monitor database read and write activityperformance Access, Clustered Index, Reverse Scans, using GET SNAPSHOT commands orUtilize the administrative routines and views Include Columns, and Index Freespace Administrative Routines and Viewsprovided by to DB2 to simplify application Review Explain reports for costly sort Monitor database logging activity andaccess to database performance statistics operations select appropriate values for SOFTMAXUse the db2pd to perform performance Use the RUNSTATS utility to collect table and MINCOMMITanalysis or problem determination for a DB2 and index statistics to enable the DB2 Describe how scan sharing can reduce thedatabase Optimizer to generate efficient access I/O workload for accessing large tablesUtilize the enhanced table functions with strategies Explain the alternate page cleaningSQL in reporting and monitoring of the Create Event Monitors to collect processing associated with thedatabase system, data objects, and the performance statistics at the database, DB2_USE_ALTERNATE_PAGE_CLEANIpackage cache to help you quickly identify application or SQL statement level NG DB2 Registry variableissues that might be causing problems Tablespace and Table Design forConfigure the DB2 Database configuration Performanceoptions that control the collection of request, line Describe the calculation of prefetch sizeactivity and object level metrics on the entire List the tools for monitoring database and when PREFETCHSIZE is set todatabase application activity AUTOMATIC

Page 6: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Compare the enhanced table functions with Use GET SNAPSHOT commands to List the advantages of selecting DMS orthe snapshot monitoring facilities provided produce reports for analysis of database SMS table space management as well asby previous DB2 releases performance using Automatic Storage-managed tableDatabase Input/Output (I/O) Management Utilize the administrative routines and spacesDescribe processing for writing database views provided by to DB2 to simplify Set file system caching options for tablepages from buffer pools application access to database spaces to optimize table spaceMonitor database read and write activity performance statistics performanceusing GET SNAPSHOT commands or Use the db2pd to perform performance Describe the various row insertionAdministrative Routines and Views analysis or problem determination for a algorithms for tables that are based onMonitor database logging activity and select DB2 database using the APPEND option or defining aappropriate values for SOFTMAX and Utilize the enhanced table functions with clustering indexMINCOMMIT SQL in reporting and monitoring of the Plan and implement Row Compression toDescribe how scan sharing can reduce the database system, data objects, and the reduce disk and memory requirements andI/O workload for accessing large tables package cache to help you quickly improve application performanceExplain the alternate page cleaning identify issues that might be causing Describe how DB2's Index compressionprocessing associated with the problems option can reduce disk storageDB2_USE_ALTERNATE_PAGE_CLEANIN Configure the DB2 Database requirements for indexesG DB2 Registry variable configuration options that control the Explain how DB2 can compress temporaryTablespace and Table Design for collection of request, activity and object data to improve application performancePerformance level metrics on the entire database Utilize the DB2 provided tools andDescribe the calculation of prefetch size Compare the enhanced table functions functions to estimate compression resultswhen PREFETCHSIZE is set to with the snapshot monitoring facilities for Indexes and dataAUTOMATIC provided by previous DB2 releases DB2 memory managementList the advantages of selecting DMS or Database Input/Output (I/O) Management Explain the management of databaseSMS table space management as well as Describe processing for writing database shared memory based on setting theusing Automatic Storage-managed table pages from buffer pools configuration optionspaces Monitor database read and write activity DATABASE_MEMORY to AUTOMATIC,Set file system caching options for table using GET SNAPSHOT commands or COMPUTED or a specific number ofspaces to optimize table space performance Administrative Routines and Views pagesDescribe the various row insertion Monitor database logging activity and Select the mode for managing data sortalgorithms for tables that are based on using select appropriate values for SOFTMAX memory using SHEAPTHRES,the APPEND option or defining a clustering and MINCOMMIT SORTHEAP, and SHEAPTHRES_SHRindex Describe how scan sharing can reduce Monitor DB2 memory usage using thePlan and implement Row Compression to the I/O workload for accessing large db2mtrk commands and SQL statementsreduce disk and memory requirements and tables Utilize the db2pd command for monitoringimprove application performance Explain the alternate page cleaning current database memory usageDescribe how DB2's Index compression processing associated with the Automated Memory Managementoption can reduce disk storage requirements DB2_USE_ALTERNATE_PAGE_CLEAN Explain the differences in STMMfor indexes ING DB2 Registry variable processing based on the setting ofExplain how DB2 can compress temporary Tablespace and Table Design for DATABASE_MEMORYdata to improve application performance Performance Plan and configure a database for selfUtilize the DB2 provided tools and functions Describe the calculation of prefetch size tuning memoryto estimate compression results for Indexes when PREFETCHSIZE is set to Activate or deactivate STMM for selectedand data AUTOMATIC memory heapsDB2 memory management List the advantages of selecting DMS or Describe the management of sortheapExplain the management of database SMS table space management as well as memory based on the configuration ofshared memory based on setting the using Automatic Storage-managed table sheapthres and sheapthres_shrconfiguration option DATABASE_MEMORY spaces Explain how DB2 can automaticallyto AUTOMATIC, COMPUTED or a specific Set file system caching options for table increase or decrease database memory fornumber of pages spaces to optimize table space multiple DB2 databases running on theSelect the mode for managing data sort performance same servermemory using SHEAPTHRES, SORTHEAP, Describe the various row insertion Application Performance Considerationsand SHEAPTHRES_SHR algorithms for tables that are based on Describe the performance advantages ofMonitor DB2 memory usage using the using the APPEND option or defining a using stored proceduresdb2mtrk commands and SQL statements clustering index Design applications to maximize recordUtilize the db2pd command for monitoring Plan and implement Row Compression to blocking, minimize sort operations andcurrent database memory usage reduce disk and memory requirements minimize lock contentionAutomated Memory Management and improve application performance Monitor application performance and lockExplain the differences in STMM processing Describe how DB2's Index compression waits using GET SNAPSHOT commandsbased on the setting of option can reduce disk storage and SQL queriesDATABASE_MEMORY requirements for indexes Set the DB2 registry variablesPlan and configure a database for self Explain how DB2 can compress DB2_EVALUNCOMMITTED,tuning memory temporary data to improve application DB2_SKIPINSERTED andActivate or deactivate STMM for selected performance DB2_SKIPDELETED to reduce lockmemory heaps Utilize the DB2 provided tools and contention based on applicationDescribe the management of sortheap functions to estimate compression results requirements

Page 7: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

memory based on the configuration of for Indexes and data Utilize the currently committed form ofsheapthres and sheapthres_shr DB2 memory management locking to reduce lock contention betweenExplain how DB2 can automatically increase Explain the management of database read-only and update applicationsor decrease database memory for multiple shared memory based on setting the Using Explain ToolsDB2 databases running on the same server configuration option Describe the advantages of usingApplication Performance Considerations DATABASE_MEMORY to AUTOMATIC, db2exfmtDescribe the performance advantages of COMPUTED or a specific number of Create special tables used by Visualusing stored procedures pages Explain and db2exfmtDesign applications to maximize record Select the mode for managing data sort Identify how to set the Explain snapshotblocking, minimize sort operations and memory using SHEAPTHRES, and Explain mode registers to capture theminimize lock contention SORTHEAP, and SHEAPTHRES_SHR information of interestMonitor application performance and lock Monitor DB2 memory usage using the Differentiate between the differentwaits using GET SNAPSHOT commands db2mtrk commands and SQL statements methods of viewing Explain informationand SQL queries Utilize the db2pd command for The DB2 OptimizerSet the DB2 registry variables monitoring current database memory Choose the appropriate optimization classDB2_EVALUNCOMMITTED, usage Describe the catalog statistics andDB2_SKIPINSERTED and Automated Memory Management database configuration options impact onDB2_SKIPDELETED to reduce lock Explain the differences in STMM access plan selectioncontention based on application processing based on the setting of Implement a statistical view to providerequirements DATABASE_MEMORY better cardinality estimates for complexUtilize the currently committed form of Plan and configure a database for self querieslocking to reduce lock contention between tuning memory Enable the statement concentrator usingread-only and update applications Activate or deactivate STMM for selected the STMT_CONC database managerUsing Explain Tools memory heaps configuration parameter to reduce SQLDescribe the advantages of using db2exfmt Describe the management of sortheap compilation overhead for dynamic SQLCreate special tables used by Visual Explain memory based on the configuration of statementsand db2exfmt sheapthres and sheapthres_shr Utilize the db2look utility to extract catalogIdentify how to set the Explain snapshot and Explain how DB2 can automatically statistics from existing tables to mimic anExplain mode registers to capture the increase or decrease database memory existing database environmentinformation of interest for multiple DB2 databases running on Create an optimizer profileDifferentiate between the different methods the same server Using Indexes for Performanceof viewing Explain information Application Performance Considerations Describe the Block Indexing capability forThe DB2 Optimizer Describe the performance advantages of MDC tablesChoose the appropriate optimization class using stored procedures Monitor index usage using theDescribe the catalog statistics and database Design applications to maximize record MON_GET_INDEX function and db2pdconfiguration options impact on access plan blocking, minimize sort operations and commandsselection minimize lock contention Explain how multiple indexes can beImplement a statistical view to provide better Monitor application performance and lock combined using Index ORing and Dynamiccardinality estimates for complex queries waits using GET SNAPSHOT commands Bitmap Index ANDingEnable the statement concentrator using the and SQL queries Use the Design Advisor to predictSTMT_CONC database manager Set the DB2 registry variables performance gains from adding newconfiguration parameter to reduce SQL DB2_EVALUNCOMMITTED, indexescompilation overhead for dynamic SQL DB2_SKIPINSERTED and Complex SQL Performancestatements DB2_SKIPDELETED to reduce lock Describe the differences between NestedUtilize the db2look utility to extract catalog contention based on application Loop, Merge Scan and Hash Joinsstatistics from existing tables to mimic an requirements Plan the implementation of Refreshexisting database environment Utilize the currently committed form of Immediate or Refresh DeferredCreate an optimizer profile locking to reduce lock contention Materialized Query Tables to improveUsing Indexes for Performance between read-only and update query performanceDescribe the Block Indexing capability for applications Utilize the Design Advisor to analyze SQLMDC tables Using Explain Tools statements and recommend new MQTsMonitor index usage using the Describe the advantages of using Describe the features of range-partitionedMON_GET_INDEX function and db2pd db2exfmt tables to support large DB2 tables usingcommands Create special tables used by Visual multiple table spaces, including the roll-inExplain how multiple indexes can be Explain and db2exfmt and roll-out of data rangescombined using Index ORing and Dynamic Identify how to set the Explain snapshot Explain the difference between partitionedBitmap Index ANDing and Explain mode registers to capture and non-partitioned indexes for aUse the Design Advisor to predict the information of interest range-partitioned tableperformance gains from adding new indexes Differentiate between the different Implement partitioned indexes to improveComplex SQL Performance methods of viewing Explain information performance when you roll data out or rollDescribe the differences between Nested The DB2 Optimizer data into a range-partitioned tableLoop, Merge Scan and Hash Joins Choose the appropriate optimization Use the DB2 Explain tools to determine ifPlan the implementation of Refresh class partition elimination is being used toImmediate or Refresh Deferred Materialized Describe the catalog statistics and improve access performance to largeQuery Tables to improve query performance database configuration options impact on range-partitioned tablesUtilize the Design Advisor to analyze SQL access plan selection Tools and Utilities for Performance

Page 8: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

statements and recommend new MQTs Implement a statistical view to provide Select appropriate RUNSTATS options toDescribe the features of range-partitioned better cardinality estimates for complex collect Distribution Statistics or Columntables to support large DB2 tables using queries Group Statistics to improve cardinalitymultiple table spaces, including the roll-in Enable the statement concentrator using estimates during SQL compilationand roll-out of data ranges the STMT_CONC database manager Use the table and indexes statistics to planExplain the difference between partitioned configuration parameter to reduce SQL for table and index reorganization usingand non-partitioned indexes for a compilation overhead for dynamic SQL the REORG utilityrange-partitioned table statements Set the policies and options for automationImplement partitioned indexes to improve Utilize the db2look utility to extract of catalog statistics collectionperformance when you roll data out or roll catalog statistics from existing tables to Monitor the activity associated withdata into a range-partitioned table mimic an existing database environment implementing real-time statistics collectionUse the DB2 Explain tools to determine if Create an optimizer profile Use the db2batch utility to run SQLpartition elimination is being used to improve Using Indexes for Performance workloads and collect performanceaccess performance to large Describe the Block Indexing capability for statistics that can be used to benchmarkrange-partitioned tables MDC tables database and application changesTools and Utilities for Performance Monitor index usage using the Event MonitoringSelect appropriate RUNSTATS options to MON_GET_INDEX function and db2pd Implement simple Workload Managementcollect Distribution Statistics or Column commands definitions to utilize the WorkloadGroup Statistics to improve cardinality Explain how multiple indexes can be Manager-based event monitoring includingestimates during SQL compilation combined using Index ORing and activities, statistics and threshold violationsUse the table and indexes statistics to plan Dynamic Bitmap Index ANDing Evaluate Event Monitor data using thefor table and index reorganization using the Use the Design Advisor to predict Event Analyzer tool, the db2evmonREORG utility performance gains from adding new text-based tool the db2evmonfmtSet the policies and options for automation indexes application or using SQL queriesof catalog statistics collection Complex SQL Performance Define a LOCKING Event Monitor toMonitor the activity associated with Describe the differences between Nested capture deadlocks, lock timeout or lockimplementing real-time statistics collection Loop, Merge Scan and Hash Joins waitsUse the db2batch utility to run SQL Plan the implementation of Refresh Configure a DB2 database to controlworkloads and collect performance statistics Immediate or Refresh Deferred information captured for deadlocks, lockthat can be used to benchmark database Materialized Query Tables to improve timeouts or extended lock waitsand application changes query performance Implement Event Monitors for units of workEvent Monitoring Utilize the Design Advisor to analyze SQL or lock-related events that storeImplement simple Workload Management statements and recommend new MQTs information in unformatted Event Monitordefinitions to utilize the Workload Describe the features of range-partitioned tablesManager-based event monitoring including tables to support large DB2 tables using Capture SQL section information using anactivities, statistics and threshold violations multiple table spaces, including the roll-in ACTIVITIES Event Monitor and use theEvaluate Event Monitor data using the Event and roll-out of data ranges data to generate Explain reportsAnalyzer tool, the db2evmon text-based tool Explain the difference betweenthe db2evmonfmt application or using SQL partitioned and non-partitioned indexesqueries for a range-partitioned table lineDefine a LOCKING Event Monitor to capture Implement partitioned indexes to improve List the tools for monitoring database anddeadlocks, lock timeout or lock waits performance when you roll data out or roll application activityConfigure a DB2 database to control data into a range-partitioned table Use GET SNAPSHOT commands toinformation captured for deadlocks, lock Use the DB2 Explain tools to determine if produce reports for analysis of databasetimeouts or extended lock waits partition elimination is being used to performanceImplement Event Monitors for units of work improve access performance to large Utilize the administrative routines andor lock-related events that store information range-partitioned tables views provided by to DB2 to simplifyin unformatted Event Monitor tables Tools and Utilities for Performance application access to databaseCapture SQL section information using an Select appropriate RUNSTATS options to performance statisticsACTIVITIES Event Monitor and use the data collect Distribution Statistics or Column Use the db2pd to perform performanceto generate Explain reports Group Statistics to improve cardinality analysis or problem determination for a

estimates during SQL compilation DB2 databaseUse the table and indexes statistics to Utilize the enhanced table functions with

line plan for table and index reorganization SQL in reporting and monitoring of theList the tools for monitoring database and using the REORG utility database system, data objects, and theapplication activity Set the policies and options for package cache to help you quickly identifyUse GET SNAPSHOT commands to automation of catalog statistics collection issues that might be causing problemsproduce reports for analysis of database Monitor the activity associated with Configure the DB2 Database configurationperformance implementing real-time statistics options that control the collection ofUtilize the administrative routines and views collection request, activity and object level metrics onprovided by to DB2 to simplify application Use the db2batch utility to run SQL the entire databaseaccess to database performance statistics workloads and collect performance Compare the enhanced table functionsUse the db2pd to perform performance statistics that can be used to benchmark with the snapshot monitoring facilitiesanalysis or problem determination for a DB2 database and application changes provided by previous DB2 releasesdatabase Event Monitoring Database Input/Output (I/O) ManagementUtilize the enhanced table functions with Implement simple Workload Describe processing for writing database

Page 9: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

SQL in reporting and monitoring of the Management definitions to utilize the pages from buffer poolsdatabase system, data objects, and the Workload Manager-based event Monitor database read and write activitypackage cache to help you quickly identify monitoring including activities, statistics using GET SNAPSHOT commands orissues that might be causing problems and threshold violations Administrative Routines and ViewsConfigure the DB2 Database configuration Evaluate Event Monitor data using the Monitor database logging activity andoptions that control the collection of request, Event Analyzer tool, the db2evmon select appropriate values for SOFTMAXactivity and object level metrics on the entire text-based tool the db2evmonfmt and MINCOMMITdatabase application or using SQL queries Describe how scan sharing can reduce theCompare the enhanced table functions with Define a LOCKING Event Monitor to I/O workload for accessing large tablesthe snapshot monitoring facilities provided capture deadlocks, lock timeout or lock Explain the alternate page cleaningby previous DB2 releases waits processing associated with theDatabase Input/Output (I/O) Management Configure a DB2 database to control DB2_USE_ALTERNATE_PAGE_CLEANIDescribe processing for writing database information captured for deadlocks, lock NG DB2 Registry variablepages from buffer pools timeouts or extended lock waits Tablespace and Table Design forMonitor database read and write activity Implement Event Monitors for units of Performanceusing GET SNAPSHOT commands or work or lock-related events that store Describe the calculation of prefetch sizeAdministrative Routines and Views information in unformatted Event Monitor when PREFETCHSIZE is set toMonitor database logging activity and select tables AUTOMATICappropriate values for SOFTMAX and Capture SQL section information using List the advantages of selecting DMS orMINCOMMIT an ACTIVITIES Event Monitor and use SMS table space management as well asDescribe how scan sharing can reduce the the data to generate Explain reports using Automatic Storage-managed tableI/O workload for accessing large tables spacesExplain the alternate page cleaning Set file system caching options for tableprocessing associated with the line spaces to optimize table spaceDB2_USE_ALTERNATE_PAGE_CLEANIN List the tools for monitoring database and performanceG DB2 Registry variable application activity Describe the various row insertionTablespace and Table Design for Use GET SNAPSHOT commands to algorithms for tables that are based onPerformance produce reports for analysis of database using the APPEND option or defining aDescribe the calculation of prefetch size performance clustering indexwhen PREFETCHSIZE is set to Utilize the administrative routines and Plan and implement Row Compression toAUTOMATIC views provided by to DB2 to simplify reduce disk and memory requirements andList the advantages of selecting DMS or application access to database improve application performanceSMS table space management as well as performance statistics Describe how DB2's Index compressionusing Automatic Storage-managed table Use the db2pd to perform performance option can reduce disk storagespaces analysis or problem determination for a requirements for indexesSet file system caching options for table DB2 database Explain how DB2 can compress temporaryspaces to optimize table space performance Utilize the enhanced table functions with data to improve application performanceDescribe the various row insertion SQL in reporting and monitoring of the Utilize the DB2 provided tools andalgorithms for tables that are based on using database system, data objects, and the functions to estimate compression resultsthe APPEND option or defining a clustering package cache to help you quickly for Indexes and dataindex identify issues that might be causing DB2 memory managementPlan and implement Row Compression to problems Explain the management of databasereduce disk and memory requirements and Configure the DB2 Database shared memory based on setting theimprove application performance configuration options that control the configuration optionDescribe how DB2's Index compression collection of request, activity and object DATABASE_MEMORY to AUTOMATIC,option can reduce disk storage requirements level metrics on the entire database COMPUTED or a specific number offor indexes Compare the enhanced table functions pagesExplain how DB2 can compress temporary with the snapshot monitoring facilities Select the mode for managing data sortdata to improve application performance provided by previous DB2 releases memory using SHEAPTHRES,Utilize the DB2 provided tools and functions Database Input/Output (I/O) Management SORTHEAP, and SHEAPTHRES_SHRto estimate compression results for Indexes Describe processing for writing database Monitor DB2 memory usage using theand data pages from buffer pools db2mtrk commands and SQL statementsDB2 memory management Monitor database read and write activity Utilize the db2pd command for monitoringExplain the management of database using GET SNAPSHOT commands or current database memory usageshared memory based on setting the Administrative Routines and Views Automated Memory Managementconfiguration option DATABASE_MEMORY Monitor database logging activity and Explain the differences in STMMto AUTOMATIC, COMPUTED or a specific select appropriate values for SOFTMAX processing based on the setting ofnumber of pages and MINCOMMIT DATABASE_MEMORYSelect the mode for managing data sort Describe how scan sharing can reduce Plan and configure a database for selfmemory using SHEAPTHRES, SORTHEAP, the I/O workload for accessing large tuning memoryand SHEAPTHRES_SHR tables Activate or deactivate STMM for selectedMonitor DB2 memory usage using the Explain the alternate page cleaning memory heapsdb2mtrk commands and SQL statements processing associated with the Describe the management of sortheapUtilize the db2pd command for monitoring DB2_USE_ALTERNATE_PAGE_CLEAN memory based on the configuration ofcurrent database memory usage ING DB2 Registry variable sheapthres and sheapthres_shrAutomated Memory Management Tablespace and Table Design for Explain how DB2 can automatically

Page 10: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Explain the differences in STMM processing Performance increase or decrease database memory forbased on the setting of Describe the calculation of prefetch size multiple DB2 databases running on theDATABASE_MEMORY when PREFETCHSIZE is set to same serverPlan and configure a database for self AUTOMATIC Application Performance Considerationstuning memory List the advantages of selecting DMS or Describe the performance advantages ofActivate or deactivate STMM for selected SMS table space management as well as using stored proceduresmemory heaps using Automatic Storage-managed table Design applications to maximize recordDescribe the management of sortheap spaces blocking, minimize sort operations andmemory based on the configuration of Set file system caching options for table minimize lock contentionsheapthres and sheapthres_shr spaces to optimize table space Monitor application performance and lockExplain how DB2 can automatically increase performance waits using GET SNAPSHOT commandsor decrease database memory for multiple Describe the various row insertion and SQL queriesDB2 databases running on the same server algorithms for tables that are based on Set the DB2 registry variablesApplication Performance Considerations using the APPEND option or defining a DB2_EVALUNCOMMITTED,Describe the performance advantages of clustering index DB2_SKIPINSERTED andusing stored procedures Plan and implement Row Compression to DB2_SKIPDELETED to reduce lockDesign applications to maximize record reduce disk and memory requirements contention based on applicationblocking, minimize sort operations and and improve application performance requirementsminimize lock contention Describe how DB2's Index compression Utilize the currently committed form ofMonitor application performance and lock option can reduce disk storage locking to reduce lock contention betweenwaits using GET SNAPSHOT commands requirements for indexes read-only and update applicationsand SQL queries Explain how DB2 can compress Using Explain ToolsSet the DB2 registry variables temporary data to improve application Describe the advantages of usingDB2_EVALUNCOMMITTED, performance db2exfmtDB2_SKIPINSERTED and Utilize the DB2 provided tools and Create special tables used by VisualDB2_SKIPDELETED to reduce lock functions to estimate compression results Explain and db2exfmtcontention based on application for Indexes and data Identify how to set the Explain snapshotrequirements DB2 memory management and Explain mode registers to capture theUtilize the currently committed form of Explain the management of database information of interestlocking to reduce lock contention between shared memory based on setting the Differentiate between the differentread-only and update applications configuration option methods of viewing Explain informationUsing Explain Tools DATABASE_MEMORY to AUTOMATIC, The DB2 OptimizerDescribe the advantages of using db2exfmt COMPUTED or a specific number of Choose the appropriate optimization classCreate special tables used by Visual Explain pages Describe the catalog statistics andand db2exfmt Select the mode for managing data sort database configuration options impact onIdentify how to set the Explain snapshot and memory using SHEAPTHRES, access plan selectionExplain mode registers to capture the SORTHEAP, and SHEAPTHRES_SHR Implement a statistical view to provideinformation of interest Monitor DB2 memory usage using the better cardinality estimates for complexDifferentiate between the different methods db2mtrk commands and SQL statements queriesof viewing Explain information Utilize the db2pd command for Enable the statement concentrator usingThe DB2 Optimizer monitoring current database memory the STMT_CONC database managerChoose the appropriate optimization class usage configuration parameter to reduce SQLDescribe the catalog statistics and database Automated Memory Management compilation overhead for dynamic SQLconfiguration options impact on access plan Explain the differences in STMM statementsselection processing based on the setting of Utilize the db2look utility to extract catalogImplement a statistical view to provide better DATABASE_MEMORY statistics from existing tables to mimic ancardinality estimates for complex queries Plan and configure a database for self existing database environmentEnable the statement concentrator using the tuning memory Create an optimizer profileSTMT_CONC database manager Activate or deactivate STMM for selected Using Indexes for Performanceconfiguration parameter to reduce SQL memory heaps Describe the Block Indexing capability forcompilation overhead for dynamic SQL Describe the management of sortheap MDC tablesstatements memory based on the configuration of Monitor index usage using theUtilize the db2look utility to extract catalog sheapthres and sheapthres_shr MON_GET_INDEX function and db2pdstatistics from existing tables to mimic an Explain how DB2 can automatically commandsexisting database environment increase or decrease database memory Explain how multiple indexes can beCreate an optimizer profile for multiple DB2 databases running on combined using Index ORing and DynamicUsing Indexes for Performance the same server Bitmap Index ANDingDescribe the Block Indexing capability for Application Performance Considerations Use the Design Advisor to predictMDC tables Describe the performance advantages of performance gains from adding newMonitor index usage using the using stored procedures indexesMON_GET_INDEX function and db2pd Design applications to maximize record Complex SQL Performancecommands blocking, minimize sort operations and Describe the differences between NestedExplain how multiple indexes can be minimize lock contention Loop, Merge Scan and Hash Joinscombined using Index ORing and Dynamic Monitor application performance and lock Plan the implementation of RefreshBitmap Index ANDing waits using GET SNAPSHOT commands Immediate or Refresh DeferredUse the Design Advisor to predict and SQL queries Materialized Query Tables to improve

Page 11: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

performance gains from adding new indexes Set the DB2 registry variables query performanceComplex SQL Performance DB2_EVALUNCOMMITTED, Utilize the Design Advisor to analyze SQLDescribe the differences between Nested DB2_SKIPINSERTED and statements and recommend new MQTsLoop, Merge Scan and Hash Joins DB2_SKIPDELETED to reduce lock Describe the features of range-partitionedPlan the implementation of Refresh contention based on application tables to support large DB2 tables usingImmediate or Refresh Deferred Materialized requirements multiple table spaces, including the roll-inQuery Tables to improve query performance Utilize the currently committed form of and roll-out of data rangesUtilize the Design Advisor to analyze SQL locking to reduce lock contention Explain the difference between partitionedstatements and recommend new MQTs between read-only and update and non-partitioned indexes for aDescribe the features of range-partitioned applications range-partitioned tabletables to support large DB2 tables using Using Explain Tools Implement partitioned indexes to improvemultiple table spaces, including the roll-in Describe the advantages of using performance when you roll data out or rolland roll-out of data ranges db2exfmt data into a range-partitioned tableExplain the difference between partitioned Create special tables used by Visual Use the DB2 Explain tools to determine ifand non-partitioned indexes for a Explain and db2exfmt partition elimination is being used torange-partitioned table Identify how to set the Explain snapshot improve access performance to largeImplement partitioned indexes to improve and Explain mode registers to capture range-partitioned tablesperformance when you roll data out or roll the information of interest Tools and Utilities for Performancedata into a range-partitioned table Differentiate between the different Select appropriate RUNSTATS options toUse the DB2 Explain tools to determine if methods of viewing Explain information collect Distribution Statistics or Columnpartition elimination is being used to improve The DB2 Optimizer Group Statistics to improve cardinalityaccess performance to large Choose the appropriate optimization estimates during SQL compilationrange-partitioned tables class Use the table and indexes statistics to planTools and Utilities for Performance Describe the catalog statistics and for table and index reorganization usingSelect appropriate RUNSTATS options to database configuration options impact on the REORG utilitycollect Distribution Statistics or Column access plan selection Set the policies and options for automationGroup Statistics to improve cardinality Implement a statistical view to provide of catalog statistics collectionestimates during SQL compilation better cardinality estimates for complex Monitor the activity associated withUse the table and indexes statistics to plan queries implementing real-time statistics collectionfor table and index reorganization using the Enable the statement concentrator using Use the db2batch utility to run SQLREORG utility the STMT_CONC database manager workloads and collect performanceSet the policies and options for automation configuration parameter to reduce SQL statistics that can be used to benchmarkof catalog statistics collection compilation overhead for dynamic SQL database and application changesMonitor the activity associated with statements Event Monitoringimplementing real-time statistics collection Utilize the db2look utility to extract Implement simple Workload ManagementUse the db2batch utility to run SQL catalog statistics from existing tables to definitions to utilize the Workloadworkloads and collect performance statistics mimic an existing database environment Manager-based event monitoring includingthat can be used to benchmark database Create an optimizer profile activities, statistics and threshold violationsand application changes Using Indexes for Performance Evaluate Event Monitor data using theEvent Monitoring Describe the Block Indexing capability for Event Analyzer tool, the db2evmonImplement simple Workload Management MDC tables text-based tool the db2evmonfmtdefinitions to utilize the Workload Monitor index usage using the application or using SQL queriesManager-based event monitoring including MON_GET_INDEX function and db2pd Define a LOCKING Event Monitor toactivities, statistics and threshold violations commands capture deadlocks, lock timeout or lockEvaluate Event Monitor data using the Event Explain how multiple indexes can be waitsAnalyzer tool, the db2evmon text-based tool combined using Index ORing and Configure a DB2 database to controlthe db2evmonfmt application or using SQL Dynamic Bitmap Index ANDing information captured for deadlocks, lockqueries Use the Design Advisor to predict timeouts or extended lock waitsDefine a LOCKING Event Monitor to capture performance gains from adding new Implement Event Monitors for units of workdeadlocks, lock timeout or lock waits indexes or lock-related events that storeConfigure a DB2 database to control Complex SQL Performance information in unformatted Event Monitorinformation captured for deadlocks, lock Describe the differences between Nested tablestimeouts or extended lock waits Loop, Merge Scan and Hash Joins Capture SQL section information using anImplement Event Monitors for units of work Plan the implementation of Refresh ACTIVITIES Event Monitor and use theor lock-related events that store information Immediate or Refresh Deferred data to generate Explain reportsin unformatted Event Monitor tables Materialized Query Tables to improveCapture SQL section information using an query performanceACTIVITIES Event Monitor and use the data Utilize the Design Advisor to analyze SQL lineto generate Explain reports statements and recommend new MQTs List the tools for monitoring database and

Describe the features of range-partitioned application activitytables to support large DB2 tables using Use GET SNAPSHOT commands to

line multiple table spaces, including the roll-in produce reports for analysis of databaseList the tools for monitoring database and and roll-out of data ranges performanceapplication activity Explain the difference between Utilize the administrative routines andUse GET SNAPSHOT commands to partitioned and non-partitioned indexes views provided by to DB2 to simplifyproduce reports for analysis of database for a range-partitioned table application access to database

Page 12: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

performance Implement partitioned indexes to improve performance statisticsUtilize the administrative routines and views performance when you roll data out or roll Use the db2pd to perform performanceprovided by to DB2 to simplify application data into a range-partitioned table analysis or problem determination for aaccess to database performance statistics Use the DB2 Explain tools to determine if DB2 databaseUse the db2pd to perform performance partition elimination is being used to Utilize the enhanced table functions withanalysis or problem determination for a DB2 improve access performance to large SQL in reporting and monitoring of thedatabase range-partitioned tables database system, data objects, and theUtilize the enhanced table functions with Tools and Utilities for Performance package cache to help you quickly identifySQL in reporting and monitoring of the Select appropriate RUNSTATS options to issues that might be causing problemsdatabase system, data objects, and the collect Distribution Statistics or Column Configure the DB2 Database configurationpackage cache to help you quickly identify Group Statistics to improve cardinality options that control the collection ofissues that might be causing problems estimates during SQL compilation request, activity and object level metrics onConfigure the DB2 Database configuration Use the table and indexes statistics to the entire databaseoptions that control the collection of request, plan for table and index reorganization Compare the enhanced table functionsactivity and object level metrics on the entire using the REORG utility with the snapshot monitoring facilitiesdatabase Set the policies and options for provided by previous DB2 releasesCompare the enhanced table functions with automation of catalog statistics collection Database Input/Output (I/O) Managementthe snapshot monitoring facilities provided Monitor the activity associated with Describe processing for writing databaseby previous DB2 releases implementing real-time statistics pages from buffer poolsDatabase Input/Output (I/O) Management collection Monitor database read and write activityDescribe processing for writing database Use the db2batch utility to run SQL using GET SNAPSHOT commands orpages from buffer pools workloads and collect performance Administrative Routines and ViewsMonitor database read and write activity statistics that can be used to benchmark Monitor database logging activity andusing GET SNAPSHOT commands or database and application changes select appropriate values for SOFTMAXAdministrative Routines and Views Event Monitoring and MINCOMMITMonitor database logging activity and select Implement simple Workload Describe how scan sharing can reduce theappropriate values for SOFTMAX and Management definitions to utilize the I/O workload for accessing large tablesMINCOMMIT Workload Manager-based event Explain the alternate page cleaningDescribe how scan sharing can reduce the monitoring including activities, statistics processing associated with theI/O workload for accessing large tables and threshold violations DB2_USE_ALTERNATE_PAGE_CLEANIExplain the alternate page cleaning Evaluate Event Monitor data using the NG DB2 Registry variableprocessing associated with the Event Analyzer tool, the db2evmon Tablespace and Table Design forDB2_USE_ALTERNATE_PAGE_CLEANIN text-based tool the db2evmonfmt PerformanceG DB2 Registry variable application or using SQL queries Describe the calculation of prefetch sizeTablespace and Table Design for Define a LOCKING Event Monitor to when PREFETCHSIZE is set toPerformance capture deadlocks, lock timeout or lock AUTOMATICDescribe the calculation of prefetch size waits List the advantages of selecting DMS orwhen PREFETCHSIZE is set to Configure a DB2 database to control SMS table space management as well asAUTOMATIC information captured for deadlocks, lock using Automatic Storage-managed tableList the advantages of selecting DMS or timeouts or extended lock waits spacesSMS table space management as well as Implement Event Monitors for units of Set file system caching options for tableusing Automatic Storage-managed table work or lock-related events that store spaces to optimize table spacespaces information in unformatted Event Monitor performanceSet file system caching options for table tables Describe the various row insertionspaces to optimize table space performance Capture SQL section information using algorithms for tables that are based onDescribe the various row insertion an ACTIVITIES Event Monitor and use using the APPEND option or defining aalgorithms for tables that are based on using the data to generate Explain reports clustering indexthe APPEND option or defining a clustering Plan and implement Row Compression toindex reduce disk and memory requirements andPlan and implement Row Compression to line improve application performancereduce disk and memory requirements and List the tools for monitoring database and Describe how DB2's Index compressionimprove application performance application activity option can reduce disk storageDescribe how DB2's Index compression Use GET SNAPSHOT commands to requirements for indexesoption can reduce disk storage requirements produce reports for analysis of database Explain how DB2 can compress temporaryfor indexes performance data to improve application performanceExplain how DB2 can compress temporary Utilize the administrative routines and Utilize the DB2 provided tools anddata to improve application performance views provided by to DB2 to simplify functions to estimate compression resultsUtilize the DB2 provided tools and functions application access to database for Indexes and datato estimate compression results for Indexes performance statistics DB2 memory managementand data Use the db2pd to perform performance Explain the management of databaseDB2 memory management analysis or problem determination for a shared memory based on setting theExplain the management of database DB2 database configuration optionshared memory based on setting the Utilize the enhanced table functions with DATABASE_MEMORY to AUTOMATIC,configuration option DATABASE_MEMORY SQL in reporting and monitoring of the COMPUTED or a specific number ofto AUTOMATIC, COMPUTED or a specific database system, data objects, and the pagesnumber of pages package cache to help you quickly Select the mode for managing data sort

Page 13: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Select the mode for managing data sort identify issues that might be causing memory using SHEAPTHRES,memory using SHEAPTHRES, SORTHEAP, problems SORTHEAP, and SHEAPTHRES_SHRand SHEAPTHRES_SHR Configure the DB2 Database Monitor DB2 memory usage using theMonitor DB2 memory usage using the configuration options that control the db2mtrk commands and SQL statementsdb2mtrk commands and SQL statements collection of request, activity and object Utilize the db2pd command for monitoringUtilize the db2pd command for monitoring level metrics on the entire database current database memory usagecurrent database memory usage Compare the enhanced table functions Automated Memory ManagementAutomated Memory Management with the snapshot monitoring facilities Explain the differences in STMMExplain the differences in STMM processing provided by previous DB2 releases processing based on the setting ofbased on the setting of Database Input/Output (I/O) Management DATABASE_MEMORYDATABASE_MEMORY Describe processing for writing database Plan and configure a database for selfPlan and configure a database for self pages from buffer pools tuning memorytuning memory Monitor database read and write activity Activate or deactivate STMM for selectedActivate or deactivate STMM for selected using GET SNAPSHOT commands or memory heapsmemory heaps Administrative Routines and Views Describe the management of sortheapDescribe the management of sortheap Monitor database logging activity and memory based on the configuration ofmemory based on the configuration of select appropriate values for SOFTMAX sheapthres and sheapthres_shrsheapthres and sheapthres_shr and MINCOMMIT Explain how DB2 can automaticallyExplain how DB2 can automatically increase Describe how scan sharing can reduce increase or decrease database memory foror decrease database memory for multiple the I/O workload for accessing large multiple DB2 databases running on theDB2 databases running on the same server tables same serverApplication Performance Considerations Explain the alternate page cleaning Application Performance ConsiderationsDescribe the performance advantages of processing associated with the Describe the performance advantages ofusing stored procedures DB2_USE_ALTERNATE_PAGE_CLEAN using stored proceduresDesign applications to maximize record ING DB2 Registry variable Design applications to maximize recordblocking, minimize sort operations and Tablespace and Table Design for blocking, minimize sort operations andminimize lock contention Performance minimize lock contentionMonitor application performance and lock Describe the calculation of prefetch size Monitor application performance and lockwaits using GET SNAPSHOT commands when PREFETCHSIZE is set to waits using GET SNAPSHOT commandsand SQL queries AUTOMATIC and SQL queriesSet the DB2 registry variables List the advantages of selecting DMS or Set the DB2 registry variablesDB2_EVALUNCOMMITTED, SMS table space management as well as DB2_EVALUNCOMMITTED,DB2_SKIPINSERTED and using Automatic Storage-managed table DB2_SKIPINSERTED andDB2_SKIPDELETED to reduce lock spaces DB2_SKIPDELETED to reduce lockcontention based on application Set file system caching options for table contention based on applicationrequirements spaces to optimize table space requirementsUtilize the currently committed form of performance Utilize the currently committed form oflocking to reduce lock contention between Describe the various row insertion locking to reduce lock contention betweenread-only and update applications algorithms for tables that are based on read-only and update applicationsUsing Explain Tools using the APPEND option or defining a Using Explain ToolsDescribe the advantages of using db2exfmt clustering index Describe the advantages of usingCreate special tables used by Visual Explain Plan and implement Row Compression to db2exfmtand db2exfmt reduce disk and memory requirements Create special tables used by VisualIdentify how to set the Explain snapshot and and improve application performance Explain and db2exfmtExplain mode registers to capture the Describe how DB2's Index compression Identify how to set the Explain snapshotinformation of interest option can reduce disk storage and Explain mode registers to capture theDifferentiate between the different methods requirements for indexes information of interestof viewing Explain information Explain how DB2 can compress Differentiate between the differentThe DB2 Optimizer temporary data to improve application methods of viewing Explain informationChoose the appropriate optimization class performance The DB2 OptimizerDescribe the catalog statistics and database Utilize the DB2 provided tools and Choose the appropriate optimization classconfiguration options impact on access plan functions to estimate compression results Describe the catalog statistics andselection for Indexes and data database configuration options impact onImplement a statistical view to provide better DB2 memory management access plan selectioncardinality estimates for complex queries Explain the management of database Implement a statistical view to provideEnable the statement concentrator using the shared memory based on setting the better cardinality estimates for complexSTMT_CONC database manager configuration option queriesconfiguration parameter to reduce SQL DATABASE_MEMORY to AUTOMATIC, Enable the statement concentrator usingcompilation overhead for dynamic SQL COMPUTED or a specific number of the STMT_CONC database managerstatements pages configuration parameter to reduce SQLUtilize the db2look utility to extract catalog Select the mode for managing data sort compilation overhead for dynamic SQLstatistics from existing tables to mimic an memory using SHEAPTHRES, statementsexisting database environment SORTHEAP, and SHEAPTHRES_SHR Utilize the db2look utility to extract catalogCreate an optimizer profile Monitor DB2 memory usage using the statistics from existing tables to mimic anUsing Indexes for Performance db2mtrk commands and SQL statements existing database environmentDescribe the Block Indexing capability for Utilize the db2pd command for Create an optimizer profile

Page 14: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

MDC tables monitoring current database memory Using Indexes for PerformanceMonitor index usage using the usage Describe the Block Indexing capability forMON_GET_INDEX function and db2pd Automated Memory Management MDC tablescommands Explain the differences in STMM Monitor index usage using theExplain how multiple indexes can be processing based on the setting of MON_GET_INDEX function and db2pdcombined using Index ORing and Dynamic DATABASE_MEMORY commandsBitmap Index ANDing Plan and configure a database for self Explain how multiple indexes can beUse the Design Advisor to predict tuning memory combined using Index ORing and Dynamicperformance gains from adding new indexes Activate or deactivate STMM for selected Bitmap Index ANDingComplex SQL Performance memory heaps Use the Design Advisor to predictDescribe the differences between Nested Describe the management of sortheap performance gains from adding newLoop, Merge Scan and Hash Joins memory based on the configuration of indexesPlan the implementation of Refresh sheapthres and sheapthres_shr Complex SQL PerformanceImmediate or Refresh Deferred Materialized Explain how DB2 can automatically Describe the differences between NestedQuery Tables to improve query performance increase or decrease database memory Loop, Merge Scan and Hash JoinsUtilize the Design Advisor to analyze SQL for multiple DB2 databases running on Plan the implementation of Refreshstatements and recommend new MQTs the same server Immediate or Refresh DeferredDescribe the features of range-partitioned Application Performance Considerations Materialized Query Tables to improvetables to support large DB2 tables using Describe the performance advantages of query performancemultiple table spaces, including the roll-in using stored procedures Utilize the Design Advisor to analyze SQLand roll-out of data ranges Design applications to maximize record statements and recommend new MQTsExplain the difference between partitioned blocking, minimize sort operations and Describe the features of range-partitionedand non-partitioned indexes for a minimize lock contention tables to support large DB2 tables usingrange-partitioned table Monitor application performance and lock multiple table spaces, including the roll-inImplement partitioned indexes to improve waits using GET SNAPSHOT commands and roll-out of data rangesperformance when you roll data out or roll and SQL queries Explain the difference between partitioneddata into a range-partitioned table Set the DB2 registry variables and non-partitioned indexes for aUse the DB2 Explain tools to determine if DB2_EVALUNCOMMITTED, range-partitioned tablepartition elimination is being used to improve DB2_SKIPINSERTED and Implement partitioned indexes to improveaccess performance to large DB2_SKIPDELETED to reduce lock performance when you roll data out or rollrange-partitioned tables contention based on application data into a range-partitioned tableTools and Utilities for Performance requirements Use the DB2 Explain tools to determine ifSelect appropriate RUNSTATS options to Utilize the currently committed form of partition elimination is being used tocollect Distribution Statistics or Column locking to reduce lock contention improve access performance to largeGroup Statistics to improve cardinality between read-only and update range-partitioned tablesestimates during SQL compilation applications Tools and Utilities for PerformanceUse the table and indexes statistics to plan Using Explain Tools Select appropriate RUNSTATS options tofor table and index reorganization using the Describe the advantages of using collect Distribution Statistics or ColumnREORG utility db2exfmt Group Statistics to improve cardinalitySet the policies and options for automation Create special tables used by Visual estimates during SQL compilationof catalog statistics collection Explain and db2exfmt Use the table and indexes statistics to planMonitor the activity associated with Identify how to set the Explain snapshot for table and index reorganization usingimplementing real-time statistics collection and Explain mode registers to capture the REORG utilityUse the db2batch utility to run SQL the information of interest Set the policies and options for automationworkloads and collect performance statistics Differentiate between the different of catalog statistics collectionthat can be used to benchmark database methods of viewing Explain information Monitor the activity associated withand application changes The DB2 Optimizer implementing real-time statistics collectionEvent Monitoring Choose the appropriate optimization Use the db2batch utility to run SQLImplement simple Workload Management class workloads and collect performancedefinitions to utilize the Workload Describe the catalog statistics and statistics that can be used to benchmarkManager-based event monitoring including database configuration options impact on database and application changesactivities, statistics and threshold violations access plan selection Event MonitoringEvaluate Event Monitor data using the Event Implement a statistical view to provide Implement simple Workload ManagementAnalyzer tool, the db2evmon text-based tool better cardinality estimates for complex definitions to utilize the Workloadthe db2evmonfmt application or using SQL queries Manager-based event monitoring includingqueries Enable the statement concentrator using activities, statistics and threshold violationsDefine a LOCKING Event Monitor to capture the STMT_CONC database manager Evaluate Event Monitor data using thedeadlocks, lock timeout or lock waits configuration parameter to reduce SQL Event Analyzer tool, the db2evmonConfigure a DB2 database to control compilation overhead for dynamic SQL text-based tool the db2evmonfmtinformation captured for deadlocks, lock statements application or using SQL queriestimeouts or extended lock waits Utilize the db2look utility to extract Define a LOCKING Event Monitor toImplement Event Monitors for units of work catalog statistics from existing tables to capture deadlocks, lock timeout or lockor lock-related events that store information mimic an existing database environment waitsin unformatted Event Monitor tables Create an optimizer profile Configure a DB2 database to controlCapture SQL section information using an Using Indexes for Performance information captured for deadlocks, lockACTIVITIES Event Monitor and use the data Describe the Block Indexing capability for timeouts or extended lock waits

Page 15: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

to generate Explain reports MDC tables Implement Event Monitors for units of workMonitor index usage using the or lock-related events that storeMON_GET_INDEX function and db2pd information in unformatted Event Monitor

line commands tablesList the tools for monitoring database and Explain how multiple indexes can be Capture SQL section information using anapplication activity combined using Index ORing and ACTIVITIES Event Monitor and use theUse GET SNAPSHOT commands to Dynamic Bitmap Index ANDing data to generate Explain reportsproduce reports for analysis of database Use the Design Advisor to predictperformance performance gains from adding newUtilize the administrative routines and views indexes lineprovided by to DB2 to simplify application Complex SQL Performance Describe the basic principles in monitoringaccess to database performance statistics Describe the differences between Nested a DB2 databaseUse the db2pd to perform performance Loop, Merge Scan and Hash Joins Describe processing for reading databaseanalysis or problem determination for a DB2 Plan the implementation of Refresh pages into buffer poolsdatabase Immediate or Refresh Deferred Select appropriate values for table spaceUtilize the enhanced table functions with Materialized Query Tables to improve page size and extent size to supportSQL in reporting and monitoring of the query performance application performance requirementsdatabase system, data objects, and the Utilize the Design Advisor to analyze SQL Describe memory heap usage for instancepackage cache to help you quickly identify statements and recommend new MQTs memory, database shared memory andissues that might be causing problems Describe the features of range-partitioned application memoryConfigure the DB2 Database configuration tables to support large DB2 tables using Describe how STMM can be used tooptions that control the collection of request, multiple table spaces, including the roll-in automatically manage database sharedactivity and object level metrics on the entire and roll-out of data ranges memory heapsdatabase Explain the difference between List examples of application codingCompare the enhanced table functions with partitioned and non-partitioned indexes techniques that can effect performancethe snapshot monitoring facilities provided for a range-partitioned table Describe the advantages of using Visualby previous DB2 releases Implement partitioned indexes to improve ExplainDatabase Input/Output (I/O) Management performance when you roll data out or roll Describe the stages of the SQL compilerDescribe processing for writing database data into a range-partitioned table Describe the Indexing options that can bepages from buffer pools Use the DB2 Explain tools to determine if used to improve performance: Index OnlyMonitor database read and write activity partition elimination is being used to Access, Clustered Index, Reverse Scans,using GET SNAPSHOT commands or improve access performance to large Include Columns, and Index FreespaceAdministrative Routines and Views range-partitioned tables Review Explain reports for costly sortMonitor database logging activity and select Tools and Utilities for Performance operationsappropriate values for SOFTMAX and Select appropriate RUNSTATS options to Use the RUNSTATS utility to collect tableMINCOMMIT collect Distribution Statistics or Column and index statistics to enable the DB2Describe how scan sharing can reduce the Group Statistics to improve cardinality Optimizer to generate efficient accessI/O workload for accessing large tables estimates during SQL compilation strategiesExplain the alternate page cleaning Use the table and indexes statistics to Create Event Monitors to collectprocessing associated with the plan for table and index reorganization performance statistics at the database,DB2_USE_ALTERNATE_PAGE_CLEANIN using the REORG utility application or SQL statement levelG DB2 Registry variable Set the policies and options forTablespace and Table Design for automation of catalog statistics collectionPerformance Monitor the activity associated with lineDescribe the calculation of prefetch size implementing real-time statistics List the tools for monitoring database andwhen PREFETCHSIZE is set to collection application activityAUTOMATIC Use the db2batch utility to run SQL Use GET SNAPSHOT commands toList the advantages of selecting DMS or workloads and collect performance produce reports for analysis of databaseSMS table space management as well as statistics that can be used to benchmark performanceusing Automatic Storage-managed table database and application changes Utilize the administrative routines andspaces Event Monitoring views provided by to DB2 to simplifySet file system caching options for table Implement simple Workload application access to databasespaces to optimize table space performance Management definitions to utilize the performance statisticsDescribe the various row insertion Workload Manager-based event Use the db2pd to perform performancealgorithms for tables that are based on using monitoring including activities, statistics analysis or problem determination for athe APPEND option or defining a clustering and threshold violations DB2 databaseindex Evaluate Event Monitor data using the Utilize the enhanced table functions withPlan and implement Row Compression to Event Analyzer tool, the db2evmon SQL in reporting and monitoring of thereduce disk and memory requirements and text-based tool the db2evmonfmt database system, data objects, and theimprove application performance application or using SQL queries package cache to help you quickly identifyDescribe how DB2's Index compression Define a LOCKING Event Monitor to issues that might be causing problemsoption can reduce disk storage requirements capture deadlocks, lock timeout or lock Configure the DB2 Database configurationfor indexes waits options that control the collection ofExplain how DB2 can compress temporary Configure a DB2 database to control request, activity and object level metrics ondata to improve application performance information captured for deadlocks, lock the entire databaseUtilize the DB2 provided tools and functions timeouts or extended lock waits Compare the enhanced table functions

Page 16: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

to estimate compression results for Indexes Implement Event Monitors for units of with the snapshot monitoring facilitiesand data work or lock-related events that store provided by previous DB2 releasesDB2 memory management information in unformatted Event Monitor Database Input/Output (I/O) ManagementExplain the management of database tables Describe processing for writing databaseshared memory based on setting the Capture SQL section information using pages from buffer poolsconfiguration option DATABASE_MEMORY an ACTIVITIES Event Monitor and use Monitor database read and write activityto AUTOMATIC, COMPUTED or a specific the data to generate Explain reports using GET SNAPSHOT commands ornumber of pages Administrative Routines and ViewsSelect the mode for managing data sort Monitor database logging activity andmemory using SHEAPTHRES, SORTHEAP, line select appropriate values for SOFTMAXand SHEAPTHRES_SHR List the tools for monitoring database and and MINCOMMITMonitor DB2 memory usage using the application activity Describe how scan sharing can reduce thedb2mtrk commands and SQL statements Use GET SNAPSHOT commands to I/O workload for accessing large tablesUtilize the db2pd command for monitoring produce reports for analysis of database Explain the alternate page cleaningcurrent database memory usage performance processing associated with theAutomated Memory Management Utilize the administrative routines and DB2_USE_ALTERNATE_PAGE_CLEANIExplain the differences in STMM processing views provided by to DB2 to simplify NG DB2 Registry variablebased on the setting of application access to database Tablespace and Table Design forDATABASE_MEMORY performance statistics PerformancePlan and configure a database for self Use the db2pd to perform performance Describe the calculation of prefetch sizetuning memory analysis or problem determination for a when PREFETCHSIZE is set toActivate or deactivate STMM for selected DB2 database AUTOMATICmemory heaps Utilize the enhanced table functions with List the advantages of selecting DMS orDescribe the management of sortheap SQL in reporting and monitoring of the SMS table space management as well asmemory based on the configuration of database system, data objects, and the using Automatic Storage-managed tablesheapthres and sheapthres_shr package cache to help you quickly spacesExplain how DB2 can automatically increase identify issues that might be causing Set file system caching options for tableor decrease database memory for multiple problems spaces to optimize table spaceDB2 databases running on the same server Configure the DB2 Database performanceApplication Performance Considerations configuration options that control the Describe the various row insertionDescribe the performance advantages of collection of request, activity and object algorithms for tables that are based onusing stored procedures level metrics on the entire database using the APPEND option or defining aDesign applications to maximize record Compare the enhanced table functions clustering indexblocking, minimize sort operations and with the snapshot monitoring facilities Plan and implement Row Compression tominimize lock contention provided by previous DB2 releases reduce disk and memory requirements andMonitor application performance and lock Database Input/Output (I/O) Management improve application performancewaits using GET SNAPSHOT commands Describe processing for writing database Describe how DB2's Index compressionand SQL queries pages from buffer pools option can reduce disk storageSet the DB2 registry variables Monitor database read and write activity requirements for indexesDB2_EVALUNCOMMITTED, using GET SNAPSHOT commands or Explain how DB2 can compress temporaryDB2_SKIPINSERTED and Administrative Routines and Views data to improve application performanceDB2_SKIPDELETED to reduce lock Monitor database logging activity and Utilize the DB2 provided tools andcontention based on application select appropriate values for SOFTMAX functions to estimate compression resultsrequirements and MINCOMMIT for Indexes and dataUtilize the currently committed form of Describe how scan sharing can reduce DB2 memory managementlocking to reduce lock contention between the I/O workload for accessing large Explain the management of databaseread-only and update applications tables shared memory based on setting theUsing Explain Tools Explain the alternate page cleaning configuration optionDescribe the advantages of using db2exfmt processing associated with the DATABASE_MEMORY to AUTOMATIC,Create special tables used by Visual Explain DB2_USE_ALTERNATE_PAGE_CLEAN COMPUTED or a specific number ofand db2exfmt ING DB2 Registry variable pagesIdentify how to set the Explain snapshot and Tablespace and Table Design for Select the mode for managing data sortExplain mode registers to capture the Performance memory using SHEAPTHRES,information of interest Describe the calculation of prefetch size SORTHEAP, and SHEAPTHRES_SHRDifferentiate between the different methods when PREFETCHSIZE is set to Monitor DB2 memory usage using theof viewing Explain information AUTOMATIC db2mtrk commands and SQL statementsThe DB2 Optimizer List the advantages of selecting DMS or Utilize the db2pd command for monitoringChoose the appropriate optimization class SMS table space management as well as current database memory usageDescribe the catalog statistics and database using Automatic Storage-managed table Automated Memory Managementconfiguration options impact on access plan spaces Explain the differences in STMMselection Set file system caching options for table processing based on the setting ofImplement a statistical view to provide better spaces to optimize table space DATABASE_MEMORYcardinality estimates for complex queries performance Plan and configure a database for selfEnable the statement concentrator using the Describe the various row insertion tuning memorySTMT_CONC database manager algorithms for tables that are based on Activate or deactivate STMM for selectedconfiguration parameter to reduce SQL using the APPEND option or defining a memory heaps

Page 17: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

compilation overhead for dynamic SQL clustering index Describe the management of sortheapstatements Plan and implement Row Compression to memory based on the configuration ofUtilize the db2look utility to extract catalog reduce disk and memory requirements sheapthres and sheapthres_shrstatistics from existing tables to mimic an and improve application performance Explain how DB2 can automaticallyexisting database environment Describe how DB2's Index compression increase or decrease database memory forCreate an optimizer profile option can reduce disk storage multiple DB2 databases running on theUsing Indexes for Performance requirements for indexes same serverDescribe the Block Indexing capability for Explain how DB2 can compress Application Performance ConsiderationsMDC tables temporary data to improve application Describe the performance advantages ofMonitor index usage using the performance using stored proceduresMON_GET_INDEX function and db2pd Utilize the DB2 provided tools and Design applications to maximize recordcommands functions to estimate compression results blocking, minimize sort operations andExplain how multiple indexes can be for Indexes and data minimize lock contentioncombined using Index ORing and Dynamic DB2 memory management Monitor application performance and lockBitmap Index ANDing Explain the management of database waits using GET SNAPSHOT commandsUse the Design Advisor to predict shared memory based on setting the and SQL queriesperformance gains from adding new indexes configuration option Set the DB2 registry variablesComplex SQL Performance DATABASE_MEMORY to AUTOMATIC, DB2_EVALUNCOMMITTED,Describe the differences between Nested COMPUTED or a specific number of DB2_SKIPINSERTED andLoop, Merge Scan and Hash Joins pages DB2_SKIPDELETED to reduce lockPlan the implementation of Refresh Select the mode for managing data sort contention based on applicationImmediate or Refresh Deferred Materialized memory using SHEAPTHRES, requirementsQuery Tables to improve query performance SORTHEAP, and SHEAPTHRES_SHR Utilize the currently committed form ofUtilize the Design Advisor to analyze SQL Monitor DB2 memory usage using the locking to reduce lock contention betweenstatements and recommend new MQTs db2mtrk commands and SQL statements read-only and update applicationsDescribe the features of range-partitioned Utilize the db2pd command for Using Explain Toolstables to support large DB2 tables using monitoring current database memory Describe the advantages of usingmultiple table spaces, including the roll-in usage db2exfmtand roll-out of data ranges Automated Memory Management Create special tables used by VisualExplain the difference between partitioned Explain the differences in STMM Explain and db2exfmtand non-partitioned indexes for a processing based on the setting of Identify how to set the Explain snapshotrange-partitioned table DATABASE_MEMORY and Explain mode registers to capture theImplement partitioned indexes to improve Plan and configure a database for self information of interestperformance when you roll data out or roll tuning memory Differentiate between the differentdata into a range-partitioned table Activate or deactivate STMM for selected methods of viewing Explain informationUse the DB2 Explain tools to determine if memory heaps The DB2 Optimizerpartition elimination is being used to improve Describe the management of sortheap Choose the appropriate optimization classaccess performance to large memory based on the configuration of Describe the catalog statistics andrange-partitioned tables sheapthres and sheapthres_shr database configuration options impact onTools and Utilities for Performance Explain how DB2 can automatically access plan selectionSelect appropriate RUNSTATS options to increase or decrease database memory Implement a statistical view to providecollect Distribution Statistics or Column for multiple DB2 databases running on better cardinality estimates for complexGroup Statistics to improve cardinality the same server queriesestimates during SQL compilation Application Performance Considerations Enable the statement concentrator usingUse the table and indexes statistics to plan Describe the performance advantages of the STMT_CONC database managerfor table and index reorganization using the using stored procedures configuration parameter to reduce SQLREORG utility Design applications to maximize record compilation overhead for dynamic SQLSet the policies and options for automation blocking, minimize sort operations and statementsof catalog statistics collection minimize lock contention Utilize the db2look utility to extract catalogMonitor the activity associated with Monitor application performance and lock statistics from existing tables to mimic animplementing real-time statistics collection waits using GET SNAPSHOT commands existing database environmentUse the db2batch utility to run SQL and SQL queries Create an optimizer profileworkloads and collect performance statistics Set the DB2 registry variables Using Indexes for Performancethat can be used to benchmark database DB2_EVALUNCOMMITTED, Describe the Block Indexing capability forand application changes DB2_SKIPINSERTED and MDC tablesEvent Monitoring DB2_SKIPDELETED to reduce lock Monitor index usage using theImplement simple Workload Management contention based on application MON_GET_INDEX function and db2pddefinitions to utilize the Workload requirements commandsManager-based event monitoring including Utilize the currently committed form of Explain how multiple indexes can beactivities, statistics and threshold violations locking to reduce lock contention combined using Index ORing and DynamicEvaluate Event Monitor data using the Event between read-only and update Bitmap Index ANDingAnalyzer tool, the db2evmon text-based tool applications Use the Design Advisor to predictthe db2evmonfmt application or using SQL Using Explain Tools performance gains from adding newqueries Describe the advantages of using indexesDefine a LOCKING Event Monitor to capture db2exfmt Complex SQL Performancedeadlocks, lock timeout or lock waits Create special tables used by Visual Describe the differences between Nested

Page 18: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Configure a DB2 database to control Explain and db2exfmt Loop, Merge Scan and Hash Joinsinformation captured for deadlocks, lock Identify how to set the Explain snapshot Plan the implementation of Refreshtimeouts or extended lock waits and Explain mode registers to capture Immediate or Refresh DeferredImplement Event Monitors for units of work the information of interest Materialized Query Tables to improveor lock-related events that store information Differentiate between the different query performancein unformatted Event Monitor tables methods of viewing Explain information Utilize the Design Advisor to analyze SQLCapture SQL section information using an The DB2 Optimizer statements and recommend new MQTsACTIVITIES Event Monitor and use the data Choose the appropriate optimization Describe the features of range-partitionedto generate Explain reports class tables to support large DB2 tables using

Describe the catalog statistics and multiple table spaces, including the roll-indatabase configuration options impact on and roll-out of data ranges

line access plan selection Explain the difference between partitionedList the tools for monitoring database and Implement a statistical view to provide and non-partitioned indexes for aapplication activity better cardinality estimates for complex range-partitioned tableUse GET SNAPSHOT commands to queries Implement partitioned indexes to improveproduce reports for analysis of database Enable the statement concentrator using performance when you roll data out or rollperformance the STMT_CONC database manager data into a range-partitioned tableUtilize the administrative routines and views configuration parameter to reduce SQL Use the DB2 Explain tools to determine ifprovided by to DB2 to simplify application compilation overhead for dynamic SQL partition elimination is being used toaccess to database performance statistics statements improve access performance to largeUse the db2pd to perform performance Utilize the db2look utility to extract range-partitioned tablesanalysis or problem determination for a DB2 catalog statistics from existing tables to Tools and Utilities for Performancedatabase mimic an existing database environment Select appropriate RUNSTATS options toUtilize the enhanced table functions with Create an optimizer profile collect Distribution Statistics or ColumnSQL in reporting and monitoring of the Using Indexes for Performance Group Statistics to improve cardinalitydatabase system, data objects, and the Describe the Block Indexing capability for estimates during SQL compilationpackage cache to help you quickly identify MDC tables Use the table and indexes statistics to planissues that might be causing problems Monitor index usage using the for table and index reorganization usingConfigure the DB2 Database configuration MON_GET_INDEX function and db2pd the REORG utilityoptions that control the collection of request, commands Set the policies and options for automationactivity and object level metrics on the entire Explain how multiple indexes can be of catalog statistics collectiondatabase combined using Index ORing and Monitor the activity associated withCompare the enhanced table functions with Dynamic Bitmap Index ANDing implementing real-time statistics collectionthe snapshot monitoring facilities provided Use the Design Advisor to predict Use the db2batch utility to run SQLby previous DB2 releases performance gains from adding new workloads and collect performanceDatabase Input/Output (I/O) Management indexes statistics that can be used to benchmarkDescribe processing for writing database Complex SQL Performance database and application changespages from buffer pools Describe the differences between Nested Event MonitoringMonitor database read and write activity Loop, Merge Scan and Hash Joins Implement simple Workload Managementusing GET SNAPSHOT commands or Plan the implementation of Refresh definitions to utilize the WorkloadAdministrative Routines and Views Immediate or Refresh Deferred Manager-based event monitoring includingMonitor database logging activity and select Materialized Query Tables to improve activities, statistics and threshold violationsappropriate values for SOFTMAX and query performance Evaluate Event Monitor data using theMINCOMMIT Utilize the Design Advisor to analyze SQL Event Analyzer tool, the db2evmonDescribe how scan sharing can reduce the statements and recommend new MQTs text-based tool the db2evmonfmtI/O workload for accessing large tables Describe the features of range-partitioned application or using SQL queriesExplain the alternate page cleaning tables to support large DB2 tables using Define a LOCKING Event Monitor toprocessing associated with the multiple table spaces, including the roll-in capture deadlocks, lock timeout or lockDB2_USE_ALTERNATE_PAGE_CLEANIN and roll-out of data ranges waitsG DB2 Registry variable Explain the difference between Configure a DB2 database to controlTablespace and Table Design for partitioned and non-partitioned indexes information captured for deadlocks, lockPerformance for a range-partitioned table timeouts or extended lock waitsDescribe the calculation of prefetch size Implement partitioned indexes to improve Implement Event Monitors for units of workwhen PREFETCHSIZE is set to performance when you roll data out or roll or lock-related events that storeAUTOMATIC data into a range-partitioned table information in unformatted Event MonitorList the advantages of selecting DMS or Use the DB2 Explain tools to determine if tablesSMS table space management as well as partition elimination is being used to Capture SQL section information using anusing Automatic Storage-managed table improve access performance to large ACTIVITIES Event Monitor and use thespaces range-partitioned tables data to generate Explain reportsSet file system caching options for table Tools and Utilities for Performancespaces to optimize table space performance Select appropriate RUNSTATS options toDescribe the various row insertion collect Distribution Statistics or Column linealgorithms for tables that are based on using Group Statistics to improve cardinality List the tools for monitoring database andthe APPEND option or defining a clustering estimates during SQL compilation application activityindex Use the table and indexes statistics to Use GET SNAPSHOT commands toPlan and implement Row Compression to plan for table and index reorganization produce reports for analysis of database

Page 19: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

reduce disk and memory requirements and using the REORG utility performanceimprove application performance Set the policies and options for Utilize the administrative routines andDescribe how DB2's Index compression automation of catalog statistics collection views provided by to DB2 to simplifyoption can reduce disk storage requirements Monitor the activity associated with application access to databasefor indexes implementing real-time statistics performance statisticsExplain how DB2 can compress temporary collection Use the db2pd to perform performancedata to improve application performance Use the db2batch utility to run SQL analysis or problem determination for aUtilize the DB2 provided tools and functions workloads and collect performance DB2 databaseto estimate compression results for Indexes statistics that can be used to benchmark Utilize the enhanced table functions withand data database and application changes SQL in reporting and monitoring of theDB2 memory management Event Monitoring database system, data objects, and theExplain the management of database Implement simple Workload package cache to help you quickly identifyshared memory based on setting the Management definitions to utilize the issues that might be causing problemsconfiguration option DATABASE_MEMORY Workload Manager-based event Configure the DB2 Database configurationto AUTOMATIC, COMPUTED or a specific monitoring including activities, statistics options that control the collection ofnumber of pages and threshold violations request, activity and object level metrics onSelect the mode for managing data sort Evaluate Event Monitor data using the the entire databasememory using SHEAPTHRES, SORTHEAP, Event Analyzer tool, the db2evmon Compare the enhanced table functionsand SHEAPTHRES_SHR text-based tool the db2evmonfmt with the snapshot monitoring facilitiesMonitor DB2 memory usage using the application or using SQL queries provided by previous DB2 releasesdb2mtrk commands and SQL statements Define a LOCKING Event Monitor to Database Input/Output (I/O) ManagementUtilize the db2pd command for monitoring capture deadlocks, lock timeout or lock Describe processing for writing databasecurrent database memory usage waits pages from buffer poolsAutomated Memory Management Configure a DB2 database to control Monitor database read and write activityExplain the differences in STMM processing information captured for deadlocks, lock using GET SNAPSHOT commands orbased on the setting of timeouts or extended lock waits Administrative Routines and ViewsDATABASE_MEMORY Implement Event Monitors for units of Monitor database logging activity andPlan and configure a database for self work or lock-related events that store select appropriate values for SOFTMAXtuning memory information in unformatted Event Monitor and MINCOMMITActivate or deactivate STMM for selected tables Describe how scan sharing can reduce thememory heaps Capture SQL section information using I/O workload for accessing large tablesDescribe the management of sortheap an ACTIVITIES Event Monitor and use Explain the alternate page cleaningmemory based on the configuration of the data to generate Explain reports processing associated with thesheapthres and sheapthres_shr DB2_USE_ALTERNATE_PAGE_CLEANIExplain how DB2 can automatically increase NG DB2 Registry variableor decrease database memory for multiple line Tablespace and Table Design forDB2 databases running on the same server List the tools for monitoring database and PerformanceApplication Performance Considerations application activity Describe the calculation of prefetch sizeDescribe the performance advantages of Use GET SNAPSHOT commands to when PREFETCHSIZE is set tousing stored procedures produce reports for analysis of database AUTOMATICDesign applications to maximize record performance List the advantages of selecting DMS orblocking, minimize sort operations and Utilize the administrative routines and SMS table space management as well asminimize lock contention views provided by to DB2 to simplify using Automatic Storage-managed tableMonitor application performance and lock application access to database spaceswaits using GET SNAPSHOT commands performance statistics Set file system caching options for tableand SQL queries Use the db2pd to perform performance spaces to optimize table spaceSet the DB2 registry variables analysis or problem determination for a performanceDB2_EVALUNCOMMITTED, DB2 database Describe the various row insertionDB2_SKIPINSERTED and Utilize the enhanced table functions with algorithms for tables that are based onDB2_SKIPDELETED to reduce lock SQL in reporting and monitoring of the using the APPEND option or defining acontention based on application database system, data objects, and the clustering indexrequirements package cache to help you quickly Plan and implement Row Compression toUtilize the currently committed form of identify issues that might be causing reduce disk and memory requirements andlocking to reduce lock contention between problems improve application performanceread-only and update applications Configure the DB2 Database Describe how DB2's Index compressionUsing Explain Tools configuration options that control the option can reduce disk storageDescribe the advantages of using db2exfmt collection of request, activity and object requirements for indexesCreate special tables used by Visual Explain level metrics on the entire database Explain how DB2 can compress temporaryand db2exfmt Compare the enhanced table functions data to improve application performanceIdentify how to set the Explain snapshot and with the snapshot monitoring facilities Utilize the DB2 provided tools andExplain mode registers to capture the provided by previous DB2 releases functions to estimate compression resultsinformation of interest Database Input/Output (I/O) Management for Indexes and dataDifferentiate between the different methods Describe processing for writing database DB2 memory managementof viewing Explain information pages from buffer pools Explain the management of databaseThe DB2 Optimizer Monitor database read and write activity shared memory based on setting theChoose the appropriate optimization class using GET SNAPSHOT commands or configuration option

Page 20: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Describe the catalog statistics and database Administrative Routines and Views DATABASE_MEMORY to AUTOMATIC,configuration options impact on access plan Monitor database logging activity and COMPUTED or a specific number ofselection select appropriate values for SOFTMAX pagesImplement a statistical view to provide better and MINCOMMIT Select the mode for managing data sortcardinality estimates for complex queries Describe how scan sharing can reduce memory using SHEAPTHRES,Enable the statement concentrator using the the I/O workload for accessing large SORTHEAP, and SHEAPTHRES_SHRSTMT_CONC database manager tables Monitor DB2 memory usage using theconfiguration parameter to reduce SQL Explain the alternate page cleaning db2mtrk commands and SQL statementscompilation overhead for dynamic SQL processing associated with the Utilize the db2pd command for monitoringstatements DB2_USE_ALTERNATE_PAGE_CLEAN current database memory usageUtilize the db2look utility to extract catalog ING DB2 Registry variable Automated Memory Managementstatistics from existing tables to mimic an Tablespace and Table Design for Explain the differences in STMMexisting database environment Performance processing based on the setting ofCreate an optimizer profile Describe the calculation of prefetch size DATABASE_MEMORYUsing Indexes for Performance when PREFETCHSIZE is set to Plan and configure a database for selfDescribe the Block Indexing capability for AUTOMATIC tuning memoryMDC tables List the advantages of selecting DMS or Activate or deactivate STMM for selectedMonitor index usage using the SMS table space management as well as memory heapsMON_GET_INDEX function and db2pd using Automatic Storage-managed table Describe the management of sortheapcommands spaces memory based on the configuration ofExplain how multiple indexes can be Set file system caching options for table sheapthres and sheapthres_shrcombined using Index ORing and Dynamic spaces to optimize table space Explain how DB2 can automaticallyBitmap Index ANDing performance increase or decrease database memory forUse the Design Advisor to predict Describe the various row insertion multiple DB2 databases running on theperformance gains from adding new indexes algorithms for tables that are based on same serverComplex SQL Performance using the APPEND option or defining a Application Performance ConsiderationsDescribe the differences between Nested clustering index Describe the performance advantages ofLoop, Merge Scan and Hash Joins Plan and implement Row Compression to using stored proceduresPlan the implementation of Refresh reduce disk and memory requirements Design applications to maximize recordImmediate or Refresh Deferred Materialized and improve application performance blocking, minimize sort operations andQuery Tables to improve query performance Describe how DB2's Index compression minimize lock contentionUtilize the Design Advisor to analyze SQL option can reduce disk storage Monitor application performance and lockstatements and recommend new MQTs requirements for indexes waits using GET SNAPSHOT commandsDescribe the features of range-partitioned Explain how DB2 can compress and SQL queriestables to support large DB2 tables using temporary data to improve application Set the DB2 registry variablesmultiple table spaces, including the roll-in performance DB2_EVALUNCOMMITTED,and roll-out of data ranges Utilize the DB2 provided tools and DB2_SKIPINSERTED andExplain the difference between partitioned functions to estimate compression results DB2_SKIPDELETED to reduce lockand non-partitioned indexes for a for Indexes and data contention based on applicationrange-partitioned table DB2 memory management requirementsImplement partitioned indexes to improve Explain the management of database Utilize the currently committed form ofperformance when you roll data out or roll shared memory based on setting the locking to reduce lock contention betweendata into a range-partitioned table configuration option read-only and update applicationsUse the DB2 Explain tools to determine if DATABASE_MEMORY to AUTOMATIC, Using Explain Toolspartition elimination is being used to improve COMPUTED or a specific number of Describe the advantages of usingaccess performance to large pages db2exfmtrange-partitioned tables Select the mode for managing data sort Create special tables used by VisualTools and Utilities for Performance memory using SHEAPTHRES, Explain and db2exfmtSelect appropriate RUNSTATS options to SORTHEAP, and SHEAPTHRES_SHR Identify how to set the Explain snapshotcollect Distribution Statistics or Column Monitor DB2 memory usage using the and Explain mode registers to capture theGroup Statistics to improve cardinality db2mtrk commands and SQL statements information of interestestimates during SQL compilation Utilize the db2pd command for Differentiate between the differentUse the table and indexes statistics to plan monitoring current database memory methods of viewing Explain informationfor table and index reorganization using the usage The DB2 OptimizerREORG utility Automated Memory Management Choose the appropriate optimization classSet the policies and options for automation Explain the differences in STMM Describe the catalog statistics andof catalog statistics collection processing based on the setting of database configuration options impact onMonitor the activity associated with DATABASE_MEMORY access plan selectionimplementing real-time statistics collection Plan and configure a database for self Implement a statistical view to provideUse the db2batch utility to run SQL tuning memory better cardinality estimates for complexworkloads and collect performance statistics Activate or deactivate STMM for selected queriesthat can be used to benchmark database memory heaps Enable the statement concentrator usingand application changes Describe the management of sortheap the STMT_CONC database managerEvent Monitoring memory based on the configuration of configuration parameter to reduce SQLImplement simple Workload Management sheapthres and sheapthres_shr compilation overhead for dynamic SQLdefinitions to utilize the Workload Explain how DB2 can automatically statements

Page 21: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Manager-based event monitoring including increase or decrease database memory Utilize the db2look utility to extract catalogactivities, statistics and threshold violations for multiple DB2 databases running on statistics from existing tables to mimic anEvaluate Event Monitor data using the Event the same server existing database environmentAnalyzer tool, the db2evmon text-based tool Application Performance Considerations Create an optimizer profilethe db2evmonfmt application or using SQL Describe the performance advantages of Using Indexes for Performancequeries using stored procedures Describe the Block Indexing capability forDefine a LOCKING Event Monitor to capture Design applications to maximize record MDC tablesdeadlocks, lock timeout or lock waits blocking, minimize sort operations and Monitor index usage using theConfigure a DB2 database to control minimize lock contention MON_GET_INDEX function and db2pdinformation captured for deadlocks, lock Monitor application performance and lock commandstimeouts or extended lock waits waits using GET SNAPSHOT commands Explain how multiple indexes can beImplement Event Monitors for units of work and SQL queries combined using Index ORing and Dynamicor lock-related events that store information Set the DB2 registry variables Bitmap Index ANDingin unformatted Event Monitor tables DB2_EVALUNCOMMITTED, Use the Design Advisor to predictCapture SQL section information using an DB2_SKIPINSERTED and performance gains from adding newACTIVITIES Event Monitor and use the data DB2_SKIPDELETED to reduce lock indexesto generate Explain reports contention based on application Complex SQL Performance

requirements Describe the differences between NestedUtilize the currently committed form of Loop, Merge Scan and Hash Joins

line locking to reduce lock contention Plan the implementation of RefreshList the tools for monitoring database and between read-only and update Immediate or Refresh Deferredapplication activity applications Materialized Query Tables to improveUse GET SNAPSHOT commands to Using Explain Tools query performanceproduce reports for analysis of database Describe the advantages of using Utilize the Design Advisor to analyze SQLperformance db2exfmt statements and recommend new MQTsUtilize the administrative routines and views Create special tables used by Visual Describe the features of range-partitionedprovided by to DB2 to simplify application Explain and db2exfmt tables to support large DB2 tables usingaccess to database performance statistics Identify how to set the Explain snapshot multiple table spaces, including the roll-inUse the db2pd to perform performance and Explain mode registers to capture and roll-out of data rangesanalysis or problem determination for a DB2 the information of interest Explain the difference between partitioneddatabase Differentiate between the different and non-partitioned indexes for aUtilize the enhanced table functions with methods of viewing Explain information range-partitioned tableSQL in reporting and monitoring of the The DB2 Optimizer Implement partitioned indexes to improvedatabase system, data objects, and the Choose the appropriate optimization performance when you roll data out or rollpackage cache to help you quickly identify class data into a range-partitioned tableissues that might be causing problems Describe the catalog statistics and Use the DB2 Explain tools to determine ifConfigure the DB2 Database configuration database configuration options impact on partition elimination is being used tooptions that control the collection of request, access plan selection improve access performance to largeactivity and object level metrics on the entire Implement a statistical view to provide range-partitioned tablesdatabase better cardinality estimates for complex Tools and Utilities for PerformanceCompare the enhanced table functions with queries Select appropriate RUNSTATS options tothe snapshot monitoring facilities provided Enable the statement concentrator using collect Distribution Statistics or Columnby previous DB2 releases the STMT_CONC database manager Group Statistics to improve cardinalityDatabase Input/Output (I/O) Management configuration parameter to reduce SQL estimates during SQL compilationDescribe processing for writing database compilation overhead for dynamic SQL Use the table and indexes statistics to planpages from buffer pools statements for table and index reorganization usingMonitor database read and write activity Utilize the db2look utility to extract the REORG utilityusing GET SNAPSHOT commands or catalog statistics from existing tables to Set the policies and options for automationAdministrative Routines and Views mimic an existing database environment of catalog statistics collectionMonitor database logging activity and select Create an optimizer profile Monitor the activity associated withappropriate values for SOFTMAX and Using Indexes for Performance implementing real-time statistics collectionMINCOMMIT Describe the Block Indexing capability for Use the db2batch utility to run SQLDescribe how scan sharing can reduce the MDC tables workloads and collect performanceI/O workload for accessing large tables Monitor index usage using the statistics that can be used to benchmarkExplain the alternate page cleaning MON_GET_INDEX function and db2pd database and application changesprocessing associated with the commands Event MonitoringDB2_USE_ALTERNATE_PAGE_CLEANIN Explain how multiple indexes can be Implement simple Workload ManagementG DB2 Registry variable combined using Index ORing and definitions to utilize the WorkloadTablespace and Table Design for Dynamic Bitmap Index ANDing Manager-based event monitoring includingPerformance Use the Design Advisor to predict activities, statistics and threshold violationsDescribe the calculation of prefetch size performance gains from adding new Evaluate Event Monitor data using thewhen PREFETCHSIZE is set to indexes Event Analyzer tool, the db2evmonAUTOMATIC Complex SQL Performance text-based tool the db2evmonfmtList the advantages of selecting DMS or Describe the differences between Nested application or using SQL queriesSMS table space management as well as Loop, Merge Scan and Hash Joins Define a LOCKING Event Monitor tousing Automatic Storage-managed table Plan the implementation of Refresh capture deadlocks, lock timeout or lock

Page 22: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

spaces Immediate or Refresh Deferred waitsSet file system caching options for table Materialized Query Tables to improve Configure a DB2 database to controlspaces to optimize table space performance query performance information captured for deadlocks, lockDescribe the various row insertion Utilize the Design Advisor to analyze SQL timeouts or extended lock waitsalgorithms for tables that are based on using statements and recommend new MQTs Implement Event Monitors for units of workthe APPEND option or defining a clustering Describe the features of range-partitioned or lock-related events that storeindex tables to support large DB2 tables using information in unformatted Event MonitorPlan and implement Row Compression to multiple table spaces, including the roll-in tablesreduce disk and memory requirements and and roll-out of data ranges Capture SQL section information using animprove application performance Explain the difference between ACTIVITIES Event Monitor and use theDescribe how DB2's Index compression partitioned and non-partitioned indexes data to generate Explain reportsoption can reduce disk storage requirements for a range-partitioned tablefor indexes Implement partitioned indexes to improveExplain how DB2 can compress temporary performance when you roll data out or roll linedata to improve application performance data into a range-partitioned table List the tools for monitoring database andUtilize the DB2 provided tools and functions Use the DB2 Explain tools to determine if application activityto estimate compression results for Indexes partition elimination is being used to Use GET SNAPSHOT commands toand data improve access performance to large produce reports for analysis of databaseDB2 memory management range-partitioned tables performanceExplain the management of database Tools and Utilities for Performance Utilize the administrative routines andshared memory based on setting the Select appropriate RUNSTATS options to views provided by to DB2 to simplifyconfiguration option DATABASE_MEMORY collect Distribution Statistics or Column application access to databaseto AUTOMATIC, COMPUTED or a specific Group Statistics to improve cardinality performance statisticsnumber of pages estimates during SQL compilation Use the db2pd to perform performanceSelect the mode for managing data sort Use the table and indexes statistics to analysis or problem determination for amemory using SHEAPTHRES, SORTHEAP, plan for table and index reorganization DB2 databaseand SHEAPTHRES_SHR using the REORG utility Utilize the enhanced table functions withMonitor DB2 memory usage using the Set the policies and options for SQL in reporting and monitoring of thedb2mtrk commands and SQL statements automation of catalog statistics collection database system, data objects, and theUtilize the db2pd command for monitoring Monitor the activity associated with package cache to help you quickly identifycurrent database memory usage implementing real-time statistics issues that might be causing problemsAutomated Memory Management collection Configure the DB2 Database configurationExplain the differences in STMM processing Use the db2batch utility to run SQL options that control the collection ofbased on the setting of workloads and collect performance request, activity and object level metrics onDATABASE_MEMORY statistics that can be used to benchmark the entire databasePlan and configure a database for self database and application changes Compare the enhanced table functionstuning memory Event Monitoring with the snapshot monitoring facilitiesActivate or deactivate STMM for selected Implement simple Workload provided by previous DB2 releasesmemory heaps Management definitions to utilize the Database Input/Output (I/O) ManagementDescribe the management of sortheap Workload Manager-based event Describe processing for writing databasememory based on the configuration of monitoring including activities, statistics pages from buffer poolssheapthres and sheapthres_shr and threshold violations Monitor database read and write activityExplain how DB2 can automatically increase Evaluate Event Monitor data using the using GET SNAPSHOT commands oror decrease database memory for multiple Event Analyzer tool, the db2evmon Administrative Routines and ViewsDB2 databases running on the same server text-based tool the db2evmonfmt Monitor database logging activity andApplication Performance Considerations application or using SQL queries select appropriate values for SOFTMAXDescribe the performance advantages of Define a LOCKING Event Monitor to and MINCOMMITusing stored procedures capture deadlocks, lock timeout or lock Describe how scan sharing can reduce theDesign applications to maximize record waits I/O workload for accessing large tablesblocking, minimize sort operations and Configure a DB2 database to control Explain the alternate page cleaningminimize lock contention information captured for deadlocks, lock processing associated with theMonitor application performance and lock timeouts or extended lock waits DB2_USE_ALTERNATE_PAGE_CLEANIwaits using GET SNAPSHOT commands Implement Event Monitors for units of NG DB2 Registry variableand SQL queries work or lock-related events that store Tablespace and Table Design forSet the DB2 registry variables information in unformatted Event Monitor PerformanceDB2_EVALUNCOMMITTED, tables Describe the calculation of prefetch sizeDB2_SKIPINSERTED and Capture SQL section information using when PREFETCHSIZE is set toDB2_SKIPDELETED to reduce lock an ACTIVITIES Event Monitor and use AUTOMATICcontention based on application the data to generate Explain reports List the advantages of selecting DMS orrequirements SMS table space management as well asUtilize the currently committed form of using Automatic Storage-managed tablelocking to reduce lock contention between line spacesread-only and update applications List the tools for monitoring database and Set file system caching options for tableUsing Explain Tools application activity spaces to optimize table spaceDescribe the advantages of using db2exfmt Use GET SNAPSHOT commands to performanceCreate special tables used by Visual Explain produce reports for analysis of database Describe the various row insertion

Page 23: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

and db2exfmt performance algorithms for tables that are based onIdentify how to set the Explain snapshot and Utilize the administrative routines and using the APPEND option or defining aExplain mode registers to capture the views provided by to DB2 to simplify clustering indexinformation of interest application access to database Plan and implement Row Compression toDifferentiate between the different methods performance statistics reduce disk and memory requirements andof viewing Explain information Use the db2pd to perform performance improve application performanceThe DB2 Optimizer analysis or problem determination for a Describe how DB2's Index compressionChoose the appropriate optimization class DB2 database option can reduce disk storageDescribe the catalog statistics and database Utilize the enhanced table functions with requirements for indexesconfiguration options impact on access plan SQL in reporting and monitoring of the Explain how DB2 can compress temporaryselection database system, data objects, and the data to improve application performanceImplement a statistical view to provide better package cache to help you quickly Utilize the DB2 provided tools andcardinality estimates for complex queries identify issues that might be causing functions to estimate compression resultsEnable the statement concentrator using the problems for Indexes and dataSTMT_CONC database manager Configure the DB2 Database DB2 memory managementconfiguration parameter to reduce SQL configuration options that control the Explain the management of databasecompilation overhead for dynamic SQL collection of request, activity and object shared memory based on setting thestatements level metrics on the entire database configuration optionUtilize the db2look utility to extract catalog Compare the enhanced table functions DATABASE_MEMORY to AUTOMATIC,statistics from existing tables to mimic an with the snapshot monitoring facilities COMPUTED or a specific number ofexisting database environment provided by previous DB2 releases pagesCreate an optimizer profile Database Input/Output (I/O) Management Select the mode for managing data sortUsing Indexes for Performance Describe processing for writing database memory using SHEAPTHRES,Describe the Block Indexing capability for pages from buffer pools SORTHEAP, and SHEAPTHRES_SHRMDC tables Monitor database read and write activity Monitor DB2 memory usage using theMonitor index usage using the using GET SNAPSHOT commands or db2mtrk commands and SQL statementsMON_GET_INDEX function and db2pd Administrative Routines and Views Utilize the db2pd command for monitoringcommands Monitor database logging activity and current database memory usageExplain how multiple indexes can be select appropriate values for SOFTMAX Automated Memory Managementcombined using Index ORing and Dynamic and MINCOMMIT Explain the differences in STMMBitmap Index ANDing Describe how scan sharing can reduce processing based on the setting ofUse the Design Advisor to predict the I/O workload for accessing large DATABASE_MEMORYperformance gains from adding new indexes tables Plan and configure a database for selfComplex SQL Performance Explain the alternate page cleaning tuning memoryDescribe the differences between Nested processing associated with the Activate or deactivate STMM for selectedLoop, Merge Scan and Hash Joins DB2_USE_ALTERNATE_PAGE_CLEAN memory heapsPlan the implementation of Refresh ING DB2 Registry variable Describe the management of sortheapImmediate or Refresh Deferred Materialized Tablespace and Table Design for memory based on the configuration ofQuery Tables to improve query performance Performance sheapthres and sheapthres_shrUtilize the Design Advisor to analyze SQL Describe the calculation of prefetch size Explain how DB2 can automaticallystatements and recommend new MQTs when PREFETCHSIZE is set to increase or decrease database memory forDescribe the features of range-partitioned AUTOMATIC multiple DB2 databases running on thetables to support large DB2 tables using List the advantages of selecting DMS or same servermultiple table spaces, including the roll-in SMS table space management as well as Application Performance Considerationsand roll-out of data ranges using Automatic Storage-managed table Describe the performance advantages ofExplain the difference between partitioned spaces using stored proceduresand non-partitioned indexes for a Set file system caching options for table Design applications to maximize recordrange-partitioned table spaces to optimize table space blocking, minimize sort operations andImplement partitioned indexes to improve performance minimize lock contentionperformance when you roll data out or roll Describe the various row insertion Monitor application performance and lockdata into a range-partitioned table algorithms for tables that are based on waits using GET SNAPSHOT commandsUse the DB2 Explain tools to determine if using the APPEND option or defining a and SQL queriespartition elimination is being used to improve clustering index Set the DB2 registry variablesaccess performance to large Plan and implement Row Compression to DB2_EVALUNCOMMITTED,range-partitioned tables reduce disk and memory requirements DB2_SKIPINSERTED andTools and Utilities for Performance and improve application performance DB2_SKIPDELETED to reduce lockSelect appropriate RUNSTATS options to Describe how DB2's Index compression contention based on applicationcollect Distribution Statistics or Column option can reduce disk storage requirementsGroup Statistics to improve cardinality requirements for indexes Utilize the currently committed form ofestimates during SQL compilation Explain how DB2 can compress locking to reduce lock contention betweenUse the table and indexes statistics to plan temporary data to improve application read-only and update applicationsfor table and index reorganization using the performance Using Explain ToolsREORG utility Utilize the DB2 provided tools and Describe the advantages of usingSet the policies and options for automation functions to estimate compression results db2exfmtof catalog statistics collection for Indexes and data Create special tables used by VisualMonitor the activity associated with DB2 memory management Explain and db2exfmt

Page 24: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

implementing real-time statistics collection Explain the management of database Identify how to set the Explain snapshotUse the db2batch utility to run SQL shared memory based on setting the and Explain mode registers to capture theworkloads and collect performance statistics configuration option information of interestthat can be used to benchmark database DATABASE_MEMORY to AUTOMATIC, Differentiate between the differentand application changes COMPUTED or a specific number of methods of viewing Explain informationEvent Monitoring pages The DB2 OptimizerImplement simple Workload Management Select the mode for managing data sort Choose the appropriate optimization classdefinitions to utilize the Workload memory using SHEAPTHRES, Describe the catalog statistics andManager-based event monitoring including SORTHEAP, and SHEAPTHRES_SHR database configuration options impact onactivities, statistics and threshold violations Monitor DB2 memory usage using the access plan selectionEvaluate Event Monitor data using the Event db2mtrk commands and SQL statements Implement a statistical view to provideAnalyzer tool, the db2evmon text-based tool Utilize the db2pd command for better cardinality estimates for complexthe db2evmonfmt application or using SQL monitoring current database memory queriesqueries usage Enable the statement concentrator usingDefine a LOCKING Event Monitor to capture Automated Memory Management the STMT_CONC database managerdeadlocks, lock timeout or lock waits Explain the differences in STMM configuration parameter to reduce SQLConfigure a DB2 database to control processing based on the setting of compilation overhead for dynamic SQLinformation captured for deadlocks, lock DATABASE_MEMORY statementstimeouts or extended lock waits Plan and configure a database for self Utilize the db2look utility to extract catalogImplement Event Monitors for units of work tuning memory statistics from existing tables to mimic anor lock-related events that store information Activate or deactivate STMM for selected existing database environmentin unformatted Event Monitor tables memory heaps Create an optimizer profileCapture SQL section information using an Describe the management of sortheap Using Indexes for PerformanceACTIVITIES Event Monitor and use the data memory based on the configuration of Describe the Block Indexing capability forto generate Explain reports sheapthres and sheapthres_shr MDC tables

Explain how DB2 can automatically Monitor index usage using theincrease or decrease database memory MON_GET_INDEX function and db2pd

line for multiple DB2 databases running on commandsList the tools for monitoring database and the same server Explain how multiple indexes can beapplication activity Application Performance Considerations combined using Index ORing and DynamicUse GET SNAPSHOT commands to Describe the performance advantages of Bitmap Index ANDingproduce reports for analysis of database using stored procedures Use the Design Advisor to predictperformance Design applications to maximize record performance gains from adding newUtilize the administrative routines and views blocking, minimize sort operations and indexesprovided by to DB2 to simplify application minimize lock contention Complex SQL Performanceaccess to database performance statistics Monitor application performance and lock Describe the differences between NestedUse the db2pd to perform performance waits using GET SNAPSHOT commands Loop, Merge Scan and Hash Joinsanalysis or problem determination for a DB2 and SQL queries Plan the implementation of Refreshdatabase Set the DB2 registry variables Immediate or Refresh DeferredUtilize the enhanced table functions with DB2_EVALUNCOMMITTED, Materialized Query Tables to improveSQL in reporting and monitoring of the DB2_SKIPINSERTED and query performancedatabase system, data objects, and the DB2_SKIPDELETED to reduce lock Utilize the Design Advisor to analyze SQLpackage cache to help you quickly identify contention based on application statements and recommend new MQTsissues that might be causing problems requirements Describe the features of range-partitionedConfigure the DB2 Database configuration Utilize the currently committed form of tables to support large DB2 tables usingoptions that control the collection of request, locking to reduce lock contention multiple table spaces, including the roll-inactivity and object level metrics on the entire between read-only and update and roll-out of data rangesdatabase applications Explain the difference between partitionedCompare the enhanced table functions with Using Explain Tools and non-partitioned indexes for athe snapshot monitoring facilities provided Describe the advantages of using range-partitioned tableby previous DB2 releases db2exfmt Implement partitioned indexes to improveDatabase Input/Output (I/O) Management Create special tables used by Visual performance when you roll data out or rollDescribe processing for writing database Explain and db2exfmt data into a range-partitioned tablepages from buffer pools Identify how to set the Explain snapshot Use the DB2 Explain tools to determine ifMonitor database read and write activity and Explain mode registers to capture partition elimination is being used tousing GET SNAPSHOT commands or the information of interest improve access performance to largeAdministrative Routines and Views Differentiate between the different range-partitioned tablesMonitor database logging activity and select methods of viewing Explain information Tools and Utilities for Performanceappropriate values for SOFTMAX and The DB2 Optimizer Select appropriate RUNSTATS options toMINCOMMIT Choose the appropriate optimization collect Distribution Statistics or ColumnDescribe how scan sharing can reduce the class Group Statistics to improve cardinalityI/O workload for accessing large tables Describe the catalog statistics and estimates during SQL compilationExplain the alternate page cleaning database configuration options impact on Use the table and indexes statistics to planprocessing associated with the access plan selection for table and index reorganization usingDB2_USE_ALTERNATE_PAGE_CLEANIN Implement a statistical view to provide the REORG utilityG DB2 Registry variable better cardinality estimates for complex Set the policies and options for automation

Page 25: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Tablespace and Table Design for queries of catalog statistics collectionPerformance Enable the statement concentrator using Monitor the activity associated withDescribe the calculation of prefetch size the STMT_CONC database manager implementing real-time statistics collectionwhen PREFETCHSIZE is set to configuration parameter to reduce SQL Use the db2batch utility to run SQLAUTOMATIC compilation overhead for dynamic SQL workloads and collect performanceList the advantages of selecting DMS or statements statistics that can be used to benchmarkSMS table space management as well as Utilize the db2look utility to extract database and application changesusing Automatic Storage-managed table catalog statistics from existing tables to Event Monitoringspaces mimic an existing database environment Implement simple Workload ManagementSet file system caching options for table Create an optimizer profile definitions to utilize the Workloadspaces to optimize table space performance Using Indexes for Performance Manager-based event monitoring includingDescribe the various row insertion Describe the Block Indexing capability for activities, statistics and threshold violationsalgorithms for tables that are based on using MDC tables Evaluate Event Monitor data using thethe APPEND option or defining a clustering Monitor index usage using the Event Analyzer tool, the db2evmonindex MON_GET_INDEX function and db2pd text-based tool the db2evmonfmtPlan and implement Row Compression to commands application or using SQL queriesreduce disk and memory requirements and Explain how multiple indexes can be Define a LOCKING Event Monitor toimprove application performance combined using Index ORing and capture deadlocks, lock timeout or lockDescribe how DB2's Index compression Dynamic Bitmap Index ANDing waitsoption can reduce disk storage requirements Use the Design Advisor to predict Configure a DB2 database to controlfor indexes performance gains from adding new information captured for deadlocks, lockExplain how DB2 can compress temporary indexes timeouts or extended lock waitsdata to improve application performance Complex SQL Performance Implement Event Monitors for units of workUtilize the DB2 provided tools and functions Describe the differences between Nested or lock-related events that storeto estimate compression results for Indexes Loop, Merge Scan and Hash Joins information in unformatted Event Monitorand data Plan the implementation of Refresh tablesDB2 memory management Immediate or Refresh Deferred Capture SQL section information using anExplain the management of database Materialized Query Tables to improve ACTIVITIES Event Monitor and use theshared memory based on setting the query performance data to generate Explain reportsconfiguration option DATABASE_MEMORY Utilize the Design Advisor to analyze SQLto AUTOMATIC, COMPUTED or a specific statements and recommend new MQTsnumber of pages Describe the features of range-partitioned lineSelect the mode for managing data sort tables to support large DB2 tables using List the tools for monitoring database andmemory using SHEAPTHRES, SORTHEAP, multiple table spaces, including the roll-in application activityand SHEAPTHRES_SHR and roll-out of data ranges Use GET SNAPSHOT commands toMonitor DB2 memory usage using the Explain the difference between produce reports for analysis of databasedb2mtrk commands and SQL statements partitioned and non-partitioned indexes performanceUtilize the db2pd command for monitoring for a range-partitioned table Utilize the administrative routines andcurrent database memory usage Implement partitioned indexes to improve views provided by to DB2 to simplifyAutomated Memory Management performance when you roll data out or roll application access to databaseExplain the differences in STMM processing data into a range-partitioned table performance statisticsbased on the setting of Use the DB2 Explain tools to determine if Use the db2pd to perform performanceDATABASE_MEMORY partition elimination is being used to analysis or problem determination for aPlan and configure a database for self improve access performance to large DB2 databasetuning memory range-partitioned tables Utilize the enhanced table functions withActivate or deactivate STMM for selected Tools and Utilities for Performance SQL in reporting and monitoring of thememory heaps Select appropriate RUNSTATS options to database system, data objects, and theDescribe the management of sortheap collect Distribution Statistics or Column package cache to help you quickly identifymemory based on the configuration of Group Statistics to improve cardinality issues that might be causing problemssheapthres and sheapthres_shr estimates during SQL compilation Configure the DB2 Database configurationExplain how DB2 can automatically increase Use the table and indexes statistics to options that control the collection ofor decrease database memory for multiple plan for table and index reorganization request, activity and object level metrics onDB2 databases running on the same server using the REORG utility the entire databaseApplication Performance Considerations Set the policies and options for Compare the enhanced table functionsDescribe the performance advantages of automation of catalog statistics collection with the snapshot monitoring facilitiesusing stored procedures Monitor the activity associated with provided by previous DB2 releasesDesign applications to maximize record implementing real-time statistics Database Input/Output (I/O) Managementblocking, minimize sort operations and collection Describe processing for writing databaseminimize lock contention Use the db2batch utility to run SQL pages from buffer poolsMonitor application performance and lock workloads and collect performance Monitor database read and write activitywaits using GET SNAPSHOT commands statistics that can be used to benchmark using GET SNAPSHOT commands orand SQL queries database and application changes Administrative Routines and ViewsSet the DB2 registry variables Event Monitoring Monitor database logging activity andDB2_EVALUNCOMMITTED, Implement simple Workload select appropriate values for SOFTMAXDB2_SKIPINSERTED and Management definitions to utilize the and MINCOMMITDB2_SKIPDELETED to reduce lock Workload Manager-based event Describe how scan sharing can reduce the

Page 26: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

contention based on application monitoring including activities, statistics I/O workload for accessing large tablesrequirements and threshold violations Explain the alternate page cleaningUtilize the currently committed form of Evaluate Event Monitor data using the processing associated with thelocking to reduce lock contention between Event Analyzer tool, the db2evmon DB2_USE_ALTERNATE_PAGE_CLEANIread-only and update applications text-based tool the db2evmonfmt NG DB2 Registry variableUsing Explain Tools application or using SQL queries Tablespace and Table Design forDescribe the advantages of using db2exfmt Define a LOCKING Event Monitor to PerformanceCreate special tables used by Visual Explain capture deadlocks, lock timeout or lock Describe the calculation of prefetch sizeand db2exfmt waits when PREFETCHSIZE is set toIdentify how to set the Explain snapshot and Configure a DB2 database to control AUTOMATICExplain mode registers to capture the information captured for deadlocks, lock List the advantages of selecting DMS orinformation of interest timeouts or extended lock waits SMS table space management as well asDifferentiate between the different methods Implement Event Monitors for units of using Automatic Storage-managed tableof viewing Explain information work or lock-related events that store spacesThe DB2 Optimizer information in unformatted Event Monitor Set file system caching options for tableChoose the appropriate optimization class tables spaces to optimize table spaceDescribe the catalog statistics and database Capture SQL section information using performanceconfiguration options impact on access plan an ACTIVITIES Event Monitor and use Describe the various row insertionselection the data to generate Explain reports algorithms for tables that are based onImplement a statistical view to provide better using the APPEND option or defining acardinality estimates for complex queries clustering indexEnable the statement concentrator using the line Plan and implement Row Compression toSTMT_CONC database manager Describe the basic principles in reduce disk and memory requirements andconfiguration parameter to reduce SQL monitoring a DB2 database improve application performancecompilation overhead for dynamic SQL Describe processing for reading database Describe how DB2's Index compressionstatements pages into buffer pools option can reduce disk storageUtilize the db2look utility to extract catalog Select appropriate values for table space requirements for indexesstatistics from existing tables to mimic an page size and extent size to support Explain how DB2 can compress temporaryexisting database environment application performance requirements data to improve application performanceCreate an optimizer profile Describe memory heap usage for Utilize the DB2 provided tools andUsing Indexes for Performance instance memory, database shared functions to estimate compression resultsDescribe the Block Indexing capability for memory and application memory for Indexes and dataMDC tables Describe how STMM can be used to DB2 memory managementMonitor index usage using the automatically manage database shared Explain the management of databaseMON_GET_INDEX function and db2pd memory heaps shared memory based on setting thecommands List examples of application coding configuration optionExplain how multiple indexes can be techniques that can effect performance DATABASE_MEMORY to AUTOMATIC,combined using Index ORing and Dynamic Describe the advantages of using Visual COMPUTED or a specific number ofBitmap Index ANDing Explain pagesUse the Design Advisor to predict Describe the stages of the SQL compiler Select the mode for managing data sortperformance gains from adding new indexes Describe the Indexing options that can be memory using SHEAPTHRES,Complex SQL Performance used to improve performance: Index Only SORTHEAP, and SHEAPTHRES_SHRDescribe the differences between Nested Access, Clustered Index, Reverse Scans, Monitor DB2 memory usage using theLoop, Merge Scan and Hash Joins Include Columns, and Index Freespace db2mtrk commands and SQL statementsPlan the implementation of Refresh Review Explain reports for costly sort Utilize the db2pd command for monitoringImmediate or Refresh Deferred Materialized operations current database memory usageQuery Tables to improve query performance Use the RUNSTATS utility to collect table Automated Memory ManagementUtilize the Design Advisor to analyze SQL and index statistics to enable the DB2 Explain the differences in STMMstatements and recommend new MQTs Optimizer to generate efficient access processing based on the setting ofDescribe the features of range-partitioned strategies DATABASE_MEMORYtables to support large DB2 tables using Create Event Monitors to collect Plan and configure a database for selfmultiple table spaces, including the roll-in performance statistics at the database, tuning memoryand roll-out of data ranges application or SQL statement level Activate or deactivate STMM for selectedExplain the difference between partitioned memory heapsand non-partitioned indexes for a Describe the management of sortheaprange-partitioned table line memory based on the configuration ofImplement partitioned indexes to improve List the tools for monitoring database and sheapthres and sheapthres_shrperformance when you roll data out or roll application activity Explain how DB2 can automaticallydata into a range-partitioned table Use GET SNAPSHOT commands to increase or decrease database memory forUse the DB2 Explain tools to determine if produce reports for analysis of database multiple DB2 databases running on thepartition elimination is being used to improve performance same serveraccess performance to large Utilize the administrative routines and Application Performance Considerationsrange-partitioned tables views provided by to DB2 to simplify Describe the performance advantages ofTools and Utilities for Performance application access to database using stored proceduresSelect appropriate RUNSTATS options to performance statistics Design applications to maximize recordcollect Distribution Statistics or Column Use the db2pd to perform performance blocking, minimize sort operations and

Page 27: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Group Statistics to improve cardinality analysis or problem determination for a minimize lock contentionestimates during SQL compilation DB2 database Monitor application performance and lockUse the table and indexes statistics to plan Utilize the enhanced table functions with waits using GET SNAPSHOT commandsfor table and index reorganization using the SQL in reporting and monitoring of the and SQL queriesREORG utility database system, data objects, and the Set the DB2 registry variablesSet the policies and options for automation package cache to help you quickly DB2_EVALUNCOMMITTED,of catalog statistics collection identify issues that might be causing DB2_SKIPINSERTED andMonitor the activity associated with problems DB2_SKIPDELETED to reduce lockimplementing real-time statistics collection Configure the DB2 Database contention based on applicationUse the db2batch utility to run SQL configuration options that control the requirementsworkloads and collect performance statistics collection of request, activity and object Utilize the currently committed form ofthat can be used to benchmark database level metrics on the entire database locking to reduce lock contention betweenand application changes Compare the enhanced table functions read-only and update applicationsEvent Monitoring with the snapshot monitoring facilities Using Explain ToolsImplement simple Workload Management provided by previous DB2 releases Describe the advantages of usingdefinitions to utilize the Workload Database Input/Output (I/O) Management db2exfmtManager-based event monitoring including Describe processing for writing database Create special tables used by Visualactivities, statistics and threshold violations pages from buffer pools Explain and db2exfmtEvaluate Event Monitor data using the Event Monitor database read and write activity Identify how to set the Explain snapshotAnalyzer tool, the db2evmon text-based tool using GET SNAPSHOT commands or and Explain mode registers to capture thethe db2evmonfmt application or using SQL Administrative Routines and Views information of interestqueries Monitor database logging activity and Differentiate between the differentDefine a LOCKING Event Monitor to capture select appropriate values for SOFTMAX methods of viewing Explain informationdeadlocks, lock timeout or lock waits and MINCOMMIT The DB2 OptimizerConfigure a DB2 database to control Describe how scan sharing can reduce Choose the appropriate optimization classinformation captured for deadlocks, lock the I/O workload for accessing large Describe the catalog statistics andtimeouts or extended lock waits tables database configuration options impact onImplement Event Monitors for units of work Explain the alternate page cleaning access plan selectionor lock-related events that store information processing associated with the Implement a statistical view to providein unformatted Event Monitor tables DB2_USE_ALTERNATE_PAGE_CLEAN better cardinality estimates for complexCapture SQL section information using an ING DB2 Registry variable queriesACTIVITIES Event Monitor and use the data Tablespace and Table Design for Enable the statement concentrator usingto generate Explain reports Performance the STMT_CONC database manager

Describe the calculation of prefetch size configuration parameter to reduce SQLwhen PREFETCHSIZE is set to compilation overhead for dynamic SQL

line AUTOMATIC statementsDescribe the basic principles in monitoring a List the advantages of selecting DMS or Utilize the db2look utility to extract catalogDB2 database SMS table space management as well as statistics from existing tables to mimic anDescribe processing for reading database using Automatic Storage-managed table existing database environmentpages into buffer pools spaces Create an optimizer profileSelect appropriate values for table space Set file system caching options for table Using Indexes for Performancepage size and extent size to support spaces to optimize table space Describe the Block Indexing capability forapplication performance requirements performance MDC tablesDescribe memory heap usage for instance Describe the various row insertion Monitor index usage using thememory, database shared memory and algorithms for tables that are based on MON_GET_INDEX function and db2pdapplication memory using the APPEND option or defining a commandsDescribe how STMM can be used to clustering index Explain how multiple indexes can beautomatically manage database shared Plan and implement Row Compression to combined using Index ORing and Dynamicmemory heaps reduce disk and memory requirements Bitmap Index ANDingList examples of application coding and improve application performance Use the Design Advisor to predicttechniques that can effect performance Describe how DB2's Index compression performance gains from adding newDescribe the advantages of using Visual option can reduce disk storage indexesExplain requirements for indexes Complex SQL PerformanceDescribe the stages of the SQL compiler Explain how DB2 can compress Describe the differences between NestedDescribe the Indexing options that can be temporary data to improve application Loop, Merge Scan and Hash Joinsused to improve performance: Index Only performance Plan the implementation of RefreshAccess, Clustered Index, Reverse Scans, Utilize the DB2 provided tools and Immediate or Refresh DeferredInclude Columns, and Index Freespace functions to estimate compression results Materialized Query Tables to improveReview Explain reports for costly sort for Indexes and data query performanceoperations DB2 memory management Utilize the Design Advisor to analyze SQLUse the RUNSTATS utility to collect table Explain the management of database statements and recommend new MQTsand index statistics to enable the DB2 shared memory based on setting the Describe the features of range-partitionedOptimizer to generate efficient access configuration option tables to support large DB2 tables usingstrategies DATABASE_MEMORY to AUTOMATIC, multiple table spaces, including the roll-inCreate Event Monitors to collect COMPUTED or a specific number of and roll-out of data rangesperformance statistics at the database, pages Explain the difference between partitioned

Page 28: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

application or SQL statement level Select the mode for managing data sort and non-partitioned indexes for amemory using SHEAPTHRES, range-partitioned tableSORTHEAP, and SHEAPTHRES_SHR Implement partitioned indexes to improve

line Monitor DB2 memory usage using the performance when you roll data out or rollList the tools for monitoring database and db2mtrk commands and SQL statements data into a range-partitioned tableapplication activity Utilize the db2pd command for Use the DB2 Explain tools to determine ifUse GET SNAPSHOT commands to monitoring current database memory partition elimination is being used toproduce reports for analysis of database usage improve access performance to largeperformance Automated Memory Management range-partitioned tablesUtilize the administrative routines and views Explain the differences in STMM Tools and Utilities for Performanceprovided by to DB2 to simplify application processing based on the setting of Select appropriate RUNSTATS options toaccess to database performance statistics DATABASE_MEMORY collect Distribution Statistics or ColumnUse the db2pd to perform performance Plan and configure a database for self Group Statistics to improve cardinalityanalysis or problem determination for a DB2 tuning memory estimates during SQL compilationdatabase Activate or deactivate STMM for selected Use the table and indexes statistics to planUtilize the enhanced table functions with memory heaps for table and index reorganization usingSQL in reporting and monitoring of the Describe the management of sortheap the REORG utilitydatabase system, data objects, and the memory based on the configuration of Set the policies and options for automationpackage cache to help you quickly identify sheapthres and sheapthres_shr of catalog statistics collectionissues that might be causing problems Explain how DB2 can automatically Monitor the activity associated withConfigure the DB2 Database configuration increase or decrease database memory implementing real-time statistics collectionoptions that control the collection of request, for multiple DB2 databases running on Use the db2batch utility to run SQLactivity and object level metrics on the entire the same server workloads and collect performancedatabase Application Performance Considerations statistics that can be used to benchmarkCompare the enhanced table functions with Describe the performance advantages of database and application changesthe snapshot monitoring facilities provided using stored procedures Event Monitoringby previous DB2 releases Design applications to maximize record Implement simple Workload ManagementDatabase Input/Output (I/O) Management blocking, minimize sort operations and definitions to utilize the WorkloadDescribe processing for writing database minimize lock contention Manager-based event monitoring includingpages from buffer pools Monitor application performance and lock activities, statistics and threshold violationsMonitor database read and write activity waits using GET SNAPSHOT commands Evaluate Event Monitor data using theusing GET SNAPSHOT commands or and SQL queries Event Analyzer tool, the db2evmonAdministrative Routines and Views Set the DB2 registry variables text-based tool the db2evmonfmtMonitor database logging activity and select DB2_EVALUNCOMMITTED, application or using SQL queriesappropriate values for SOFTMAX and DB2_SKIPINSERTED and Define a LOCKING Event Monitor toMINCOMMIT DB2_SKIPDELETED to reduce lock capture deadlocks, lock timeout or lockDescribe how scan sharing can reduce the contention based on application waitsI/O workload for accessing large tables requirements Configure a DB2 database to controlExplain the alternate page cleaning Utilize the currently committed form of information captured for deadlocks, lockprocessing associated with the locking to reduce lock contention timeouts or extended lock waitsDB2_USE_ALTERNATE_PAGE_CLEANIN between read-only and update Implement Event Monitors for units of workG DB2 Registry variable applications or lock-related events that storeTablespace and Table Design for Using Explain Tools information in unformatted Event MonitorPerformance Describe the advantages of using tablesDescribe the calculation of prefetch size db2exfmt Capture SQL section information using anwhen PREFETCHSIZE is set to Create special tables used by Visual ACTIVITIES Event Monitor and use theAUTOMATIC Explain and db2exfmt data to generate Explain reportsList the advantages of selecting DMS or Identify how to set the Explain snapshotSMS table space management as well as and Explain mode registers to captureusing Automatic Storage-managed table the information of interest linespaces Differentiate between the different List the tools for monitoring database andSet file system caching options for table methods of viewing Explain information application activityspaces to optimize table space performance The DB2 Optimizer Use GET SNAPSHOT commands toDescribe the various row insertion Choose the appropriate optimization produce reports for analysis of databasealgorithms for tables that are based on using class performancethe APPEND option or defining a clustering Describe the catalog statistics and Utilize the administrative routines andindex database configuration options impact on views provided by to DB2 to simplifyPlan and implement Row Compression to access plan selection application access to databasereduce disk and memory requirements and Implement a statistical view to provide performance statisticsimprove application performance better cardinality estimates for complex Use the db2pd to perform performanceDescribe how DB2's Index compression queries analysis or problem determination for aoption can reduce disk storage requirements Enable the statement concentrator using DB2 databasefor indexes the STMT_CONC database manager Utilize the enhanced table functions withExplain how DB2 can compress temporary configuration parameter to reduce SQL SQL in reporting and monitoring of thedata to improve application performance compilation overhead for dynamic SQL database system, data objects, and theUtilize the DB2 provided tools and functions statements package cache to help you quickly identify

Page 29: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

to estimate compression results for Indexes Utilize the db2look utility to extract issues that might be causing problemsand data catalog statistics from existing tables to Configure the DB2 Database configurationDB2 memory management mimic an existing database environment options that control the collection ofExplain the management of database Create an optimizer profile request, activity and object level metrics onshared memory based on setting the Using Indexes for Performance the entire databaseconfiguration option DATABASE_MEMORY Describe the Block Indexing capability for Compare the enhanced table functionsto AUTOMATIC, COMPUTED or a specific MDC tables with the snapshot monitoring facilitiesnumber of pages Monitor index usage using the provided by previous DB2 releasesSelect the mode for managing data sort MON_GET_INDEX function and db2pd Database Input/Output (I/O) Managementmemory using SHEAPTHRES, SORTHEAP, commands Describe processing for writing databaseand SHEAPTHRES_SHR Explain how multiple indexes can be pages from buffer poolsMonitor DB2 memory usage using the combined using Index ORing and Monitor database read and write activitydb2mtrk commands and SQL statements Dynamic Bitmap Index ANDing using GET SNAPSHOT commands orUtilize the db2pd command for monitoring Use the Design Advisor to predict Administrative Routines and Viewscurrent database memory usage performance gains from adding new Monitor database logging activity andAutomated Memory Management indexes select appropriate values for SOFTMAXExplain the differences in STMM processing Complex SQL Performance and MINCOMMITbased on the setting of Describe the differences between Nested Describe how scan sharing can reduce theDATABASE_MEMORY Loop, Merge Scan and Hash Joins I/O workload for accessing large tablesPlan and configure a database for self Plan the implementation of Refresh Explain the alternate page cleaningtuning memory Immediate or Refresh Deferred processing associated with theActivate or deactivate STMM for selected Materialized Query Tables to improve DB2_USE_ALTERNATE_PAGE_CLEANImemory heaps query performance NG DB2 Registry variableDescribe the management of sortheap Utilize the Design Advisor to analyze SQL Tablespace and Table Design formemory based on the configuration of statements and recommend new MQTs Performancesheapthres and sheapthres_shr Describe the features of range-partitioned Describe the calculation of prefetch sizeExplain how DB2 can automatically increase tables to support large DB2 tables using when PREFETCHSIZE is set toor decrease database memory for multiple multiple table spaces, including the roll-in AUTOMATICDB2 databases running on the same server and roll-out of data ranges List the advantages of selecting DMS orApplication Performance Considerations Explain the difference between SMS table space management as well asDescribe the performance advantages of partitioned and non-partitioned indexes using Automatic Storage-managed tableusing stored procedures for a range-partitioned table spacesDesign applications to maximize record Implement partitioned indexes to improve Set file system caching options for tableblocking, minimize sort operations and performance when you roll data out or roll spaces to optimize table spaceminimize lock contention data into a range-partitioned table performanceMonitor application performance and lock Use the DB2 Explain tools to determine if Describe the various row insertionwaits using GET SNAPSHOT commands partition elimination is being used to algorithms for tables that are based onand SQL queries improve access performance to large using the APPEND option or defining aSet the DB2 registry variables range-partitioned tables clustering indexDB2_EVALUNCOMMITTED, Tools and Utilities for Performance Plan and implement Row Compression toDB2_SKIPINSERTED and Select appropriate RUNSTATS options to reduce disk and memory requirements andDB2_SKIPDELETED to reduce lock collect Distribution Statistics or Column improve application performancecontention based on application Group Statistics to improve cardinality Describe how DB2's Index compressionrequirements estimates during SQL compilation option can reduce disk storageUtilize the currently committed form of Use the table and indexes statistics to requirements for indexeslocking to reduce lock contention between plan for table and index reorganization Explain how DB2 can compress temporaryread-only and update applications using the REORG utility data to improve application performanceUsing Explain Tools Set the policies and options for Utilize the DB2 provided tools andDescribe the advantages of using db2exfmt automation of catalog statistics collection functions to estimate compression resultsCreate special tables used by Visual Explain Monitor the activity associated with for Indexes and dataand db2exfmt implementing real-time statistics DB2 memory managementIdentify how to set the Explain snapshot and collection Explain the management of databaseExplain mode registers to capture the Use the db2batch utility to run SQL shared memory based on setting theinformation of interest workloads and collect performance configuration optionDifferentiate between the different methods statistics that can be used to benchmark DATABASE_MEMORY to AUTOMATIC,of viewing Explain information database and application changes COMPUTED or a specific number ofThe DB2 Optimizer Event Monitoring pagesChoose the appropriate optimization class Implement simple Workload Select the mode for managing data sortDescribe the catalog statistics and database Management definitions to utilize the memory using SHEAPTHRES,configuration options impact on access plan Workload Manager-based event SORTHEAP, and SHEAPTHRES_SHRselection monitoring including activities, statistics Monitor DB2 memory usage using theImplement a statistical view to provide better and threshold violations db2mtrk commands and SQL statementscardinality estimates for complex queries Evaluate Event Monitor data using the Utilize the db2pd command for monitoringEnable the statement concentrator using the Event Analyzer tool, the db2evmon current database memory usageSTMT_CONC database manager text-based tool the db2evmonfmt Automated Memory Managementconfiguration parameter to reduce SQL application or using SQL queries Explain the differences in STMM

Page 30: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

compilation overhead for dynamic SQL Define a LOCKING Event Monitor to processing based on the setting ofstatements capture deadlocks, lock timeout or lock DATABASE_MEMORYUtilize the db2look utility to extract catalog waits Plan and configure a database for selfstatistics from existing tables to mimic an Configure a DB2 database to control tuning memoryexisting database environment information captured for deadlocks, lock Activate or deactivate STMM for selectedCreate an optimizer profile timeouts or extended lock waits memory heapsUsing Indexes for Performance Implement Event Monitors for units of Describe the management of sortheapDescribe the Block Indexing capability for work or lock-related events that store memory based on the configuration ofMDC tables information in unformatted Event Monitor sheapthres and sheapthres_shrMonitor index usage using the tables Explain how DB2 can automaticallyMON_GET_INDEX function and db2pd Capture SQL section information using increase or decrease database memory forcommands an ACTIVITIES Event Monitor and use multiple DB2 databases running on theExplain how multiple indexes can be the data to generate Explain reports same servercombined using Index ORing and Dynamic Application Performance ConsiderationsBitmap Index ANDing Describe the performance advantages ofUse the Design Advisor to predict line using stored proceduresperformance gains from adding new indexes List the tools for monitoring database and Design applications to maximize recordComplex SQL Performance application activity blocking, minimize sort operations andDescribe the differences between Nested Use GET SNAPSHOT commands to minimize lock contentionLoop, Merge Scan and Hash Joins produce reports for analysis of database Monitor application performance and lockPlan the implementation of Refresh performance waits using GET SNAPSHOT commandsImmediate or Refresh Deferred Materialized Utilize the administrative routines and and SQL queriesQuery Tables to improve query performance views provided by to DB2 to simplify Set the DB2 registry variablesUtilize the Design Advisor to analyze SQL application access to database DB2_EVALUNCOMMITTED,statements and recommend new MQTs performance statistics DB2_SKIPINSERTED andDescribe the features of range-partitioned Use the db2pd to perform performance DB2_SKIPDELETED to reduce locktables to support large DB2 tables using analysis or problem determination for a contention based on applicationmultiple table spaces, including the roll-in DB2 database requirementsand roll-out of data ranges Utilize the enhanced table functions with Utilize the currently committed form ofExplain the difference between partitioned SQL in reporting and monitoring of the locking to reduce lock contention betweenand non-partitioned indexes for a database system, data objects, and the read-only and update applicationsrange-partitioned table package cache to help you quickly Using Explain ToolsImplement partitioned indexes to improve identify issues that might be causing Describe the advantages of usingperformance when you roll data out or roll problems db2exfmtdata into a range-partitioned table Configure the DB2 Database Create special tables used by VisualUse the DB2 Explain tools to determine if configuration options that control the Explain and db2exfmtpartition elimination is being used to improve collection of request, activity and object Identify how to set the Explain snapshotaccess performance to large level metrics on the entire database and Explain mode registers to capture therange-partitioned tables Compare the enhanced table functions information of interestTools and Utilities for Performance with the snapshot monitoring facilities Differentiate between the differentSelect appropriate RUNSTATS options to provided by previous DB2 releases methods of viewing Explain informationcollect Distribution Statistics or Column Database Input/Output (I/O) Management The DB2 OptimizerGroup Statistics to improve cardinality Describe processing for writing database Choose the appropriate optimization classestimates during SQL compilation pages from buffer pools Describe the catalog statistics andUse the table and indexes statistics to plan Monitor database read and write activity database configuration options impact onfor table and index reorganization using the using GET SNAPSHOT commands or access plan selectionREORG utility Administrative Routines and Views Implement a statistical view to provideSet the policies and options for automation Monitor database logging activity and better cardinality estimates for complexof catalog statistics collection select appropriate values for SOFTMAX queriesMonitor the activity associated with and MINCOMMIT Enable the statement concentrator usingimplementing real-time statistics collection Describe how scan sharing can reduce the STMT_CONC database managerUse the db2batch utility to run SQL the I/O workload for accessing large configuration parameter to reduce SQLworkloads and collect performance statistics tables compilation overhead for dynamic SQLthat can be used to benchmark database Explain the alternate page cleaning statementsand application changes processing associated with the Utilize the db2look utility to extract catalogEvent Monitoring DB2_USE_ALTERNATE_PAGE_CLEAN statistics from existing tables to mimic anImplement simple Workload Management ING DB2 Registry variable existing database environmentdefinitions to utilize the Workload Tablespace and Table Design for Create an optimizer profileManager-based event monitoring including Performance Using Indexes for Performanceactivities, statistics and threshold violations Describe the calculation of prefetch size Describe the Block Indexing capability forEvaluate Event Monitor data using the Event when PREFETCHSIZE is set to MDC tablesAnalyzer tool, the db2evmon text-based tool AUTOMATIC Monitor index usage using thethe db2evmonfmt application or using SQL List the advantages of selecting DMS or MON_GET_INDEX function and db2pdqueries SMS table space management as well as commandsDefine a LOCKING Event Monitor to capture using Automatic Storage-managed table Explain how multiple indexes can bedeadlocks, lock timeout or lock waits spaces combined using Index ORing and Dynamic

Page 31: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Configure a DB2 database to control Set file system caching options for table Bitmap Index ANDinginformation captured for deadlocks, lock spaces to optimize table space Use the Design Advisor to predicttimeouts or extended lock waits performance performance gains from adding newImplement Event Monitors for units of work Describe the various row insertion indexesor lock-related events that store information algorithms for tables that are based on Complex SQL Performancein unformatted Event Monitor tables using the APPEND option or defining a Describe the differences between NestedCapture SQL section information using an clustering index Loop, Merge Scan and Hash JoinsACTIVITIES Event Monitor and use the data Plan and implement Row Compression to Plan the implementation of Refreshto generate Explain reports reduce disk and memory requirements Immediate or Refresh Deferred

and improve application performance Materialized Query Tables to improveDescribe how DB2's Index compression query performance

line option can reduce disk storage Utilize the Design Advisor to analyze SQLList the tools for monitoring database and requirements for indexes statements and recommend new MQTsapplication activity Explain how DB2 can compress Describe the features of range-partitionedUse GET SNAPSHOT commands to temporary data to improve application tables to support large DB2 tables usingproduce reports for analysis of database performance multiple table spaces, including the roll-inperformance Utilize the DB2 provided tools and and roll-out of data rangesUtilize the administrative routines and views functions to estimate compression results Explain the difference between partitionedprovided by to DB2 to simplify application for Indexes and data and non-partitioned indexes for aaccess to database performance statistics DB2 memory management range-partitioned tableUse the db2pd to perform performance Explain the management of database Implement partitioned indexes to improveanalysis or problem determination for a DB2 shared memory based on setting the performance when you roll data out or rolldatabase configuration option data into a range-partitioned tableUtilize the enhanced table functions with DATABASE_MEMORY to AUTOMATIC, Use the DB2 Explain tools to determine ifSQL in reporting and monitoring of the COMPUTED or a specific number of partition elimination is being used todatabase system, data objects, and the pages improve access performance to largepackage cache to help you quickly identify Select the mode for managing data sort range-partitioned tablesissues that might be causing problems memory using SHEAPTHRES, Tools and Utilities for PerformanceConfigure the DB2 Database configuration SORTHEAP, and SHEAPTHRES_SHR Select appropriate RUNSTATS options tooptions that control the collection of request, Monitor DB2 memory usage using the collect Distribution Statistics or Columnactivity and object level metrics on the entire db2mtrk commands and SQL statements Group Statistics to improve cardinalitydatabase Utilize the db2pd command for estimates during SQL compilationCompare the enhanced table functions with monitoring current database memory Use the table and indexes statistics to planthe snapshot monitoring facilities provided usage for table and index reorganization usingby previous DB2 releases Automated Memory Management the REORG utilityDatabase Input/Output (I/O) Management Explain the differences in STMM Set the policies and options for automationDescribe processing for writing database processing based on the setting of of catalog statistics collectionpages from buffer pools DATABASE_MEMORY Monitor the activity associated withMonitor database read and write activity Plan and configure a database for self implementing real-time statistics collectionusing GET SNAPSHOT commands or tuning memory Use the db2batch utility to run SQLAdministrative Routines and Views Activate or deactivate STMM for selected workloads and collect performanceMonitor database logging activity and select memory heaps statistics that can be used to benchmarkappropriate values for SOFTMAX and Describe the management of sortheap database and application changesMINCOMMIT memory based on the configuration of Event MonitoringDescribe how scan sharing can reduce the sheapthres and sheapthres_shr Implement simple Workload ManagementI/O workload for accessing large tables Explain how DB2 can automatically definitions to utilize the WorkloadExplain the alternate page cleaning increase or decrease database memory Manager-based event monitoring includingprocessing associated with the for multiple DB2 databases running on activities, statistics and threshold violationsDB2_USE_ALTERNATE_PAGE_CLEANIN the same server Evaluate Event Monitor data using theG DB2 Registry variable Application Performance Considerations Event Analyzer tool, the db2evmonTablespace and Table Design for Describe the performance advantages of text-based tool the db2evmonfmtPerformance using stored procedures application or using SQL queriesDescribe the calculation of prefetch size Design applications to maximize record Define a LOCKING Event Monitor towhen PREFETCHSIZE is set to blocking, minimize sort operations and capture deadlocks, lock timeout or lockAUTOMATIC minimize lock contention waitsList the advantages of selecting DMS or Monitor application performance and lock Configure a DB2 database to controlSMS table space management as well as waits using GET SNAPSHOT commands information captured for deadlocks, lockusing Automatic Storage-managed table and SQL queries timeouts or extended lock waitsspaces Set the DB2 registry variables Implement Event Monitors for units of workSet file system caching options for table DB2_EVALUNCOMMITTED, or lock-related events that storespaces to optimize table space performance DB2_SKIPINSERTED and information in unformatted Event MonitorDescribe the various row insertion DB2_SKIPDELETED to reduce lock tablesalgorithms for tables that are based on using contention based on application Capture SQL section information using anthe APPEND option or defining a clustering requirements ACTIVITIES Event Monitor and use theindex Utilize the currently committed form of data to generate Explain reportsPlan and implement Row Compression to locking to reduce lock contention

Page 32: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

reduce disk and memory requirements and between read-only and updateimprove application performance applications lineDescribe how DB2's Index compression Using Explain Tools List the tools for monitoring database andoption can reduce disk storage requirements Describe the advantages of using application activityfor indexes db2exfmt Use GET SNAPSHOT commands toExplain how DB2 can compress temporary Create special tables used by Visual produce reports for analysis of databasedata to improve application performance Explain and db2exfmt performanceUtilize the DB2 provided tools and functions Identify how to set the Explain snapshot Utilize the administrative routines andto estimate compression results for Indexes and Explain mode registers to capture views provided by to DB2 to simplifyand data the information of interest application access to databaseDB2 memory management Differentiate between the different performance statisticsExplain the management of database methods of viewing Explain information Use the db2pd to perform performanceshared memory based on setting the The DB2 Optimizer analysis or problem determination for aconfiguration option DATABASE_MEMORY Choose the appropriate optimization DB2 databaseto AUTOMATIC, COMPUTED or a specific class Utilize the enhanced table functions withnumber of pages Describe the catalog statistics and SQL in reporting and monitoring of theSelect the mode for managing data sort database configuration options impact on database system, data objects, and thememory using SHEAPTHRES, SORTHEAP, access plan selection package cache to help you quickly identifyand SHEAPTHRES_SHR Implement a statistical view to provide issues that might be causing problemsMonitor DB2 memory usage using the better cardinality estimates for complex Configure the DB2 Database configurationdb2mtrk commands and SQL statements queries options that control the collection ofUtilize the db2pd command for monitoring Enable the statement concentrator using request, activity and object level metrics oncurrent database memory usage the STMT_CONC database manager the entire databaseAutomated Memory Management configuration parameter to reduce SQL Compare the enhanced table functionsExplain the differences in STMM processing compilation overhead for dynamic SQL with the snapshot monitoring facilitiesbased on the setting of statements provided by previous DB2 releasesDATABASE_MEMORY Utilize the db2look utility to extract Database Input/Output (I/O) ManagementPlan and configure a database for self catalog statistics from existing tables to Describe processing for writing databasetuning memory mimic an existing database environment pages from buffer poolsActivate or deactivate STMM for selected Create an optimizer profile Monitor database read and write activitymemory heaps Using Indexes for Performance using GET SNAPSHOT commands orDescribe the management of sortheap Describe the Block Indexing capability for Administrative Routines and Viewsmemory based on the configuration of MDC tables Monitor database logging activity andsheapthres and sheapthres_shr Monitor index usage using the select appropriate values for SOFTMAXExplain how DB2 can automatically increase MON_GET_INDEX function and db2pd and MINCOMMITor decrease database memory for multiple commands Describe how scan sharing can reduce theDB2 databases running on the same server Explain how multiple indexes can be I/O workload for accessing large tablesApplication Performance Considerations combined using Index ORing and Explain the alternate page cleaningDescribe the performance advantages of Dynamic Bitmap Index ANDing processing associated with theusing stored procedures Use the Design Advisor to predict DB2_USE_ALTERNATE_PAGE_CLEANIDesign applications to maximize record performance gains from adding new NG DB2 Registry variableblocking, minimize sort operations and indexes Tablespace and Table Design forminimize lock contention Complex SQL Performance PerformanceMonitor application performance and lock Describe the differences between Nested Describe the calculation of prefetch sizewaits using GET SNAPSHOT commands Loop, Merge Scan and Hash Joins when PREFETCHSIZE is set toand SQL queries Plan the implementation of Refresh AUTOMATICSet the DB2 registry variables Immediate or Refresh Deferred List the advantages of selecting DMS orDB2_EVALUNCOMMITTED, Materialized Query Tables to improve SMS table space management as well asDB2_SKIPINSERTED and query performance using Automatic Storage-managed tableDB2_SKIPDELETED to reduce lock Utilize the Design Advisor to analyze SQL spacescontention based on application statements and recommend new MQTs Set file system caching options for tablerequirements Describe the features of range-partitioned spaces to optimize table spaceUtilize the currently committed form of tables to support large DB2 tables using performancelocking to reduce lock contention between multiple table spaces, including the roll-in Describe the various row insertionread-only and update applications and roll-out of data ranges algorithms for tables that are based onUsing Explain Tools Explain the difference between using the APPEND option or defining aDescribe the advantages of using db2exfmt partitioned and non-partitioned indexes clustering indexCreate special tables used by Visual Explain for a range-partitioned table Plan and implement Row Compression toand db2exfmt Implement partitioned indexes to improve reduce disk and memory requirements andIdentify how to set the Explain snapshot and performance when you roll data out or roll improve application performanceExplain mode registers to capture the data into a range-partitioned table Describe how DB2's Index compressioninformation of interest Use the DB2 Explain tools to determine if option can reduce disk storageDifferentiate between the different methods partition elimination is being used to requirements for indexesof viewing Explain information improve access performance to large Explain how DB2 can compress temporaryThe DB2 Optimizer range-partitioned tables data to improve application performanceChoose the appropriate optimization class Tools and Utilities for Performance Utilize the DB2 provided tools and

Page 33: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Describe the catalog statistics and database Select appropriate RUNSTATS options to functions to estimate compression resultsconfiguration options impact on access plan collect Distribution Statistics or Column for Indexes and dataselection Group Statistics to improve cardinality DB2 memory managementImplement a statistical view to provide better estimates during SQL compilation Explain the management of databasecardinality estimates for complex queries Use the table and indexes statistics to shared memory based on setting theEnable the statement concentrator using the plan for table and index reorganization configuration optionSTMT_CONC database manager using the REORG utility DATABASE_MEMORY to AUTOMATIC,configuration parameter to reduce SQL Set the policies and options for COMPUTED or a specific number ofcompilation overhead for dynamic SQL automation of catalog statistics collection pagesstatements Monitor the activity associated with Select the mode for managing data sortUtilize the db2look utility to extract catalog implementing real-time statistics memory using SHEAPTHRES,statistics from existing tables to mimic an collection SORTHEAP, and SHEAPTHRES_SHRexisting database environment Use the db2batch utility to run SQL Monitor DB2 memory usage using theCreate an optimizer profile workloads and collect performance db2mtrk commands and SQL statementsUsing Indexes for Performance statistics that can be used to benchmark Utilize the db2pd command for monitoringDescribe the Block Indexing capability for database and application changes current database memory usageMDC tables Event Monitoring Automated Memory ManagementMonitor index usage using the Implement simple Workload Explain the differences in STMMMON_GET_INDEX function and db2pd Management definitions to utilize the processing based on the setting ofcommands Workload Manager-based event DATABASE_MEMORYExplain how multiple indexes can be monitoring including activities, statistics Plan and configure a database for selfcombined using Index ORing and Dynamic and threshold violations tuning memoryBitmap Index ANDing Evaluate Event Monitor data using the Activate or deactivate STMM for selectedUse the Design Advisor to predict Event Analyzer tool, the db2evmon memory heapsperformance gains from adding new indexes text-based tool the db2evmonfmt Describe the management of sortheapComplex SQL Performance application or using SQL queries memory based on the configuration ofDescribe the differences between Nested Define a LOCKING Event Monitor to sheapthres and sheapthres_shrLoop, Merge Scan and Hash Joins capture deadlocks, lock timeout or lock Explain how DB2 can automaticallyPlan the implementation of Refresh waits increase or decrease database memory forImmediate or Refresh Deferred Materialized Configure a DB2 database to control multiple DB2 databases running on theQuery Tables to improve query performance information captured for deadlocks, lock same serverUtilize the Design Advisor to analyze SQL timeouts or extended lock waits Application Performance Considerationsstatements and recommend new MQTs Implement Event Monitors for units of Describe the performance advantages ofDescribe the features of range-partitioned work or lock-related events that store using stored procedurestables to support large DB2 tables using information in unformatted Event Monitor Design applications to maximize recordmultiple table spaces, including the roll-in tables blocking, minimize sort operations andand roll-out of data ranges Capture SQL section information using minimize lock contentionExplain the difference between partitioned an ACTIVITIES Event Monitor and use Monitor application performance and lockand non-partitioned indexes for a the data to generate Explain reports waits using GET SNAPSHOT commandsrange-partitioned table and SQL queriesImplement partitioned indexes to improve Set the DB2 registry variablesperformance when you roll data out or roll line DB2_EVALUNCOMMITTED,data into a range-partitioned table List the tools for monitoring database and DB2_SKIPINSERTED andUse the DB2 Explain tools to determine if application activity DB2_SKIPDELETED to reduce lockpartition elimination is being used to improve Use GET SNAPSHOT commands to contention based on applicationaccess performance to large produce reports for analysis of database requirementsrange-partitioned tables performance Utilize the currently committed form ofTools and Utilities for Performance Utilize the administrative routines and locking to reduce lock contention betweenSelect appropriate RUNSTATS options to views provided by to DB2 to simplify read-only and update applicationscollect Distribution Statistics or Column application access to database Using Explain ToolsGroup Statistics to improve cardinality performance statistics Describe the advantages of usingestimates during SQL compilation Use the db2pd to perform performance db2exfmtUse the table and indexes statistics to plan analysis or problem determination for a Create special tables used by Visualfor table and index reorganization using the DB2 database Explain and db2exfmtREORG utility Utilize the enhanced table functions with Identify how to set the Explain snapshotSet the policies and options for automation SQL in reporting and monitoring of the and Explain mode registers to capture theof catalog statistics collection database system, data objects, and the information of interestMonitor the activity associated with package cache to help you quickly Differentiate between the differentimplementing real-time statistics collection identify issues that might be causing methods of viewing Explain informationUse the db2batch utility to run SQL problems The DB2 Optimizerworkloads and collect performance statistics Configure the DB2 Database Choose the appropriate optimization classthat can be used to benchmark database configuration options that control the Describe the catalog statistics andand application changes collection of request, activity and object database configuration options impact onEvent Monitoring level metrics on the entire database access plan selectionImplement simple Workload Management Compare the enhanced table functions Implement a statistical view to providedefinitions to utilize the Workload with the snapshot monitoring facilities better cardinality estimates for complex

Page 34: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Manager-based event monitoring including provided by previous DB2 releases queriesactivities, statistics and threshold violations Database Input/Output (I/O) Management Enable the statement concentrator usingEvaluate Event Monitor data using the Event Describe processing for writing database the STMT_CONC database managerAnalyzer tool, the db2evmon text-based tool pages from buffer pools configuration parameter to reduce SQLthe db2evmonfmt application or using SQL Monitor database read and write activity compilation overhead for dynamic SQLqueries using GET SNAPSHOT commands or statementsDefine a LOCKING Event Monitor to capture Administrative Routines and Views Utilize the db2look utility to extract catalogdeadlocks, lock timeout or lock waits Monitor database logging activity and statistics from existing tables to mimic anConfigure a DB2 database to control select appropriate values for SOFTMAX existing database environmentinformation captured for deadlocks, lock and MINCOMMIT Create an optimizer profiletimeouts or extended lock waits Describe how scan sharing can reduce Using Indexes for PerformanceImplement Event Monitors for units of work the I/O workload for accessing large Describe the Block Indexing capability foror lock-related events that store information tables MDC tablesin unformatted Event Monitor tables Explain the alternate page cleaning Monitor index usage using theCapture SQL section information using an processing associated with the MON_GET_INDEX function and db2pdACTIVITIES Event Monitor and use the data DB2_USE_ALTERNATE_PAGE_CLEAN commandsto generate Explain reports ING DB2 Registry variable Explain how multiple indexes can be

Tablespace and Table Design for combined using Index ORing and DynamicPerformance Bitmap Index ANDing

line Describe the calculation of prefetch size Use the Design Advisor to predictList the tools for monitoring database and when PREFETCHSIZE is set to performance gains from adding newapplication activity AUTOMATIC indexesUse GET SNAPSHOT commands to List the advantages of selecting DMS or Complex SQL Performanceproduce reports for analysis of database SMS table space management as well as Describe the differences between Nestedperformance using Automatic Storage-managed table Loop, Merge Scan and Hash JoinsUtilize the administrative routines and views spaces Plan the implementation of Refreshprovided by to DB2 to simplify application Set file system caching options for table Immediate or Refresh Deferredaccess to database performance statistics spaces to optimize table space Materialized Query Tables to improveUse the db2pd to perform performance performance query performanceanalysis or problem determination for a DB2 Describe the various row insertion Utilize the Design Advisor to analyze SQLdatabase algorithms for tables that are based on statements and recommend new MQTsUtilize the enhanced table functions with using the APPEND option or defining a Describe the features of range-partitionedSQL in reporting and monitoring of the clustering index tables to support large DB2 tables usingdatabase system, data objects, and the Plan and implement Row Compression to multiple table spaces, including the roll-inpackage cache to help you quickly identify reduce disk and memory requirements and roll-out of data rangesissues that might be causing problems and improve application performance Explain the difference between partitionedConfigure the DB2 Database configuration Describe how DB2's Index compression and non-partitioned indexes for aoptions that control the collection of request, option can reduce disk storage range-partitioned tableactivity and object level metrics on the entire requirements for indexes Implement partitioned indexes to improvedatabase Explain how DB2 can compress performance when you roll data out or rollCompare the enhanced table functions with temporary data to improve application data into a range-partitioned tablethe snapshot monitoring facilities provided performance Use the DB2 Explain tools to determine ifby previous DB2 releases Utilize the DB2 provided tools and partition elimination is being used toDatabase Input/Output (I/O) Management functions to estimate compression results improve access performance to largeDescribe processing for writing database for Indexes and data range-partitioned tablespages from buffer pools DB2 memory management Tools and Utilities for PerformanceMonitor database read and write activity Explain the management of database Select appropriate RUNSTATS options tousing GET SNAPSHOT commands or shared memory based on setting the collect Distribution Statistics or ColumnAdministrative Routines and Views configuration option Group Statistics to improve cardinalityMonitor database logging activity and select DATABASE_MEMORY to AUTOMATIC, estimates during SQL compilationappropriate values for SOFTMAX and COMPUTED or a specific number of Use the table and indexes statistics to planMINCOMMIT pages for table and index reorganization usingDescribe how scan sharing can reduce the Select the mode for managing data sort the REORG utilityI/O workload for accessing large tables memory using SHEAPTHRES, Set the policies and options for automationExplain the alternate page cleaning SORTHEAP, and SHEAPTHRES_SHR of catalog statistics collectionprocessing associated with the Monitor DB2 memory usage using the Monitor the activity associated withDB2_USE_ALTERNATE_PAGE_CLEANIN db2mtrk commands and SQL statements implementing real-time statistics collectionG DB2 Registry variable Utilize the db2pd command for Use the db2batch utility to run SQLTablespace and Table Design for monitoring current database memory workloads and collect performancePerformance usage statistics that can be used to benchmarkDescribe the calculation of prefetch size Automated Memory Management database and application changeswhen PREFETCHSIZE is set to Explain the differences in STMM Event MonitoringAUTOMATIC processing based on the setting of Implement simple Workload ManagementList the advantages of selecting DMS or DATABASE_MEMORY definitions to utilize the WorkloadSMS table space management as well as Plan and configure a database for self Manager-based event monitoring includingusing Automatic Storage-managed table tuning memory activities, statistics and threshold violations

Page 35: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

spaces Activate or deactivate STMM for selected Evaluate Event Monitor data using theSet file system caching options for table memory heaps Event Analyzer tool, the db2evmonspaces to optimize table space performance Describe the management of sortheap text-based tool the db2evmonfmtDescribe the various row insertion memory based on the configuration of application or using SQL queriesalgorithms for tables that are based on using sheapthres and sheapthres_shr Define a LOCKING Event Monitor tothe APPEND option or defining a clustering Explain how DB2 can automatically capture deadlocks, lock timeout or lockindex increase or decrease database memory waitsPlan and implement Row Compression to for multiple DB2 databases running on Configure a DB2 database to controlreduce disk and memory requirements and the same server information captured for deadlocks, lockimprove application performance Application Performance Considerations timeouts or extended lock waitsDescribe how DB2's Index compression Describe the performance advantages of Implement Event Monitors for units of workoption can reduce disk storage requirements using stored procedures or lock-related events that storefor indexes Design applications to maximize record information in unformatted Event MonitorExplain how DB2 can compress temporary blocking, minimize sort operations and tablesdata to improve application performance minimize lock contention Capture SQL section information using anUtilize the DB2 provided tools and functions Monitor application performance and lock ACTIVITIES Event Monitor and use theto estimate compression results for Indexes waits using GET SNAPSHOT commands data to generate Explain reportsand data and SQL queriesDB2 memory management Set the DB2 registry variablesExplain the management of database DB2_EVALUNCOMMITTED, lineshared memory based on setting the DB2_SKIPINSERTED and List the tools for monitoring database andconfiguration option DATABASE_MEMORY DB2_SKIPDELETED to reduce lock application activityto AUTOMATIC, COMPUTED or a specific contention based on application Use GET SNAPSHOT commands tonumber of pages requirements produce reports for analysis of databaseSelect the mode for managing data sort Utilize the currently committed form of performancememory using SHEAPTHRES, SORTHEAP, locking to reduce lock contention Utilize the administrative routines andand SHEAPTHRES_SHR between read-only and update views provided by to DB2 to simplifyMonitor DB2 memory usage using the applications application access to databasedb2mtrk commands and SQL statements Using Explain Tools performance statisticsUtilize the db2pd command for monitoring Describe the advantages of using Use the db2pd to perform performancecurrent database memory usage db2exfmt analysis or problem determination for aAutomated Memory Management Create special tables used by Visual DB2 databaseExplain the differences in STMM processing Explain and db2exfmt Utilize the enhanced table functions withbased on the setting of Identify how to set the Explain snapshot SQL in reporting and monitoring of theDATABASE_MEMORY and Explain mode registers to capture database system, data objects, and thePlan and configure a database for self the information of interest package cache to help you quickly identifytuning memory Differentiate between the different issues that might be causing problemsActivate or deactivate STMM for selected methods of viewing Explain information Configure the DB2 Database configurationmemory heaps The DB2 Optimizer options that control the collection ofDescribe the management of sortheap Choose the appropriate optimization request, activity and object level metrics onmemory based on the configuration of class the entire databasesheapthres and sheapthres_shr Describe the catalog statistics and Compare the enhanced table functionsExplain how DB2 can automatically increase database configuration options impact on with the snapshot monitoring facilitiesor decrease database memory for multiple access plan selection provided by previous DB2 releasesDB2 databases running on the same server Implement a statistical view to provide Database Input/Output (I/O) ManagementApplication Performance Considerations better cardinality estimates for complex Describe processing for writing databaseDescribe the performance advantages of queries pages from buffer poolsusing stored procedures Enable the statement concentrator using Monitor database read and write activityDesign applications to maximize record the STMT_CONC database manager using GET SNAPSHOT commands orblocking, minimize sort operations and configuration parameter to reduce SQL Administrative Routines and Viewsminimize lock contention compilation overhead for dynamic SQL Monitor database logging activity andMonitor application performance and lock statements select appropriate values for SOFTMAXwaits using GET SNAPSHOT commands Utilize the db2look utility to extract and MINCOMMITand SQL queries catalog statistics from existing tables to Describe how scan sharing can reduce theSet the DB2 registry variables mimic an existing database environment I/O workload for accessing large tablesDB2_EVALUNCOMMITTED, Create an optimizer profile Explain the alternate page cleaningDB2_SKIPINSERTED and Using Indexes for Performance processing associated with theDB2_SKIPDELETED to reduce lock Describe the Block Indexing capability for DB2_USE_ALTERNATE_PAGE_CLEANIcontention based on application MDC tables NG DB2 Registry variablerequirements Monitor index usage using the Tablespace and Table Design forUtilize the currently committed form of MON_GET_INDEX function and db2pd Performancelocking to reduce lock contention between commands Describe the calculation of prefetch sizeread-only and update applications Explain how multiple indexes can be when PREFETCHSIZE is set toUsing Explain Tools combined using Index ORing and AUTOMATICDescribe the advantages of using db2exfmt Dynamic Bitmap Index ANDing List the advantages of selecting DMS orCreate special tables used by Visual Explain Use the Design Advisor to predict SMS table space management as well as

Page 36: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

and db2exfmt performance gains from adding new using Automatic Storage-managed tableIdentify how to set the Explain snapshot and indexes spacesExplain mode registers to capture the Complex SQL Performance Set file system caching options for tableinformation of interest Describe the differences between Nested spaces to optimize table spaceDifferentiate between the different methods Loop, Merge Scan and Hash Joins performanceof viewing Explain information Plan the implementation of Refresh Describe the various row insertionThe DB2 Optimizer Immediate or Refresh Deferred algorithms for tables that are based onChoose the appropriate optimization class Materialized Query Tables to improve using the APPEND option or defining aDescribe the catalog statistics and database query performance clustering indexconfiguration options impact on access plan Utilize the Design Advisor to analyze SQL Plan and implement Row Compression toselection statements and recommend new MQTs reduce disk and memory requirements andImplement a statistical view to provide better Describe the features of range-partitioned improve application performancecardinality estimates for complex queries tables to support large DB2 tables using Describe how DB2's Index compressionEnable the statement concentrator using the multiple table spaces, including the roll-in option can reduce disk storageSTMT_CONC database manager and roll-out of data ranges requirements for indexesconfiguration parameter to reduce SQL Explain the difference between Explain how DB2 can compress temporarycompilation overhead for dynamic SQL partitioned and non-partitioned indexes data to improve application performancestatements for a range-partitioned table Utilize the DB2 provided tools andUtilize the db2look utility to extract catalog Implement partitioned indexes to improve functions to estimate compression resultsstatistics from existing tables to mimic an performance when you roll data out or roll for Indexes and dataexisting database environment data into a range-partitioned table DB2 memory managementCreate an optimizer profile Use the DB2 Explain tools to determine if Explain the management of databaseUsing Indexes for Performance partition elimination is being used to shared memory based on setting theDescribe the Block Indexing capability for improve access performance to large configuration optionMDC tables range-partitioned tables DATABASE_MEMORY to AUTOMATIC,Monitor index usage using the Tools and Utilities for Performance COMPUTED or a specific number ofMON_GET_INDEX function and db2pd Select appropriate RUNSTATS options to pagescommands collect Distribution Statistics or Column Select the mode for managing data sortExplain how multiple indexes can be Group Statistics to improve cardinality memory using SHEAPTHRES,combined using Index ORing and Dynamic estimates during SQL compilation SORTHEAP, and SHEAPTHRES_SHRBitmap Index ANDing Use the table and indexes statistics to Monitor DB2 memory usage using theUse the Design Advisor to predict plan for table and index reorganization db2mtrk commands and SQL statementsperformance gains from adding new indexes using the REORG utility Utilize the db2pd command for monitoringComplex SQL Performance Set the policies and options for current database memory usageDescribe the differences between Nested automation of catalog statistics collection Automated Memory ManagementLoop, Merge Scan and Hash Joins Monitor the activity associated with Explain the differences in STMMPlan the implementation of Refresh implementing real-time statistics processing based on the setting ofImmediate or Refresh Deferred Materialized collection DATABASE_MEMORYQuery Tables to improve query performance Use the db2batch utility to run SQL Plan and configure a database for selfUtilize the Design Advisor to analyze SQL workloads and collect performance tuning memorystatements and recommend new MQTs statistics that can be used to benchmark Activate or deactivate STMM for selectedDescribe the features of range-partitioned database and application changes memory heapstables to support large DB2 tables using Event Monitoring Describe the management of sortheapmultiple table spaces, including the roll-in Implement simple Workload memory based on the configuration ofand roll-out of data ranges Management definitions to utilize the sheapthres and sheapthres_shrExplain the difference between partitioned Workload Manager-based event Explain how DB2 can automaticallyand non-partitioned indexes for a monitoring including activities, statistics increase or decrease database memory forrange-partitioned table and threshold violations multiple DB2 databases running on theImplement partitioned indexes to improve Evaluate Event Monitor data using the same serverperformance when you roll data out or roll Event Analyzer tool, the db2evmon Application Performance Considerationsdata into a range-partitioned table text-based tool the db2evmonfmt Describe the performance advantages ofUse the DB2 Explain tools to determine if application or using SQL queries using stored procedurespartition elimination is being used to improve Define a LOCKING Event Monitor to Design applications to maximize recordaccess performance to large capture deadlocks, lock timeout or lock blocking, minimize sort operations andrange-partitioned tables waits minimize lock contentionTools and Utilities for Performance Configure a DB2 database to control Monitor application performance and lockSelect appropriate RUNSTATS options to information captured for deadlocks, lock waits using GET SNAPSHOT commandscollect Distribution Statistics or Column timeouts or extended lock waits and SQL queriesGroup Statistics to improve cardinality Implement Event Monitors for units of Set the DB2 registry variablesestimates during SQL compilation work or lock-related events that store DB2_EVALUNCOMMITTED,Use the table and indexes statistics to plan information in unformatted Event Monitor DB2_SKIPINSERTED andfor table and index reorganization using the tables DB2_SKIPDELETED to reduce lockREORG utility Capture SQL section information using contention based on applicationSet the policies and options for automation an ACTIVITIES Event Monitor and use requirementsof catalog statistics collection the data to generate Explain reports Utilize the currently committed form ofMonitor the activity associated with locking to reduce lock contention between

Page 37: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

implementing real-time statistics collection read-only and update applicationsUse the db2batch utility to run SQL line Using Explain Toolsworkloads and collect performance statistics List the tools for monitoring database and Describe the advantages of usingthat can be used to benchmark database application activity db2exfmtand application changes Use GET SNAPSHOT commands to Create special tables used by VisualEvent Monitoring produce reports for analysis of database Explain and db2exfmtImplement simple Workload Management performance Identify how to set the Explain snapshotdefinitions to utilize the Workload Utilize the administrative routines and and Explain mode registers to capture theManager-based event monitoring including views provided by to DB2 to simplify information of interestactivities, statistics and threshold violations application access to database Differentiate between the differentEvaluate Event Monitor data using the Event performance statistics methods of viewing Explain informationAnalyzer tool, the db2evmon text-based tool Use the db2pd to perform performance The DB2 Optimizerthe db2evmonfmt application or using SQL analysis or problem determination for a Choose the appropriate optimization classqueries DB2 database Describe the catalog statistics andDefine a LOCKING Event Monitor to capture Utilize the enhanced table functions with database configuration options impact ondeadlocks, lock timeout or lock waits SQL in reporting and monitoring of the access plan selectionConfigure a DB2 database to control database system, data objects, and the Implement a statistical view to provideinformation captured for deadlocks, lock package cache to help you quickly better cardinality estimates for complextimeouts or extended lock waits identify issues that might be causing queriesImplement Event Monitors for units of work problems Enable the statement concentrator usingor lock-related events that store information Configure the DB2 Database the STMT_CONC database managerin unformatted Event Monitor tables configuration options that control the configuration parameter to reduce SQLCapture SQL section information using an collection of request, activity and object compilation overhead for dynamic SQLACTIVITIES Event Monitor and use the data level metrics on the entire database statementsto generate Explain reports Compare the enhanced table functions Utilize the db2look utility to extract catalog

with the snapshot monitoring facilities statistics from existing tables to mimic anprovided by previous DB2 releases existing database environment

line Database Input/Output (I/O) Management Create an optimizer profileList the tools for monitoring database and Describe processing for writing database Using Indexes for Performanceapplication activity pages from buffer pools Describe the Block Indexing capability forUse GET SNAPSHOT commands to Monitor database read and write activity MDC tablesproduce reports for analysis of database using GET SNAPSHOT commands or Monitor index usage using theperformance Administrative Routines and Views MON_GET_INDEX function and db2pdUtilize the administrative routines and views Monitor database logging activity and commandsprovided by to DB2 to simplify application select appropriate values for SOFTMAX Explain how multiple indexes can beaccess to database performance statistics and MINCOMMIT combined using Index ORing and DynamicUse the db2pd to perform performance Describe how scan sharing can reduce Bitmap Index ANDinganalysis or problem determination for a DB2 the I/O workload for accessing large Use the Design Advisor to predictdatabase tables performance gains from adding newUtilize the enhanced table functions with Explain the alternate page cleaning indexesSQL in reporting and monitoring of the processing associated with the Complex SQL Performancedatabase system, data objects, and the DB2_USE_ALTERNATE_PAGE_CLEAN Describe the differences between Nestedpackage cache to help you quickly identify ING DB2 Registry variable Loop, Merge Scan and Hash Joinsissues that might be causing problems Tablespace and Table Design for Plan the implementation of RefreshConfigure the DB2 Database configuration Performance Immediate or Refresh Deferredoptions that control the collection of request, Describe the calculation of prefetch size Materialized Query Tables to improveactivity and object level metrics on the entire when PREFETCHSIZE is set to query performancedatabase AUTOMATIC Utilize the Design Advisor to analyze SQLCompare the enhanced table functions with List the advantages of selecting DMS or statements and recommend new MQTsthe snapshot monitoring facilities provided SMS table space management as well as Describe the features of range-partitionedby previous DB2 releases using Automatic Storage-managed table tables to support large DB2 tables usingDatabase Input/Output (I/O) Management spaces multiple table spaces, including the roll-inDescribe processing for writing database Set file system caching options for table and roll-out of data rangespages from buffer pools spaces to optimize table space Explain the difference between partitionedMonitor database read and write activity performance and non-partitioned indexes for ausing GET SNAPSHOT commands or Describe the various row insertion range-partitioned tableAdministrative Routines and Views algorithms for tables that are based on Implement partitioned indexes to improveMonitor database logging activity and select using the APPEND option or defining a performance when you roll data out or rollappropriate values for SOFTMAX and clustering index data into a range-partitioned tableMINCOMMIT Plan and implement Row Compression to Use the DB2 Explain tools to determine ifDescribe how scan sharing can reduce the reduce disk and memory requirements partition elimination is being used toI/O workload for accessing large tables and improve application performance improve access performance to largeExplain the alternate page cleaning Describe how DB2's Index compression range-partitioned tablesprocessing associated with the option can reduce disk storage Tools and Utilities for PerformanceDB2_USE_ALTERNATE_PAGE_CLEANIN requirements for indexes Select appropriate RUNSTATS options toG DB2 Registry variable Explain how DB2 can compress collect Distribution Statistics or Column

Page 38: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Tablespace and Table Design for temporary data to improve application Group Statistics to improve cardinalityPerformance performance estimates during SQL compilationDescribe the calculation of prefetch size Utilize the DB2 provided tools and Use the table and indexes statistics to planwhen PREFETCHSIZE is set to functions to estimate compression results for table and index reorganization usingAUTOMATIC for Indexes and data the REORG utilityList the advantages of selecting DMS or DB2 memory management Set the policies and options for automationSMS table space management as well as Explain the management of database of catalog statistics collectionusing Automatic Storage-managed table shared memory based on setting the Monitor the activity associated withspaces configuration option implementing real-time statistics collectionSet file system caching options for table DATABASE_MEMORY to AUTOMATIC, Use the db2batch utility to run SQLspaces to optimize table space performance COMPUTED or a specific number of workloads and collect performanceDescribe the various row insertion pages statistics that can be used to benchmarkalgorithms for tables that are based on using Select the mode for managing data sort database and application changesthe APPEND option or defining a clustering memory using SHEAPTHRES, Event Monitoringindex SORTHEAP, and SHEAPTHRES_SHR Implement simple Workload ManagementPlan and implement Row Compression to Monitor DB2 memory usage using the definitions to utilize the Workloadreduce disk and memory requirements and db2mtrk commands and SQL statements Manager-based event monitoring includingimprove application performance Utilize the db2pd command for activities, statistics and threshold violationsDescribe how DB2's Index compression monitoring current database memory Evaluate Event Monitor data using theoption can reduce disk storage requirements usage Event Analyzer tool, the db2evmonfor indexes Automated Memory Management text-based tool the db2evmonfmtExplain how DB2 can compress temporary Explain the differences in STMM application or using SQL queriesdata to improve application performance processing based on the setting of Define a LOCKING Event Monitor toUtilize the DB2 provided tools and functions DATABASE_MEMORY capture deadlocks, lock timeout or lockto estimate compression results for Indexes Plan and configure a database for self waitsand data tuning memory Configure a DB2 database to controlDB2 memory management Activate or deactivate STMM for selected information captured for deadlocks, lockExplain the management of database memory heaps timeouts or extended lock waitsshared memory based on setting the Describe the management of sortheap Implement Event Monitors for units of workconfiguration option DATABASE_MEMORY memory based on the configuration of or lock-related events that storeto AUTOMATIC, COMPUTED or a specific sheapthres and sheapthres_shr information in unformatted Event Monitornumber of pages Explain how DB2 can automatically tablesSelect the mode for managing data sort increase or decrease database memory Capture SQL section information using anmemory using SHEAPTHRES, SORTHEAP, for multiple DB2 databases running on ACTIVITIES Event Monitor and use theand SHEAPTHRES_SHR the same server data to generate Explain reportsMonitor DB2 memory usage using the Application Performance Considerationsdb2mtrk commands and SQL statements Describe the performance advantages ofUtilize the db2pd command for monitoring using stored procedures linecurrent database memory usage Design applications to maximize record List the tools for monitoring database andAutomated Memory Management blocking, minimize sort operations and application activityExplain the differences in STMM processing minimize lock contention Use GET SNAPSHOT commands tobased on the setting of Monitor application performance and lock produce reports for analysis of databaseDATABASE_MEMORY waits using GET SNAPSHOT commands performancePlan and configure a database for self and SQL queries Utilize the administrative routines andtuning memory Set the DB2 registry variables views provided by to DB2 to simplifyActivate or deactivate STMM for selected DB2_EVALUNCOMMITTED, application access to databasememory heaps DB2_SKIPINSERTED and performance statisticsDescribe the management of sortheap DB2_SKIPDELETED to reduce lock Use the db2pd to perform performancememory based on the configuration of contention based on application analysis or problem determination for asheapthres and sheapthres_shr requirements DB2 databaseExplain how DB2 can automatically increase Utilize the currently committed form of Utilize the enhanced table functions withor decrease database memory for multiple locking to reduce lock contention SQL in reporting and monitoring of theDB2 databases running on the same server between read-only and update database system, data objects, and theApplication Performance Considerations applications package cache to help you quickly identifyDescribe the performance advantages of Using Explain Tools issues that might be causing problemsusing stored procedures Describe the advantages of using Configure the DB2 Database configurationDesign applications to maximize record db2exfmt options that control the collection ofblocking, minimize sort operations and Create special tables used by Visual request, activity and object level metrics onminimize lock contention Explain and db2exfmt the entire databaseMonitor application performance and lock Identify how to set the Explain snapshot Compare the enhanced table functionswaits using GET SNAPSHOT commands and Explain mode registers to capture with the snapshot monitoring facilitiesand SQL queries the information of interest provided by previous DB2 releasesSet the DB2 registry variables Differentiate between the different Database Input/Output (I/O) ManagementDB2_EVALUNCOMMITTED, methods of viewing Explain information Describe processing for writing databaseDB2_SKIPINSERTED and The DB2 Optimizer pages from buffer poolsDB2_SKIPDELETED to reduce lock Choose the appropriate optimization Monitor database read and write activity

Page 39: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

contention based on application class using GET SNAPSHOT commands orrequirements Describe the catalog statistics and Administrative Routines and ViewsUtilize the currently committed form of database configuration options impact on Monitor database logging activity andlocking to reduce lock contention between access plan selection select appropriate values for SOFTMAXread-only and update applications Implement a statistical view to provide and MINCOMMITUsing Explain Tools better cardinality estimates for complex Describe how scan sharing can reduce theDescribe the advantages of using db2exfmt queries I/O workload for accessing large tablesCreate special tables used by Visual Explain Enable the statement concentrator using Explain the alternate page cleaningand db2exfmt the STMT_CONC database manager processing associated with theIdentify how to set the Explain snapshot and configuration parameter to reduce SQL DB2_USE_ALTERNATE_PAGE_CLEANIExplain mode registers to capture the compilation overhead for dynamic SQL NG DB2 Registry variableinformation of interest statements Tablespace and Table Design forDifferentiate between the different methods Utilize the db2look utility to extract Performanceof viewing Explain information catalog statistics from existing tables to Describe the calculation of prefetch sizeThe DB2 Optimizer mimic an existing database environment when PREFETCHSIZE is set toChoose the appropriate optimization class Create an optimizer profile AUTOMATICDescribe the catalog statistics and database Using Indexes for Performance List the advantages of selecting DMS orconfiguration options impact on access plan Describe the Block Indexing capability for SMS table space management as well asselection MDC tables using Automatic Storage-managed tableImplement a statistical view to provide better Monitor index usage using the spacescardinality estimates for complex queries MON_GET_INDEX function and db2pd Set file system caching options for tableEnable the statement concentrator using the commands spaces to optimize table spaceSTMT_CONC database manager Explain how multiple indexes can be performanceconfiguration parameter to reduce SQL combined using Index ORing and Describe the various row insertioncompilation overhead for dynamic SQL Dynamic Bitmap Index ANDing algorithms for tables that are based onstatements Use the Design Advisor to predict using the APPEND option or defining aUtilize the db2look utility to extract catalog performance gains from adding new clustering indexstatistics from existing tables to mimic an indexes Plan and implement Row Compression toexisting database environment Complex SQL Performance reduce disk and memory requirements andCreate an optimizer profile Describe the differences between Nested improve application performanceUsing Indexes for Performance Loop, Merge Scan and Hash Joins Describe how DB2's Index compressionDescribe the Block Indexing capability for Plan the implementation of Refresh option can reduce disk storageMDC tables Immediate or Refresh Deferred requirements for indexesMonitor index usage using the Materialized Query Tables to improve Explain how DB2 can compress temporaryMON_GET_INDEX function and db2pd query performance data to improve application performancecommands Utilize the Design Advisor to analyze SQL Utilize the DB2 provided tools andExplain how multiple indexes can be statements and recommend new MQTs functions to estimate compression resultscombined using Index ORing and Dynamic Describe the features of range-partitioned for Indexes and dataBitmap Index ANDing tables to support large DB2 tables using DB2 memory managementUse the Design Advisor to predict multiple table spaces, including the roll-in Explain the management of databaseperformance gains from adding new indexes and roll-out of data ranges shared memory based on setting theComplex SQL Performance Explain the difference between configuration optionDescribe the differences between Nested partitioned and non-partitioned indexes DATABASE_MEMORY to AUTOMATIC,Loop, Merge Scan and Hash Joins for a range-partitioned table COMPUTED or a specific number ofPlan the implementation of Refresh Implement partitioned indexes to improve pagesImmediate or Refresh Deferred Materialized performance when you roll data out or roll Select the mode for managing data sortQuery Tables to improve query performance data into a range-partitioned table memory using SHEAPTHRES,Utilize the Design Advisor to analyze SQL Use the DB2 Explain tools to determine if SORTHEAP, and SHEAPTHRES_SHRstatements and recommend new MQTs partition elimination is being used to Monitor DB2 memory usage using theDescribe the features of range-partitioned improve access performance to large db2mtrk commands and SQL statementstables to support large DB2 tables using range-partitioned tables Utilize the db2pd command for monitoringmultiple table spaces, including the roll-in Tools and Utilities for Performance current database memory usageand roll-out of data ranges Select appropriate RUNSTATS options to Automated Memory ManagementExplain the difference between partitioned collect Distribution Statistics or Column Explain the differences in STMMand non-partitioned indexes for a Group Statistics to improve cardinality processing based on the setting ofrange-partitioned table estimates during SQL compilation DATABASE_MEMORYImplement partitioned indexes to improve Use the table and indexes statistics to Plan and configure a database for selfperformance when you roll data out or roll plan for table and index reorganization tuning memorydata into a range-partitioned table using the REORG utility Activate or deactivate STMM for selectedUse the DB2 Explain tools to determine if Set the policies and options for memory heapspartition elimination is being used to improve automation of catalog statistics collection Describe the management of sortheapaccess performance to large Monitor the activity associated with memory based on the configuration ofrange-partitioned tables implementing real-time statistics sheapthres and sheapthres_shrTools and Utilities for Performance collection Explain how DB2 can automaticallySelect appropriate RUNSTATS options to Use the db2batch utility to run SQL increase or decrease database memory forcollect Distribution Statistics or Column workloads and collect performance multiple DB2 databases running on the

Page 40: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Group Statistics to improve cardinality statistics that can be used to benchmark same serverestimates during SQL compilation database and application changes Application Performance ConsiderationsUse the table and indexes statistics to plan Event Monitoring Describe the performance advantages offor table and index reorganization using the Implement simple Workload using stored proceduresREORG utility Management definitions to utilize the Design applications to maximize recordSet the policies and options for automation Workload Manager-based event blocking, minimize sort operations andof catalog statistics collection monitoring including activities, statistics minimize lock contentionMonitor the activity associated with and threshold violations Monitor application performance and lockimplementing real-time statistics collection Evaluate Event Monitor data using the waits using GET SNAPSHOT commandsUse the db2batch utility to run SQL Event Analyzer tool, the db2evmon and SQL queriesworkloads and collect performance statistics text-based tool the db2evmonfmt Set the DB2 registry variablesthat can be used to benchmark database application or using SQL queries DB2_EVALUNCOMMITTED,and application changes Define a LOCKING Event Monitor to DB2_SKIPINSERTED andEvent Monitoring capture deadlocks, lock timeout or lock DB2_SKIPDELETED to reduce lockImplement simple Workload Management waits contention based on applicationdefinitions to utilize the Workload Configure a DB2 database to control requirementsManager-based event monitoring including information captured for deadlocks, lock Utilize the currently committed form ofactivities, statistics and threshold violations timeouts or extended lock waits locking to reduce lock contention betweenEvaluate Event Monitor data using the Event Implement Event Monitors for units of read-only and update applicationsAnalyzer tool, the db2evmon text-based tool work or lock-related events that store Using Explain Toolsthe db2evmonfmt application or using SQL information in unformatted Event Monitor Describe the advantages of usingqueries tables db2exfmtDefine a LOCKING Event Monitor to capture Capture SQL section information using Create special tables used by Visualdeadlocks, lock timeout or lock waits an ACTIVITIES Event Monitor and use Explain and db2exfmtConfigure a DB2 database to control the data to generate Explain reports Identify how to set the Explain snapshotinformation captured for deadlocks, lock and Explain mode registers to capture thetimeouts or extended lock waits information of interestImplement Event Monitors for units of work line Differentiate between the differentor lock-related events that store information List the tools for monitoring database and methods of viewing Explain informationin unformatted Event Monitor tables application activity The DB2 OptimizerCapture SQL section information using an Use GET SNAPSHOT commands to Choose the appropriate optimization classACTIVITIES Event Monitor and use the data produce reports for analysis of database Describe the catalog statistics andto generate Explain reports performance database configuration options impact on

Utilize the administrative routines and access plan selectionviews provided by to DB2 to simplify Implement a statistical view to provide

line application access to database better cardinality estimates for complexList the tools for monitoring database and performance statistics queriesapplication activity Use the db2pd to perform performance Enable the statement concentrator usingUse GET SNAPSHOT commands to analysis or problem determination for a the STMT_CONC database managerproduce reports for analysis of database DB2 database configuration parameter to reduce SQLperformance Utilize the enhanced table functions with compilation overhead for dynamic SQLUtilize the administrative routines and views SQL in reporting and monitoring of the statementsprovided by to DB2 to simplify application database system, data objects, and the Utilize the db2look utility to extract catalogaccess to database performance statistics package cache to help you quickly statistics from existing tables to mimic anUse the db2pd to perform performance identify issues that might be causing existing database environmentanalysis or problem determination for a DB2 problems Create an optimizer profiledatabase Configure the DB2 Database Using Indexes for PerformanceUtilize the enhanced table functions with configuration options that control the Describe the Block Indexing capability forSQL in reporting and monitoring of the collection of request, activity and object MDC tablesdatabase system, data objects, and the level metrics on the entire database Monitor index usage using thepackage cache to help you quickly identify Compare the enhanced table functions MON_GET_INDEX function and db2pdissues that might be causing problems with the snapshot monitoring facilities commandsConfigure the DB2 Database configuration provided by previous DB2 releases Explain how multiple indexes can beoptions that control the collection of request, Database Input/Output (I/O) Management combined using Index ORing and Dynamicactivity and object level metrics on the entire Describe processing for writing database Bitmap Index ANDingdatabase pages from buffer pools Use the Design Advisor to predictCompare the enhanced table functions with Monitor database read and write activity performance gains from adding newthe snapshot monitoring facilities provided using GET SNAPSHOT commands or indexesby previous DB2 releases Administrative Routines and Views Complex SQL PerformanceDatabase Input/Output (I/O) Management Monitor database logging activity and Describe the differences between NestedDescribe processing for writing database select appropriate values for SOFTMAX Loop, Merge Scan and Hash Joinspages from buffer pools and MINCOMMIT Plan the implementation of RefreshMonitor database read and write activity Describe how scan sharing can reduce Immediate or Refresh Deferredusing GET SNAPSHOT commands or the I/O workload for accessing large Materialized Query Tables to improveAdministrative Routines and Views tables query performanceMonitor database logging activity and select Explain the alternate page cleaning Utilize the Design Advisor to analyze SQL

Page 41: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

appropriate values for SOFTMAX and processing associated with the statements and recommend new MQTsMINCOMMIT DB2_USE_ALTERNATE_PAGE_CLEAN Describe the features of range-partitionedDescribe how scan sharing can reduce the ING DB2 Registry variable tables to support large DB2 tables usingI/O workload for accessing large tables Tablespace and Table Design for multiple table spaces, including the roll-inExplain the alternate page cleaning Performance and roll-out of data rangesprocessing associated with the Describe the calculation of prefetch size Explain the difference between partitionedDB2_USE_ALTERNATE_PAGE_CLEANIN when PREFETCHSIZE is set to and non-partitioned indexes for aG DB2 Registry variable AUTOMATIC range-partitioned tableTablespace and Table Design for List the advantages of selecting DMS or Implement partitioned indexes to improvePerformance SMS table space management as well as performance when you roll data out or rollDescribe the calculation of prefetch size using Automatic Storage-managed table data into a range-partitioned tablewhen PREFETCHSIZE is set to spaces Use the DB2 Explain tools to determine ifAUTOMATIC Set file system caching options for table partition elimination is being used toList the advantages of selecting DMS or spaces to optimize table space improve access performance to largeSMS table space management as well as performance range-partitioned tablesusing Automatic Storage-managed table Describe the various row insertion Tools and Utilities for Performancespaces algorithms for tables that are based on Select appropriate RUNSTATS options toSet file system caching options for table using the APPEND option or defining a collect Distribution Statistics or Columnspaces to optimize table space performance clustering index Group Statistics to improve cardinalityDescribe the various row insertion Plan and implement Row Compression to estimates during SQL compilationalgorithms for tables that are based on using reduce disk and memory requirements Use the table and indexes statistics to planthe APPEND option or defining a clustering and improve application performance for table and index reorganization usingindex Describe how DB2's Index compression the REORG utilityPlan and implement Row Compression to option can reduce disk storage Set the policies and options for automationreduce disk and memory requirements and requirements for indexes of catalog statistics collectionimprove application performance Explain how DB2 can compress Monitor the activity associated withDescribe how DB2's Index compression temporary data to improve application implementing real-time statistics collectionoption can reduce disk storage requirements performance Use the db2batch utility to run SQLfor indexes Utilize the DB2 provided tools and workloads and collect performanceExplain how DB2 can compress temporary functions to estimate compression results statistics that can be used to benchmarkdata to improve application performance for Indexes and data database and application changesUtilize the DB2 provided tools and functions DB2 memory management Event Monitoringto estimate compression results for Indexes Explain the management of database Implement simple Workload Managementand data shared memory based on setting the definitions to utilize the WorkloadDB2 memory management configuration option Manager-based event monitoring includingExplain the management of database DATABASE_MEMORY to AUTOMATIC, activities, statistics and threshold violationsshared memory based on setting the COMPUTED or a specific number of Evaluate Event Monitor data using theconfiguration option DATABASE_MEMORY pages Event Analyzer tool, the db2evmonto AUTOMATIC, COMPUTED or a specific Select the mode for managing data sort text-based tool the db2evmonfmtnumber of pages memory using SHEAPTHRES, application or using SQL queriesSelect the mode for managing data sort SORTHEAP, and SHEAPTHRES_SHR Define a LOCKING Event Monitor tomemory using SHEAPTHRES, SORTHEAP, Monitor DB2 memory usage using the capture deadlocks, lock timeout or lockand SHEAPTHRES_SHR db2mtrk commands and SQL statements waitsMonitor DB2 memory usage using the Utilize the db2pd command for Configure a DB2 database to controldb2mtrk commands and SQL statements monitoring current database memory information captured for deadlocks, lockUtilize the db2pd command for monitoring usage timeouts or extended lock waitscurrent database memory usage Automated Memory Management Implement Event Monitors for units of workAutomated Memory Management Explain the differences in STMM or lock-related events that storeExplain the differences in STMM processing processing based on the setting of information in unformatted Event Monitorbased on the setting of DATABASE_MEMORY tablesDATABASE_MEMORY Plan and configure a database for self Capture SQL section information using anPlan and configure a database for self tuning memory ACTIVITIES Event Monitor and use thetuning memory Activate or deactivate STMM for selected data to generate Explain reportsActivate or deactivate STMM for selected memory heapsmemory heaps Describe the management of sortheapDescribe the management of sortheap memory based on the configuration of linememory based on the configuration of sheapthres and sheapthres_shr Describe the basic principles in monitoringsheapthres and sheapthres_shr Explain how DB2 can automatically a DB2 databaseExplain how DB2 can automatically increase increase or decrease database memory Describe processing for reading databaseor decrease database memory for multiple for multiple DB2 databases running on pages into buffer poolsDB2 databases running on the same server the same server Select appropriate values for table spaceApplication Performance Considerations Application Performance Considerations page size and extent size to supportDescribe the performance advantages of Describe the performance advantages of application performance requirementsusing stored procedures using stored procedures Describe memory heap usage for instanceDesign applications to maximize record Design applications to maximize record memory, database shared memory andblocking, minimize sort operations and blocking, minimize sort operations and application memory

Page 42: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

minimize lock contention minimize lock contention Describe how STMM can be used toMonitor application performance and lock Monitor application performance and lock automatically manage database sharedwaits using GET SNAPSHOT commands waits using GET SNAPSHOT commands memory heapsand SQL queries and SQL queries List examples of application codingSet the DB2 registry variables Set the DB2 registry variables techniques that can effect performanceDB2_EVALUNCOMMITTED, DB2_EVALUNCOMMITTED, Describe the advantages of using VisualDB2_SKIPINSERTED and DB2_SKIPINSERTED and ExplainDB2_SKIPDELETED to reduce lock DB2_SKIPDELETED to reduce lock Describe the stages of the SQL compilercontention based on application contention based on application Describe the Indexing options that can berequirements requirements used to improve performance: Index OnlyUtilize the currently committed form of Utilize the currently committed form of Access, Clustered Index, Reverse Scans,locking to reduce lock contention between locking to reduce lock contention Include Columns, and Index Freespaceread-only and update applications between read-only and update Review Explain reports for costly sortUsing Explain Tools applications operationsDescribe the advantages of using db2exfmt Using Explain Tools Use the RUNSTATS utility to collect tableCreate special tables used by Visual Explain Describe the advantages of using and index statistics to enable the DB2and db2exfmt db2exfmt Optimizer to generate efficient accessIdentify how to set the Explain snapshot and Create special tables used by Visual strategiesExplain mode registers to capture the Explain and db2exfmt Create Event Monitors to collectinformation of interest Identify how to set the Explain snapshot performance statistics at the database,Differentiate between the different methods and Explain mode registers to capture application or SQL statement levelof viewing Explain information the information of interestThe DB2 Optimizer Differentiate between the differentChoose the appropriate optimization class methods of viewing Explain information lineDescribe the catalog statistics and database The DB2 Optimizer List the tools for monitoring database andconfiguration options impact on access plan Choose the appropriate optimization application activityselection class Use GET SNAPSHOT commands toImplement a statistical view to provide better Describe the catalog statistics and produce reports for analysis of databasecardinality estimates for complex queries database configuration options impact on performanceEnable the statement concentrator using the access plan selection Utilize the administrative routines andSTMT_CONC database manager Implement a statistical view to provide views provided by to DB2 to simplifyconfiguration parameter to reduce SQL better cardinality estimates for complex application access to databasecompilation overhead for dynamic SQL queries performance statisticsstatements Enable the statement concentrator using Use the db2pd to perform performanceUtilize the db2look utility to extract catalog the STMT_CONC database manager analysis or problem determination for astatistics from existing tables to mimic an configuration parameter to reduce SQL DB2 databaseexisting database environment compilation overhead for dynamic SQL Utilize the enhanced table functions withCreate an optimizer profile statements SQL in reporting and monitoring of theUsing Indexes for Performance Utilize the db2look utility to extract database system, data objects, and theDescribe the Block Indexing capability for catalog statistics from existing tables to package cache to help you quickly identifyMDC tables mimic an existing database environment issues that might be causing problemsMonitor index usage using the Create an optimizer profile Configure the DB2 Database configurationMON_GET_INDEX function and db2pd Using Indexes for Performance options that control the collection ofcommands Describe the Block Indexing capability for request, activity and object level metrics onExplain how multiple indexes can be MDC tables the entire databasecombined using Index ORing and Dynamic Monitor index usage using the Compare the enhanced table functionsBitmap Index ANDing MON_GET_INDEX function and db2pd with the snapshot monitoring facilitiesUse the Design Advisor to predict commands provided by previous DB2 releasesperformance gains from adding new indexes Explain how multiple indexes can be Database Input/Output (I/O) ManagementComplex SQL Performance combined using Index ORing and Describe processing for writing databaseDescribe the differences between Nested Dynamic Bitmap Index ANDing pages from buffer poolsLoop, Merge Scan and Hash Joins Use the Design Advisor to predict Monitor database read and write activityPlan the implementation of Refresh performance gains from adding new using GET SNAPSHOT commands orImmediate or Refresh Deferred Materialized indexes Administrative Routines and ViewsQuery Tables to improve query performance Complex SQL Performance Monitor database logging activity andUtilize the Design Advisor to analyze SQL Describe the differences between Nested select appropriate values for SOFTMAXstatements and recommend new MQTs Loop, Merge Scan and Hash Joins and MINCOMMITDescribe the features of range-partitioned Plan the implementation of Refresh Describe how scan sharing can reduce thetables to support large DB2 tables using Immediate or Refresh Deferred I/O workload for accessing large tablesmultiple table spaces, including the roll-in Materialized Query Tables to improve Explain the alternate page cleaningand roll-out of data ranges query performance processing associated with theExplain the difference between partitioned Utilize the Design Advisor to analyze SQL DB2_USE_ALTERNATE_PAGE_CLEANIand non-partitioned indexes for a statements and recommend new MQTs NG DB2 Registry variablerange-partitioned table Describe the features of range-partitioned Tablespace and Table Design forImplement partitioned indexes to improve tables to support large DB2 tables using Performanceperformance when you roll data out or roll multiple table spaces, including the roll-in Describe the calculation of prefetch size

Page 43: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

data into a range-partitioned table and roll-out of data ranges when PREFETCHSIZE is set toUse the DB2 Explain tools to determine if Explain the difference between AUTOMATICpartition elimination is being used to improve partitioned and non-partitioned indexes List the advantages of selecting DMS oraccess performance to large for a range-partitioned table SMS table space management as well asrange-partitioned tables Implement partitioned indexes to improve using Automatic Storage-managed tableTools and Utilities for Performance performance when you roll data out or roll spacesSelect appropriate RUNSTATS options to data into a range-partitioned table Set file system caching options for tablecollect Distribution Statistics or Column Use the DB2 Explain tools to determine if spaces to optimize table spaceGroup Statistics to improve cardinality partition elimination is being used to performanceestimates during SQL compilation improve access performance to large Describe the various row insertionUse the table and indexes statistics to plan range-partitioned tables algorithms for tables that are based onfor table and index reorganization using the Tools and Utilities for Performance using the APPEND option or defining aREORG utility Select appropriate RUNSTATS options to clustering indexSet the policies and options for automation collect Distribution Statistics or Column Plan and implement Row Compression toof catalog statistics collection Group Statistics to improve cardinality reduce disk and memory requirements andMonitor the activity associated with estimates during SQL compilation improve application performanceimplementing real-time statistics collection Use the table and indexes statistics to Describe how DB2's Index compressionUse the db2batch utility to run SQL plan for table and index reorganization option can reduce disk storageworkloads and collect performance statistics using the REORG utility requirements for indexesthat can be used to benchmark database Set the policies and options for Explain how DB2 can compress temporaryand application changes automation of catalog statistics collection data to improve application performanceEvent Monitoring Monitor the activity associated with Utilize the DB2 provided tools andImplement simple Workload Management implementing real-time statistics functions to estimate compression resultsdefinitions to utilize the Workload collection for Indexes and dataManager-based event monitoring including Use the db2batch utility to run SQL DB2 memory managementactivities, statistics and threshold violations workloads and collect performance Explain the management of databaseEvaluate Event Monitor data using the Event statistics that can be used to benchmark shared memory based on setting theAnalyzer tool, the db2evmon text-based tool database and application changes configuration optionthe db2evmonfmt application or using SQL Event Monitoring DATABASE_MEMORY to AUTOMATIC,queries Implement simple Workload COMPUTED or a specific number ofDefine a LOCKING Event Monitor to capture Management definitions to utilize the pagesdeadlocks, lock timeout or lock waits Workload Manager-based event Select the mode for managing data sortConfigure a DB2 database to control monitoring including activities, statistics memory using SHEAPTHRES,information captured for deadlocks, lock and threshold violations SORTHEAP, and SHEAPTHRES_SHRtimeouts or extended lock waits Evaluate Event Monitor data using the Monitor DB2 memory usage using theImplement Event Monitors for units of work Event Analyzer tool, the db2evmon db2mtrk commands and SQL statementsor lock-related events that store information text-based tool the db2evmonfmt Utilize the db2pd command for monitoringin unformatted Event Monitor tables application or using SQL queries current database memory usageCapture SQL section information using an Define a LOCKING Event Monitor to Automated Memory ManagementACTIVITIES Event Monitor and use the data capture deadlocks, lock timeout or lock Explain the differences in STMMto generate Explain reports waits processing based on the setting of

Configure a DB2 database to control DATABASE_MEMORYinformation captured for deadlocks, lock Plan and configure a database for self

line timeouts or extended lock waits tuning memoryList the tools for monitoring database and Implement Event Monitors for units of Activate or deactivate STMM for selectedapplication activity work or lock-related events that store memory heapsUse GET SNAPSHOT commands to information in unformatted Event Monitor Describe the management of sortheapproduce reports for analysis of database tables memory based on the configuration ofperformance Capture SQL section information using sheapthres and sheapthres_shrUtilize the administrative routines and views an ACTIVITIES Event Monitor and use Explain how DB2 can automaticallyprovided by to DB2 to simplify application the data to generate Explain reports increase or decrease database memory foraccess to database performance statistics multiple DB2 databases running on theUse the db2pd to perform performance same serveranalysis or problem determination for a DB2 line Application Performance Considerationsdatabase List the tools for monitoring database and Describe the performance advantages ofUtilize the enhanced table functions with application activity using stored proceduresSQL in reporting and monitoring of the Use GET SNAPSHOT commands to Design applications to maximize recorddatabase system, data objects, and the produce reports for analysis of database blocking, minimize sort operations andpackage cache to help you quickly identify performance minimize lock contentionissues that might be causing problems Utilize the administrative routines and Monitor application performance and lockConfigure the DB2 Database configuration views provided by to DB2 to simplify waits using GET SNAPSHOT commandsoptions that control the collection of request, application access to database and SQL queriesactivity and object level metrics on the entire performance statistics Set the DB2 registry variablesdatabase Use the db2pd to perform performance DB2_EVALUNCOMMITTED,Compare the enhanced table functions with analysis or problem determination for a DB2_SKIPINSERTED andthe snapshot monitoring facilities provided DB2 database DB2_SKIPDELETED to reduce lock

Page 44: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

by previous DB2 releases Utilize the enhanced table functions with contention based on applicationDatabase Input/Output (I/O) Management SQL in reporting and monitoring of the requirementsDescribe processing for writing database database system, data objects, and the Utilize the currently committed form ofpages from buffer pools package cache to help you quickly locking to reduce lock contention betweenMonitor database read and write activity identify issues that might be causing read-only and update applicationsusing GET SNAPSHOT commands or problems Using Explain ToolsAdministrative Routines and Views Configure the DB2 Database Describe the advantages of usingMonitor database logging activity and select configuration options that control the db2exfmtappropriate values for SOFTMAX and collection of request, activity and object Create special tables used by VisualMINCOMMIT level metrics on the entire database Explain and db2exfmtDescribe how scan sharing can reduce the Compare the enhanced table functions Identify how to set the Explain snapshotI/O workload for accessing large tables with the snapshot monitoring facilities and Explain mode registers to capture theExplain the alternate page cleaning provided by previous DB2 releases information of interestprocessing associated with the Database Input/Output (I/O) Management Differentiate between the differentDB2_USE_ALTERNATE_PAGE_CLEANIN Describe processing for writing database methods of viewing Explain informationG DB2 Registry variable pages from buffer pools The DB2 OptimizerTablespace and Table Design for Monitor database read and write activity Choose the appropriate optimization classPerformance using GET SNAPSHOT commands or Describe the catalog statistics andDescribe the calculation of prefetch size Administrative Routines and Views database configuration options impact onwhen PREFETCHSIZE is set to Monitor database logging activity and access plan selectionAUTOMATIC select appropriate values for SOFTMAX Implement a statistical view to provideList the advantages of selecting DMS or and MINCOMMIT better cardinality estimates for complexSMS table space management as well as Describe how scan sharing can reduce queriesusing Automatic Storage-managed table the I/O workload for accessing large Enable the statement concentrator usingspaces tables the STMT_CONC database managerSet file system caching options for table Explain the alternate page cleaning configuration parameter to reduce SQLspaces to optimize table space performance processing associated with the compilation overhead for dynamic SQLDescribe the various row insertion DB2_USE_ALTERNATE_PAGE_CLEAN statementsalgorithms for tables that are based on using ING DB2 Registry variable Utilize the db2look utility to extract catalogthe APPEND option or defining a clustering Tablespace and Table Design for statistics from existing tables to mimic anindex Performance existing database environmentPlan and implement Row Compression to Describe the calculation of prefetch size Create an optimizer profilereduce disk and memory requirements and when PREFETCHSIZE is set to Using Indexes for Performanceimprove application performance AUTOMATIC Describe the Block Indexing capability forDescribe how DB2's Index compression List the advantages of selecting DMS or MDC tablesoption can reduce disk storage requirements SMS table space management as well as Monitor index usage using thefor indexes using Automatic Storage-managed table MON_GET_INDEX function and db2pdExplain how DB2 can compress temporary spaces commandsdata to improve application performance Set file system caching options for table Explain how multiple indexes can beUtilize the DB2 provided tools and functions spaces to optimize table space combined using Index ORing and Dynamicto estimate compression results for Indexes performance Bitmap Index ANDingand data Describe the various row insertion Use the Design Advisor to predictDB2 memory management algorithms for tables that are based on performance gains from adding newExplain the management of database using the APPEND option or defining a indexesshared memory based on setting the clustering index Complex SQL Performanceconfiguration option DATABASE_MEMORY Plan and implement Row Compression to Describe the differences between Nestedto AUTOMATIC, COMPUTED or a specific reduce disk and memory requirements Loop, Merge Scan and Hash Joinsnumber of pages and improve application performance Plan the implementation of RefreshSelect the mode for managing data sort Describe how DB2's Index compression Immediate or Refresh Deferredmemory using SHEAPTHRES, SORTHEAP, option can reduce disk storage Materialized Query Tables to improveand SHEAPTHRES_SHR requirements for indexes query performanceMonitor DB2 memory usage using the Explain how DB2 can compress Utilize the Design Advisor to analyze SQLdb2mtrk commands and SQL statements temporary data to improve application statements and recommend new MQTsUtilize the db2pd command for monitoring performance Describe the features of range-partitionedcurrent database memory usage Utilize the DB2 provided tools and tables to support large DB2 tables usingAutomated Memory Management functions to estimate compression results multiple table spaces, including the roll-inExplain the differences in STMM processing for Indexes and data and roll-out of data rangesbased on the setting of DB2 memory management Explain the difference between partitionedDATABASE_MEMORY Explain the management of database and non-partitioned indexes for aPlan and configure a database for self shared memory based on setting the range-partitioned tabletuning memory configuration option Implement partitioned indexes to improveActivate or deactivate STMM for selected DATABASE_MEMORY to AUTOMATIC, performance when you roll data out or rollmemory heaps COMPUTED or a specific number of data into a range-partitioned tableDescribe the management of sortheap pages Use the DB2 Explain tools to determine ifmemory based on the configuration of Select the mode for managing data sort partition elimination is being used tosheapthres and sheapthres_shr memory using SHEAPTHRES, improve access performance to large

Page 45: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Explain how DB2 can automatically increase SORTHEAP, and SHEAPTHRES_SHR range-partitioned tablesor decrease database memory for multiple Monitor DB2 memory usage using the Tools and Utilities for PerformanceDB2 databases running on the same server db2mtrk commands and SQL statements Select appropriate RUNSTATS options toApplication Performance Considerations Utilize the db2pd command for collect Distribution Statistics or ColumnDescribe the performance advantages of monitoring current database memory Group Statistics to improve cardinalityusing stored procedures usage estimates during SQL compilationDesign applications to maximize record Automated Memory Management Use the table and indexes statistics to planblocking, minimize sort operations and Explain the differences in STMM for table and index reorganization usingminimize lock contention processing based on the setting of the REORG utilityMonitor application performance and lock DATABASE_MEMORY Set the policies and options for automationwaits using GET SNAPSHOT commands Plan and configure a database for self of catalog statistics collectionand SQL queries tuning memory Monitor the activity associated withSet the DB2 registry variables Activate or deactivate STMM for selected implementing real-time statistics collectionDB2_EVALUNCOMMITTED, memory heaps Use the db2batch utility to run SQLDB2_SKIPINSERTED and Describe the management of sortheap workloads and collect performanceDB2_SKIPDELETED to reduce lock memory based on the configuration of statistics that can be used to benchmarkcontention based on application sheapthres and sheapthres_shr database and application changesrequirements Explain how DB2 can automatically Event MonitoringUtilize the currently committed form of increase or decrease database memory Implement simple Workload Managementlocking to reduce lock contention between for multiple DB2 databases running on definitions to utilize the Workloadread-only and update applications the same server Manager-based event monitoring includingUsing Explain Tools Application Performance Considerations activities, statistics and threshold violationsDescribe the advantages of using db2exfmt Describe the performance advantages of Evaluate Event Monitor data using theCreate special tables used by Visual Explain using stored procedures Event Analyzer tool, the db2evmonand db2exfmt Design applications to maximize record text-based tool the db2evmonfmtIdentify how to set the Explain snapshot and blocking, minimize sort operations and application or using SQL queriesExplain mode registers to capture the minimize lock contention Define a LOCKING Event Monitor toinformation of interest Monitor application performance and lock capture deadlocks, lock timeout or lockDifferentiate between the different methods waits using GET SNAPSHOT commands waitsof viewing Explain information and SQL queries Configure a DB2 database to controlThe DB2 Optimizer Set the DB2 registry variables information captured for deadlocks, lockChoose the appropriate optimization class DB2_EVALUNCOMMITTED, timeouts or extended lock waitsDescribe the catalog statistics and database DB2_SKIPINSERTED and Implement Event Monitors for units of workconfiguration options impact on access plan DB2_SKIPDELETED to reduce lock or lock-related events that storeselection contention based on application information in unformatted Event MonitorImplement a statistical view to provide better requirements tablescardinality estimates for complex queries Utilize the currently committed form of Capture SQL section information using anEnable the statement concentrator using the locking to reduce lock contention ACTIVITIES Event Monitor and use theSTMT_CONC database manager between read-only and update data to generate Explain reportsconfiguration parameter to reduce SQL applicationscompilation overhead for dynamic SQL Using Explain Toolsstatements Describe the advantages of using lineUtilize the db2look utility to extract catalog db2exfmt List the tools for monitoring database andstatistics from existing tables to mimic an Create special tables used by Visual application activityexisting database environment Explain and db2exfmt Use GET SNAPSHOT commands toCreate an optimizer profile Identify how to set the Explain snapshot produce reports for analysis of databaseUsing Indexes for Performance and Explain mode registers to capture performanceDescribe the Block Indexing capability for the information of interest Utilize the administrative routines andMDC tables Differentiate between the different views provided by to DB2 to simplifyMonitor index usage using the methods of viewing Explain information application access to databaseMON_GET_INDEX function and db2pd The DB2 Optimizer performance statisticscommands Choose the appropriate optimization Use the db2pd to perform performanceExplain how multiple indexes can be class analysis or problem determination for acombined using Index ORing and Dynamic Describe the catalog statistics and DB2 databaseBitmap Index ANDing database configuration options impact on Utilize the enhanced table functions withUse the Design Advisor to predict access plan selection SQL in reporting and monitoring of theperformance gains from adding new indexes Implement a statistical view to provide database system, data objects, and theComplex SQL Performance better cardinality estimates for complex package cache to help you quickly identifyDescribe the differences between Nested queries issues that might be causing problemsLoop, Merge Scan and Hash Joins Enable the statement concentrator using Configure the DB2 Database configurationPlan the implementation of Refresh the STMT_CONC database manager options that control the collection ofImmediate or Refresh Deferred Materialized configuration parameter to reduce SQL request, activity and object level metrics onQuery Tables to improve query performance compilation overhead for dynamic SQL the entire databaseUtilize the Design Advisor to analyze SQL statements Compare the enhanced table functionsstatements and recommend new MQTs Utilize the db2look utility to extract with the snapshot monitoring facilitiesDescribe the features of range-partitioned catalog statistics from existing tables to provided by previous DB2 releases

Page 46: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

tables to support large DB2 tables using mimic an existing database environment Database Input/Output (I/O) Managementmultiple table spaces, including the roll-in Create an optimizer profile Describe processing for writing databaseand roll-out of data ranges Using Indexes for Performance pages from buffer poolsExplain the difference between partitioned Describe the Block Indexing capability for Monitor database read and write activityand non-partitioned indexes for a MDC tables using GET SNAPSHOT commands orrange-partitioned table Monitor index usage using the Administrative Routines and ViewsImplement partitioned indexes to improve MON_GET_INDEX function and db2pd Monitor database logging activity andperformance when you roll data out or roll commands select appropriate values for SOFTMAXdata into a range-partitioned table Explain how multiple indexes can be and MINCOMMITUse the DB2 Explain tools to determine if combined using Index ORing and Describe how scan sharing can reduce thepartition elimination is being used to improve Dynamic Bitmap Index ANDing I/O workload for accessing large tablesaccess performance to large Use the Design Advisor to predict Explain the alternate page cleaningrange-partitioned tables performance gains from adding new processing associated with theTools and Utilities for Performance indexes DB2_USE_ALTERNATE_PAGE_CLEANISelect appropriate RUNSTATS options to Complex SQL Performance NG DB2 Registry variablecollect Distribution Statistics or Column Describe the differences between Nested Tablespace and Table Design forGroup Statistics to improve cardinality Loop, Merge Scan and Hash Joins Performanceestimates during SQL compilation Plan the implementation of Refresh Describe the calculation of prefetch sizeUse the table and indexes statistics to plan Immediate or Refresh Deferred when PREFETCHSIZE is set tofor table and index reorganization using the Materialized Query Tables to improve AUTOMATICREORG utility query performance List the advantages of selecting DMS orSet the policies and options for automation Utilize the Design Advisor to analyze SQL SMS table space management as well asof catalog statistics collection statements and recommend new MQTs using Automatic Storage-managed tableMonitor the activity associated with Describe the features of range-partitioned spacesimplementing real-time statistics collection tables to support large DB2 tables using Set file system caching options for tableUse the db2batch utility to run SQL multiple table spaces, including the roll-in spaces to optimize table spaceworkloads and collect performance statistics and roll-out of data ranges performancethat can be used to benchmark database Explain the difference between Describe the various row insertionand application changes partitioned and non-partitioned indexes algorithms for tables that are based onEvent Monitoring for a range-partitioned table using the APPEND option or defining aImplement simple Workload Management Implement partitioned indexes to improve clustering indexdefinitions to utilize the Workload performance when you roll data out or roll Plan and implement Row Compression toManager-based event monitoring including data into a range-partitioned table reduce disk and memory requirements andactivities, statistics and threshold violations Use the DB2 Explain tools to determine if improve application performanceEvaluate Event Monitor data using the Event partition elimination is being used to Describe how DB2's Index compressionAnalyzer tool, the db2evmon text-based tool improve access performance to large option can reduce disk storagethe db2evmonfmt application or using SQL range-partitioned tables requirements for indexesqueries Tools and Utilities for Performance Explain how DB2 can compress temporaryDefine a LOCKING Event Monitor to capture Select appropriate RUNSTATS options to data to improve application performancedeadlocks, lock timeout or lock waits collect Distribution Statistics or Column Utilize the DB2 provided tools andConfigure a DB2 database to control Group Statistics to improve cardinality functions to estimate compression resultsinformation captured for deadlocks, lock estimates during SQL compilation for Indexes and datatimeouts or extended lock waits Use the table and indexes statistics to DB2 memory managementImplement Event Monitors for units of work plan for table and index reorganization Explain the management of databaseor lock-related events that store information using the REORG utility shared memory based on setting thein unformatted Event Monitor tables Set the policies and options for configuration optionCapture SQL section information using an automation of catalog statistics collection DATABASE_MEMORY to AUTOMATIC,ACTIVITIES Event Monitor and use the data Monitor the activity associated with COMPUTED or a specific number ofto generate Explain reports implementing real-time statistics pages

collection Select the mode for managing data sortUse the db2batch utility to run SQL memory using SHEAPTHRES,

line workloads and collect performance SORTHEAP, and SHEAPTHRES_SHRDescribe the basic principles in monitoring a statistics that can be used to benchmark Monitor DB2 memory usage using theDB2 database database and application changes db2mtrk commands and SQL statementsDescribe processing for reading database Event Monitoring Utilize the db2pd command for monitoringpages into buffer pools Implement simple Workload current database memory usageSelect appropriate values for table space Management definitions to utilize the Automated Memory Managementpage size and extent size to support Workload Manager-based event Explain the differences in STMMapplication performance requirements monitoring including activities, statistics processing based on the setting ofDescribe memory heap usage for instance and threshold violations DATABASE_MEMORYmemory, database shared memory and Evaluate Event Monitor data using the Plan and configure a database for selfapplication memory Event Analyzer tool, the db2evmon tuning memoryDescribe how STMM can be used to text-based tool the db2evmonfmt Activate or deactivate STMM for selectedautomatically manage database shared application or using SQL queries memory heapsmemory heaps Define a LOCKING Event Monitor to Describe the management of sortheapList examples of application coding capture deadlocks, lock timeout or lock memory based on the configuration of

Page 47: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

techniques that can effect performance waits sheapthres and sheapthres_shrDescribe the advantages of using Visual Configure a DB2 database to control Explain how DB2 can automaticallyExplain information captured for deadlocks, lock increase or decrease database memory forDescribe the stages of the SQL compiler timeouts or extended lock waits multiple DB2 databases running on theDescribe the Indexing options that can be Implement Event Monitors for units of same serverused to improve performance: Index Only work or lock-related events that store Application Performance ConsiderationsAccess, Clustered Index, Reverse Scans, information in unformatted Event Monitor Describe the performance advantages ofInclude Columns, and Index Freespace tables using stored proceduresReview Explain reports for costly sort Capture SQL section information using Design applications to maximize recordoperations an ACTIVITIES Event Monitor and use blocking, minimize sort operations andUse the RUNSTATS utility to collect table the data to generate Explain reports minimize lock contentionand index statistics to enable the DB2 Monitor application performance and lockOptimizer to generate efficient access waits using GET SNAPSHOT commandsstrategies line and SQL queriesCreate Event Monitors to collect Describe the basic principles in Set the DB2 registry variablesperformance statistics at the database, monitoring a DB2 database DB2_EVALUNCOMMITTED,application or SQL statement level Describe processing for reading database DB2_SKIPINSERTED and

pages into buffer pools DB2_SKIPDELETED to reduce lockSelect appropriate values for table space contention based on application

line page size and extent size to support requirementsList the tools for monitoring database and application performance requirements Utilize the currently committed form ofapplication activity Describe memory heap usage for locking to reduce lock contention betweenUse GET SNAPSHOT commands to instance memory, database shared read-only and update applicationsproduce reports for analysis of database memory and application memory Using Explain Toolsperformance Describe how STMM can be used to Describe the advantages of usingUtilize the administrative routines and views automatically manage database shared db2exfmtprovided by to DB2 to simplify application memory heaps Create special tables used by Visualaccess to database performance statistics List examples of application coding Explain and db2exfmtUse the db2pd to perform performance techniques that can effect performance Identify how to set the Explain snapshotanalysis or problem determination for a DB2 Describe the advantages of using Visual and Explain mode registers to capture thedatabase Explain information of interestUtilize the enhanced table functions with Describe the stages of the SQL compiler Differentiate between the differentSQL in reporting and monitoring of the Describe the Indexing options that can be methods of viewing Explain informationdatabase system, data objects, and the used to improve performance: Index Only The DB2 Optimizerpackage cache to help you quickly identify Access, Clustered Index, Reverse Scans, Choose the appropriate optimization classissues that might be causing problems Include Columns, and Index Freespace Describe the catalog statistics andConfigure the DB2 Database configuration Review Explain reports for costly sort database configuration options impact onoptions that control the collection of request, operations access plan selectionactivity and object level metrics on the entire Use the RUNSTATS utility to collect table Implement a statistical view to providedatabase and index statistics to enable the DB2 better cardinality estimates for complexCompare the enhanced table functions with Optimizer to generate efficient access queriesthe snapshot monitoring facilities provided strategies Enable the statement concentrator usingby previous DB2 releases Create Event Monitors to collect the STMT_CONC database managerDatabase Input/Output (I/O) Management performance statistics at the database, configuration parameter to reduce SQLDescribe processing for writing database application or SQL statement level compilation overhead for dynamic SQLpages from buffer pools statementsMonitor database read and write activity Utilize the db2look utility to extract catalogusing GET SNAPSHOT commands or line statistics from existing tables to mimic anAdministrative Routines and Views List the tools for monitoring database and existing database environmentMonitor database logging activity and select application activity Create an optimizer profileappropriate values for SOFTMAX and Use GET SNAPSHOT commands to Using Indexes for PerformanceMINCOMMIT produce reports for analysis of database Describe the Block Indexing capability forDescribe how scan sharing can reduce the performance MDC tablesI/O workload for accessing large tables Utilize the administrative routines and Monitor index usage using theExplain the alternate page cleaning views provided by to DB2 to simplify MON_GET_INDEX function and db2pdprocessing associated with the application access to database commandsDB2_USE_ALTERNATE_PAGE_CLEANIN performance statistics Explain how multiple indexes can beG DB2 Registry variable Use the db2pd to perform performance combined using Index ORing and DynamicTablespace and Table Design for analysis or problem determination for a Bitmap Index ANDingPerformance DB2 database Use the Design Advisor to predictDescribe the calculation of prefetch size Utilize the enhanced table functions with performance gains from adding newwhen PREFETCHSIZE is set to SQL in reporting and monitoring of the indexesAUTOMATIC database system, data objects, and the Complex SQL PerformanceList the advantages of selecting DMS or package cache to help you quickly Describe the differences between NestedSMS table space management as well as identify issues that might be causing Loop, Merge Scan and Hash Joinsusing Automatic Storage-managed table problems Plan the implementation of Refresh

Page 48: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

spaces Configure the DB2 Database Immediate or Refresh DeferredSet file system caching options for table configuration options that control the Materialized Query Tables to improvespaces to optimize table space performance collection of request, activity and object query performanceDescribe the various row insertion level metrics on the entire database Utilize the Design Advisor to analyze SQLalgorithms for tables that are based on using Compare the enhanced table functions statements and recommend new MQTsthe APPEND option or defining a clustering with the snapshot monitoring facilities Describe the features of range-partitionedindex provided by previous DB2 releases tables to support large DB2 tables usingPlan and implement Row Compression to Database Input/Output (I/O) Management multiple table spaces, including the roll-inreduce disk and memory requirements and Describe processing for writing database and roll-out of data rangesimprove application performance pages from buffer pools Explain the difference between partitionedDescribe how DB2's Index compression Monitor database read and write activity and non-partitioned indexes for aoption can reduce disk storage requirements using GET SNAPSHOT commands or range-partitioned tablefor indexes Administrative Routines and Views Implement partitioned indexes to improveExplain how DB2 can compress temporary Monitor database logging activity and performance when you roll data out or rolldata to improve application performance select appropriate values for SOFTMAX data into a range-partitioned tableUtilize the DB2 provided tools and functions and MINCOMMIT Use the DB2 Explain tools to determine ifto estimate compression results for Indexes Describe how scan sharing can reduce partition elimination is being used toand data the I/O workload for accessing large improve access performance to largeDB2 memory management tables range-partitioned tablesExplain the management of database Explain the alternate page cleaning Tools and Utilities for Performanceshared memory based on setting the processing associated with the Select appropriate RUNSTATS options toconfiguration option DATABASE_MEMORY DB2_USE_ALTERNATE_PAGE_CLEAN collect Distribution Statistics or Columnto AUTOMATIC, COMPUTED or a specific ING DB2 Registry variable Group Statistics to improve cardinalitynumber of pages Tablespace and Table Design for estimates during SQL compilationSelect the mode for managing data sort Performance Use the table and indexes statistics to planmemory using SHEAPTHRES, SORTHEAP, Describe the calculation of prefetch size for table and index reorganization usingand SHEAPTHRES_SHR when PREFETCHSIZE is set to the REORG utilityMonitor DB2 memory usage using the AUTOMATIC Set the policies and options for automationdb2mtrk commands and SQL statements List the advantages of selecting DMS or of catalog statistics collectionUtilize the db2pd command for monitoring SMS table space management as well as Monitor the activity associated withcurrent database memory usage using Automatic Storage-managed table implementing real-time statistics collectionAutomated Memory Management spaces Use the db2batch utility to run SQLExplain the differences in STMM processing Set file system caching options for table workloads and collect performancebased on the setting of spaces to optimize table space statistics that can be used to benchmarkDATABASE_MEMORY performance database and application changesPlan and configure a database for self Describe the various row insertion Event Monitoringtuning memory algorithms for tables that are based on Implement simple Workload ManagementActivate or deactivate STMM for selected using the APPEND option or defining a definitions to utilize the Workloadmemory heaps clustering index Manager-based event monitoring includingDescribe the management of sortheap Plan and implement Row Compression to activities, statistics and threshold violationsmemory based on the configuration of reduce disk and memory requirements Evaluate Event Monitor data using thesheapthres and sheapthres_shr and improve application performance Event Analyzer tool, the db2evmonExplain how DB2 can automatically increase Describe how DB2's Index compression text-based tool the db2evmonfmtor decrease database memory for multiple option can reduce disk storage application or using SQL queriesDB2 databases running on the same server requirements for indexes Define a LOCKING Event Monitor toApplication Performance Considerations Explain how DB2 can compress capture deadlocks, lock timeout or lockDescribe the performance advantages of temporary data to improve application waitsusing stored procedures performance Configure a DB2 database to controlDesign applications to maximize record Utilize the DB2 provided tools and information captured for deadlocks, lockblocking, minimize sort operations and functions to estimate compression results timeouts or extended lock waitsminimize lock contention for Indexes and data Implement Event Monitors for units of workMonitor application performance and lock DB2 memory management or lock-related events that storewaits using GET SNAPSHOT commands Explain the management of database information in unformatted Event Monitorand SQL queries shared memory based on setting the tablesSet the DB2 registry variables configuration option Capture SQL section information using anDB2_EVALUNCOMMITTED, DATABASE_MEMORY to AUTOMATIC, ACTIVITIES Event Monitor and use theDB2_SKIPINSERTED and COMPUTED or a specific number of data to generate Explain reportsDB2_SKIPDELETED to reduce lock pagescontention based on application Select the mode for managing data sortrequirements memory using SHEAPTHRES, lineUtilize the currently committed form of SORTHEAP, and SHEAPTHRES_SHR List the tools for monitoring database andlocking to reduce lock contention between Monitor DB2 memory usage using the application activityread-only and update applications db2mtrk commands and SQL statements Use GET SNAPSHOT commands toUsing Explain Tools Utilize the db2pd command for produce reports for analysis of databaseDescribe the advantages of using db2exfmt monitoring current database memory performanceCreate special tables used by Visual Explain usage Utilize the administrative routines and

Page 49: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

and db2exfmt Automated Memory Management views provided by to DB2 to simplifyIdentify how to set the Explain snapshot and Explain the differences in STMM application access to databaseExplain mode registers to capture the processing based on the setting of performance statisticsinformation of interest DATABASE_MEMORY Use the db2pd to perform performanceDifferentiate between the different methods Plan and configure a database for self analysis or problem determination for aof viewing Explain information tuning memory DB2 databaseThe DB2 Optimizer Activate or deactivate STMM for selected Utilize the enhanced table functions withChoose the appropriate optimization class memory heaps SQL in reporting and monitoring of theDescribe the catalog statistics and database Describe the management of sortheap database system, data objects, and theconfiguration options impact on access plan memory based on the configuration of package cache to help you quickly identifyselection sheapthres and sheapthres_shr issues that might be causing problemsImplement a statistical view to provide better Explain how DB2 can automatically Configure the DB2 Database configurationcardinality estimates for complex queries increase or decrease database memory options that control the collection ofEnable the statement concentrator using the for multiple DB2 databases running on request, activity and object level metrics onSTMT_CONC database manager the same server the entire databaseconfiguration parameter to reduce SQL Application Performance Considerations Compare the enhanced table functionscompilation overhead for dynamic SQL Describe the performance advantages of with the snapshot monitoring facilitiesstatements using stored procedures provided by previous DB2 releasesUtilize the db2look utility to extract catalog Design applications to maximize record Database Input/Output (I/O) Managementstatistics from existing tables to mimic an blocking, minimize sort operations and Describe processing for writing databaseexisting database environment minimize lock contention pages from buffer poolsCreate an optimizer profile Monitor application performance and lock Monitor database read and write activityUsing Indexes for Performance waits using GET SNAPSHOT commands using GET SNAPSHOT commands orDescribe the Block Indexing capability for and SQL queries Administrative Routines and ViewsMDC tables Set the DB2 registry variables Monitor database logging activity andMonitor index usage using the DB2_EVALUNCOMMITTED, select appropriate values for SOFTMAXMON_GET_INDEX function and db2pd DB2_SKIPINSERTED and and MINCOMMITcommands DB2_SKIPDELETED to reduce lock Describe how scan sharing can reduce theExplain how multiple indexes can be contention based on application I/O workload for accessing large tablescombined using Index ORing and Dynamic requirements Explain the alternate page cleaningBitmap Index ANDing Utilize the currently committed form of processing associated with theUse the Design Advisor to predict locking to reduce lock contention DB2_USE_ALTERNATE_PAGE_CLEANIperformance gains from adding new indexes between read-only and update NG DB2 Registry variableComplex SQL Performance applications Tablespace and Table Design forDescribe the differences between Nested Using Explain Tools PerformanceLoop, Merge Scan and Hash Joins Describe the advantages of using Describe the calculation of prefetch sizePlan the implementation of Refresh db2exfmt when PREFETCHSIZE is set toImmediate or Refresh Deferred Materialized Create special tables used by Visual AUTOMATICQuery Tables to improve query performance Explain and db2exfmt List the advantages of selecting DMS orUtilize the Design Advisor to analyze SQL Identify how to set the Explain snapshot SMS table space management as well asstatements and recommend new MQTs and Explain mode registers to capture using Automatic Storage-managed tableDescribe the features of range-partitioned the information of interest spacestables to support large DB2 tables using Differentiate between the different Set file system caching options for tablemultiple table spaces, including the roll-in methods of viewing Explain information spaces to optimize table spaceand roll-out of data ranges The DB2 Optimizer performanceExplain the difference between partitioned Choose the appropriate optimization Describe the various row insertionand non-partitioned indexes for a class algorithms for tables that are based onrange-partitioned table Describe the catalog statistics and using the APPEND option or defining aImplement partitioned indexes to improve database configuration options impact on clustering indexperformance when you roll data out or roll access plan selection Plan and implement Row Compression todata into a range-partitioned table Implement a statistical view to provide reduce disk and memory requirements andUse the DB2 Explain tools to determine if better cardinality estimates for complex improve application performancepartition elimination is being used to improve queries Describe how DB2's Index compressionaccess performance to large Enable the statement concentrator using option can reduce disk storagerange-partitioned tables the STMT_CONC database manager requirements for indexesTools and Utilities for Performance configuration parameter to reduce SQL Explain how DB2 can compress temporarySelect appropriate RUNSTATS options to compilation overhead for dynamic SQL data to improve application performancecollect Distribution Statistics or Column statements Utilize the DB2 provided tools andGroup Statistics to improve cardinality Utilize the db2look utility to extract functions to estimate compression resultsestimates during SQL compilation catalog statistics from existing tables to for Indexes and dataUse the table and indexes statistics to plan mimic an existing database environment DB2 memory managementfor table and index reorganization using the Create an optimizer profile Explain the management of databaseREORG utility Using Indexes for Performance shared memory based on setting theSet the policies and options for automation Describe the Block Indexing capability for configuration optionof catalog statistics collection MDC tables DATABASE_MEMORY to AUTOMATIC,Monitor the activity associated with Monitor index usage using the COMPUTED or a specific number of

Page 50: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

implementing real-time statistics collection MON_GET_INDEX function and db2pd pagesUse the db2batch utility to run SQL commands Select the mode for managing data sortworkloads and collect performance statistics Explain how multiple indexes can be memory using SHEAPTHRES,that can be used to benchmark database combined using Index ORing and SORTHEAP, and SHEAPTHRES_SHRand application changes Dynamic Bitmap Index ANDing Monitor DB2 memory usage using theEvent Monitoring Use the Design Advisor to predict db2mtrk commands and SQL statementsImplement simple Workload Management performance gains from adding new Utilize the db2pd command for monitoringdefinitions to utilize the Workload indexes current database memory usageManager-based event monitoring including Complex SQL Performance Automated Memory Managementactivities, statistics and threshold violations Describe the differences between Nested Explain the differences in STMMEvaluate Event Monitor data using the Event Loop, Merge Scan and Hash Joins processing based on the setting ofAnalyzer tool, the db2evmon text-based tool Plan the implementation of Refresh DATABASE_MEMORYthe db2evmonfmt application or using SQL Immediate or Refresh Deferred Plan and configure a database for selfqueries Materialized Query Tables to improve tuning memoryDefine a LOCKING Event Monitor to capture query performance Activate or deactivate STMM for selecteddeadlocks, lock timeout or lock waits Utilize the Design Advisor to analyze SQL memory heapsConfigure a DB2 database to control statements and recommend new MQTs Describe the management of sortheapinformation captured for deadlocks, lock Describe the features of range-partitioned memory based on the configuration oftimeouts or extended lock waits tables to support large DB2 tables using sheapthres and sheapthres_shrImplement Event Monitors for units of work multiple table spaces, including the roll-in Explain how DB2 can automaticallyor lock-related events that store information and roll-out of data ranges increase or decrease database memory forin unformatted Event Monitor tables Explain the difference between multiple DB2 databases running on theCapture SQL section information using an partitioned and non-partitioned indexes same serverACTIVITIES Event Monitor and use the data for a range-partitioned table Application Performance Considerationsto generate Explain reports Implement partitioned indexes to improve Describe the performance advantages of

performance when you roll data out or roll using stored proceduresdata into a range-partitioned table Design applications to maximize record

line Use the DB2 Explain tools to determine if blocking, minimize sort operations andList the tools for monitoring database and partition elimination is being used to minimize lock contentionapplication activity improve access performance to large Monitor application performance and lockUse GET SNAPSHOT commands to range-partitioned tables waits using GET SNAPSHOT commandsproduce reports for analysis of database Tools and Utilities for Performance and SQL queriesperformance Select appropriate RUNSTATS options to Set the DB2 registry variablesUtilize the administrative routines and views collect Distribution Statistics or Column DB2_EVALUNCOMMITTED,provided by to DB2 to simplify application Group Statistics to improve cardinality DB2_SKIPINSERTED andaccess to database performance statistics estimates during SQL compilation DB2_SKIPDELETED to reduce lockUse the db2pd to perform performance Use the table and indexes statistics to contention based on applicationanalysis or problem determination for a DB2 plan for table and index reorganization requirementsdatabase using the REORG utility Utilize the currently committed form ofUtilize the enhanced table functions with Set the policies and options for locking to reduce lock contention betweenSQL in reporting and monitoring of the automation of catalog statistics collection read-only and update applicationsdatabase system, data objects, and the Monitor the activity associated with Using Explain Toolspackage cache to help you quickly identify implementing real-time statistics Describe the advantages of usingissues that might be causing problems collection db2exfmtConfigure the DB2 Database configuration Use the db2batch utility to run SQL Create special tables used by Visualoptions that control the collection of request, workloads and collect performance Explain and db2exfmtactivity and object level metrics on the entire statistics that can be used to benchmark Identify how to set the Explain snapshotdatabase database and application changes and Explain mode registers to capture theCompare the enhanced table functions with Event Monitoring information of interestthe snapshot monitoring facilities provided Implement simple Workload Differentiate between the differentby previous DB2 releases Management definitions to utilize the methods of viewing Explain informationDatabase Input/Output (I/O) Management Workload Manager-based event The DB2 OptimizerDescribe processing for writing database monitoring including activities, statistics Choose the appropriate optimization classpages from buffer pools and threshold violations Describe the catalog statistics andMonitor database read and write activity Evaluate Event Monitor data using the database configuration options impact onusing GET SNAPSHOT commands or Event Analyzer tool, the db2evmon access plan selectionAdministrative Routines and Views text-based tool the db2evmonfmt Implement a statistical view to provideMonitor database logging activity and select application or using SQL queries better cardinality estimates for complexappropriate values for SOFTMAX and Define a LOCKING Event Monitor to queriesMINCOMMIT capture deadlocks, lock timeout or lock Enable the statement concentrator usingDescribe how scan sharing can reduce the waits the STMT_CONC database managerI/O workload for accessing large tables Configure a DB2 database to control configuration parameter to reduce SQLExplain the alternate page cleaning information captured for deadlocks, lock compilation overhead for dynamic SQLprocessing associated with the timeouts or extended lock waits statementsDB2_USE_ALTERNATE_PAGE_CLEANIN Implement Event Monitors for units of Utilize the db2look utility to extract catalogG DB2 Registry variable work or lock-related events that store statistics from existing tables to mimic an

Page 51: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Tablespace and Table Design for information in unformatted Event Monitor existing database environmentPerformance tables Create an optimizer profileDescribe the calculation of prefetch size Capture SQL section information using Using Indexes for Performancewhen PREFETCHSIZE is set to an ACTIVITIES Event Monitor and use Describe the Block Indexing capability forAUTOMATIC the data to generate Explain reports MDC tablesList the advantages of selecting DMS or Monitor index usage using theSMS table space management as well as MON_GET_INDEX function and db2pdusing Automatic Storage-managed table line commandsspaces List the tools for monitoring database and Explain how multiple indexes can beSet file system caching options for table application activity combined using Index ORing and Dynamicspaces to optimize table space performance Use GET SNAPSHOT commands to Bitmap Index ANDingDescribe the various row insertion produce reports for analysis of database Use the Design Advisor to predictalgorithms for tables that are based on using performance performance gains from adding newthe APPEND option or defining a clustering Utilize the administrative routines and indexesindex views provided by to DB2 to simplify Complex SQL PerformancePlan and implement Row Compression to application access to database Describe the differences between Nestedreduce disk and memory requirements and performance statistics Loop, Merge Scan and Hash Joinsimprove application performance Use the db2pd to perform performance Plan the implementation of RefreshDescribe how DB2's Index compression analysis or problem determination for a Immediate or Refresh Deferredoption can reduce disk storage requirements DB2 database Materialized Query Tables to improvefor indexes Utilize the enhanced table functions with query performanceExplain how DB2 can compress temporary SQL in reporting and monitoring of the Utilize the Design Advisor to analyze SQLdata to improve application performance database system, data objects, and the statements and recommend new MQTsUtilize the DB2 provided tools and functions package cache to help you quickly Describe the features of range-partitionedto estimate compression results for Indexes identify issues that might be causing tables to support large DB2 tables usingand data problems multiple table spaces, including the roll-inDB2 memory management Configure the DB2 Database and roll-out of data rangesExplain the management of database configuration options that control the Explain the difference between partitionedshared memory based on setting the collection of request, activity and object and non-partitioned indexes for aconfiguration option DATABASE_MEMORY level metrics on the entire database range-partitioned tableto AUTOMATIC, COMPUTED or a specific Compare the enhanced table functions Implement partitioned indexes to improvenumber of pages with the snapshot monitoring facilities performance when you roll data out or rollSelect the mode for managing data sort provided by previous DB2 releases data into a range-partitioned tablememory using SHEAPTHRES, SORTHEAP, Database Input/Output (I/O) Management Use the DB2 Explain tools to determine ifand SHEAPTHRES_SHR Describe processing for writing database partition elimination is being used toMonitor DB2 memory usage using the pages from buffer pools improve access performance to largedb2mtrk commands and SQL statements Monitor database read and write activity range-partitioned tablesUtilize the db2pd command for monitoring using GET SNAPSHOT commands or Tools and Utilities for Performancecurrent database memory usage Administrative Routines and Views Select appropriate RUNSTATS options toAutomated Memory Management Monitor database logging activity and collect Distribution Statistics or ColumnExplain the differences in STMM processing select appropriate values for SOFTMAX Group Statistics to improve cardinalitybased on the setting of and MINCOMMIT estimates during SQL compilationDATABASE_MEMORY Describe how scan sharing can reduce Use the table and indexes statistics to planPlan and configure a database for self the I/O workload for accessing large for table and index reorganization usingtuning memory tables the REORG utilityActivate or deactivate STMM for selected Explain the alternate page cleaning Set the policies and options for automationmemory heaps processing associated with the of catalog statistics collectionDescribe the management of sortheap DB2_USE_ALTERNATE_PAGE_CLEAN Monitor the activity associated withmemory based on the configuration of ING DB2 Registry variable implementing real-time statistics collectionsheapthres and sheapthres_shr Tablespace and Table Design for Use the db2batch utility to run SQLExplain how DB2 can automatically increase Performance workloads and collect performanceor decrease database memory for multiple Describe the calculation of prefetch size statistics that can be used to benchmarkDB2 databases running on the same server when PREFETCHSIZE is set to database and application changesApplication Performance Considerations AUTOMATIC Event MonitoringDescribe the performance advantages of List the advantages of selecting DMS or Implement simple Workload Managementusing stored procedures SMS table space management as well as definitions to utilize the WorkloadDesign applications to maximize record using Automatic Storage-managed table Manager-based event monitoring includingblocking, minimize sort operations and spaces activities, statistics and threshold violationsminimize lock contention Set file system caching options for table Evaluate Event Monitor data using theMonitor application performance and lock spaces to optimize table space Event Analyzer tool, the db2evmonwaits using GET SNAPSHOT commands performance text-based tool the db2evmonfmtand SQL queries Describe the various row insertion application or using SQL queriesSet the DB2 registry variables algorithms for tables that are based on Define a LOCKING Event Monitor toDB2_EVALUNCOMMITTED, using the APPEND option or defining a capture deadlocks, lock timeout or lockDB2_SKIPINSERTED and clustering index waitsDB2_SKIPDELETED to reduce lock Plan and implement Row Compression to Configure a DB2 database to control

Page 52: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

contention based on application reduce disk and memory requirements information captured for deadlocks, lockrequirements and improve application performance timeouts or extended lock waitsUtilize the currently committed form of Describe how DB2's Index compression Implement Event Monitors for units of worklocking to reduce lock contention between option can reduce disk storage or lock-related events that storeread-only and update applications requirements for indexes information in unformatted Event MonitorUsing Explain Tools Explain how DB2 can compress tablesDescribe the advantages of using db2exfmt temporary data to improve application Capture SQL section information using anCreate special tables used by Visual Explain performance ACTIVITIES Event Monitor and use theand db2exfmt Utilize the DB2 provided tools and data to generate Explain reportsIdentify how to set the Explain snapshot and functions to estimate compression resultsExplain mode registers to capture the for Indexes and datainformation of interest DB2 memory management lineDifferentiate between the different methods Explain the management of database List the tools for monitoring database andof viewing Explain information shared memory based on setting the application activityThe DB2 Optimizer configuration option Use GET SNAPSHOT commands toChoose the appropriate optimization class DATABASE_MEMORY to AUTOMATIC, produce reports for analysis of databaseDescribe the catalog statistics and database COMPUTED or a specific number of performanceconfiguration options impact on access plan pages Utilize the administrative routines andselection Select the mode for managing data sort views provided by to DB2 to simplifyImplement a statistical view to provide better memory using SHEAPTHRES, application access to databasecardinality estimates for complex queries SORTHEAP, and SHEAPTHRES_SHR performance statisticsEnable the statement concentrator using the Monitor DB2 memory usage using the Use the db2pd to perform performanceSTMT_CONC database manager db2mtrk commands and SQL statements analysis or problem determination for aconfiguration parameter to reduce SQL Utilize the db2pd command for DB2 databasecompilation overhead for dynamic SQL monitoring current database memory Utilize the enhanced table functions withstatements usage SQL in reporting and monitoring of theUtilize the db2look utility to extract catalog Automated Memory Management database system, data objects, and thestatistics from existing tables to mimic an Explain the differences in STMM package cache to help you quickly identifyexisting database environment processing based on the setting of issues that might be causing problemsCreate an optimizer profile DATABASE_MEMORY Configure the DB2 Database configurationUsing Indexes for Performance Plan and configure a database for self options that control the collection ofDescribe the Block Indexing capability for tuning memory request, activity and object level metrics onMDC tables Activate or deactivate STMM for selected the entire databaseMonitor index usage using the memory heaps Compare the enhanced table functionsMON_GET_INDEX function and db2pd Describe the management of sortheap with the snapshot monitoring facilitiescommands memory based on the configuration of provided by previous DB2 releasesExplain how multiple indexes can be sheapthres and sheapthres_shr Database Input/Output (I/O) Managementcombined using Index ORing and Dynamic Explain how DB2 can automatically Describe processing for writing databaseBitmap Index ANDing increase or decrease database memory pages from buffer poolsUse the Design Advisor to predict for multiple DB2 databases running on Monitor database read and write activityperformance gains from adding new indexes the same server using GET SNAPSHOT commands orComplex SQL Performance Application Performance Considerations Administrative Routines and ViewsDescribe the differences between Nested Describe the performance advantages of Monitor database logging activity andLoop, Merge Scan and Hash Joins using stored procedures select appropriate values for SOFTMAXPlan the implementation of Refresh Design applications to maximize record and MINCOMMITImmediate or Refresh Deferred Materialized blocking, minimize sort operations and Describe how scan sharing can reduce theQuery Tables to improve query performance minimize lock contention I/O workload for accessing large tablesUtilize the Design Advisor to analyze SQL Monitor application performance and lock Explain the alternate page cleaningstatements and recommend new MQTs waits using GET SNAPSHOT commands processing associated with theDescribe the features of range-partitioned and SQL queries DB2_USE_ALTERNATE_PAGE_CLEANItables to support large DB2 tables using Set the DB2 registry variables NG DB2 Registry variablemultiple table spaces, including the roll-in DB2_EVALUNCOMMITTED, Tablespace and Table Design forand roll-out of data ranges DB2_SKIPINSERTED and PerformanceExplain the difference between partitioned DB2_SKIPDELETED to reduce lock Describe the calculation of prefetch sizeand non-partitioned indexes for a contention based on application when PREFETCHSIZE is set torange-partitioned table requirements AUTOMATICImplement partitioned indexes to improve Utilize the currently committed form of List the advantages of selecting DMS orperformance when you roll data out or roll locking to reduce lock contention SMS table space management as well asdata into a range-partitioned table between read-only and update using Automatic Storage-managed tableUse the DB2 Explain tools to determine if applications spacespartition elimination is being used to improve Using Explain Tools Set file system caching options for tableaccess performance to large Describe the advantages of using spaces to optimize table spacerange-partitioned tables db2exfmt performanceTools and Utilities for Performance Create special tables used by Visual Describe the various row insertionSelect appropriate RUNSTATS options to Explain and db2exfmt algorithms for tables that are based oncollect Distribution Statistics or Column Identify how to set the Explain snapshot using the APPEND option or defining a

Page 53: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Group Statistics to improve cardinality and Explain mode registers to capture clustering indexestimates during SQL compilation the information of interest Plan and implement Row Compression toUse the table and indexes statistics to plan Differentiate between the different reduce disk and memory requirements andfor table and index reorganization using the methods of viewing Explain information improve application performanceREORG utility The DB2 Optimizer Describe how DB2's Index compressionSet the policies and options for automation Choose the appropriate optimization option can reduce disk storageof catalog statistics collection class requirements for indexesMonitor the activity associated with Describe the catalog statistics and Explain how DB2 can compress temporaryimplementing real-time statistics collection database configuration options impact on data to improve application performanceUse the db2batch utility to run SQL access plan selection Utilize the DB2 provided tools andworkloads and collect performance statistics Implement a statistical view to provide functions to estimate compression resultsthat can be used to benchmark database better cardinality estimates for complex for Indexes and dataand application changes queries DB2 memory managementEvent Monitoring Enable the statement concentrator using Explain the management of databaseImplement simple Workload Management the STMT_CONC database manager shared memory based on setting thedefinitions to utilize the Workload configuration parameter to reduce SQL configuration optionManager-based event monitoring including compilation overhead for dynamic SQL DATABASE_MEMORY to AUTOMATIC,activities, statistics and threshold violations statements COMPUTED or a specific number ofEvaluate Event Monitor data using the Event Utilize the db2look utility to extract pagesAnalyzer tool, the db2evmon text-based tool catalog statistics from existing tables to Select the mode for managing data sortthe db2evmonfmt application or using SQL mimic an existing database environment memory using SHEAPTHRES,queries Create an optimizer profile SORTHEAP, and SHEAPTHRES_SHRDefine a LOCKING Event Monitor to capture Using Indexes for Performance Monitor DB2 memory usage using thedeadlocks, lock timeout or lock waits Describe the Block Indexing capability for db2mtrk commands and SQL statementsConfigure a DB2 database to control MDC tables Utilize the db2pd command for monitoringinformation captured for deadlocks, lock Monitor index usage using the current database memory usagetimeouts or extended lock waits MON_GET_INDEX function and db2pd Automated Memory ManagementImplement Event Monitors for units of work commands Explain the differences in STMMor lock-related events that store information Explain how multiple indexes can be processing based on the setting ofin unformatted Event Monitor tables combined using Index ORing and DATABASE_MEMORYCapture SQL section information using an Dynamic Bitmap Index ANDing Plan and configure a database for selfACTIVITIES Event Monitor and use the data Use the Design Advisor to predict tuning memoryto generate Explain reports performance gains from adding new Activate or deactivate STMM for selected

indexes memory heapsComplex SQL Performance Describe the management of sortheap

line Describe the differences between Nested memory based on the configuration ofList the tools for monitoring database and Loop, Merge Scan and Hash Joins sheapthres and sheapthres_shrapplication activity Plan the implementation of Refresh Explain how DB2 can automaticallyUse GET SNAPSHOT commands to Immediate or Refresh Deferred increase or decrease database memory forproduce reports for analysis of database Materialized Query Tables to improve multiple DB2 databases running on theperformance query performance same serverUtilize the administrative routines and views Utilize the Design Advisor to analyze SQL Application Performance Considerationsprovided by to DB2 to simplify application statements and recommend new MQTs Describe the performance advantages ofaccess to database performance statistics Describe the features of range-partitioned using stored proceduresUse the db2pd to perform performance tables to support large DB2 tables using Design applications to maximize recordanalysis or problem determination for a DB2 multiple table spaces, including the roll-in blocking, minimize sort operations anddatabase and roll-out of data ranges minimize lock contentionUtilize the enhanced table functions with Explain the difference between Monitor application performance and lockSQL in reporting and monitoring of the partitioned and non-partitioned indexes waits using GET SNAPSHOT commandsdatabase system, data objects, and the for a range-partitioned table and SQL queriespackage cache to help you quickly identify Implement partitioned indexes to improve Set the DB2 registry variablesissues that might be causing problems performance when you roll data out or roll DB2_EVALUNCOMMITTED,Configure the DB2 Database configuration data into a range-partitioned table DB2_SKIPINSERTED andoptions that control the collection of request, Use the DB2 Explain tools to determine if DB2_SKIPDELETED to reduce lockactivity and object level metrics on the entire partition elimination is being used to contention based on applicationdatabase improve access performance to large requirementsCompare the enhanced table functions with range-partitioned tables Utilize the currently committed form ofthe snapshot monitoring facilities provided Tools and Utilities for Performance locking to reduce lock contention betweenby previous DB2 releases Select appropriate RUNSTATS options to read-only and update applicationsDatabase Input/Output (I/O) Management collect Distribution Statistics or Column Using Explain ToolsDescribe processing for writing database Group Statistics to improve cardinality Describe the advantages of usingpages from buffer pools estimates during SQL compilation db2exfmtMonitor database read and write activity Use the table and indexes statistics to Create special tables used by Visualusing GET SNAPSHOT commands or plan for table and index reorganization Explain and db2exfmtAdministrative Routines and Views using the REORG utility Identify how to set the Explain snapshotMonitor database logging activity and select Set the policies and options for and Explain mode registers to capture the

Page 54: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

appropriate values for SOFTMAX and automation of catalog statistics collection information of interestMINCOMMIT Monitor the activity associated with Differentiate between the differentDescribe how scan sharing can reduce the implementing real-time statistics methods of viewing Explain informationI/O workload for accessing large tables collection The DB2 OptimizerExplain the alternate page cleaning Use the db2batch utility to run SQL Choose the appropriate optimization classprocessing associated with the workloads and collect performance Describe the catalog statistics andDB2_USE_ALTERNATE_PAGE_CLEANIN statistics that can be used to benchmark database configuration options impact onG DB2 Registry variable database and application changes access plan selectionTablespace and Table Design for Event Monitoring Implement a statistical view to providePerformance Implement simple Workload better cardinality estimates for complexDescribe the calculation of prefetch size Management definitions to utilize the querieswhen PREFETCHSIZE is set to Workload Manager-based event Enable the statement concentrator usingAUTOMATIC monitoring including activities, statistics the STMT_CONC database managerList the advantages of selecting DMS or and threshold violations configuration parameter to reduce SQLSMS table space management as well as Evaluate Event Monitor data using the compilation overhead for dynamic SQLusing Automatic Storage-managed table Event Analyzer tool, the db2evmon statementsspaces text-based tool the db2evmonfmt Utilize the db2look utility to extract catalogSet file system caching options for table application or using SQL queries statistics from existing tables to mimic anspaces to optimize table space performance Define a LOCKING Event Monitor to existing database environmentDescribe the various row insertion capture deadlocks, lock timeout or lock Create an optimizer profilealgorithms for tables that are based on using waits Using Indexes for Performancethe APPEND option or defining a clustering Configure a DB2 database to control Describe the Block Indexing capability forindex information captured for deadlocks, lock MDC tablesPlan and implement Row Compression to timeouts or extended lock waits Monitor index usage using thereduce disk and memory requirements and Implement Event Monitors for units of MON_GET_INDEX function and db2pdimprove application performance work or lock-related events that store commandsDescribe how DB2's Index compression information in unformatted Event Monitor Explain how multiple indexes can beoption can reduce disk storage requirements tables combined using Index ORing and Dynamicfor indexes Capture SQL section information using Bitmap Index ANDingExplain how DB2 can compress temporary an ACTIVITIES Event Monitor and use Use the Design Advisor to predictdata to improve application performance the data to generate Explain reports performance gains from adding newUtilize the DB2 provided tools and functions indexesto estimate compression results for Indexes Complex SQL Performanceand data line Describe the differences between NestedDB2 memory management List the tools for monitoring database and Loop, Merge Scan and Hash JoinsExplain the management of database application activity Plan the implementation of Refreshshared memory based on setting the Use GET SNAPSHOT commands to Immediate or Refresh Deferredconfiguration option DATABASE_MEMORY produce reports for analysis of database Materialized Query Tables to improveto AUTOMATIC, COMPUTED or a specific performance query performancenumber of pages Utilize the administrative routines and Utilize the Design Advisor to analyze SQLSelect the mode for managing data sort views provided by to DB2 to simplify statements and recommend new MQTsmemory using SHEAPTHRES, SORTHEAP, application access to database Describe the features of range-partitionedand SHEAPTHRES_SHR performance statistics tables to support large DB2 tables usingMonitor DB2 memory usage using the Use the db2pd to perform performance multiple table spaces, including the roll-indb2mtrk commands and SQL statements analysis or problem determination for a and roll-out of data rangesUtilize the db2pd command for monitoring DB2 database Explain the difference between partitionedcurrent database memory usage Utilize the enhanced table functions with and non-partitioned indexes for aAutomated Memory Management SQL in reporting and monitoring of the range-partitioned tableExplain the differences in STMM processing database system, data objects, and the Implement partitioned indexes to improvebased on the setting of package cache to help you quickly performance when you roll data out or rollDATABASE_MEMORY identify issues that might be causing data into a range-partitioned tablePlan and configure a database for self problems Use the DB2 Explain tools to determine iftuning memory Configure the DB2 Database partition elimination is being used toActivate or deactivate STMM for selected configuration options that control the improve access performance to largememory heaps collection of request, activity and object range-partitioned tablesDescribe the management of sortheap level metrics on the entire database Tools and Utilities for Performancememory based on the configuration of Compare the enhanced table functions Select appropriate RUNSTATS options tosheapthres and sheapthres_shr with the snapshot monitoring facilities collect Distribution Statistics or ColumnExplain how DB2 can automatically increase provided by previous DB2 releases Group Statistics to improve cardinalityor decrease database memory for multiple Database Input/Output (I/O) Management estimates during SQL compilationDB2 databases running on the same server Describe processing for writing database Use the table and indexes statistics to planApplication Performance Considerations pages from buffer pools for table and index reorganization usingDescribe the performance advantages of Monitor database read and write activity the REORG utilityusing stored procedures using GET SNAPSHOT commands or Set the policies and options for automationDesign applications to maximize record Administrative Routines and Views of catalog statistics collectionblocking, minimize sort operations and Monitor database logging activity and Monitor the activity associated with

Page 55: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

minimize lock contention select appropriate values for SOFTMAX implementing real-time statistics collectionMonitor application performance and lock and MINCOMMIT Use the db2batch utility to run SQLwaits using GET SNAPSHOT commands Describe how scan sharing can reduce workloads and collect performanceand SQL queries the I/O workload for accessing large statistics that can be used to benchmarkSet the DB2 registry variables tables database and application changesDB2_EVALUNCOMMITTED, Explain the alternate page cleaning Event MonitoringDB2_SKIPINSERTED and processing associated with the Implement simple Workload ManagementDB2_SKIPDELETED to reduce lock DB2_USE_ALTERNATE_PAGE_CLEAN definitions to utilize the Workloadcontention based on application ING DB2 Registry variable Manager-based event monitoring includingrequirements Tablespace and Table Design for activities, statistics and threshold violationsUtilize the currently committed form of Performance Evaluate Event Monitor data using thelocking to reduce lock contention between Describe the calculation of prefetch size Event Analyzer tool, the db2evmonread-only and update applications when PREFETCHSIZE is set to text-based tool the db2evmonfmtUsing Explain Tools AUTOMATIC application or using SQL queriesDescribe the advantages of using db2exfmt List the advantages of selecting DMS or Define a LOCKING Event Monitor toCreate special tables used by Visual Explain SMS table space management as well as capture deadlocks, lock timeout or lockand db2exfmt using Automatic Storage-managed table waitsIdentify how to set the Explain snapshot and spaces Configure a DB2 database to controlExplain mode registers to capture the Set file system caching options for table information captured for deadlocks, lockinformation of interest spaces to optimize table space timeouts or extended lock waitsDifferentiate between the different methods performance Implement Event Monitors for units of workof viewing Explain information Describe the various row insertion or lock-related events that storeThe DB2 Optimizer algorithms for tables that are based on information in unformatted Event MonitorChoose the appropriate optimization class using the APPEND option or defining a tablesDescribe the catalog statistics and database clustering index Capture SQL section information using anconfiguration options impact on access plan Plan and implement Row Compression to ACTIVITIES Event Monitor and use theselection reduce disk and memory requirements data to generate Explain reportsImplement a statistical view to provide better and improve application performancecardinality estimates for complex queries Describe how DB2's Index compressionEnable the statement concentrator using the option can reduce disk storage lineSTMT_CONC database manager requirements for indexes List the tools for monitoring database andconfiguration parameter to reduce SQL Explain how DB2 can compress application activitycompilation overhead for dynamic SQL temporary data to improve application Use GET SNAPSHOT commands tostatements performance produce reports for analysis of databaseUtilize the db2look utility to extract catalog Utilize the DB2 provided tools and performancestatistics from existing tables to mimic an functions to estimate compression results Utilize the administrative routines andexisting database environment for Indexes and data views provided by to DB2 to simplifyCreate an optimizer profile DB2 memory management application access to databaseUsing Indexes for Performance Explain the management of database performance statisticsDescribe the Block Indexing capability for shared memory based on setting the Use the db2pd to perform performanceMDC tables configuration option analysis or problem determination for aMonitor index usage using the DATABASE_MEMORY to AUTOMATIC, DB2 databaseMON_GET_INDEX function and db2pd COMPUTED or a specific number of Utilize the enhanced table functions withcommands pages SQL in reporting and monitoring of theExplain how multiple indexes can be Select the mode for managing data sort database system, data objects, and thecombined using Index ORing and Dynamic memory using SHEAPTHRES, package cache to help you quickly identifyBitmap Index ANDing SORTHEAP, and SHEAPTHRES_SHR issues that might be causing problemsUse the Design Advisor to predict Monitor DB2 memory usage using the Configure the DB2 Database configurationperformance gains from adding new indexes db2mtrk commands and SQL statements options that control the collection ofComplex SQL Performance Utilize the db2pd command for request, activity and object level metrics onDescribe the differences between Nested monitoring current database memory the entire databaseLoop, Merge Scan and Hash Joins usage Compare the enhanced table functionsPlan the implementation of Refresh Automated Memory Management with the snapshot monitoring facilitiesImmediate or Refresh Deferred Materialized Explain the differences in STMM provided by previous DB2 releasesQuery Tables to improve query performance processing based on the setting of Database Input/Output (I/O) ManagementUtilize the Design Advisor to analyze SQL DATABASE_MEMORY Describe processing for writing databasestatements and recommend new MQTs Plan and configure a database for self pages from buffer poolsDescribe the features of range-partitioned tuning memory Monitor database read and write activitytables to support large DB2 tables using Activate or deactivate STMM for selected using GET SNAPSHOT commands ormultiple table spaces, including the roll-in memory heaps Administrative Routines and Viewsand roll-out of data ranges Describe the management of sortheap Monitor database logging activity andExplain the difference between partitioned memory based on the configuration of select appropriate values for SOFTMAXand non-partitioned indexes for a sheapthres and sheapthres_shr and MINCOMMITrange-partitioned table Explain how DB2 can automatically Describe how scan sharing can reduce theImplement partitioned indexes to improve increase or decrease database memory I/O workload for accessing large tablesperformance when you roll data out or roll for multiple DB2 databases running on Explain the alternate page cleaning

Page 56: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

data into a range-partitioned table the same server processing associated with theUse the DB2 Explain tools to determine if Application Performance Considerations DB2_USE_ALTERNATE_PAGE_CLEANIpartition elimination is being used to improve Describe the performance advantages of NG DB2 Registry variableaccess performance to large using stored procedures Tablespace and Table Design forrange-partitioned tables Design applications to maximize record PerformanceTools and Utilities for Performance blocking, minimize sort operations and Describe the calculation of prefetch sizeSelect appropriate RUNSTATS options to minimize lock contention when PREFETCHSIZE is set tocollect Distribution Statistics or Column Monitor application performance and lock AUTOMATICGroup Statistics to improve cardinality waits using GET SNAPSHOT commands List the advantages of selecting DMS orestimates during SQL compilation and SQL queries SMS table space management as well asUse the table and indexes statistics to plan Set the DB2 registry variables using Automatic Storage-managed tablefor table and index reorganization using the DB2_EVALUNCOMMITTED, spacesREORG utility DB2_SKIPINSERTED and Set file system caching options for tableSet the policies and options for automation DB2_SKIPDELETED to reduce lock spaces to optimize table spaceof catalog statistics collection contention based on application performanceMonitor the activity associated with requirements Describe the various row insertionimplementing real-time statistics collection Utilize the currently committed form of algorithms for tables that are based onUse the db2batch utility to run SQL locking to reduce lock contention using the APPEND option or defining aworkloads and collect performance statistics between read-only and update clustering indexthat can be used to benchmark database applications Plan and implement Row Compression toand application changes Using Explain Tools reduce disk and memory requirements andEvent Monitoring Describe the advantages of using improve application performanceImplement simple Workload Management db2exfmt Describe how DB2's Index compressiondefinitions to utilize the Workload Create special tables used by Visual option can reduce disk storageManager-based event monitoring including Explain and db2exfmt requirements for indexesactivities, statistics and threshold violations Identify how to set the Explain snapshot Explain how DB2 can compress temporaryEvaluate Event Monitor data using the Event and Explain mode registers to capture data to improve application performanceAnalyzer tool, the db2evmon text-based tool the information of interest Utilize the DB2 provided tools andthe db2evmonfmt application or using SQL Differentiate between the different functions to estimate compression resultsqueries methods of viewing Explain information for Indexes and dataDefine a LOCKING Event Monitor to capture The DB2 Optimizer DB2 memory managementdeadlocks, lock timeout or lock waits Choose the appropriate optimization Explain the management of databaseConfigure a DB2 database to control class shared memory based on setting theinformation captured for deadlocks, lock Describe the catalog statistics and configuration optiontimeouts or extended lock waits database configuration options impact on DATABASE_MEMORY to AUTOMATIC,Implement Event Monitors for units of work access plan selection COMPUTED or a specific number ofor lock-related events that store information Implement a statistical view to provide pagesin unformatted Event Monitor tables better cardinality estimates for complex Select the mode for managing data sortCapture SQL section information using an queries memory using SHEAPTHRES,ACTIVITIES Event Monitor and use the data Enable the statement concentrator using SORTHEAP, and SHEAPTHRES_SHRto generate Explain reports the STMT_CONC database manager Monitor DB2 memory usage using the

configuration parameter to reduce SQL db2mtrk commands and SQL statementscompilation overhead for dynamic SQL Utilize the db2pd command for monitoring

line statements current database memory usageList the tools for monitoring database and Utilize the db2look utility to extract Automated Memory Managementapplication activity catalog statistics from existing tables to Explain the differences in STMMUse GET SNAPSHOT commands to mimic an existing database environment processing based on the setting ofproduce reports for analysis of database Create an optimizer profile DATABASE_MEMORYperformance Using Indexes for Performance Plan and configure a database for selfUtilize the administrative routines and views Describe the Block Indexing capability for tuning memoryprovided by to DB2 to simplify application MDC tables Activate or deactivate STMM for selectedaccess to database performance statistics Monitor index usage using the memory heapsUse the db2pd to perform performance MON_GET_INDEX function and db2pd Describe the management of sortheapanalysis or problem determination for a DB2 commands memory based on the configuration ofdatabase Explain how multiple indexes can be sheapthres and sheapthres_shrUtilize the enhanced table functions with combined using Index ORing and Explain how DB2 can automaticallySQL in reporting and monitoring of the Dynamic Bitmap Index ANDing increase or decrease database memory fordatabase system, data objects, and the Use the Design Advisor to predict multiple DB2 databases running on thepackage cache to help you quickly identify performance gains from adding new same serverissues that might be causing problems indexes Application Performance ConsiderationsConfigure the DB2 Database configuration Complex SQL Performance Describe the performance advantages ofoptions that control the collection of request, Describe the differences between Nested using stored proceduresactivity and object level metrics on the entire Loop, Merge Scan and Hash Joins Design applications to maximize recorddatabase Plan the implementation of Refresh blocking, minimize sort operations andCompare the enhanced table functions with Immediate or Refresh Deferred minimize lock contentionthe snapshot monitoring facilities provided Materialized Query Tables to improve Monitor application performance and lock

Page 57: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

by previous DB2 releases query performance waits using GET SNAPSHOT commandsDatabase Input/Output (I/O) Management Utilize the Design Advisor to analyze SQL and SQL queriesDescribe processing for writing database statements and recommend new MQTs Set the DB2 registry variablespages from buffer pools Describe the features of range-partitioned DB2_EVALUNCOMMITTED,Monitor database read and write activity tables to support large DB2 tables using DB2_SKIPINSERTED andusing GET SNAPSHOT commands or multiple table spaces, including the roll-in DB2_SKIPDELETED to reduce lockAdministrative Routines and Views and roll-out of data ranges contention based on applicationMonitor database logging activity and select Explain the difference between requirementsappropriate values for SOFTMAX and partitioned and non-partitioned indexes Utilize the currently committed form ofMINCOMMIT for a range-partitioned table locking to reduce lock contention betweenDescribe how scan sharing can reduce the Implement partitioned indexes to improve read-only and update applicationsI/O workload for accessing large tables performance when you roll data out or roll Using Explain ToolsExplain the alternate page cleaning data into a range-partitioned table Describe the advantages of usingprocessing associated with the Use the DB2 Explain tools to determine if db2exfmtDB2_USE_ALTERNATE_PAGE_CLEANIN partition elimination is being used to Create special tables used by VisualG DB2 Registry variable improve access performance to large Explain and db2exfmtTablespace and Table Design for range-partitioned tables Identify how to set the Explain snapshotPerformance Tools and Utilities for Performance and Explain mode registers to capture theDescribe the calculation of prefetch size Select appropriate RUNSTATS options to information of interestwhen PREFETCHSIZE is set to collect Distribution Statistics or Column Differentiate between the differentAUTOMATIC Group Statistics to improve cardinality methods of viewing Explain informationList the advantages of selecting DMS or estimates during SQL compilation The DB2 OptimizerSMS table space management as well as Use the table and indexes statistics to Choose the appropriate optimization classusing Automatic Storage-managed table plan for table and index reorganization Describe the catalog statistics andspaces using the REORG utility database configuration options impact onSet file system caching options for table Set the policies and options for access plan selectionspaces to optimize table space performance automation of catalog statistics collection Implement a statistical view to provideDescribe the various row insertion Monitor the activity associated with better cardinality estimates for complexalgorithms for tables that are based on using implementing real-time statistics queriesthe APPEND option or defining a clustering collection Enable the statement concentrator usingindex Use the db2batch utility to run SQL the STMT_CONC database managerPlan and implement Row Compression to workloads and collect performance configuration parameter to reduce SQLreduce disk and memory requirements and statistics that can be used to benchmark compilation overhead for dynamic SQLimprove application performance database and application changes statementsDescribe how DB2's Index compression Event Monitoring Utilize the db2look utility to extract catalogoption can reduce disk storage requirements Implement simple Workload statistics from existing tables to mimic anfor indexes Management definitions to utilize the existing database environmentExplain how DB2 can compress temporary Workload Manager-based event Create an optimizer profiledata to improve application performance monitoring including activities, statistics Using Indexes for PerformanceUtilize the DB2 provided tools and functions and threshold violations Describe the Block Indexing capability forto estimate compression results for Indexes Evaluate Event Monitor data using the MDC tablesand data Event Analyzer tool, the db2evmon Monitor index usage using theDB2 memory management text-based tool the db2evmonfmt MON_GET_INDEX function and db2pdExplain the management of database application or using SQL queries commandsshared memory based on setting the Define a LOCKING Event Monitor to Explain how multiple indexes can beconfiguration option DATABASE_MEMORY capture deadlocks, lock timeout or lock combined using Index ORing and Dynamicto AUTOMATIC, COMPUTED or a specific waits Bitmap Index ANDingnumber of pages Configure a DB2 database to control Use the Design Advisor to predictSelect the mode for managing data sort information captured for deadlocks, lock performance gains from adding newmemory using SHEAPTHRES, SORTHEAP, timeouts or extended lock waits indexesand SHEAPTHRES_SHR Implement Event Monitors for units of Complex SQL PerformanceMonitor DB2 memory usage using the work or lock-related events that store Describe the differences between Nesteddb2mtrk commands and SQL statements information in unformatted Event Monitor Loop, Merge Scan and Hash JoinsUtilize the db2pd command for monitoring tables Plan the implementation of Refreshcurrent database memory usage Capture SQL section information using Immediate or Refresh DeferredAutomated Memory Management an ACTIVITIES Event Monitor and use Materialized Query Tables to improveExplain the differences in STMM processing the data to generate Explain reports query performancebased on the setting of Utilize the Design Advisor to analyze SQLDATABASE_MEMORY statements and recommend new MQTsPlan and configure a database for self line Describe the features of range-partitionedtuning memory List the tools for monitoring database and tables to support large DB2 tables usingActivate or deactivate STMM for selected application activity multiple table spaces, including the roll-inmemory heaps Use GET SNAPSHOT commands to and roll-out of data rangesDescribe the management of sortheap produce reports for analysis of database Explain the difference between partitionedmemory based on the configuration of performance and non-partitioned indexes for asheapthres and sheapthres_shr Utilize the administrative routines and range-partitioned table

Page 58: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Explain how DB2 can automatically increase views provided by to DB2 to simplify Implement partitioned indexes to improveor decrease database memory for multiple application access to database performance when you roll data out or rollDB2 databases running on the same server performance statistics data into a range-partitioned tableApplication Performance Considerations Use the db2pd to perform performance Use the DB2 Explain tools to determine ifDescribe the performance advantages of analysis or problem determination for a partition elimination is being used tousing stored procedures DB2 database improve access performance to largeDesign applications to maximize record Utilize the enhanced table functions with range-partitioned tablesblocking, minimize sort operations and SQL in reporting and monitoring of the Tools and Utilities for Performanceminimize lock contention database system, data objects, and the Select appropriate RUNSTATS options toMonitor application performance and lock package cache to help you quickly collect Distribution Statistics or Columnwaits using GET SNAPSHOT commands identify issues that might be causing Group Statistics to improve cardinalityand SQL queries problems estimates during SQL compilationSet the DB2 registry variables Configure the DB2 Database Use the table and indexes statistics to planDB2_EVALUNCOMMITTED, configuration options that control the for table and index reorganization usingDB2_SKIPINSERTED and collection of request, activity and object the REORG utilityDB2_SKIPDELETED to reduce lock level metrics on the entire database Set the policies and options for automationcontention based on application Compare the enhanced table functions of catalog statistics collectionrequirements with the snapshot monitoring facilities Monitor the activity associated withUtilize the currently committed form of provided by previous DB2 releases implementing real-time statistics collectionlocking to reduce lock contention between Database Input/Output (I/O) Management Use the db2batch utility to run SQLread-only and update applications Describe processing for writing database workloads and collect performanceUsing Explain Tools pages from buffer pools statistics that can be used to benchmarkDescribe the advantages of using db2exfmt Monitor database read and write activity database and application changesCreate special tables used by Visual Explain using GET SNAPSHOT commands or Event Monitoringand db2exfmt Administrative Routines and Views Implement simple Workload ManagementIdentify how to set the Explain snapshot and Monitor database logging activity and definitions to utilize the WorkloadExplain mode registers to capture the select appropriate values for SOFTMAX Manager-based event monitoring includinginformation of interest and MINCOMMIT activities, statistics and threshold violationsDifferentiate between the different methods Describe how scan sharing can reduce Evaluate Event Monitor data using theof viewing Explain information the I/O workload for accessing large Event Analyzer tool, the db2evmonThe DB2 Optimizer tables text-based tool the db2evmonfmtChoose the appropriate optimization class Explain the alternate page cleaning application or using SQL queriesDescribe the catalog statistics and database processing associated with the Define a LOCKING Event Monitor toconfiguration options impact on access plan DB2_USE_ALTERNATE_PAGE_CLEAN capture deadlocks, lock timeout or lockselection ING DB2 Registry variable waitsImplement a statistical view to provide better Tablespace and Table Design for Configure a DB2 database to controlcardinality estimates for complex queries Performance information captured for deadlocks, lockEnable the statement concentrator using the Describe the calculation of prefetch size timeouts or extended lock waitsSTMT_CONC database manager when PREFETCHSIZE is set to Implement Event Monitors for units of workconfiguration parameter to reduce SQL AUTOMATIC or lock-related events that storecompilation overhead for dynamic SQL List the advantages of selecting DMS or information in unformatted Event Monitorstatements SMS table space management as well as tablesUtilize the db2look utility to extract catalog using Automatic Storage-managed table Capture SQL section information using anstatistics from existing tables to mimic an spaces ACTIVITIES Event Monitor and use theexisting database environment Set file system caching options for table data to generate Explain reportsCreate an optimizer profile spaces to optimize table spaceUsing Indexes for Performance performanceDescribe the Block Indexing capability for Describe the various row insertion lineMDC tables algorithms for tables that are based on List the tools for monitoring database andMonitor index usage using the using the APPEND option or defining a application activityMON_GET_INDEX function and db2pd clustering index Use GET SNAPSHOT commands tocommands Plan and implement Row Compression to produce reports for analysis of databaseExplain how multiple indexes can be reduce disk and memory requirements performancecombined using Index ORing and Dynamic and improve application performance Utilize the administrative routines andBitmap Index ANDing Describe how DB2's Index compression views provided by to DB2 to simplifyUse the Design Advisor to predict option can reduce disk storage application access to databaseperformance gains from adding new indexes requirements for indexes performance statisticsComplex SQL Performance Explain how DB2 can compress Use the db2pd to perform performanceDescribe the differences between Nested temporary data to improve application analysis or problem determination for aLoop, Merge Scan and Hash Joins performance DB2 databasePlan the implementation of Refresh Utilize the DB2 provided tools and Utilize the enhanced table functions withImmediate or Refresh Deferred Materialized functions to estimate compression results SQL in reporting and monitoring of theQuery Tables to improve query performance for Indexes and data database system, data objects, and theUtilize the Design Advisor to analyze SQL DB2 memory management package cache to help you quickly identifystatements and recommend new MQTs Explain the management of database issues that might be causing problemsDescribe the features of range-partitioned shared memory based on setting the Configure the DB2 Database configuration

Page 59: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

tables to support large DB2 tables using configuration option options that control the collection ofmultiple table spaces, including the roll-in DATABASE_MEMORY to AUTOMATIC, request, activity and object level metrics onand roll-out of data ranges COMPUTED or a specific number of the entire databaseExplain the difference between partitioned pages Compare the enhanced table functionsand non-partitioned indexes for a Select the mode for managing data sort with the snapshot monitoring facilitiesrange-partitioned table memory using SHEAPTHRES, provided by previous DB2 releasesImplement partitioned indexes to improve SORTHEAP, and SHEAPTHRES_SHR Database Input/Output (I/O) Managementperformance when you roll data out or roll Monitor DB2 memory usage using the Describe processing for writing databasedata into a range-partitioned table db2mtrk commands and SQL statements pages from buffer poolsUse the DB2 Explain tools to determine if Utilize the db2pd command for Monitor database read and write activitypartition elimination is being used to improve monitoring current database memory using GET SNAPSHOT commands oraccess performance to large usage Administrative Routines and Viewsrange-partitioned tables Automated Memory Management Monitor database logging activity andTools and Utilities for Performance Explain the differences in STMM select appropriate values for SOFTMAXSelect appropriate RUNSTATS options to processing based on the setting of and MINCOMMITcollect Distribution Statistics or Column DATABASE_MEMORY Describe how scan sharing can reduce theGroup Statistics to improve cardinality Plan and configure a database for self I/O workload for accessing large tablesestimates during SQL compilation tuning memory Explain the alternate page cleaningUse the table and indexes statistics to plan Activate or deactivate STMM for selected processing associated with thefor table and index reorganization using the memory heaps DB2_USE_ALTERNATE_PAGE_CLEANIREORG utility Describe the management of sortheap NG DB2 Registry variableSet the policies and options for automation memory based on the configuration of Tablespace and Table Design forof catalog statistics collection sheapthres and sheapthres_shr PerformanceMonitor the activity associated with Explain how DB2 can automatically Describe the calculation of prefetch sizeimplementing real-time statistics collection increase or decrease database memory when PREFETCHSIZE is set toUse the db2batch utility to run SQL for multiple DB2 databases running on AUTOMATICworkloads and collect performance statistics the same server List the advantages of selecting DMS orthat can be used to benchmark database Application Performance Considerations SMS table space management as well asand application changes Describe the performance advantages of using Automatic Storage-managed tableEvent Monitoring using stored procedures spacesImplement simple Workload Management Design applications to maximize record Set file system caching options for tabledefinitions to utilize the Workload blocking, minimize sort operations and spaces to optimize table spaceManager-based event monitoring including minimize lock contention performanceactivities, statistics and threshold violations Monitor application performance and lock Describe the various row insertionEvaluate Event Monitor data using the Event waits using GET SNAPSHOT commands algorithms for tables that are based onAnalyzer tool, the db2evmon text-based tool and SQL queries using the APPEND option or defining athe db2evmonfmt application or using SQL Set the DB2 registry variables clustering indexqueries DB2_EVALUNCOMMITTED, Plan and implement Row Compression toDefine a LOCKING Event Monitor to capture DB2_SKIPINSERTED and reduce disk and memory requirements anddeadlocks, lock timeout or lock waits DB2_SKIPDELETED to reduce lock improve application performanceConfigure a DB2 database to control contention based on application Describe how DB2's Index compressioninformation captured for deadlocks, lock requirements option can reduce disk storagetimeouts or extended lock waits Utilize the currently committed form of requirements for indexesImplement Event Monitors for units of work locking to reduce lock contention Explain how DB2 can compress temporaryor lock-related events that store information between read-only and update data to improve application performancein unformatted Event Monitor tables applications Utilize the DB2 provided tools andCapture SQL section information using an Using Explain Tools functions to estimate compression resultsACTIVITIES Event Monitor and use the data Describe the advantages of using for Indexes and datato generate Explain reports db2exfmt DB2 memory management

Create special tables used by Visual Explain the management of databaseExplain and db2exfmt shared memory based on setting the

line Identify how to set the Explain snapshot configuration optionList the tools for monitoring database and and Explain mode registers to capture DATABASE_MEMORY to AUTOMATIC,application activity the information of interest COMPUTED or a specific number ofUse GET SNAPSHOT commands to Differentiate between the different pagesproduce reports for analysis of database methods of viewing Explain information Select the mode for managing data sortperformance The DB2 Optimizer memory using SHEAPTHRES,Utilize the administrative routines and views Choose the appropriate optimization SORTHEAP, and SHEAPTHRES_SHRprovided by to DB2 to simplify application class Monitor DB2 memory usage using theaccess to database performance statistics Describe the catalog statistics and db2mtrk commands and SQL statementsUse the db2pd to perform performance database configuration options impact on Utilize the db2pd command for monitoringanalysis or problem determination for a DB2 access plan selection current database memory usagedatabase Implement a statistical view to provide Automated Memory ManagementUtilize the enhanced table functions with better cardinality estimates for complex Explain the differences in STMMSQL in reporting and monitoring of the queries processing based on the setting ofdatabase system, data objects, and the Enable the statement concentrator using DATABASE_MEMORY

Page 60: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

package cache to help you quickly identify the STMT_CONC database manager Plan and configure a database for selfissues that might be causing problems configuration parameter to reduce SQL tuning memoryConfigure the DB2 Database configuration compilation overhead for dynamic SQL Activate or deactivate STMM for selectedoptions that control the collection of request, statements memory heapsactivity and object level metrics on the entire Utilize the db2look utility to extract Describe the management of sortheapdatabase catalog statistics from existing tables to memory based on the configuration ofCompare the enhanced table functions with mimic an existing database environment sheapthres and sheapthres_shrthe snapshot monitoring facilities provided Create an optimizer profile Explain how DB2 can automaticallyby previous DB2 releases Using Indexes for Performance increase or decrease database memory forDatabase Input/Output (I/O) Management Describe the Block Indexing capability for multiple DB2 databases running on theDescribe processing for writing database MDC tables same serverpages from buffer pools Monitor index usage using the Application Performance ConsiderationsMonitor database read and write activity MON_GET_INDEX function and db2pd Describe the performance advantages ofusing GET SNAPSHOT commands or commands using stored proceduresAdministrative Routines and Views Explain how multiple indexes can be Design applications to maximize recordMonitor database logging activity and select combined using Index ORing and blocking, minimize sort operations andappropriate values for SOFTMAX and Dynamic Bitmap Index ANDing minimize lock contentionMINCOMMIT Use the Design Advisor to predict Monitor application performance and lockDescribe how scan sharing can reduce the performance gains from adding new waits using GET SNAPSHOT commandsI/O workload for accessing large tables indexes and SQL queriesExplain the alternate page cleaning Complex SQL Performance Set the DB2 registry variablesprocessing associated with the Describe the differences between Nested DB2_EVALUNCOMMITTED,DB2_USE_ALTERNATE_PAGE_CLEANIN Loop, Merge Scan and Hash Joins DB2_SKIPINSERTED andG DB2 Registry variable Plan the implementation of Refresh DB2_SKIPDELETED to reduce lockTablespace and Table Design for Immediate or Refresh Deferred contention based on applicationPerformance Materialized Query Tables to improve requirementsDescribe the calculation of prefetch size query performance Utilize the currently committed form ofwhen PREFETCHSIZE is set to Utilize the Design Advisor to analyze SQL locking to reduce lock contention betweenAUTOMATIC statements and recommend new MQTs read-only and update applicationsList the advantages of selecting DMS or Describe the features of range-partitioned Using Explain ToolsSMS table space management as well as tables to support large DB2 tables using Describe the advantages of usingusing Automatic Storage-managed table multiple table spaces, including the roll-in db2exfmtspaces and roll-out of data ranges Create special tables used by VisualSet file system caching options for table Explain the difference between Explain and db2exfmtspaces to optimize table space performance partitioned and non-partitioned indexes Identify how to set the Explain snapshotDescribe the various row insertion for a range-partitioned table and Explain mode registers to capture thealgorithms for tables that are based on using Implement partitioned indexes to improve information of interestthe APPEND option or defining a clustering performance when you roll data out or roll Differentiate between the differentindex data into a range-partitioned table methods of viewing Explain informationPlan and implement Row Compression to Use the DB2 Explain tools to determine if The DB2 Optimizerreduce disk and memory requirements and partition elimination is being used to Choose the appropriate optimization classimprove application performance improve access performance to large Describe the catalog statistics andDescribe how DB2's Index compression range-partitioned tables database configuration options impact onoption can reduce disk storage requirements Tools and Utilities for Performance access plan selectionfor indexes Select appropriate RUNSTATS options to Implement a statistical view to provideExplain how DB2 can compress temporary collect Distribution Statistics or Column better cardinality estimates for complexdata to improve application performance Group Statistics to improve cardinality queriesUtilize the DB2 provided tools and functions estimates during SQL compilation Enable the statement concentrator usingto estimate compression results for Indexes Use the table and indexes statistics to the STMT_CONC database managerand data plan for table and index reorganization configuration parameter to reduce SQLDB2 memory management using the REORG utility compilation overhead for dynamic SQLExplain the management of database Set the policies and options for statementsshared memory based on setting the automation of catalog statistics collection Utilize the db2look utility to extract catalogconfiguration option DATABASE_MEMORY Monitor the activity associated with statistics from existing tables to mimic anto AUTOMATIC, COMPUTED or a specific implementing real-time statistics existing database environmentnumber of pages collection Create an optimizer profileSelect the mode for managing data sort Use the db2batch utility to run SQL Using Indexes for Performancememory using SHEAPTHRES, SORTHEAP, workloads and collect performance Describe the Block Indexing capability forand SHEAPTHRES_SHR statistics that can be used to benchmark MDC tablesMonitor DB2 memory usage using the database and application changes Monitor index usage using thedb2mtrk commands and SQL statements Event Monitoring MON_GET_INDEX function and db2pdUtilize the db2pd command for monitoring Implement simple Workload commandscurrent database memory usage Management definitions to utilize the Explain how multiple indexes can beAutomated Memory Management Workload Manager-based event combined using Index ORing and DynamicExplain the differences in STMM processing monitoring including activities, statistics Bitmap Index ANDingbased on the setting of and threshold violations Use the Design Advisor to predict

Page 61: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

DATABASE_MEMORY Evaluate Event Monitor data using the performance gains from adding newPlan and configure a database for self Event Analyzer tool, the db2evmon indexestuning memory text-based tool the db2evmonfmt Complex SQL PerformanceActivate or deactivate STMM for selected application or using SQL queries Describe the differences between Nestedmemory heaps Define a LOCKING Event Monitor to Loop, Merge Scan and Hash JoinsDescribe the management of sortheap capture deadlocks, lock timeout or lock Plan the implementation of Refreshmemory based on the configuration of waits Immediate or Refresh Deferredsheapthres and sheapthres_shr Configure a DB2 database to control Materialized Query Tables to improveExplain how DB2 can automatically increase information captured for deadlocks, lock query performanceor decrease database memory for multiple timeouts or extended lock waits Utilize the Design Advisor to analyze SQLDB2 databases running on the same server Implement Event Monitors for units of statements and recommend new MQTsApplication Performance Considerations work or lock-related events that store Describe the features of range-partitionedDescribe the performance advantages of information in unformatted Event Monitor tables to support large DB2 tables usingusing stored procedures tables multiple table spaces, including the roll-inDesign applications to maximize record Capture SQL section information using and roll-out of data rangesblocking, minimize sort operations and an ACTIVITIES Event Monitor and use Explain the difference between partitionedminimize lock contention the data to generate Explain reports and non-partitioned indexes for aMonitor application performance and lock range-partitioned tablewaits using GET SNAPSHOT commands Implement partitioned indexes to improveand SQL queries line performance when you roll data out or rollSet the DB2 registry variables List the tools for monitoring database and data into a range-partitioned tableDB2_EVALUNCOMMITTED, application activity Use the DB2 Explain tools to determine ifDB2_SKIPINSERTED and Use GET SNAPSHOT commands to partition elimination is being used toDB2_SKIPDELETED to reduce lock produce reports for analysis of database improve access performance to largecontention based on application performance range-partitioned tablesrequirements Utilize the administrative routines and Tools and Utilities for PerformanceUtilize the currently committed form of views provided by to DB2 to simplify Select appropriate RUNSTATS options tolocking to reduce lock contention between application access to database collect Distribution Statistics or Columnread-only and update applications performance statistics Group Statistics to improve cardinalityUsing Explain Tools Use the db2pd to perform performance estimates during SQL compilationDescribe the advantages of using db2exfmt analysis or problem determination for a Use the table and indexes statistics to planCreate special tables used by Visual Explain DB2 database for table and index reorganization usingand db2exfmt Utilize the enhanced table functions with the REORG utilityIdentify how to set the Explain snapshot and SQL in reporting and monitoring of the Set the policies and options for automationExplain mode registers to capture the database system, data objects, and the of catalog statistics collectioninformation of interest package cache to help you quickly Monitor the activity associated withDifferentiate between the different methods identify issues that might be causing implementing real-time statistics collectionof viewing Explain information problems Use the db2batch utility to run SQLThe DB2 Optimizer Configure the DB2 Database workloads and collect performanceChoose the appropriate optimization class configuration options that control the statistics that can be used to benchmarkDescribe the catalog statistics and database collection of request, activity and object database and application changesconfiguration options impact on access plan level metrics on the entire database Event Monitoringselection Compare the enhanced table functions Implement simple Workload ManagementImplement a statistical view to provide better with the snapshot monitoring facilities definitions to utilize the Workloadcardinality estimates for complex queries provided by previous DB2 releases Manager-based event monitoring includingEnable the statement concentrator using the Database Input/Output (I/O) Management activities, statistics and threshold violationsSTMT_CONC database manager Describe processing for writing database Evaluate Event Monitor data using theconfiguration parameter to reduce SQL pages from buffer pools Event Analyzer tool, the db2evmoncompilation overhead for dynamic SQL Monitor database read and write activity text-based tool the db2evmonfmtstatements using GET SNAPSHOT commands or application or using SQL queriesUtilize the db2look utility to extract catalog Administrative Routines and Views Define a LOCKING Event Monitor tostatistics from existing tables to mimic an Monitor database logging activity and capture deadlocks, lock timeout or lockexisting database environment select appropriate values for SOFTMAX waitsCreate an optimizer profile and MINCOMMIT Configure a DB2 database to controlUsing Indexes for Performance Describe how scan sharing can reduce information captured for deadlocks, lockDescribe the Block Indexing capability for the I/O workload for accessing large timeouts or extended lock waitsMDC tables tables Implement Event Monitors for units of workMonitor index usage using the Explain the alternate page cleaning or lock-related events that storeMON_GET_INDEX function and db2pd processing associated with the information in unformatted Event Monitorcommands DB2_USE_ALTERNATE_PAGE_CLEAN tablesExplain how multiple indexes can be ING DB2 Registry variable Capture SQL section information using ancombined using Index ORing and Dynamic Tablespace and Table Design for ACTIVITIES Event Monitor and use theBitmap Index ANDing Performance data to generate Explain reportsUse the Design Advisor to predict Describe the calculation of prefetch sizeperformance gains from adding new indexes when PREFETCHSIZE is set toComplex SQL Performance AUTOMATIC line

Page 62: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Describe the differences between Nested List the advantages of selecting DMS or Describe the basic principles in monitoringLoop, Merge Scan and Hash Joins SMS table space management as well as a DB2 databasePlan the implementation of Refresh using Automatic Storage-managed table Describe processing for reading databaseImmediate or Refresh Deferred Materialized spaces pages into buffer poolsQuery Tables to improve query performance Set file system caching options for table Select appropriate values for table spaceUtilize the Design Advisor to analyze SQL spaces to optimize table space page size and extent size to supportstatements and recommend new MQTs performance application performance requirementsDescribe the features of range-partitioned Describe the various row insertion Describe memory heap usage for instancetables to support large DB2 tables using algorithms for tables that are based on memory, database shared memory andmultiple table spaces, including the roll-in using the APPEND option or defining a application memoryand roll-out of data ranges clustering index Describe how STMM can be used toExplain the difference between partitioned Plan and implement Row Compression to automatically manage database sharedand non-partitioned indexes for a reduce disk and memory requirements memory heapsrange-partitioned table and improve application performance List examples of application codingImplement partitioned indexes to improve Describe how DB2's Index compression techniques that can effect performanceperformance when you roll data out or roll option can reduce disk storage Describe the advantages of using Visualdata into a range-partitioned table requirements for indexes ExplainUse the DB2 Explain tools to determine if Explain how DB2 can compress Describe the stages of the SQL compilerpartition elimination is being used to improve temporary data to improve application Describe the Indexing options that can beaccess performance to large performance used to improve performance: Index Onlyrange-partitioned tables Utilize the DB2 provided tools and Access, Clustered Index, Reverse Scans,Tools and Utilities for Performance functions to estimate compression results Include Columns, and Index FreespaceSelect appropriate RUNSTATS options to for Indexes and data Review Explain reports for costly sortcollect Distribution Statistics or Column DB2 memory management operationsGroup Statistics to improve cardinality Explain the management of database Use the RUNSTATS utility to collect tableestimates during SQL compilation shared memory based on setting the and index statistics to enable the DB2Use the table and indexes statistics to plan configuration option Optimizer to generate efficient accessfor table and index reorganization using the DATABASE_MEMORY to AUTOMATIC, strategiesREORG utility COMPUTED or a specific number of Create Event Monitors to collectSet the policies and options for automation pages performance statistics at the database,of catalog statistics collection Select the mode for managing data sort application or SQL statement levelMonitor the activity associated with memory using SHEAPTHRES,implementing real-time statistics collection SORTHEAP, and SHEAPTHRES_SHRUse the db2batch utility to run SQL Monitor DB2 memory usage using the lineworkloads and collect performance statistics db2mtrk commands and SQL statements List the tools for monitoring database andthat can be used to benchmark database Utilize the db2pd command for application activityand application changes monitoring current database memory Use GET SNAPSHOT commands toEvent Monitoring usage produce reports for analysis of databaseImplement simple Workload Management Automated Memory Management performancedefinitions to utilize the Workload Explain the differences in STMM Utilize the administrative routines andManager-based event monitoring including processing based on the setting of views provided by to DB2 to simplifyactivities, statistics and threshold violations DATABASE_MEMORY application access to databaseEvaluate Event Monitor data using the Event Plan and configure a database for self performance statisticsAnalyzer tool, the db2evmon text-based tool tuning memory Use the db2pd to perform performancethe db2evmonfmt application or using SQL Activate or deactivate STMM for selected analysis or problem determination for aqueries memory heaps DB2 databaseDefine a LOCKING Event Monitor to capture Describe the management of sortheap Utilize the enhanced table functions withdeadlocks, lock timeout or lock waits memory based on the configuration of SQL in reporting and monitoring of theConfigure a DB2 database to control sheapthres and sheapthres_shr database system, data objects, and theinformation captured for deadlocks, lock Explain how DB2 can automatically package cache to help you quickly identifytimeouts or extended lock waits increase or decrease database memory issues that might be causing problemsImplement Event Monitors for units of work for multiple DB2 databases running on Configure the DB2 Database configurationor lock-related events that store information the same server options that control the collection ofin unformatted Event Monitor tables Application Performance Considerations request, activity and object level metrics onCapture SQL section information using an Describe the performance advantages of the entire databaseACTIVITIES Event Monitor and use the data using stored procedures Compare the enhanced table functionsto generate Explain reports Design applications to maximize record with the snapshot monitoring facilities

blocking, minimize sort operations and provided by previous DB2 releasesminimize lock contention Database Input/Output (I/O) Management

line Monitor application performance and lock Describe processing for writing databaseList the tools for monitoring database and waits using GET SNAPSHOT commands pages from buffer poolsapplication activity and SQL queries Monitor database read and write activityUse GET SNAPSHOT commands to Set the DB2 registry variables using GET SNAPSHOT commands orproduce reports for analysis of database DB2_EVALUNCOMMITTED, Administrative Routines and Viewsperformance DB2_SKIPINSERTED and Monitor database logging activity andUtilize the administrative routines and views DB2_SKIPDELETED to reduce lock select appropriate values for SOFTMAX

Page 63: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

provided by to DB2 to simplify application contention based on application and MINCOMMITaccess to database performance statistics requirements Describe how scan sharing can reduce theUse the db2pd to perform performance Utilize the currently committed form of I/O workload for accessing large tablesanalysis or problem determination for a DB2 locking to reduce lock contention Explain the alternate page cleaningdatabase between read-only and update processing associated with theUtilize the enhanced table functions with applications DB2_USE_ALTERNATE_PAGE_CLEANISQL in reporting and monitoring of the Using Explain Tools NG DB2 Registry variabledatabase system, data objects, and the Describe the advantages of using Tablespace and Table Design forpackage cache to help you quickly identify db2exfmt Performanceissues that might be causing problems Create special tables used by Visual Describe the calculation of prefetch sizeConfigure the DB2 Database configuration Explain and db2exfmt when PREFETCHSIZE is set tooptions that control the collection of request, Identify how to set the Explain snapshot AUTOMATICactivity and object level metrics on the entire and Explain mode registers to capture List the advantages of selecting DMS ordatabase the information of interest SMS table space management as well asCompare the enhanced table functions with Differentiate between the different using Automatic Storage-managed tablethe snapshot monitoring facilities provided methods of viewing Explain information spacesby previous DB2 releases The DB2 Optimizer Set file system caching options for tableDatabase Input/Output (I/O) Management Choose the appropriate optimization spaces to optimize table spaceDescribe processing for writing database class performancepages from buffer pools Describe the catalog statistics and Describe the various row insertionMonitor database read and write activity database configuration options impact on algorithms for tables that are based onusing GET SNAPSHOT commands or access plan selection using the APPEND option or defining aAdministrative Routines and Views Implement a statistical view to provide clustering indexMonitor database logging activity and select better cardinality estimates for complex Plan and implement Row Compression toappropriate values for SOFTMAX and queries reduce disk and memory requirements andMINCOMMIT Enable the statement concentrator using improve application performanceDescribe how scan sharing can reduce the the STMT_CONC database manager Describe how DB2's Index compressionI/O workload for accessing large tables configuration parameter to reduce SQL option can reduce disk storageExplain the alternate page cleaning compilation overhead for dynamic SQL requirements for indexesprocessing associated with the statements Explain how DB2 can compress temporaryDB2_USE_ALTERNATE_PAGE_CLEANIN Utilize the db2look utility to extract data to improve application performanceG DB2 Registry variable catalog statistics from existing tables to Utilize the DB2 provided tools andTablespace and Table Design for mimic an existing database environment functions to estimate compression resultsPerformance Create an optimizer profile for Indexes and dataDescribe the calculation of prefetch size Using Indexes for Performance DB2 memory managementwhen PREFETCHSIZE is set to Describe the Block Indexing capability for Explain the management of databaseAUTOMATIC MDC tables shared memory based on setting theList the advantages of selecting DMS or Monitor index usage using the configuration optionSMS table space management as well as MON_GET_INDEX function and db2pd DATABASE_MEMORY to AUTOMATIC,using Automatic Storage-managed table commands COMPUTED or a specific number ofspaces Explain how multiple indexes can be pagesSet file system caching options for table combined using Index ORing and Select the mode for managing data sortspaces to optimize table space performance Dynamic Bitmap Index ANDing memory using SHEAPTHRES,Describe the various row insertion Use the Design Advisor to predict SORTHEAP, and SHEAPTHRES_SHRalgorithms for tables that are based on using performance gains from adding new Monitor DB2 memory usage using thethe APPEND option or defining a clustering indexes db2mtrk commands and SQL statementsindex Complex SQL Performance Utilize the db2pd command for monitoringPlan and implement Row Compression to Describe the differences between Nested current database memory usagereduce disk and memory requirements and Loop, Merge Scan and Hash Joins Automated Memory Managementimprove application performance Plan the implementation of Refresh Explain the differences in STMMDescribe how DB2's Index compression Immediate or Refresh Deferred processing based on the setting ofoption can reduce disk storage requirements Materialized Query Tables to improve DATABASE_MEMORYfor indexes query performance Plan and configure a database for selfExplain how DB2 can compress temporary Utilize the Design Advisor to analyze SQL tuning memorydata to improve application performance statements and recommend new MQTs Activate or deactivate STMM for selectedUtilize the DB2 provided tools and functions Describe the features of range-partitioned memory heapsto estimate compression results for Indexes tables to support large DB2 tables using Describe the management of sortheapand data multiple table spaces, including the roll-in memory based on the configuration ofDB2 memory management and roll-out of data ranges sheapthres and sheapthres_shrExplain the management of database Explain the difference between Explain how DB2 can automaticallyshared memory based on setting the partitioned and non-partitioned indexes increase or decrease database memory forconfiguration option DATABASE_MEMORY for a range-partitioned table multiple DB2 databases running on theto AUTOMATIC, COMPUTED or a specific Implement partitioned indexes to improve same servernumber of pages performance when you roll data out or roll Application Performance ConsiderationsSelect the mode for managing data sort data into a range-partitioned table Describe the performance advantages ofmemory using SHEAPTHRES, SORTHEAP, Use the DB2 Explain tools to determine if using stored procedures

Page 64: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

and SHEAPTHRES_SHR partition elimination is being used to Design applications to maximize recordMonitor DB2 memory usage using the improve access performance to large blocking, minimize sort operations anddb2mtrk commands and SQL statements range-partitioned tables minimize lock contentionUtilize the db2pd command for monitoring Tools and Utilities for Performance Monitor application performance and lockcurrent database memory usage Select appropriate RUNSTATS options to waits using GET SNAPSHOT commandsAutomated Memory Management collect Distribution Statistics or Column and SQL queriesExplain the differences in STMM processing Group Statistics to improve cardinality Set the DB2 registry variablesbased on the setting of estimates during SQL compilation DB2_EVALUNCOMMITTED,DATABASE_MEMORY Use the table and indexes statistics to DB2_SKIPINSERTED andPlan and configure a database for self plan for table and index reorganization DB2_SKIPDELETED to reduce locktuning memory using the REORG utility contention based on applicationActivate or deactivate STMM for selected Set the policies and options for requirementsmemory heaps automation of catalog statistics collection Utilize the currently committed form ofDescribe the management of sortheap Monitor the activity associated with locking to reduce lock contention betweenmemory based on the configuration of implementing real-time statistics read-only and update applicationssheapthres and sheapthres_shr collection Using Explain ToolsExplain how DB2 can automatically increase Use the db2batch utility to run SQL Describe the advantages of usingor decrease database memory for multiple workloads and collect performance db2exfmtDB2 databases running on the same server statistics that can be used to benchmark Create special tables used by VisualApplication Performance Considerations database and application changes Explain and db2exfmtDescribe the performance advantages of Event Monitoring Identify how to set the Explain snapshotusing stored procedures Implement simple Workload and Explain mode registers to capture theDesign applications to maximize record Management definitions to utilize the information of interestblocking, minimize sort operations and Workload Manager-based event Differentiate between the differentminimize lock contention monitoring including activities, statistics methods of viewing Explain informationMonitor application performance and lock and threshold violations The DB2 Optimizerwaits using GET SNAPSHOT commands Evaluate Event Monitor data using the Choose the appropriate optimization classand SQL queries Event Analyzer tool, the db2evmon Describe the catalog statistics andSet the DB2 registry variables text-based tool the db2evmonfmt database configuration options impact onDB2_EVALUNCOMMITTED, application or using SQL queries access plan selectionDB2_SKIPINSERTED and Define a LOCKING Event Monitor to Implement a statistical view to provideDB2_SKIPDELETED to reduce lock capture deadlocks, lock timeout or lock better cardinality estimates for complexcontention based on application waits queriesrequirements Configure a DB2 database to control Enable the statement concentrator usingUtilize the currently committed form of information captured for deadlocks, lock the STMT_CONC database managerlocking to reduce lock contention between timeouts or extended lock waits configuration parameter to reduce SQLread-only and update applications Implement Event Monitors for units of compilation overhead for dynamic SQLUsing Explain Tools work or lock-related events that store statementsDescribe the advantages of using db2exfmt information in unformatted Event Monitor Utilize the db2look utility to extract catalogCreate special tables used by Visual Explain tables statistics from existing tables to mimic anand db2exfmt Capture SQL section information using existing database environmentIdentify how to set the Explain snapshot and an ACTIVITIES Event Monitor and use Create an optimizer profileExplain mode registers to capture the the data to generate Explain reports Using Indexes for Performanceinformation of interest Describe the Block Indexing capability forDifferentiate between the different methods MDC tablesof viewing Explain information line Monitor index usage using theThe DB2 Optimizer Describe the basic principles in MON_GET_INDEX function and db2pdChoose the appropriate optimization class monitoring a DB2 database commandsDescribe the catalog statistics and database Describe processing for reading database Explain how multiple indexes can beconfiguration options impact on access plan pages into buffer pools combined using Index ORing and Dynamicselection Select appropriate values for table space Bitmap Index ANDingImplement a statistical view to provide better page size and extent size to support Use the Design Advisor to predictcardinality estimates for complex queries application performance requirements performance gains from adding newEnable the statement concentrator using the Describe memory heap usage for indexesSTMT_CONC database manager instance memory, database shared Complex SQL Performanceconfiguration parameter to reduce SQL memory and application memory Describe the differences between Nestedcompilation overhead for dynamic SQL Describe how STMM can be used to Loop, Merge Scan and Hash Joinsstatements automatically manage database shared Plan the implementation of RefreshUtilize the db2look utility to extract catalog memory heaps Immediate or Refresh Deferredstatistics from existing tables to mimic an List examples of application coding Materialized Query Tables to improveexisting database environment techniques that can effect performance query performanceCreate an optimizer profile Describe the advantages of using Visual Utilize the Design Advisor to analyze SQLUsing Indexes for Performance Explain statements and recommend new MQTsDescribe the Block Indexing capability for Describe the stages of the SQL compiler Describe the features of range-partitionedMDC tables Describe the Indexing options that can be tables to support large DB2 tables usingMonitor index usage using the used to improve performance: Index Only multiple table spaces, including the roll-in

Page 65: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

MON_GET_INDEX function and db2pd Access, Clustered Index, Reverse Scans, and roll-out of data rangescommands Include Columns, and Index Freespace Explain the difference between partitionedExplain how multiple indexes can be Review Explain reports for costly sort and non-partitioned indexes for acombined using Index ORing and Dynamic operations range-partitioned tableBitmap Index ANDing Use the RUNSTATS utility to collect table Implement partitioned indexes to improveUse the Design Advisor to predict and index statistics to enable the DB2 performance when you roll data out or rollperformance gains from adding new indexes Optimizer to generate efficient access data into a range-partitioned tableComplex SQL Performance strategies Use the DB2 Explain tools to determine ifDescribe the differences between Nested Create Event Monitors to collect partition elimination is being used toLoop, Merge Scan and Hash Joins performance statistics at the database, improve access performance to largePlan the implementation of Refresh application or SQL statement level range-partitioned tablesImmediate or Refresh Deferred Materialized Tools and Utilities for PerformanceQuery Tables to improve query performance Select appropriate RUNSTATS options toUtilize the Design Advisor to analyze SQL line collect Distribution Statistics or Columnstatements and recommend new MQTs List the tools for monitoring database and Group Statistics to improve cardinalityDescribe the features of range-partitioned application activity estimates during SQL compilationtables to support large DB2 tables using Use GET SNAPSHOT commands to Use the table and indexes statistics to planmultiple table spaces, including the roll-in produce reports for analysis of database for table and index reorganization usingand roll-out of data ranges performance the REORG utilityExplain the difference between partitioned Utilize the administrative routines and Set the policies and options for automationand non-partitioned indexes for a views provided by to DB2 to simplify of catalog statistics collectionrange-partitioned table application access to database Monitor the activity associated withImplement partitioned indexes to improve performance statistics implementing real-time statistics collectionperformance when you roll data out or roll Use the db2pd to perform performance Use the db2batch utility to run SQLdata into a range-partitioned table analysis or problem determination for a workloads and collect performanceUse the DB2 Explain tools to determine if DB2 database statistics that can be used to benchmarkpartition elimination is being used to improve Utilize the enhanced table functions with database and application changesaccess performance to large SQL in reporting and monitoring of the Event Monitoringrange-partitioned tables database system, data objects, and the Implement simple Workload ManagementTools and Utilities for Performance package cache to help you quickly definitions to utilize the WorkloadSelect appropriate RUNSTATS options to identify issues that might be causing Manager-based event monitoring includingcollect Distribution Statistics or Column problems activities, statistics and threshold violationsGroup Statistics to improve cardinality Configure the DB2 Database Evaluate Event Monitor data using theestimates during SQL compilation configuration options that control the Event Analyzer tool, the db2evmonUse the table and indexes statistics to plan collection of request, activity and object text-based tool the db2evmonfmtfor table and index reorganization using the level metrics on the entire database application or using SQL queriesREORG utility Compare the enhanced table functions Define a LOCKING Event Monitor toSet the policies and options for automation with the snapshot monitoring facilities capture deadlocks, lock timeout or lockof catalog statistics collection provided by previous DB2 releases waitsMonitor the activity associated with Database Input/Output (I/O) Management Configure a DB2 database to controlimplementing real-time statistics collection Describe processing for writing database information captured for deadlocks, lockUse the db2batch utility to run SQL pages from buffer pools timeouts or extended lock waitsworkloads and collect performance statistics Monitor database read and write activity Implement Event Monitors for units of workthat can be used to benchmark database using GET SNAPSHOT commands or or lock-related events that storeand application changes Administrative Routines and Views information in unformatted Event MonitorEvent Monitoring Monitor database logging activity and tablesImplement simple Workload Management select appropriate values for SOFTMAX Capture SQL section information using andefinitions to utilize the Workload and MINCOMMIT ACTIVITIES Event Monitor and use theManager-based event monitoring including Describe how scan sharing can reduce data to generate Explain reportsactivities, statistics and threshold violations the I/O workload for accessing largeEvaluate Event Monitor data using the Event tablesAnalyzer tool, the db2evmon text-based tool Explain the alternate page cleaning linethe db2evmonfmt application or using SQL processing associated with the List the tools for monitoring database andqueries DB2_USE_ALTERNATE_PAGE_CLEAN application activityDefine a LOCKING Event Monitor to capture ING DB2 Registry variable Use GET SNAPSHOT commands todeadlocks, lock timeout or lock waits Tablespace and Table Design for produce reports for analysis of databaseConfigure a DB2 database to control Performance performanceinformation captured for deadlocks, lock Describe the calculation of prefetch size Utilize the administrative routines andtimeouts or extended lock waits when PREFETCHSIZE is set to views provided by to DB2 to simplifyImplement Event Monitors for units of work AUTOMATIC application access to databaseor lock-related events that store information List the advantages of selecting DMS or performance statisticsin unformatted Event Monitor tables SMS table space management as well as Use the db2pd to perform performanceCapture SQL section information using an using Automatic Storage-managed table analysis or problem determination for aACTIVITIES Event Monitor and use the data spaces DB2 databaseto generate Explain reports Set file system caching options for table Utilize the enhanced table functions with

spaces to optimize table space SQL in reporting and monitoring of the

Page 66: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

performance database system, data objects, and theline Describe the various row insertion package cache to help you quickly identify

List the tools for monitoring database and algorithms for tables that are based on issues that might be causing problemsapplication activity using the APPEND option or defining a Configure the DB2 Database configurationUse GET SNAPSHOT commands to clustering index options that control the collection ofproduce reports for analysis of database Plan and implement Row Compression to request, activity and object level metrics onperformance reduce disk and memory requirements the entire databaseUtilize the administrative routines and views and improve application performance Compare the enhanced table functionsprovided by to DB2 to simplify application Describe how DB2's Index compression with the snapshot monitoring facilitiesaccess to database performance statistics option can reduce disk storage provided by previous DB2 releasesUse the db2pd to perform performance requirements for indexes Database Input/Output (I/O) Managementanalysis or problem determination for a DB2 Explain how DB2 can compress Describe processing for writing databasedatabase temporary data to improve application pages from buffer poolsUtilize the enhanced table functions with performance Monitor database read and write activitySQL in reporting and monitoring of the Utilize the DB2 provided tools and using GET SNAPSHOT commands ordatabase system, data objects, and the functions to estimate compression results Administrative Routines and Viewspackage cache to help you quickly identify for Indexes and data Monitor database logging activity andissues that might be causing problems DB2 memory management select appropriate values for SOFTMAXConfigure the DB2 Database configuration Explain the management of database and MINCOMMIToptions that control the collection of request, shared memory based on setting the Describe how scan sharing can reduce theactivity and object level metrics on the entire configuration option I/O workload for accessing large tablesdatabase DATABASE_MEMORY to AUTOMATIC, Explain the alternate page cleaningCompare the enhanced table functions with COMPUTED or a specific number of processing associated with thethe snapshot monitoring facilities provided pages DB2_USE_ALTERNATE_PAGE_CLEANIby previous DB2 releases Select the mode for managing data sort NG DB2 Registry variableDatabase Input/Output (I/O) Management memory using SHEAPTHRES, Tablespace and Table Design forDescribe processing for writing database SORTHEAP, and SHEAPTHRES_SHR Performancepages from buffer pools Monitor DB2 memory usage using the Describe the calculation of prefetch sizeMonitor database read and write activity db2mtrk commands and SQL statements when PREFETCHSIZE is set tousing GET SNAPSHOT commands or Utilize the db2pd command for AUTOMATICAdministrative Routines and Views monitoring current database memory List the advantages of selecting DMS orMonitor database logging activity and select usage SMS table space management as well asappropriate values for SOFTMAX and Automated Memory Management using Automatic Storage-managed tableMINCOMMIT Explain the differences in STMM spacesDescribe how scan sharing can reduce the processing based on the setting of Set file system caching options for tableI/O workload for accessing large tables DATABASE_MEMORY spaces to optimize table spaceExplain the alternate page cleaning Plan and configure a database for self performanceprocessing associated with the tuning memory Describe the various row insertionDB2_USE_ALTERNATE_PAGE_CLEANIN Activate or deactivate STMM for selected algorithms for tables that are based onG DB2 Registry variable memory heaps using the APPEND option or defining aTablespace and Table Design for Describe the management of sortheap clustering indexPerformance memory based on the configuration of Plan and implement Row Compression toDescribe the calculation of prefetch size sheapthres and sheapthres_shr reduce disk and memory requirements andwhen PREFETCHSIZE is set to Explain how DB2 can automatically improve application performanceAUTOMATIC increase or decrease database memory Describe how DB2's Index compressionList the advantages of selecting DMS or for multiple DB2 databases running on option can reduce disk storageSMS table space management as well as the same server requirements for indexesusing Automatic Storage-managed table Application Performance Considerations Explain how DB2 can compress temporaryspaces Describe the performance advantages of data to improve application performanceSet file system caching options for table using stored procedures Utilize the DB2 provided tools andspaces to optimize table space performance Design applications to maximize record functions to estimate compression resultsDescribe the various row insertion blocking, minimize sort operations and for Indexes and dataalgorithms for tables that are based on using minimize lock contention DB2 memory managementthe APPEND option or defining a clustering Monitor application performance and lock Explain the management of databaseindex waits using GET SNAPSHOT commands shared memory based on setting thePlan and implement Row Compression to and SQL queries configuration optionreduce disk and memory requirements and Set the DB2 registry variables DATABASE_MEMORY to AUTOMATIC,improve application performance DB2_EVALUNCOMMITTED, COMPUTED or a specific number ofDescribe how DB2's Index compression DB2_SKIPINSERTED and pagesoption can reduce disk storage requirements DB2_SKIPDELETED to reduce lock Select the mode for managing data sortfor indexes contention based on application memory using SHEAPTHRES,Explain how DB2 can compress temporary requirements SORTHEAP, and SHEAPTHRES_SHRdata to improve application performance Utilize the currently committed form of Monitor DB2 memory usage using theUtilize the DB2 provided tools and functions locking to reduce lock contention db2mtrk commands and SQL statementsto estimate compression results for Indexes between read-only and update Utilize the db2pd command for monitoringand data applications current database memory usage

Page 67: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

DB2 memory management Using Explain Tools Automated Memory ManagementExplain the management of database Describe the advantages of using Explain the differences in STMMshared memory based on setting the db2exfmt processing based on the setting ofconfiguration option DATABASE_MEMORY Create special tables used by Visual DATABASE_MEMORYto AUTOMATIC, COMPUTED or a specific Explain and db2exfmt Plan and configure a database for selfnumber of pages Identify how to set the Explain snapshot tuning memorySelect the mode for managing data sort and Explain mode registers to capture Activate or deactivate STMM for selectedmemory using SHEAPTHRES, SORTHEAP, the information of interest memory heapsand SHEAPTHRES_SHR Differentiate between the different Describe the management of sortheapMonitor DB2 memory usage using the methods of viewing Explain information memory based on the configuration ofdb2mtrk commands and SQL statements The DB2 Optimizer sheapthres and sheapthres_shrUtilize the db2pd command for monitoring Choose the appropriate optimization Explain how DB2 can automaticallycurrent database memory usage class increase or decrease database memory forAutomated Memory Management Describe the catalog statistics and multiple DB2 databases running on theExplain the differences in STMM processing database configuration options impact on same serverbased on the setting of access plan selection Application Performance ConsiderationsDATABASE_MEMORY Implement a statistical view to provide Describe the performance advantages ofPlan and configure a database for self better cardinality estimates for complex using stored procedurestuning memory queries Design applications to maximize recordActivate or deactivate STMM for selected Enable the statement concentrator using blocking, minimize sort operations andmemory heaps the STMT_CONC database manager minimize lock contentionDescribe the management of sortheap configuration parameter to reduce SQL Monitor application performance and lockmemory based on the configuration of compilation overhead for dynamic SQL waits using GET SNAPSHOT commandssheapthres and sheapthres_shr statements and SQL queriesExplain how DB2 can automatically increase Utilize the db2look utility to extract Set the DB2 registry variablesor decrease database memory for multiple catalog statistics from existing tables to DB2_EVALUNCOMMITTED,DB2 databases running on the same server mimic an existing database environment DB2_SKIPINSERTED andApplication Performance Considerations Create an optimizer profile DB2_SKIPDELETED to reduce lockDescribe the performance advantages of Using Indexes for Performance contention based on applicationusing stored procedures Describe the Block Indexing capability for requirementsDesign applications to maximize record MDC tables Utilize the currently committed form ofblocking, minimize sort operations and Monitor index usage using the locking to reduce lock contention betweenminimize lock contention MON_GET_INDEX function and db2pd read-only and update applicationsMonitor application performance and lock commands Using Explain Toolswaits using GET SNAPSHOT commands Explain how multiple indexes can be Describe the advantages of usingand SQL queries combined using Index ORing and db2exfmtSet the DB2 registry variables Dynamic Bitmap Index ANDing Create special tables used by VisualDB2_EVALUNCOMMITTED, Use the Design Advisor to predict Explain and db2exfmtDB2_SKIPINSERTED and performance gains from adding new Identify how to set the Explain snapshotDB2_SKIPDELETED to reduce lock indexes and Explain mode registers to capture thecontention based on application Complex SQL Performance information of interestrequirements Describe the differences between Nested Differentiate between the differentUtilize the currently committed form of Loop, Merge Scan and Hash Joins methods of viewing Explain informationlocking to reduce lock contention between Plan the implementation of Refresh The DB2 Optimizerread-only and update applications Immediate or Refresh Deferred Choose the appropriate optimization classUsing Explain Tools Materialized Query Tables to improve Describe the catalog statistics andDescribe the advantages of using db2exfmt query performance database configuration options impact onCreate special tables used by Visual Explain Utilize the Design Advisor to analyze SQL access plan selectionand db2exfmt statements and recommend new MQTs Implement a statistical view to provideIdentify how to set the Explain snapshot and Describe the features of range-partitioned better cardinality estimates for complexExplain mode registers to capture the tables to support large DB2 tables using queriesinformation of interest multiple table spaces, including the roll-in Enable the statement concentrator usingDifferentiate between the different methods and roll-out of data ranges the STMT_CONC database managerof viewing Explain information Explain the difference between configuration parameter to reduce SQLThe DB2 Optimizer partitioned and non-partitioned indexes compilation overhead for dynamic SQLChoose the appropriate optimization class for a range-partitioned table statementsDescribe the catalog statistics and database Implement partitioned indexes to improve Utilize the db2look utility to extract catalogconfiguration options impact on access plan performance when you roll data out or roll statistics from existing tables to mimic anselection data into a range-partitioned table existing database environmentImplement a statistical view to provide better Use the DB2 Explain tools to determine if Create an optimizer profilecardinality estimates for complex queries partition elimination is being used to Using Indexes for PerformanceEnable the statement concentrator using the improve access performance to large Describe the Block Indexing capability forSTMT_CONC database manager range-partitioned tables MDC tablesconfiguration parameter to reduce SQL Tools and Utilities for Performance Monitor index usage using thecompilation overhead for dynamic SQL Select appropriate RUNSTATS options to MON_GET_INDEX function and db2pdstatements collect Distribution Statistics or Column commands

Page 68: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Utilize the db2look utility to extract catalog Group Statistics to improve cardinality Explain how multiple indexes can bestatistics from existing tables to mimic an estimates during SQL compilation combined using Index ORing and Dynamicexisting database environment Use the table and indexes statistics to Bitmap Index ANDingCreate an optimizer profile plan for table and index reorganization Use the Design Advisor to predictUsing Indexes for Performance using the REORG utility performance gains from adding newDescribe the Block Indexing capability for Set the policies and options for indexesMDC tables automation of catalog statistics collection Complex SQL PerformanceMonitor index usage using the Monitor the activity associated with Describe the differences between NestedMON_GET_INDEX function and db2pd implementing real-time statistics Loop, Merge Scan and Hash Joinscommands collection Plan the implementation of RefreshExplain how multiple indexes can be Use the db2batch utility to run SQL Immediate or Refresh Deferredcombined using Index ORing and Dynamic workloads and collect performance Materialized Query Tables to improveBitmap Index ANDing statistics that can be used to benchmark query performanceUse the Design Advisor to predict database and application changes Utilize the Design Advisor to analyze SQLperformance gains from adding new indexes Event Monitoring statements and recommend new MQTsComplex SQL Performance Implement simple Workload Describe the features of range-partitionedDescribe the differences between Nested Management definitions to utilize the tables to support large DB2 tables usingLoop, Merge Scan and Hash Joins Workload Manager-based event multiple table spaces, including the roll-inPlan the implementation of Refresh monitoring including activities, statistics and roll-out of data rangesImmediate or Refresh Deferred Materialized and threshold violations Explain the difference between partitionedQuery Tables to improve query performance Evaluate Event Monitor data using the and non-partitioned indexes for aUtilize the Design Advisor to analyze SQL Event Analyzer tool, the db2evmon range-partitioned tablestatements and recommend new MQTs text-based tool the db2evmonfmt Implement partitioned indexes to improveDescribe the features of range-partitioned application or using SQL queries performance when you roll data out or rolltables to support large DB2 tables using Define a LOCKING Event Monitor to data into a range-partitioned tablemultiple table spaces, including the roll-in capture deadlocks, lock timeout or lock Use the DB2 Explain tools to determine ifand roll-out of data ranges waits partition elimination is being used toExplain the difference between partitioned Configure a DB2 database to control improve access performance to largeand non-partitioned indexes for a information captured for deadlocks, lock range-partitioned tablesrange-partitioned table timeouts or extended lock waits Tools and Utilities for PerformanceImplement partitioned indexes to improve Implement Event Monitors for units of Select appropriate RUNSTATS options toperformance when you roll data out or roll work or lock-related events that store collect Distribution Statistics or Columndata into a range-partitioned table information in unformatted Event Monitor Group Statistics to improve cardinalityUse the DB2 Explain tools to determine if tables estimates during SQL compilationpartition elimination is being used to improve Capture SQL section information using Use the table and indexes statistics to planaccess performance to large an ACTIVITIES Event Monitor and use for table and index reorganization usingrange-partitioned tables the data to generate Explain reports the REORG utilityTools and Utilities for Performance Set the policies and options for automationSelect appropriate RUNSTATS options to of catalog statistics collectioncollect Distribution Statistics or Column line Monitor the activity associated withGroup Statistics to improve cardinality List the tools for monitoring database and implementing real-time statistics collectionestimates during SQL compilation application activity Use the db2batch utility to run SQLUse the table and indexes statistics to plan Use GET SNAPSHOT commands to workloads and collect performancefor table and index reorganization using the produce reports for analysis of database statistics that can be used to benchmarkREORG utility performance database and application changesSet the policies and options for automation Utilize the administrative routines and Event Monitoringof catalog statistics collection views provided by to DB2 to simplify Implement simple Workload ManagementMonitor the activity associated with application access to database definitions to utilize the Workloadimplementing real-time statistics collection performance statistics Manager-based event monitoring includingUse the db2batch utility to run SQL Use the db2pd to perform performance activities, statistics and threshold violationsworkloads and collect performance statistics analysis or problem determination for a Evaluate Event Monitor data using thethat can be used to benchmark database DB2 database Event Analyzer tool, the db2evmonand application changes Utilize the enhanced table functions with text-based tool the db2evmonfmtEvent Monitoring SQL in reporting and monitoring of the application or using SQL queriesImplement simple Workload Management database system, data objects, and the Define a LOCKING Event Monitor todefinitions to utilize the Workload package cache to help you quickly capture deadlocks, lock timeout or lockManager-based event monitoring including identify issues that might be causing waitsactivities, statistics and threshold violations problems Configure a DB2 database to controlEvaluate Event Monitor data using the Event Configure the DB2 Database information captured for deadlocks, lockAnalyzer tool, the db2evmon text-based tool configuration options that control the timeouts or extended lock waitsthe db2evmonfmt application or using SQL collection of request, activity and object Implement Event Monitors for units of workqueries level metrics on the entire database or lock-related events that storeDefine a LOCKING Event Monitor to capture Compare the enhanced table functions information in unformatted Event Monitordeadlocks, lock timeout or lock waits with the snapshot monitoring facilities tablesConfigure a DB2 database to control provided by previous DB2 releases Capture SQL section information using aninformation captured for deadlocks, lock Database Input/Output (I/O) Management ACTIVITIES Event Monitor and use the

Page 69: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

timeouts or extended lock waits Describe processing for writing database data to generate Explain reportsImplement Event Monitors for units of work pages from buffer poolsor lock-related events that store information Monitor database read and write activityin unformatted Event Monitor tables using GET SNAPSHOT commands or lineCapture SQL section information using an Administrative Routines and Views List the tools for monitoring database andACTIVITIES Event Monitor and use the data Monitor database logging activity and application activityto generate Explain reports select appropriate values for SOFTMAX Use GET SNAPSHOT commands to

and MINCOMMIT produce reports for analysis of databaseDescribe how scan sharing can reduce performance

line the I/O workload for accessing large Utilize the administrative routines andList the tools for monitoring database and tables views provided by to DB2 to simplifyapplication activity Explain the alternate page cleaning application access to databaseUse GET SNAPSHOT commands to processing associated with the performance statisticsproduce reports for analysis of database DB2_USE_ALTERNATE_PAGE_CLEAN Use the db2pd to perform performanceperformance ING DB2 Registry variable analysis or problem determination for aUtilize the administrative routines and views Tablespace and Table Design for DB2 databaseprovided by to DB2 to simplify application Performance Utilize the enhanced table functions withaccess to database performance statistics Describe the calculation of prefetch size SQL in reporting and monitoring of theUse the db2pd to perform performance when PREFETCHSIZE is set to database system, data objects, and theanalysis or problem determination for a DB2 AUTOMATIC package cache to help you quickly identifydatabase List the advantages of selecting DMS or issues that might be causing problemsUtilize the enhanced table functions with SMS table space management as well as Configure the DB2 Database configurationSQL in reporting and monitoring of the using Automatic Storage-managed table options that control the collection ofdatabase system, data objects, and the spaces request, activity and object level metrics onpackage cache to help you quickly identify Set file system caching options for table the entire databaseissues that might be causing problems spaces to optimize table space Compare the enhanced table functionsConfigure the DB2 Database configuration performance with the snapshot monitoring facilitiesoptions that control the collection of request, Describe the various row insertion provided by previous DB2 releasesactivity and object level metrics on the entire algorithms for tables that are based on Database Input/Output (I/O) Managementdatabase using the APPEND option or defining a Describe processing for writing databaseCompare the enhanced table functions with clustering index pages from buffer poolsthe snapshot monitoring facilities provided Plan and implement Row Compression to Monitor database read and write activityby previous DB2 releases reduce disk and memory requirements using GET SNAPSHOT commands orDatabase Input/Output (I/O) Management and improve application performance Administrative Routines and ViewsDescribe processing for writing database Describe how DB2's Index compression Monitor database logging activity andpages from buffer pools option can reduce disk storage select appropriate values for SOFTMAXMonitor database read and write activity requirements for indexes and MINCOMMITusing GET SNAPSHOT commands or Explain how DB2 can compress Describe how scan sharing can reduce theAdministrative Routines and Views temporary data to improve application I/O workload for accessing large tablesMonitor database logging activity and select performance Explain the alternate page cleaningappropriate values for SOFTMAX and Utilize the DB2 provided tools and processing associated with theMINCOMMIT functions to estimate compression results DB2_USE_ALTERNATE_PAGE_CLEANIDescribe how scan sharing can reduce the for Indexes and data NG DB2 Registry variableI/O workload for accessing large tables DB2 memory management Tablespace and Table Design forExplain the alternate page cleaning Explain the management of database Performanceprocessing associated with the shared memory based on setting the Describe the calculation of prefetch sizeDB2_USE_ALTERNATE_PAGE_CLEANIN configuration option when PREFETCHSIZE is set toG DB2 Registry variable DATABASE_MEMORY to AUTOMATIC, AUTOMATICTablespace and Table Design for COMPUTED or a specific number of List the advantages of selecting DMS orPerformance pages SMS table space management as well asDescribe the calculation of prefetch size Select the mode for managing data sort using Automatic Storage-managed tablewhen PREFETCHSIZE is set to memory using SHEAPTHRES, spacesAUTOMATIC SORTHEAP, and SHEAPTHRES_SHR Set file system caching options for tableList the advantages of selecting DMS or Monitor DB2 memory usage using the spaces to optimize table spaceSMS table space management as well as db2mtrk commands and SQL statements performanceusing Automatic Storage-managed table Utilize the db2pd command for Describe the various row insertionspaces monitoring current database memory algorithms for tables that are based onSet file system caching options for table usage using the APPEND option or defining aspaces to optimize table space performance Automated Memory Management clustering indexDescribe the various row insertion Explain the differences in STMM Plan and implement Row Compression toalgorithms for tables that are based on using processing based on the setting of reduce disk and memory requirements andthe APPEND option or defining a clustering DATABASE_MEMORY improve application performanceindex Plan and configure a database for self Describe how DB2's Index compressionPlan and implement Row Compression to tuning memory option can reduce disk storagereduce disk and memory requirements and Activate or deactivate STMM for selected requirements for indexesimprove application performance memory heaps Explain how DB2 can compress temporary

Page 70: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Describe how DB2's Index compression Describe the management of sortheap data to improve application performanceoption can reduce disk storage requirements memory based on the configuration of Utilize the DB2 provided tools andfor indexes sheapthres and sheapthres_shr functions to estimate compression resultsExplain how DB2 can compress temporary Explain how DB2 can automatically for Indexes and datadata to improve application performance increase or decrease database memory DB2 memory managementUtilize the DB2 provided tools and functions for multiple DB2 databases running on Explain the management of databaseto estimate compression results for Indexes the same server shared memory based on setting theand data Application Performance Considerations configuration optionDB2 memory management Describe the performance advantages of DATABASE_MEMORY to AUTOMATIC,Explain the management of database using stored procedures COMPUTED or a specific number ofshared memory based on setting the Design applications to maximize record pagesconfiguration option DATABASE_MEMORY blocking, minimize sort operations and Select the mode for managing data sortto AUTOMATIC, COMPUTED or a specific minimize lock contention memory using SHEAPTHRES,number of pages Monitor application performance and lock SORTHEAP, and SHEAPTHRES_SHRSelect the mode for managing data sort waits using GET SNAPSHOT commands Monitor DB2 memory usage using thememory using SHEAPTHRES, SORTHEAP, and SQL queries db2mtrk commands and SQL statementsand SHEAPTHRES_SHR Set the DB2 registry variables Utilize the db2pd command for monitoringMonitor DB2 memory usage using the DB2_EVALUNCOMMITTED, current database memory usagedb2mtrk commands and SQL statements DB2_SKIPINSERTED and Automated Memory ManagementUtilize the db2pd command for monitoring DB2_SKIPDELETED to reduce lock Explain the differences in STMMcurrent database memory usage contention based on application processing based on the setting ofAutomated Memory Management requirements DATABASE_MEMORYExplain the differences in STMM processing Utilize the currently committed form of Plan and configure a database for selfbased on the setting of locking to reduce lock contention tuning memoryDATABASE_MEMORY between read-only and update Activate or deactivate STMM for selectedPlan and configure a database for self applications memory heapstuning memory Using Explain Tools Describe the management of sortheapActivate or deactivate STMM for selected Describe the advantages of using memory based on the configuration ofmemory heaps db2exfmt sheapthres and sheapthres_shrDescribe the management of sortheap Create special tables used by Visual Explain how DB2 can automaticallymemory based on the configuration of Explain and db2exfmt increase or decrease database memory forsheapthres and sheapthres_shr Identify how to set the Explain snapshot multiple DB2 databases running on theExplain how DB2 can automatically increase and Explain mode registers to capture same serveror decrease database memory for multiple the information of interest Application Performance ConsiderationsDB2 databases running on the same server Differentiate between the different Describe the performance advantages ofApplication Performance Considerations methods of viewing Explain information using stored proceduresDescribe the performance advantages of The DB2 Optimizer Design applications to maximize recordusing stored procedures Choose the appropriate optimization blocking, minimize sort operations andDesign applications to maximize record class minimize lock contentionblocking, minimize sort operations and Describe the catalog statistics and Monitor application performance and lockminimize lock contention database configuration options impact on waits using GET SNAPSHOT commandsMonitor application performance and lock access plan selection and SQL querieswaits using GET SNAPSHOT commands Implement a statistical view to provide Set the DB2 registry variablesand SQL queries better cardinality estimates for complex DB2_EVALUNCOMMITTED,Set the DB2 registry variables queries DB2_SKIPINSERTED andDB2_EVALUNCOMMITTED, Enable the statement concentrator using DB2_SKIPDELETED to reduce lockDB2_SKIPINSERTED and the STMT_CONC database manager contention based on applicationDB2_SKIPDELETED to reduce lock configuration parameter to reduce SQL requirementscontention based on application compilation overhead for dynamic SQL Utilize the currently committed form ofrequirements statements locking to reduce lock contention betweenUtilize the currently committed form of Utilize the db2look utility to extract read-only and update applicationslocking to reduce lock contention between catalog statistics from existing tables to Using Explain Toolsread-only and update applications mimic an existing database environment Describe the advantages of usingUsing Explain Tools Create an optimizer profile db2exfmtDescribe the advantages of using db2exfmt Using Indexes for Performance Create special tables used by VisualCreate special tables used by Visual Explain Describe the Block Indexing capability for Explain and db2exfmtand db2exfmt MDC tables Identify how to set the Explain snapshotIdentify how to set the Explain snapshot and Monitor index usage using the and Explain mode registers to capture theExplain mode registers to capture the MON_GET_INDEX function and db2pd information of interestinformation of interest commands Differentiate between the differentDifferentiate between the different methods Explain how multiple indexes can be methods of viewing Explain informationof viewing Explain information combined using Index ORing and The DB2 OptimizerThe DB2 Optimizer Dynamic Bitmap Index ANDing Choose the appropriate optimization classChoose the appropriate optimization class Use the Design Advisor to predict Describe the catalog statistics andDescribe the catalog statistics and database performance gains from adding new database configuration options impact onconfiguration options impact on access plan indexes access plan selection

Page 71: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

selection Complex SQL Performance Implement a statistical view to provideImplement a statistical view to provide better Describe the differences between Nested better cardinality estimates for complexcardinality estimates for complex queries Loop, Merge Scan and Hash Joins queriesEnable the statement concentrator using the Plan the implementation of Refresh Enable the statement concentrator usingSTMT_CONC database manager Immediate or Refresh Deferred the STMT_CONC database managerconfiguration parameter to reduce SQL Materialized Query Tables to improve configuration parameter to reduce SQLcompilation overhead for dynamic SQL query performance compilation overhead for dynamic SQLstatements Utilize the Design Advisor to analyze SQL statementsUtilize the db2look utility to extract catalog statements and recommend new MQTs Utilize the db2look utility to extract catalogstatistics from existing tables to mimic an Describe the features of range-partitioned statistics from existing tables to mimic anexisting database environment tables to support large DB2 tables using existing database environmentCreate an optimizer profile multiple table spaces, including the roll-in Create an optimizer profileUsing Indexes for Performance and roll-out of data ranges Using Indexes for PerformanceDescribe the Block Indexing capability for Explain the difference between Describe the Block Indexing capability forMDC tables partitioned and non-partitioned indexes MDC tablesMonitor index usage using the for a range-partitioned table Monitor index usage using theMON_GET_INDEX function and db2pd Implement partitioned indexes to improve MON_GET_INDEX function and db2pdcommands performance when you roll data out or roll commandsExplain how multiple indexes can be data into a range-partitioned table Explain how multiple indexes can becombined using Index ORing and Dynamic Use the DB2 Explain tools to determine if combined using Index ORing and DynamicBitmap Index ANDing partition elimination is being used to Bitmap Index ANDingUse the Design Advisor to predict improve access performance to large Use the Design Advisor to predictperformance gains from adding new indexes range-partitioned tables performance gains from adding newComplex SQL Performance Tools and Utilities for Performance indexesDescribe the differences between Nested Select appropriate RUNSTATS options to Complex SQL PerformanceLoop, Merge Scan and Hash Joins collect Distribution Statistics or Column Describe the differences between NestedPlan the implementation of Refresh Group Statistics to improve cardinality Loop, Merge Scan and Hash JoinsImmediate or Refresh Deferred Materialized estimates during SQL compilation Plan the implementation of RefreshQuery Tables to improve query performance Use the table and indexes statistics to Immediate or Refresh DeferredUtilize the Design Advisor to analyze SQL plan for table and index reorganization Materialized Query Tables to improvestatements and recommend new MQTs using the REORG utility query performanceDescribe the features of range-partitioned Set the policies and options for Utilize the Design Advisor to analyze SQLtables to support large DB2 tables using automation of catalog statistics collection statements and recommend new MQTsmultiple table spaces, including the roll-in Monitor the activity associated with Describe the features of range-partitionedand roll-out of data ranges implementing real-time statistics tables to support large DB2 tables usingExplain the difference between partitioned collection multiple table spaces, including the roll-inand non-partitioned indexes for a Use the db2batch utility to run SQL and roll-out of data rangesrange-partitioned table workloads and collect performance Explain the difference between partitionedImplement partitioned indexes to improve statistics that can be used to benchmark and non-partitioned indexes for aperformance when you roll data out or roll database and application changes range-partitioned tabledata into a range-partitioned table Event Monitoring Implement partitioned indexes to improveUse the DB2 Explain tools to determine if Implement simple Workload performance when you roll data out or rollpartition elimination is being used to improve Management definitions to utilize the data into a range-partitioned tableaccess performance to large Workload Manager-based event Use the DB2 Explain tools to determine ifrange-partitioned tables monitoring including activities, statistics partition elimination is being used toTools and Utilities for Performance and threshold violations improve access performance to largeSelect appropriate RUNSTATS options to Evaluate Event Monitor data using the range-partitioned tablescollect Distribution Statistics or Column Event Analyzer tool, the db2evmon Tools and Utilities for PerformanceGroup Statistics to improve cardinality text-based tool the db2evmonfmt Select appropriate RUNSTATS options toestimates during SQL compilation application or using SQL queries collect Distribution Statistics or ColumnUse the table and indexes statistics to plan Define a LOCKING Event Monitor to Group Statistics to improve cardinalityfor table and index reorganization using the capture deadlocks, lock timeout or lock estimates during SQL compilationREORG utility waits Use the table and indexes statistics to planSet the policies and options for automation Configure a DB2 database to control for table and index reorganization usingof catalog statistics collection information captured for deadlocks, lock the REORG utilityMonitor the activity associated with timeouts or extended lock waits Set the policies and options for automationimplementing real-time statistics collection Implement Event Monitors for units of of catalog statistics collectionUse the db2batch utility to run SQL work or lock-related events that store Monitor the activity associated withworkloads and collect performance statistics information in unformatted Event Monitor implementing real-time statistics collectionthat can be used to benchmark database tables Use the db2batch utility to run SQLand application changes Capture SQL section information using workloads and collect performanceEvent Monitoring an ACTIVITIES Event Monitor and use statistics that can be used to benchmarkImplement simple Workload Management the data to generate Explain reports database and application changesdefinitions to utilize the Workload Event MonitoringManager-based event monitoring including Implement simple Workload Managementactivities, statistics and threshold violations line definitions to utilize the Workload

Page 72: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Evaluate Event Monitor data using the Event List the tools for monitoring database and Manager-based event monitoring includingAnalyzer tool, the db2evmon text-based tool application activity activities, statistics and threshold violationsthe db2evmonfmt application or using SQL Use GET SNAPSHOT commands to Evaluate Event Monitor data using thequeries produce reports for analysis of database Event Analyzer tool, the db2evmonDefine a LOCKING Event Monitor to capture performance text-based tool the db2evmonfmtdeadlocks, lock timeout or lock waits Utilize the administrative routines and application or using SQL queriesConfigure a DB2 database to control views provided by to DB2 to simplify Define a LOCKING Event Monitor toinformation captured for deadlocks, lock application access to database capture deadlocks, lock timeout or locktimeouts or extended lock waits performance statistics waitsImplement Event Monitors for units of work Use the db2pd to perform performance Configure a DB2 database to controlor lock-related events that store information analysis or problem determination for a information captured for deadlocks, lockin unformatted Event Monitor tables DB2 database timeouts or extended lock waitsCapture SQL section information using an Utilize the enhanced table functions with Implement Event Monitors for units of workACTIVITIES Event Monitor and use the data SQL in reporting and monitoring of the or lock-related events that storeto generate Explain reports database system, data objects, and the information in unformatted Event Monitor

package cache to help you quickly tablesidentify issues that might be causing Capture SQL section information using an

line problems ACTIVITIES Event Monitor and use theList the tools for monitoring database and Configure the DB2 Database data to generate Explain reportsapplication activity configuration options that control theUse GET SNAPSHOT commands to collection of request, activity and objectproduce reports for analysis of database level metrics on the entire database lineperformance Compare the enhanced table functions List the tools for monitoring database andUtilize the administrative routines and views with the snapshot monitoring facilities application activityprovided by to DB2 to simplify application provided by previous DB2 releases Use GET SNAPSHOT commands toaccess to database performance statistics Database Input/Output (I/O) Management produce reports for analysis of databaseUse the db2pd to perform performance Describe processing for writing database performanceanalysis or problem determination for a DB2 pages from buffer pools Utilize the administrative routines anddatabase Monitor database read and write activity views provided by to DB2 to simplifyUtilize the enhanced table functions with using GET SNAPSHOT commands or application access to databaseSQL in reporting and monitoring of the Administrative Routines and Views performance statisticsdatabase system, data objects, and the Monitor database logging activity and Use the db2pd to perform performancepackage cache to help you quickly identify select appropriate values for SOFTMAX analysis or problem determination for aissues that might be causing problems and MINCOMMIT DB2 databaseConfigure the DB2 Database configuration Describe how scan sharing can reduce Utilize the enhanced table functions withoptions that control the collection of request, the I/O workload for accessing large SQL in reporting and monitoring of theactivity and object level metrics on the entire tables database system, data objects, and thedatabase Explain the alternate page cleaning package cache to help you quickly identifyCompare the enhanced table functions with processing associated with the issues that might be causing problemsthe snapshot monitoring facilities provided DB2_USE_ALTERNATE_PAGE_CLEAN Configure the DB2 Database configurationby previous DB2 releases ING DB2 Registry variable options that control the collection ofDatabase Input/Output (I/O) Management Tablespace and Table Design for request, activity and object level metrics onDescribe processing for writing database Performance the entire databasepages from buffer pools Describe the calculation of prefetch size Compare the enhanced table functionsMonitor database read and write activity when PREFETCHSIZE is set to with the snapshot monitoring facilitiesusing GET SNAPSHOT commands or AUTOMATIC provided by previous DB2 releasesAdministrative Routines and Views List the advantages of selecting DMS or Database Input/Output (I/O) ManagementMonitor database logging activity and select SMS table space management as well as Describe processing for writing databaseappropriate values for SOFTMAX and using Automatic Storage-managed table pages from buffer poolsMINCOMMIT spaces Monitor database read and write activityDescribe how scan sharing can reduce the Set file system caching options for table using GET SNAPSHOT commands orI/O workload for accessing large tables spaces to optimize table space Administrative Routines and ViewsExplain the alternate page cleaning performance Monitor database logging activity andprocessing associated with the Describe the various row insertion select appropriate values for SOFTMAXDB2_USE_ALTERNATE_PAGE_CLEANIN algorithms for tables that are based on and MINCOMMITG DB2 Registry variable using the APPEND option or defining a Describe how scan sharing can reduce theTablespace and Table Design for clustering index I/O workload for accessing large tablesPerformance Plan and implement Row Compression to Explain the alternate page cleaningDescribe the calculation of prefetch size reduce disk and memory requirements processing associated with thewhen PREFETCHSIZE is set to and improve application performance DB2_USE_ALTERNATE_PAGE_CLEANIAUTOMATIC Describe how DB2's Index compression NG DB2 Registry variableList the advantages of selecting DMS or option can reduce disk storage Tablespace and Table Design forSMS table space management as well as requirements for indexes Performanceusing Automatic Storage-managed table Explain how DB2 can compress Describe the calculation of prefetch sizespaces temporary data to improve application when PREFETCHSIZE is set toSet file system caching options for table performance AUTOMATIC

Page 73: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

spaces to optimize table space performance Utilize the DB2 provided tools and List the advantages of selecting DMS orDescribe the various row insertion functions to estimate compression results SMS table space management as well asalgorithms for tables that are based on using for Indexes and data using Automatic Storage-managed tablethe APPEND option or defining a clustering DB2 memory management spacesindex Explain the management of database Set file system caching options for tablePlan and implement Row Compression to shared memory based on setting the spaces to optimize table spacereduce disk and memory requirements and configuration option performanceimprove application performance DATABASE_MEMORY to AUTOMATIC, Describe the various row insertionDescribe how DB2's Index compression COMPUTED or a specific number of algorithms for tables that are based onoption can reduce disk storage requirements pages using the APPEND option or defining afor indexes Select the mode for managing data sort clustering indexExplain how DB2 can compress temporary memory using SHEAPTHRES, Plan and implement Row Compression todata to improve application performance SORTHEAP, and SHEAPTHRES_SHR reduce disk and memory requirements andUtilize the DB2 provided tools and functions Monitor DB2 memory usage using the improve application performanceto estimate compression results for Indexes db2mtrk commands and SQL statements Describe how DB2's Index compressionand data Utilize the db2pd command for option can reduce disk storageDB2 memory management monitoring current database memory requirements for indexesExplain the management of database usage Explain how DB2 can compress temporaryshared memory based on setting the Automated Memory Management data to improve application performanceconfiguration option DATABASE_MEMORY Explain the differences in STMM Utilize the DB2 provided tools andto AUTOMATIC, COMPUTED or a specific processing based on the setting of functions to estimate compression resultsnumber of pages DATABASE_MEMORY for Indexes and dataSelect the mode for managing data sort Plan and configure a database for self DB2 memory managementmemory using SHEAPTHRES, SORTHEAP, tuning memory Explain the management of databaseand SHEAPTHRES_SHR Activate or deactivate STMM for selected shared memory based on setting theMonitor DB2 memory usage using the memory heaps configuration optiondb2mtrk commands and SQL statements Describe the management of sortheap DATABASE_MEMORY to AUTOMATIC,Utilize the db2pd command for monitoring memory based on the configuration of COMPUTED or a specific number ofcurrent database memory usage sheapthres and sheapthres_shr pagesAutomated Memory Management Explain how DB2 can automatically Select the mode for managing data sortExplain the differences in STMM processing increase or decrease database memory memory using SHEAPTHRES,based on the setting of for multiple DB2 databases running on SORTHEAP, and SHEAPTHRES_SHRDATABASE_MEMORY the same server Monitor DB2 memory usage using thePlan and configure a database for self Application Performance Considerations db2mtrk commands and SQL statementstuning memory Describe the performance advantages of Utilize the db2pd command for monitoringActivate or deactivate STMM for selected using stored procedures current database memory usagememory heaps Design applications to maximize record Automated Memory ManagementDescribe the management of sortheap blocking, minimize sort operations and Explain the differences in STMMmemory based on the configuration of minimize lock contention processing based on the setting ofsheapthres and sheapthres_shr Monitor application performance and lock DATABASE_MEMORYExplain how DB2 can automatically increase waits using GET SNAPSHOT commands Plan and configure a database for selfor decrease database memory for multiple and SQL queries tuning memoryDB2 databases running on the same server Set the DB2 registry variables Activate or deactivate STMM for selectedApplication Performance Considerations DB2_EVALUNCOMMITTED, memory heapsDescribe the performance advantages of DB2_SKIPINSERTED and Describe the management of sortheapusing stored procedures DB2_SKIPDELETED to reduce lock memory based on the configuration ofDesign applications to maximize record contention based on application sheapthres and sheapthres_shrblocking, minimize sort operations and requirements Explain how DB2 can automaticallyminimize lock contention Utilize the currently committed form of increase or decrease database memory forMonitor application performance and lock locking to reduce lock contention multiple DB2 databases running on thewaits using GET SNAPSHOT commands between read-only and update same serverand SQL queries applications Application Performance ConsiderationsSet the DB2 registry variables Using Explain Tools Describe the performance advantages ofDB2_EVALUNCOMMITTED, Describe the advantages of using using stored proceduresDB2_SKIPINSERTED and db2exfmt Design applications to maximize recordDB2_SKIPDELETED to reduce lock Create special tables used by Visual blocking, minimize sort operations andcontention based on application Explain and db2exfmt minimize lock contentionrequirements Identify how to set the Explain snapshot Monitor application performance and lockUtilize the currently committed form of and Explain mode registers to capture waits using GET SNAPSHOT commandslocking to reduce lock contention between the information of interest and SQL queriesread-only and update applications Differentiate between the different Set the DB2 registry variablesUsing Explain Tools methods of viewing Explain information DB2_EVALUNCOMMITTED,Describe the advantages of using db2exfmt The DB2 Optimizer DB2_SKIPINSERTED andCreate special tables used by Visual Explain Choose the appropriate optimization DB2_SKIPDELETED to reduce lockand db2exfmt class contention based on applicationIdentify how to set the Explain snapshot and Describe the catalog statistics and requirements

Page 74: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Explain mode registers to capture the database configuration options impact on Utilize the currently committed form ofinformation of interest access plan selection locking to reduce lock contention betweenDifferentiate between the different methods Implement a statistical view to provide read-only and update applicationsof viewing Explain information better cardinality estimates for complex Using Explain ToolsThe DB2 Optimizer queries Describe the advantages of usingChoose the appropriate optimization class Enable the statement concentrator using db2exfmtDescribe the catalog statistics and database the STMT_CONC database manager Create special tables used by Visualconfiguration options impact on access plan configuration parameter to reduce SQL Explain and db2exfmtselection compilation overhead for dynamic SQL Identify how to set the Explain snapshotImplement a statistical view to provide better statements and Explain mode registers to capture thecardinality estimates for complex queries Utilize the db2look utility to extract information of interestEnable the statement concentrator using the catalog statistics from existing tables to Differentiate between the differentSTMT_CONC database manager mimic an existing database environment methods of viewing Explain informationconfiguration parameter to reduce SQL Create an optimizer profile The DB2 Optimizercompilation overhead for dynamic SQL Using Indexes for Performance Choose the appropriate optimization classstatements Describe the Block Indexing capability for Describe the catalog statistics andUtilize the db2look utility to extract catalog MDC tables database configuration options impact onstatistics from existing tables to mimic an Monitor index usage using the access plan selectionexisting database environment MON_GET_INDEX function and db2pd Implement a statistical view to provideCreate an optimizer profile commands better cardinality estimates for complexUsing Indexes for Performance Explain how multiple indexes can be queriesDescribe the Block Indexing capability for combined using Index ORing and Enable the statement concentrator usingMDC tables Dynamic Bitmap Index ANDing the STMT_CONC database managerMonitor index usage using the Use the Design Advisor to predict configuration parameter to reduce SQLMON_GET_INDEX function and db2pd performance gains from adding new compilation overhead for dynamic SQLcommands indexes statementsExplain how multiple indexes can be Complex SQL Performance Utilize the db2look utility to extract catalogcombined using Index ORing and Dynamic Describe the differences between Nested statistics from existing tables to mimic anBitmap Index ANDing Loop, Merge Scan and Hash Joins existing database environmentUse the Design Advisor to predict Plan the implementation of Refresh Create an optimizer profileperformance gains from adding new indexes Immediate or Refresh Deferred Using Indexes for PerformanceComplex SQL Performance Materialized Query Tables to improve Describe the Block Indexing capability forDescribe the differences between Nested query performance MDC tablesLoop, Merge Scan and Hash Joins Utilize the Design Advisor to analyze SQL Monitor index usage using thePlan the implementation of Refresh statements and recommend new MQTs MON_GET_INDEX function and db2pdImmediate or Refresh Deferred Materialized Describe the features of range-partitioned commandsQuery Tables to improve query performance tables to support large DB2 tables using Explain how multiple indexes can beUtilize the Design Advisor to analyze SQL multiple table spaces, including the roll-in combined using Index ORing and Dynamicstatements and recommend new MQTs and roll-out of data ranges Bitmap Index ANDingDescribe the features of range-partitioned Explain the difference between Use the Design Advisor to predicttables to support large DB2 tables using partitioned and non-partitioned indexes performance gains from adding newmultiple table spaces, including the roll-in for a range-partitioned table indexesand roll-out of data ranges Implement partitioned indexes to improve Complex SQL PerformanceExplain the difference between partitioned performance when you roll data out or roll Describe the differences between Nestedand non-partitioned indexes for a data into a range-partitioned table Loop, Merge Scan and Hash Joinsrange-partitioned table Use the DB2 Explain tools to determine if Plan the implementation of RefreshImplement partitioned indexes to improve partition elimination is being used to Immediate or Refresh Deferredperformance when you roll data out or roll improve access performance to large Materialized Query Tables to improvedata into a range-partitioned table range-partitioned tables query performanceUse the DB2 Explain tools to determine if Tools and Utilities for Performance Utilize the Design Advisor to analyze SQLpartition elimination is being used to improve Select appropriate RUNSTATS options to statements and recommend new MQTsaccess performance to large collect Distribution Statistics or Column Describe the features of range-partitionedrange-partitioned tables Group Statistics to improve cardinality tables to support large DB2 tables usingTools and Utilities for Performance estimates during SQL compilation multiple table spaces, including the roll-inSelect appropriate RUNSTATS options to Use the table and indexes statistics to and roll-out of data rangescollect Distribution Statistics or Column plan for table and index reorganization Explain the difference between partitionedGroup Statistics to improve cardinality using the REORG utility and non-partitioned indexes for aestimates during SQL compilation Set the policies and options for range-partitioned tableUse the table and indexes statistics to plan automation of catalog statistics collection Implement partitioned indexes to improvefor table and index reorganization using the Monitor the activity associated with performance when you roll data out or rollREORG utility implementing real-time statistics data into a range-partitioned tableSet the policies and options for automation collection Use the DB2 Explain tools to determine ifof catalog statistics collection Use the db2batch utility to run SQL partition elimination is being used toMonitor the activity associated with workloads and collect performance improve access performance to largeimplementing real-time statistics collection statistics that can be used to benchmark range-partitioned tablesUse the db2batch utility to run SQL database and application changes Tools and Utilities for Performance

Page 75: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

workloads and collect performance statistics Event Monitoring Select appropriate RUNSTATS options tothat can be used to benchmark database Implement simple Workload collect Distribution Statistics or Columnand application changes Management definitions to utilize the Group Statistics to improve cardinalityEvent Monitoring Workload Manager-based event estimates during SQL compilationImplement simple Workload Management monitoring including activities, statistics Use the table and indexes statistics to plandefinitions to utilize the Workload and threshold violations for table and index reorganization usingManager-based event monitoring including Evaluate Event Monitor data using the the REORG utilityactivities, statistics and threshold violations Event Analyzer tool, the db2evmon Set the policies and options for automationEvaluate Event Monitor data using the Event text-based tool the db2evmonfmt of catalog statistics collectionAnalyzer tool, the db2evmon text-based tool application or using SQL queries Monitor the activity associated withthe db2evmonfmt application or using SQL Define a LOCKING Event Monitor to implementing real-time statistics collectionqueries capture deadlocks, lock timeout or lock Use the db2batch utility to run SQLDefine a LOCKING Event Monitor to capture waits workloads and collect performancedeadlocks, lock timeout or lock waits Configure a DB2 database to control statistics that can be used to benchmarkConfigure a DB2 database to control information captured for deadlocks, lock database and application changesinformation captured for deadlocks, lock timeouts or extended lock waits Event Monitoringtimeouts or extended lock waits Implement Event Monitors for units of Implement simple Workload ManagementImplement Event Monitors for units of work work or lock-related events that store definitions to utilize the Workloador lock-related events that store information information in unformatted Event Monitor Manager-based event monitoring includingin unformatted Event Monitor tables tables activities, statistics and threshold violationsCapture SQL section information using an Capture SQL section information using Evaluate Event Monitor data using theACTIVITIES Event Monitor and use the data an ACTIVITIES Event Monitor and use Event Analyzer tool, the db2evmonto generate Explain reports the data to generate Explain reports text-based tool the db2evmonfmt

application or using SQL queriesDefine a LOCKING Event Monitor to

line line capture deadlocks, lock timeout or lockDescribe the basic principles in monitoring a List the tools for monitoring database and waitsDB2 database application activity Configure a DB2 database to controlDescribe processing for reading database Use GET SNAPSHOT commands to information captured for deadlocks, lockpages into buffer pools produce reports for analysis of database timeouts or extended lock waitsSelect appropriate values for table space performance Implement Event Monitors for units of workpage size and extent size to support Utilize the administrative routines and or lock-related events that storeapplication performance requirements views provided by to DB2 to simplify information in unformatted Event MonitorDescribe memory heap usage for instance application access to database tablesmemory, database shared memory and performance statistics Capture SQL section information using anapplication memory Use the db2pd to perform performance ACTIVITIES Event Monitor and use theDescribe how STMM can be used to analysis or problem determination for a data to generate Explain reportsautomatically manage database shared DB2 databasememory heaps Utilize the enhanced table functions withList examples of application coding SQL in reporting and monitoring of the linetechniques that can effect performance database system, data objects, and the List the tools for monitoring database andDescribe the advantages of using Visual package cache to help you quickly application activityExplain identify issues that might be causing Use GET SNAPSHOT commands toDescribe the stages of the SQL compiler problems produce reports for analysis of databaseDescribe the Indexing options that can be Configure the DB2 Database performanceused to improve performance: Index Only configuration options that control the Utilize the administrative routines andAccess, Clustered Index, Reverse Scans, collection of request, activity and object views provided by to DB2 to simplifyInclude Columns, and Index Freespace level metrics on the entire database application access to databaseReview Explain reports for costly sort Compare the enhanced table functions performance statisticsoperations with the snapshot monitoring facilities Use the db2pd to perform performanceUse the RUNSTATS utility to collect table provided by previous DB2 releases analysis or problem determination for aand index statistics to enable the DB2 Database Input/Output (I/O) Management DB2 databaseOptimizer to generate efficient access Describe processing for writing database Utilize the enhanced table functions withstrategies pages from buffer pools SQL in reporting and monitoring of theCreate Event Monitors to collect Monitor database read and write activity database system, data objects, and theperformance statistics at the database, using GET SNAPSHOT commands or package cache to help you quickly identifyapplication or SQL statement level Administrative Routines and Views issues that might be causing problems

Monitor database logging activity and Configure the DB2 Database configurationselect appropriate values for SOFTMAX options that control the collection of

line and MINCOMMIT request, activity and object level metrics onList the tools for monitoring database and Describe how scan sharing can reduce the entire databaseapplication activity the I/O workload for accessing large Compare the enhanced table functionsUse GET SNAPSHOT commands to tables with the snapshot monitoring facilitiesproduce reports for analysis of database Explain the alternate page cleaning provided by previous DB2 releasesperformance processing associated with the Database Input/Output (I/O) ManagementUtilize the administrative routines and views DB2_USE_ALTERNATE_PAGE_CLEAN Describe processing for writing database

Page 76: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

provided by to DB2 to simplify application ING DB2 Registry variable pages from buffer poolsaccess to database performance statistics Tablespace and Table Design for Monitor database read and write activityUse the db2pd to perform performance Performance using GET SNAPSHOT commands oranalysis or problem determination for a DB2 Describe the calculation of prefetch size Administrative Routines and Viewsdatabase when PREFETCHSIZE is set to Monitor database logging activity andUtilize the enhanced table functions with AUTOMATIC select appropriate values for SOFTMAXSQL in reporting and monitoring of the List the advantages of selecting DMS or and MINCOMMITdatabase system, data objects, and the SMS table space management as well as Describe how scan sharing can reduce thepackage cache to help you quickly identify using Automatic Storage-managed table I/O workload for accessing large tablesissues that might be causing problems spaces Explain the alternate page cleaningConfigure the DB2 Database configuration Set file system caching options for table processing associated with theoptions that control the collection of request, spaces to optimize table space DB2_USE_ALTERNATE_PAGE_CLEANIactivity and object level metrics on the entire performance NG DB2 Registry variabledatabase Describe the various row insertion Tablespace and Table Design forCompare the enhanced table functions with algorithms for tables that are based on Performancethe snapshot monitoring facilities provided using the APPEND option or defining a Describe the calculation of prefetch sizeby previous DB2 releases clustering index when PREFETCHSIZE is set toDatabase Input/Output (I/O) Management Plan and implement Row Compression to AUTOMATICDescribe processing for writing database reduce disk and memory requirements List the advantages of selecting DMS orpages from buffer pools and improve application performance SMS table space management as well asMonitor database read and write activity Describe how DB2's Index compression using Automatic Storage-managed tableusing GET SNAPSHOT commands or option can reduce disk storage spacesAdministrative Routines and Views requirements for indexes Set file system caching options for tableMonitor database logging activity and select Explain how DB2 can compress spaces to optimize table spaceappropriate values for SOFTMAX and temporary data to improve application performanceMINCOMMIT performance Describe the various row insertionDescribe how scan sharing can reduce the Utilize the DB2 provided tools and algorithms for tables that are based onI/O workload for accessing large tables functions to estimate compression results using the APPEND option or defining aExplain the alternate page cleaning for Indexes and data clustering indexprocessing associated with the DB2 memory management Plan and implement Row Compression toDB2_USE_ALTERNATE_PAGE_CLEANIN Explain the management of database reduce disk and memory requirements andG DB2 Registry variable shared memory based on setting the improve application performanceTablespace and Table Design for configuration option Describe how DB2's Index compressionPerformance DATABASE_MEMORY to AUTOMATIC, option can reduce disk storageDescribe the calculation of prefetch size COMPUTED or a specific number of requirements for indexeswhen PREFETCHSIZE is set to pages Explain how DB2 can compress temporaryAUTOMATIC Select the mode for managing data sort data to improve application performanceList the advantages of selecting DMS or memory using SHEAPTHRES, Utilize the DB2 provided tools andSMS table space management as well as SORTHEAP, and SHEAPTHRES_SHR functions to estimate compression resultsusing Automatic Storage-managed table Monitor DB2 memory usage using the for Indexes and dataspaces db2mtrk commands and SQL statements DB2 memory managementSet file system caching options for table Utilize the db2pd command for Explain the management of databasespaces to optimize table space performance monitoring current database memory shared memory based on setting theDescribe the various row insertion usage configuration optionalgorithms for tables that are based on using Automated Memory Management DATABASE_MEMORY to AUTOMATIC,the APPEND option or defining a clustering Explain the differences in STMM COMPUTED or a specific number ofindex processing based on the setting of pagesPlan and implement Row Compression to DATABASE_MEMORY Select the mode for managing data sortreduce disk and memory requirements and Plan and configure a database for self memory using SHEAPTHRES,improve application performance tuning memory SORTHEAP, and SHEAPTHRES_SHRDescribe how DB2's Index compression Activate or deactivate STMM for selected Monitor DB2 memory usage using theoption can reduce disk storage requirements memory heaps db2mtrk commands and SQL statementsfor indexes Describe the management of sortheap Utilize the db2pd command for monitoringExplain how DB2 can compress temporary memory based on the configuration of current database memory usagedata to improve application performance sheapthres and sheapthres_shr Automated Memory ManagementUtilize the DB2 provided tools and functions Explain how DB2 can automatically Explain the differences in STMMto estimate compression results for Indexes increase or decrease database memory processing based on the setting ofand data for multiple DB2 databases running on DATABASE_MEMORYDB2 memory management the same server Plan and configure a database for selfExplain the management of database Application Performance Considerations tuning memoryshared memory based on setting the Describe the performance advantages of Activate or deactivate STMM for selectedconfiguration option DATABASE_MEMORY using stored procedures memory heapsto AUTOMATIC, COMPUTED or a specific Design applications to maximize record Describe the management of sortheapnumber of pages blocking, minimize sort operations and memory based on the configuration ofSelect the mode for managing data sort minimize lock contention sheapthres and sheapthres_shrmemory using SHEAPTHRES, SORTHEAP, Monitor application performance and lock Explain how DB2 can automatically

Page 77: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

and SHEAPTHRES_SHR waits using GET SNAPSHOT commands increase or decrease database memory forMonitor DB2 memory usage using the and SQL queries multiple DB2 databases running on thedb2mtrk commands and SQL statements Set the DB2 registry variables same serverUtilize the db2pd command for monitoring DB2_EVALUNCOMMITTED, Application Performance Considerationscurrent database memory usage DB2_SKIPINSERTED and Describe the performance advantages ofAutomated Memory Management DB2_SKIPDELETED to reduce lock using stored proceduresExplain the differences in STMM processing contention based on application Design applications to maximize recordbased on the setting of requirements blocking, minimize sort operations andDATABASE_MEMORY Utilize the currently committed form of minimize lock contentionPlan and configure a database for self locking to reduce lock contention Monitor application performance and locktuning memory between read-only and update waits using GET SNAPSHOT commandsActivate or deactivate STMM for selected applications and SQL queriesmemory heaps Using Explain Tools Set the DB2 registry variablesDescribe the management of sortheap Describe the advantages of using DB2_EVALUNCOMMITTED,memory based on the configuration of db2exfmt DB2_SKIPINSERTED andsheapthres and sheapthres_shr Create special tables used by Visual DB2_SKIPDELETED to reduce lockExplain how DB2 can automatically increase Explain and db2exfmt contention based on applicationor decrease database memory for multiple Identify how to set the Explain snapshot requirementsDB2 databases running on the same server and Explain mode registers to capture Utilize the currently committed form ofApplication Performance Considerations the information of interest locking to reduce lock contention betweenDescribe the performance advantages of Differentiate between the different read-only and update applicationsusing stored procedures methods of viewing Explain information Using Explain ToolsDesign applications to maximize record The DB2 Optimizer Describe the advantages of usingblocking, minimize sort operations and Choose the appropriate optimization db2exfmtminimize lock contention class Create special tables used by VisualMonitor application performance and lock Describe the catalog statistics and Explain and db2exfmtwaits using GET SNAPSHOT commands database configuration options impact on Identify how to set the Explain snapshotand SQL queries access plan selection and Explain mode registers to capture theSet the DB2 registry variables Implement a statistical view to provide information of interestDB2_EVALUNCOMMITTED, better cardinality estimates for complex Differentiate between the differentDB2_SKIPINSERTED and queries methods of viewing Explain informationDB2_SKIPDELETED to reduce lock Enable the statement concentrator using The DB2 Optimizercontention based on application the STMT_CONC database manager Choose the appropriate optimization classrequirements configuration parameter to reduce SQL Describe the catalog statistics andUtilize the currently committed form of compilation overhead for dynamic SQL database configuration options impact onlocking to reduce lock contention between statements access plan selectionread-only and update applications Utilize the db2look utility to extract Implement a statistical view to provideUsing Explain Tools catalog statistics from existing tables to better cardinality estimates for complexDescribe the advantages of using db2exfmt mimic an existing database environment queriesCreate special tables used by Visual Explain Create an optimizer profile Enable the statement concentrator usingand db2exfmt Using Indexes for Performance the STMT_CONC database managerIdentify how to set the Explain snapshot and Describe the Block Indexing capability for configuration parameter to reduce SQLExplain mode registers to capture the MDC tables compilation overhead for dynamic SQLinformation of interest Monitor index usage using the statementsDifferentiate between the different methods MON_GET_INDEX function and db2pd Utilize the db2look utility to extract catalogof viewing Explain information commands statistics from existing tables to mimic anThe DB2 Optimizer Explain how multiple indexes can be existing database environmentChoose the appropriate optimization class combined using Index ORing and Create an optimizer profileDescribe the catalog statistics and database Dynamic Bitmap Index ANDing Using Indexes for Performanceconfiguration options impact on access plan Use the Design Advisor to predict Describe the Block Indexing capability forselection performance gains from adding new MDC tablesImplement a statistical view to provide better indexes Monitor index usage using thecardinality estimates for complex queries Complex SQL Performance MON_GET_INDEX function and db2pdEnable the statement concentrator using the Describe the differences between Nested commandsSTMT_CONC database manager Loop, Merge Scan and Hash Joins Explain how multiple indexes can beconfiguration parameter to reduce SQL Plan the implementation of Refresh combined using Index ORing and Dynamiccompilation overhead for dynamic SQL Immediate or Refresh Deferred Bitmap Index ANDingstatements Materialized Query Tables to improve Use the Design Advisor to predictUtilize the db2look utility to extract catalog query performance performance gains from adding newstatistics from existing tables to mimic an Utilize the Design Advisor to analyze SQL indexesexisting database environment statements and recommend new MQTs Complex SQL PerformanceCreate an optimizer profile Describe the features of range-partitioned Describe the differences between NestedUsing Indexes for Performance tables to support large DB2 tables using Loop, Merge Scan and Hash JoinsDescribe the Block Indexing capability for multiple table spaces, including the roll-in Plan the implementation of RefreshMDC tables and roll-out of data ranges Immediate or Refresh DeferredMonitor index usage using the Explain the difference between Materialized Query Tables to improve

Page 78: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

MON_GET_INDEX function and db2pd partitioned and non-partitioned indexes query performancecommands for a range-partitioned table Utilize the Design Advisor to analyze SQLExplain how multiple indexes can be Implement partitioned indexes to improve statements and recommend new MQTscombined using Index ORing and Dynamic performance when you roll data out or roll Describe the features of range-partitionedBitmap Index ANDing data into a range-partitioned table tables to support large DB2 tables usingUse the Design Advisor to predict Use the DB2 Explain tools to determine if multiple table spaces, including the roll-inperformance gains from adding new indexes partition elimination is being used to and roll-out of data rangesComplex SQL Performance improve access performance to large Explain the difference between partitionedDescribe the differences between Nested range-partitioned tables and non-partitioned indexes for aLoop, Merge Scan and Hash Joins Tools and Utilities for Performance range-partitioned tablePlan the implementation of Refresh Select appropriate RUNSTATS options to Implement partitioned indexes to improveImmediate or Refresh Deferred Materialized collect Distribution Statistics or Column performance when you roll data out or rollQuery Tables to improve query performance Group Statistics to improve cardinality data into a range-partitioned tableUtilize the Design Advisor to analyze SQL estimates during SQL compilation Use the DB2 Explain tools to determine ifstatements and recommend new MQTs Use the table and indexes statistics to partition elimination is being used toDescribe the features of range-partitioned plan for table and index reorganization improve access performance to largetables to support large DB2 tables using using the REORG utility range-partitioned tablesmultiple table spaces, including the roll-in Set the policies and options for Tools and Utilities for Performanceand roll-out of data ranges automation of catalog statistics collection Select appropriate RUNSTATS options toExplain the difference between partitioned Monitor the activity associated with collect Distribution Statistics or Columnand non-partitioned indexes for a implementing real-time statistics Group Statistics to improve cardinalityrange-partitioned table collection estimates during SQL compilationImplement partitioned indexes to improve Use the db2batch utility to run SQL Use the table and indexes statistics to planperformance when you roll data out or roll workloads and collect performance for table and index reorganization usingdata into a range-partitioned table statistics that can be used to benchmark the REORG utilityUse the DB2 Explain tools to determine if database and application changes Set the policies and options for automationpartition elimination is being used to improve Event Monitoring of catalog statistics collectionaccess performance to large Implement simple Workload Monitor the activity associated withrange-partitioned tables Management definitions to utilize the implementing real-time statistics collectionTools and Utilities for Performance Workload Manager-based event Use the db2batch utility to run SQLSelect appropriate RUNSTATS options to monitoring including activities, statistics workloads and collect performancecollect Distribution Statistics or Column and threshold violations statistics that can be used to benchmarkGroup Statistics to improve cardinality Evaluate Event Monitor data using the database and application changesestimates during SQL compilation Event Analyzer tool, the db2evmon Event MonitoringUse the table and indexes statistics to plan text-based tool the db2evmonfmt Implement simple Workload Managementfor table and index reorganization using the application or using SQL queries definitions to utilize the WorkloadREORG utility Define a LOCKING Event Monitor to Manager-based event monitoring includingSet the policies and options for automation capture deadlocks, lock timeout or lock activities, statistics and threshold violationsof catalog statistics collection waits Evaluate Event Monitor data using theMonitor the activity associated with Configure a DB2 database to control Event Analyzer tool, the db2evmonimplementing real-time statistics collection information captured for deadlocks, lock text-based tool the db2evmonfmtUse the db2batch utility to run SQL timeouts or extended lock waits application or using SQL queriesworkloads and collect performance statistics Implement Event Monitors for units of Define a LOCKING Event Monitor tothat can be used to benchmark database work or lock-related events that store capture deadlocks, lock timeout or lockand application changes information in unformatted Event Monitor waitsEvent Monitoring tables Configure a DB2 database to controlImplement simple Workload Management Capture SQL section information using information captured for deadlocks, lockdefinitions to utilize the Workload an ACTIVITIES Event Monitor and use timeouts or extended lock waitsManager-based event monitoring including the data to generate Explain reports Implement Event Monitors for units of workactivities, statistics and threshold violations or lock-related events that storeEvaluate Event Monitor data using the Event information in unformatted Event MonitorAnalyzer tool, the db2evmon text-based tool line tablesthe db2evmonfmt application or using SQL List the tools for monitoring database and Capture SQL section information using anqueries application activity ACTIVITIES Event Monitor and use theDefine a LOCKING Event Monitor to capture Use GET SNAPSHOT commands to data to generate Explain reportsdeadlocks, lock timeout or lock waits produce reports for analysis of databaseConfigure a DB2 database to control performanceinformation captured for deadlocks, lock Utilize the administrative routines and linetimeouts or extended lock waits views provided by to DB2 to simplify List the tools for monitoring database andImplement Event Monitors for units of work application access to database application activityor lock-related events that store information performance statistics Use GET SNAPSHOT commands toin unformatted Event Monitor tables Use the db2pd to perform performance produce reports for analysis of databaseCapture SQL section information using an analysis or problem determination for a performanceACTIVITIES Event Monitor and use the data DB2 database Utilize the administrative routines andto generate Explain reports Utilize the enhanced table functions with views provided by to DB2 to simplify

SQL in reporting and monitoring of the application access to database

Page 79: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

database system, data objects, and the performance statisticsline package cache to help you quickly Use the db2pd to perform performance

List the tools for monitoring database and identify issues that might be causing analysis or problem determination for aapplication activity problems DB2 databaseUse GET SNAPSHOT commands to Configure the DB2 Database Utilize the enhanced table functions withproduce reports for analysis of database configuration options that control the SQL in reporting and monitoring of theperformance collection of request, activity and object database system, data objects, and theUtilize the administrative routines and views level metrics on the entire database package cache to help you quickly identifyprovided by to DB2 to simplify application Compare the enhanced table functions issues that might be causing problemsaccess to database performance statistics with the snapshot monitoring facilities Configure the DB2 Database configurationUse the db2pd to perform performance provided by previous DB2 releases options that control the collection ofanalysis or problem determination for a DB2 Database Input/Output (I/O) Management request, activity and object level metrics ondatabase Describe processing for writing database the entire databaseUtilize the enhanced table functions with pages from buffer pools Compare the enhanced table functionsSQL in reporting and monitoring of the Monitor database read and write activity with the snapshot monitoring facilitiesdatabase system, data objects, and the using GET SNAPSHOT commands or provided by previous DB2 releasespackage cache to help you quickly identify Administrative Routines and Views Database Input/Output (I/O) Managementissues that might be causing problems Monitor database logging activity and Describe processing for writing databaseConfigure the DB2 Database configuration select appropriate values for SOFTMAX pages from buffer poolsoptions that control the collection of request, and MINCOMMIT Monitor database read and write activityactivity and object level metrics on the entire Describe how scan sharing can reduce using GET SNAPSHOT commands ordatabase the I/O workload for accessing large Administrative Routines and ViewsCompare the enhanced table functions with tables Monitor database logging activity andthe snapshot monitoring facilities provided Explain the alternate page cleaning select appropriate values for SOFTMAXby previous DB2 releases processing associated with the and MINCOMMITDatabase Input/Output (I/O) Management DB2_USE_ALTERNATE_PAGE_CLEAN Describe how scan sharing can reduce theDescribe processing for writing database ING DB2 Registry variable I/O workload for accessing large tablespages from buffer pools Tablespace and Table Design for Explain the alternate page cleaningMonitor database read and write activity Performance processing associated with theusing GET SNAPSHOT commands or Describe the calculation of prefetch size DB2_USE_ALTERNATE_PAGE_CLEANIAdministrative Routines and Views when PREFETCHSIZE is set to NG DB2 Registry variableMonitor database logging activity and select AUTOMATIC Tablespace and Table Design forappropriate values for SOFTMAX and List the advantages of selecting DMS or PerformanceMINCOMMIT SMS table space management as well as Describe the calculation of prefetch sizeDescribe how scan sharing can reduce the using Automatic Storage-managed table when PREFETCHSIZE is set toI/O workload for accessing large tables spaces AUTOMATICExplain the alternate page cleaning Set file system caching options for table List the advantages of selecting DMS orprocessing associated with the spaces to optimize table space SMS table space management as well asDB2_USE_ALTERNATE_PAGE_CLEANIN performance using Automatic Storage-managed tableG DB2 Registry variable Describe the various row insertion spacesTablespace and Table Design for algorithms for tables that are based on Set file system caching options for tablePerformance using the APPEND option or defining a spaces to optimize table spaceDescribe the calculation of prefetch size clustering index performancewhen PREFETCHSIZE is set to Plan and implement Row Compression to Describe the various row insertionAUTOMATIC reduce disk and memory requirements algorithms for tables that are based onList the advantages of selecting DMS or and improve application performance using the APPEND option or defining aSMS table space management as well as Describe how DB2's Index compression clustering indexusing Automatic Storage-managed table option can reduce disk storage Plan and implement Row Compression tospaces requirements for indexes reduce disk and memory requirements andSet file system caching options for table Explain how DB2 can compress improve application performancespaces to optimize table space performance temporary data to improve application Describe how DB2's Index compressionDescribe the various row insertion performance option can reduce disk storagealgorithms for tables that are based on using Utilize the DB2 provided tools and requirements for indexesthe APPEND option or defining a clustering functions to estimate compression results Explain how DB2 can compress temporaryindex for Indexes and data data to improve application performancePlan and implement Row Compression to DB2 memory management Utilize the DB2 provided tools andreduce disk and memory requirements and Explain the management of database functions to estimate compression resultsimprove application performance shared memory based on setting the for Indexes and dataDescribe how DB2's Index compression configuration option DB2 memory managementoption can reduce disk storage requirements DATABASE_MEMORY to AUTOMATIC, Explain the management of databasefor indexes COMPUTED or a specific number of shared memory based on setting theExplain how DB2 can compress temporary pages configuration optiondata to improve application performance Select the mode for managing data sort DATABASE_MEMORY to AUTOMATIC,Utilize the DB2 provided tools and functions memory using SHEAPTHRES, COMPUTED or a specific number ofto estimate compression results for Indexes SORTHEAP, and SHEAPTHRES_SHR pagesand data Monitor DB2 memory usage using the Select the mode for managing data sort

Page 80: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

DB2 memory management db2mtrk commands and SQL statements memory using SHEAPTHRES,Explain the management of database Utilize the db2pd command for SORTHEAP, and SHEAPTHRES_SHRshared memory based on setting the monitoring current database memory Monitor DB2 memory usage using theconfiguration option DATABASE_MEMORY usage db2mtrk commands and SQL statementsto AUTOMATIC, COMPUTED or a specific Automated Memory Management Utilize the db2pd command for monitoringnumber of pages Explain the differences in STMM current database memory usageSelect the mode for managing data sort processing based on the setting of Automated Memory Managementmemory using SHEAPTHRES, SORTHEAP, DATABASE_MEMORY Explain the differences in STMMand SHEAPTHRES_SHR Plan and configure a database for self processing based on the setting ofMonitor DB2 memory usage using the tuning memory DATABASE_MEMORYdb2mtrk commands and SQL statements Activate or deactivate STMM for selected Plan and configure a database for selfUtilize the db2pd command for monitoring memory heaps tuning memorycurrent database memory usage Describe the management of sortheap Activate or deactivate STMM for selectedAutomated Memory Management memory based on the configuration of memory heapsExplain the differences in STMM processing sheapthres and sheapthres_shr Describe the management of sortheapbased on the setting of Explain how DB2 can automatically memory based on the configuration ofDATABASE_MEMORY increase or decrease database memory sheapthres and sheapthres_shrPlan and configure a database for self for multiple DB2 databases running on Explain how DB2 can automaticallytuning memory the same server increase or decrease database memory forActivate or deactivate STMM for selected Application Performance Considerations multiple DB2 databases running on thememory heaps Describe the performance advantages of same serverDescribe the management of sortheap using stored procedures Application Performance Considerationsmemory based on the configuration of Design applications to maximize record Describe the performance advantages ofsheapthres and sheapthres_shr blocking, minimize sort operations and using stored proceduresExplain how DB2 can automatically increase minimize lock contention Design applications to maximize recordor decrease database memory for multiple Monitor application performance and lock blocking, minimize sort operations andDB2 databases running on the same server waits using GET SNAPSHOT commands minimize lock contentionApplication Performance Considerations and SQL queries Monitor application performance and lockDescribe the performance advantages of Set the DB2 registry variables waits using GET SNAPSHOT commandsusing stored procedures DB2_EVALUNCOMMITTED, and SQL queriesDesign applications to maximize record DB2_SKIPINSERTED and Set the DB2 registry variablesblocking, minimize sort operations and DB2_SKIPDELETED to reduce lock DB2_EVALUNCOMMITTED,minimize lock contention contention based on application DB2_SKIPINSERTED andMonitor application performance and lock requirements DB2_SKIPDELETED to reduce lockwaits using GET SNAPSHOT commands Utilize the currently committed form of contention based on applicationand SQL queries locking to reduce lock contention requirementsSet the DB2 registry variables between read-only and update Utilize the currently committed form ofDB2_EVALUNCOMMITTED, applications locking to reduce lock contention betweenDB2_SKIPINSERTED and Using Explain Tools read-only and update applicationsDB2_SKIPDELETED to reduce lock Describe the advantages of using Using Explain Toolscontention based on application db2exfmt Describe the advantages of usingrequirements Create special tables used by Visual db2exfmtUtilize the currently committed form of Explain and db2exfmt Create special tables used by Visuallocking to reduce lock contention between Identify how to set the Explain snapshot Explain and db2exfmtread-only and update applications and Explain mode registers to capture Identify how to set the Explain snapshotUsing Explain Tools the information of interest and Explain mode registers to capture theDescribe the advantages of using db2exfmt Differentiate between the different information of interestCreate special tables used by Visual Explain methods of viewing Explain information Differentiate between the differentand db2exfmt The DB2 Optimizer methods of viewing Explain informationIdentify how to set the Explain snapshot and Choose the appropriate optimization The DB2 OptimizerExplain mode registers to capture the class Choose the appropriate optimization classinformation of interest Describe the catalog statistics and Describe the catalog statistics andDifferentiate between the different methods database configuration options impact on database configuration options impact onof viewing Explain information access plan selection access plan selectionThe DB2 Optimizer Implement a statistical view to provide Implement a statistical view to provideChoose the appropriate optimization class better cardinality estimates for complex better cardinality estimates for complexDescribe the catalog statistics and database queries queriesconfiguration options impact on access plan Enable the statement concentrator using Enable the statement concentrator usingselection the STMT_CONC database manager the STMT_CONC database managerImplement a statistical view to provide better configuration parameter to reduce SQL configuration parameter to reduce SQLcardinality estimates for complex queries compilation overhead for dynamic SQL compilation overhead for dynamic SQLEnable the statement concentrator using the statements statementsSTMT_CONC database manager Utilize the db2look utility to extract Utilize the db2look utility to extract catalogconfiguration parameter to reduce SQL catalog statistics from existing tables to statistics from existing tables to mimic ancompilation overhead for dynamic SQL mimic an existing database environment existing database environmentstatements Create an optimizer profile Create an optimizer profile

Page 81: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Utilize the db2look utility to extract catalog Using Indexes for Performance Using Indexes for Performancestatistics from existing tables to mimic an Describe the Block Indexing capability for Describe the Block Indexing capability forexisting database environment MDC tables MDC tablesCreate an optimizer profile Monitor index usage using the Monitor index usage using theUsing Indexes for Performance MON_GET_INDEX function and db2pd MON_GET_INDEX function and db2pdDescribe the Block Indexing capability for commands commandsMDC tables Explain how multiple indexes can be Explain how multiple indexes can beMonitor index usage using the combined using Index ORing and combined using Index ORing and DynamicMON_GET_INDEX function and db2pd Dynamic Bitmap Index ANDing Bitmap Index ANDingcommands Use the Design Advisor to predict Use the Design Advisor to predictExplain how multiple indexes can be performance gains from adding new performance gains from adding newcombined using Index ORing and Dynamic indexes indexesBitmap Index ANDing Complex SQL Performance Complex SQL PerformanceUse the Design Advisor to predict Describe the differences between Nested Describe the differences between Nestedperformance gains from adding new indexes Loop, Merge Scan and Hash Joins Loop, Merge Scan and Hash JoinsComplex SQL Performance Plan the implementation of Refresh Plan the implementation of RefreshDescribe the differences between Nested Immediate or Refresh Deferred Immediate or Refresh DeferredLoop, Merge Scan and Hash Joins Materialized Query Tables to improve Materialized Query Tables to improvePlan the implementation of Refresh query performance query performanceImmediate or Refresh Deferred Materialized Utilize the Design Advisor to analyze SQL Utilize the Design Advisor to analyze SQLQuery Tables to improve query performance statements and recommend new MQTs statements and recommend new MQTsUtilize the Design Advisor to analyze SQL Describe the features of range-partitioned Describe the features of range-partitionedstatements and recommend new MQTs tables to support large DB2 tables using tables to support large DB2 tables usingDescribe the features of range-partitioned multiple table spaces, including the roll-in multiple table spaces, including the roll-intables to support large DB2 tables using and roll-out of data ranges and roll-out of data rangesmultiple table spaces, including the roll-in Explain the difference between Explain the difference between partitionedand roll-out of data ranges partitioned and non-partitioned indexes and non-partitioned indexes for aExplain the difference between partitioned for a range-partitioned table range-partitioned tableand non-partitioned indexes for a Implement partitioned indexes to improve Implement partitioned indexes to improverange-partitioned table performance when you roll data out or roll performance when you roll data out or rollImplement partitioned indexes to improve data into a range-partitioned table data into a range-partitioned tableperformance when you roll data out or roll Use the DB2 Explain tools to determine if Use the DB2 Explain tools to determine ifdata into a range-partitioned table partition elimination is being used to partition elimination is being used toUse the DB2 Explain tools to determine if improve access performance to large improve access performance to largepartition elimination is being used to improve range-partitioned tables range-partitioned tablesaccess performance to large Tools and Utilities for Performance Tools and Utilities for Performancerange-partitioned tables Select appropriate RUNSTATS options to Select appropriate RUNSTATS options toTools and Utilities for Performance collect Distribution Statistics or Column collect Distribution Statistics or ColumnSelect appropriate RUNSTATS options to Group Statistics to improve cardinality Group Statistics to improve cardinalitycollect Distribution Statistics or Column estimates during SQL compilation estimates during SQL compilationGroup Statistics to improve cardinality Use the table and indexes statistics to Use the table and indexes statistics to planestimates during SQL compilation plan for table and index reorganization for table and index reorganization usingUse the table and indexes statistics to plan using the REORG utility the REORG utilityfor table and index reorganization using the Set the policies and options for Set the policies and options for automationREORG utility automation of catalog statistics collection of catalog statistics collectionSet the policies and options for automation Monitor the activity associated with Monitor the activity associated withof catalog statistics collection implementing real-time statistics implementing real-time statistics collectionMonitor the activity associated with collection Use the db2batch utility to run SQLimplementing real-time statistics collection Use the db2batch utility to run SQL workloads and collect performanceUse the db2batch utility to run SQL workloads and collect performance statistics that can be used to benchmarkworkloads and collect performance statistics statistics that can be used to benchmark database and application changesthat can be used to benchmark database database and application changes Event Monitoringand application changes Event Monitoring Implement simple Workload ManagementEvent Monitoring Implement simple Workload definitions to utilize the WorkloadImplement simple Workload Management Management definitions to utilize the Manager-based event monitoring includingdefinitions to utilize the Workload Workload Manager-based event activities, statistics and threshold violationsManager-based event monitoring including monitoring including activities, statistics Evaluate Event Monitor data using theactivities, statistics and threshold violations and threshold violations Event Analyzer tool, the db2evmonEvaluate Event Monitor data using the Event Evaluate Event Monitor data using the text-based tool the db2evmonfmtAnalyzer tool, the db2evmon text-based tool Event Analyzer tool, the db2evmon application or using SQL queriesthe db2evmonfmt application or using SQL text-based tool the db2evmonfmt Define a LOCKING Event Monitor toqueries application or using SQL queries capture deadlocks, lock timeout or lockDefine a LOCKING Event Monitor to capture Define a LOCKING Event Monitor to waitsdeadlocks, lock timeout or lock waits capture deadlocks, lock timeout or lock Configure a DB2 database to controlConfigure a DB2 database to control waits information captured for deadlocks, lockinformation captured for deadlocks, lock Configure a DB2 database to control timeouts or extended lock waits

Page 82: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

timeouts or extended lock waits information captured for deadlocks, lock Implement Event Monitors for units of workImplement Event Monitors for units of work timeouts or extended lock waits or lock-related events that storeor lock-related events that store information Implement Event Monitors for units of information in unformatted Event Monitorin unformatted Event Monitor tables work or lock-related events that store tablesCapture SQL section information using an information in unformatted Event Monitor Capture SQL section information using anACTIVITIES Event Monitor and use the data tables ACTIVITIES Event Monitor and use theto generate Explain reports Capture SQL section information using data to generate Explain reports

an ACTIVITIES Event Monitor and usethe data to generate Explain reports

line lineList the tools for monitoring database and List the tools for monitoring database andapplication activity line application activityUse GET SNAPSHOT commands to List the tools for monitoring database and Use GET SNAPSHOT commands toproduce reports for analysis of database application activity produce reports for analysis of databaseperformance Use GET SNAPSHOT commands to performanceUtilize the administrative routines and views produce reports for analysis of database Utilize the administrative routines andprovided by to DB2 to simplify application performance views provided by to DB2 to simplifyaccess to database performance statistics Utilize the administrative routines and application access to databaseUse the db2pd to perform performance views provided by to DB2 to simplify performance statisticsanalysis or problem determination for a DB2 application access to database Use the db2pd to perform performancedatabase performance statistics analysis or problem determination for aUtilize the enhanced table functions with Use the db2pd to perform performance DB2 databaseSQL in reporting and monitoring of the analysis or problem determination for a Utilize the enhanced table functions withdatabase system, data objects, and the DB2 database SQL in reporting and monitoring of thepackage cache to help you quickly identify Utilize the enhanced table functions with database system, data objects, and theissues that might be causing problems SQL in reporting and monitoring of the package cache to help you quickly identifyConfigure the DB2 Database configuration database system, data objects, and the issues that might be causing problemsoptions that control the collection of request, package cache to help you quickly Configure the DB2 Database configurationactivity and object level metrics on the entire identify issues that might be causing options that control the collection ofdatabase problems request, activity and object level metrics onCompare the enhanced table functions with Configure the DB2 Database the entire databasethe snapshot monitoring facilities provided configuration options that control the Compare the enhanced table functionsby previous DB2 releases collection of request, activity and object with the snapshot monitoring facilitiesDatabase Input/Output (I/O) Management level metrics on the entire database provided by previous DB2 releasesDescribe processing for writing database Compare the enhanced table functions Database Input/Output (I/O) Managementpages from buffer pools with the snapshot monitoring facilities Describe processing for writing databaseMonitor database read and write activity provided by previous DB2 releases pages from buffer poolsusing GET SNAPSHOT commands or Database Input/Output (I/O) Management Monitor database read and write activityAdministrative Routines and Views Describe processing for writing database using GET SNAPSHOT commands orMonitor database logging activity and select pages from buffer pools Administrative Routines and Viewsappropriate values for SOFTMAX and Monitor database read and write activity Monitor database logging activity andMINCOMMIT using GET SNAPSHOT commands or select appropriate values for SOFTMAXDescribe how scan sharing can reduce the Administrative Routines and Views and MINCOMMITI/O workload for accessing large tables Monitor database logging activity and Describe how scan sharing can reduce theExplain the alternate page cleaning select appropriate values for SOFTMAX I/O workload for accessing large tablesprocessing associated with the and MINCOMMIT Explain the alternate page cleaningDB2_USE_ALTERNATE_PAGE_CLEANIN Describe how scan sharing can reduce processing associated with theG DB2 Registry variable the I/O workload for accessing large DB2_USE_ALTERNATE_PAGE_CLEANITablespace and Table Design for tables NG DB2 Registry variablePerformance Explain the alternate page cleaning Tablespace and Table Design forDescribe the calculation of prefetch size processing associated with the Performancewhen PREFETCHSIZE is set to DB2_USE_ALTERNATE_PAGE_CLEAN Describe the calculation of prefetch sizeAUTOMATIC ING DB2 Registry variable when PREFETCHSIZE is set toList the advantages of selecting DMS or Tablespace and Table Design for AUTOMATICSMS table space management as well as Performance List the advantages of selecting DMS orusing Automatic Storage-managed table Describe the calculation of prefetch size SMS table space management as well asspaces when PREFETCHSIZE is set to using Automatic Storage-managed tableSet file system caching options for table AUTOMATIC spacesspaces to optimize table space performance List the advantages of selecting DMS or Set file system caching options for tableDescribe the various row insertion SMS table space management as well as spaces to optimize table spacealgorithms for tables that are based on using using Automatic Storage-managed table performancethe APPEND option or defining a clustering spaces Describe the various row insertionindex Set file system caching options for table algorithms for tables that are based onPlan and implement Row Compression to spaces to optimize table space using the APPEND option or defining areduce disk and memory requirements and performance clustering indeximprove application performance Describe the various row insertion Plan and implement Row Compression to

Page 83: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Describe how DB2's Index compression algorithms for tables that are based on reduce disk and memory requirements andoption can reduce disk storage requirements using the APPEND option or defining a improve application performancefor indexes clustering index Describe how DB2's Index compressionExplain how DB2 can compress temporary Plan and implement Row Compression to option can reduce disk storagedata to improve application performance reduce disk and memory requirements requirements for indexesUtilize the DB2 provided tools and functions and improve application performance Explain how DB2 can compress temporaryto estimate compression results for Indexes Describe how DB2's Index compression data to improve application performanceand data option can reduce disk storage Utilize the DB2 provided tools andDB2 memory management requirements for indexes functions to estimate compression resultsExplain the management of database Explain how DB2 can compress for Indexes and datashared memory based on setting the temporary data to improve application DB2 memory managementconfiguration option DATABASE_MEMORY performance Explain the management of databaseto AUTOMATIC, COMPUTED or a specific Utilize the DB2 provided tools and shared memory based on setting thenumber of pages functions to estimate compression results configuration optionSelect the mode for managing data sort for Indexes and data DATABASE_MEMORY to AUTOMATIC,memory using SHEAPTHRES, SORTHEAP, DB2 memory management COMPUTED or a specific number ofand SHEAPTHRES_SHR Explain the management of database pagesMonitor DB2 memory usage using the shared memory based on setting the Select the mode for managing data sortdb2mtrk commands and SQL statements configuration option memory using SHEAPTHRES,Utilize the db2pd command for monitoring DATABASE_MEMORY to AUTOMATIC, SORTHEAP, and SHEAPTHRES_SHRcurrent database memory usage COMPUTED or a specific number of Monitor DB2 memory usage using theAutomated Memory Management pages db2mtrk commands and SQL statementsExplain the differences in STMM processing Select the mode for managing data sort Utilize the db2pd command for monitoringbased on the setting of memory using SHEAPTHRES, current database memory usageDATABASE_MEMORY SORTHEAP, and SHEAPTHRES_SHR Automated Memory ManagementPlan and configure a database for self Monitor DB2 memory usage using the Explain the differences in STMMtuning memory db2mtrk commands and SQL statements processing based on the setting ofActivate or deactivate STMM for selected Utilize the db2pd command for DATABASE_MEMORYmemory heaps monitoring current database memory Plan and configure a database for selfDescribe the management of sortheap usage tuning memorymemory based on the configuration of Automated Memory Management Activate or deactivate STMM for selectedsheapthres and sheapthres_shr Explain the differences in STMM memory heapsExplain how DB2 can automatically increase processing based on the setting of Describe the management of sortheapor decrease database memory for multiple DATABASE_MEMORY memory based on the configuration ofDB2 databases running on the same server Plan and configure a database for self sheapthres and sheapthres_shrApplication Performance Considerations tuning memory Explain how DB2 can automaticallyDescribe the performance advantages of Activate or deactivate STMM for selected increase or decrease database memory forusing stored procedures memory heaps multiple DB2 databases running on theDesign applications to maximize record Describe the management of sortheap same serverblocking, minimize sort operations and memory based on the configuration of Application Performance Considerationsminimize lock contention sheapthres and sheapthres_shr Describe the performance advantages ofMonitor application performance and lock Explain how DB2 can automatically using stored procedureswaits using GET SNAPSHOT commands increase or decrease database memory Design applications to maximize recordand SQL queries for multiple DB2 databases running on blocking, minimize sort operations andSet the DB2 registry variables the same server minimize lock contentionDB2_EVALUNCOMMITTED, Application Performance Considerations Monitor application performance and lockDB2_SKIPINSERTED and Describe the performance advantages of waits using GET SNAPSHOT commandsDB2_SKIPDELETED to reduce lock using stored procedures and SQL queriescontention based on application Design applications to maximize record Set the DB2 registry variablesrequirements blocking, minimize sort operations and DB2_EVALUNCOMMITTED,Utilize the currently committed form of minimize lock contention DB2_SKIPINSERTED andlocking to reduce lock contention between Monitor application performance and lock DB2_SKIPDELETED to reduce lockread-only and update applications waits using GET SNAPSHOT commands contention based on applicationUsing Explain Tools and SQL queries requirementsDescribe the advantages of using db2exfmt Set the DB2 registry variables Utilize the currently committed form ofCreate special tables used by Visual Explain DB2_EVALUNCOMMITTED, locking to reduce lock contention betweenand db2exfmt DB2_SKIPINSERTED and read-only and update applicationsIdentify how to set the Explain snapshot and DB2_SKIPDELETED to reduce lock Using Explain ToolsExplain mode registers to capture the contention based on application Describe the advantages of usinginformation of interest requirements db2exfmtDifferentiate between the different methods Utilize the currently committed form of Create special tables used by Visualof viewing Explain information locking to reduce lock contention Explain and db2exfmtThe DB2 Optimizer between read-only and update Identify how to set the Explain snapshotChoose the appropriate optimization class applications and Explain mode registers to capture theDescribe the catalog statistics and database Using Explain Tools information of interestconfiguration options impact on access plan Describe the advantages of using Differentiate between the different

Page 84: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

selection db2exfmt methods of viewing Explain informationImplement a statistical view to provide better Create special tables used by Visual The DB2 Optimizercardinality estimates for complex queries Explain and db2exfmt Choose the appropriate optimization classEnable the statement concentrator using the Identify how to set the Explain snapshot Describe the catalog statistics andSTMT_CONC database manager and Explain mode registers to capture database configuration options impact onconfiguration parameter to reduce SQL the information of interest access plan selectioncompilation overhead for dynamic SQL Differentiate between the different Implement a statistical view to providestatements methods of viewing Explain information better cardinality estimates for complexUtilize the db2look utility to extract catalog The DB2 Optimizer queriesstatistics from existing tables to mimic an Choose the appropriate optimization Enable the statement concentrator usingexisting database environment class the STMT_CONC database managerCreate an optimizer profile Describe the catalog statistics and configuration parameter to reduce SQLUsing Indexes for Performance database configuration options impact on compilation overhead for dynamic SQLDescribe the Block Indexing capability for access plan selection statementsMDC tables Implement a statistical view to provide Utilize the db2look utility to extract catalogMonitor index usage using the better cardinality estimates for complex statistics from existing tables to mimic anMON_GET_INDEX function and db2pd queries existing database environmentcommands Enable the statement concentrator using Create an optimizer profileExplain how multiple indexes can be the STMT_CONC database manager Using Indexes for Performancecombined using Index ORing and Dynamic configuration parameter to reduce SQL Describe the Block Indexing capability forBitmap Index ANDing compilation overhead for dynamic SQL MDC tablesUse the Design Advisor to predict statements Monitor index usage using theperformance gains from adding new indexes Utilize the db2look utility to extract MON_GET_INDEX function and db2pdComplex SQL Performance catalog statistics from existing tables to commandsDescribe the differences between Nested mimic an existing database environment Explain how multiple indexes can beLoop, Merge Scan and Hash Joins Create an optimizer profile combined using Index ORing and DynamicPlan the implementation of Refresh Using Indexes for Performance Bitmap Index ANDingImmediate or Refresh Deferred Materialized Describe the Block Indexing capability for Use the Design Advisor to predictQuery Tables to improve query performance MDC tables performance gains from adding newUtilize the Design Advisor to analyze SQL Monitor index usage using the indexesstatements and recommend new MQTs MON_GET_INDEX function and db2pd Complex SQL PerformanceDescribe the features of range-partitioned commands Describe the differences between Nestedtables to support large DB2 tables using Explain how multiple indexes can be Loop, Merge Scan and Hash Joinsmultiple table spaces, including the roll-in combined using Index ORing and Plan the implementation of Refreshand roll-out of data ranges Dynamic Bitmap Index ANDing Immediate or Refresh DeferredExplain the difference between partitioned Use the Design Advisor to predict Materialized Query Tables to improveand non-partitioned indexes for a performance gains from adding new query performancerange-partitioned table indexes Utilize the Design Advisor to analyze SQLImplement partitioned indexes to improve Complex SQL Performance statements and recommend new MQTsperformance when you roll data out or roll Describe the differences between Nested Describe the features of range-partitioneddata into a range-partitioned table Loop, Merge Scan and Hash Joins tables to support large DB2 tables usingUse the DB2 Explain tools to determine if Plan the implementation of Refresh multiple table spaces, including the roll-inpartition elimination is being used to improve Immediate or Refresh Deferred and roll-out of data rangesaccess performance to large Materialized Query Tables to improve Explain the difference between partitionedrange-partitioned tables query performance and non-partitioned indexes for aTools and Utilities for Performance Utilize the Design Advisor to analyze SQL range-partitioned tableSelect appropriate RUNSTATS options to statements and recommend new MQTs Implement partitioned indexes to improvecollect Distribution Statistics or Column Describe the features of range-partitioned performance when you roll data out or rollGroup Statistics to improve cardinality tables to support large DB2 tables using data into a range-partitioned tableestimates during SQL compilation multiple table spaces, including the roll-in Use the DB2 Explain tools to determine ifUse the table and indexes statistics to plan and roll-out of data ranges partition elimination is being used tofor table and index reorganization using the Explain the difference between improve access performance to largeREORG utility partitioned and non-partitioned indexes range-partitioned tablesSet the policies and options for automation for a range-partitioned table Tools and Utilities for Performanceof catalog statistics collection Implement partitioned indexes to improve Select appropriate RUNSTATS options toMonitor the activity associated with performance when you roll data out or roll collect Distribution Statistics or Columnimplementing real-time statistics collection data into a range-partitioned table Group Statistics to improve cardinalityUse the db2batch utility to run SQL Use the DB2 Explain tools to determine if estimates during SQL compilationworkloads and collect performance statistics partition elimination is being used to Use the table and indexes statistics to planthat can be used to benchmark database improve access performance to large for table and index reorganization usingand application changes range-partitioned tables the REORG utilityEvent Monitoring Tools and Utilities for Performance Set the policies and options for automationImplement simple Workload Management Select appropriate RUNSTATS options to of catalog statistics collectiondefinitions to utilize the Workload collect Distribution Statistics or Column Monitor the activity associated withManager-based event monitoring including Group Statistics to improve cardinality implementing real-time statistics collectionactivities, statistics and threshold violations estimates during SQL compilation Use the db2batch utility to run SQL

Page 85: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Evaluate Event Monitor data using the Event Use the table and indexes statistics to workloads and collect performanceAnalyzer tool, the db2evmon text-based tool plan for table and index reorganization statistics that can be used to benchmarkthe db2evmonfmt application or using SQL using the REORG utility database and application changesqueries Set the policies and options for Event MonitoringDefine a LOCKING Event Monitor to capture automation of catalog statistics collection Implement simple Workload Managementdeadlocks, lock timeout or lock waits Monitor the activity associated with definitions to utilize the WorkloadConfigure a DB2 database to control implementing real-time statistics Manager-based event monitoring includinginformation captured for deadlocks, lock collection activities, statistics and threshold violationstimeouts or extended lock waits Use the db2batch utility to run SQL Evaluate Event Monitor data using theImplement Event Monitors for units of work workloads and collect performance Event Analyzer tool, the db2evmonor lock-related events that store information statistics that can be used to benchmark text-based tool the db2evmonfmtin unformatted Event Monitor tables database and application changes application or using SQL queriesCapture SQL section information using an Event Monitoring Define a LOCKING Event Monitor toACTIVITIES Event Monitor and use the data Implement simple Workload capture deadlocks, lock timeout or lockto generate Explain reports Management definitions to utilize the waits

Workload Manager-based event Configure a DB2 database to controlmonitoring including activities, statistics information captured for deadlocks, lock

line and threshold violations timeouts or extended lock waitsList the tools for monitoring database and Evaluate Event Monitor data using the Implement Event Monitors for units of workapplication activity Event Analyzer tool, the db2evmon or lock-related events that storeUse GET SNAPSHOT commands to text-based tool the db2evmonfmt information in unformatted Event Monitorproduce reports for analysis of database application or using SQL queries tablesperformance Define a LOCKING Event Monitor to Capture SQL section information using anUtilize the administrative routines and views capture deadlocks, lock timeout or lock ACTIVITIES Event Monitor and use theprovided by to DB2 to simplify application waits data to generate Explain reportsaccess to database performance statistics Configure a DB2 database to controlUse the db2pd to perform performance information captured for deadlocks, lock ... continued at Remarksanalysis or problem determination for a DB2 timeouts or extended lock waits linedatabase Implement Event Monitors for units ofUtilize the enhanced table functions with work or lock-related events that storeSQL in reporting and monitoring of the information in unformatted Event Monitordatabase system, data objects, and the tablespackage cache to help you quickly identify Capture SQL section information usingissues that might be causing problems an ACTIVITIES Event Monitor and useConfigure the DB2 Database configuration the data to generate Explain reportsoptions that control the collection of request,activity and object level metrics on the entiredatabase lineCompare the enhanced table functions with List the tools for monitoring database andthe snapshot monitoring facilities provided application activityby previous DB2 releases Use GET SNAPSHOT commands toDatabase Input/Output (I/O) Management produce reports for analysis of databaseDescribe processing for writing database performancepages from buffer pools Utilize the administrative routines andMonitor database read and write activity views provided by to DB2 to simplifyusing GET SNAPSHOT commands or application access to databaseAdministrative Routines and Views performance statisticsMonitor database logging activity and select Use the db2pd to perform performanceappropriate values for SOFTMAX and analysis or problem determination for aMINCOMMIT DB2 databaseDescribe how scan sharing can reduce the Utilize the enhanced table functions withI/O workload for accessing large tables SQL in reporting and monitoring of theExplain the alternate page cleaning database system, data objects, and theprocessing associated with the package cache to help you quicklyDB2_USE_ALTERNATE_PAGE_CLEANIN identify issues that might be causingG DB2 Registry variable problemsTablespace and Table Design for Configure the DB2 DatabasePerformance configuration options that control theDescribe the calculation of prefetch size collection of request, activity and objectwhen PREFETCHSIZE is set to level metrics on the entire databaseAUTOMATIC Compare the enhanced table functionsList the advantages of selecting DMS or with the snapshot monitoring facilitiesSMS table space management as well as provided by previous DB2 releasesusing Automatic Storage-managed table Database Input/Output (I/O) Managementspaces Describe processing for writing databaseSet file system caching options for table pages from buffer pools

Page 86: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

spaces to optimize table space performance Monitor database read and write activityDescribe the various row insertion using GET SNAPSHOT commands oralgorithms for tables that are based on using Administrative Routines and Viewsthe APPEND option or defining a clustering Monitor database logging activity andindex select appropriate values for SOFTMAXPlan and implement Row Compression to and MINCOMMITreduce disk and memory requirements and Describe how scan sharing can reduceimprove application performance the I/O workload for accessing largeDescribe how DB2's Index compression tablesoption can reduce disk storage requirements Explain the alternate page cleaningfor indexes processing associated with theExplain how DB2 can compress temporary DB2_USE_ALTERNATE_PAGE_CLEANdata to improve application performance ING DB2 Registry variableUtilize the DB2 provided tools and functions Tablespace and Table Design forto estimate compression results for Indexes Performanceand data Describe the calculation of prefetch sizeDB2 memory management when PREFETCHSIZE is set toExplain the management of database AUTOMATICshared memory based on setting the List the advantages of selecting DMS orconfiguration option DATABASE_MEMORY SMS table space management as well asto AUTOMATIC, COMPUTED or a specific using Automatic Storage-managed tablenumber of pages spacesSelect the mode for managing data sort Set file system caching options for tablememory using SHEAPTHRES, SORTHEAP, spaces to optimize table spaceand SHEAPTHRES_SHR performanceMonitor DB2 memory usage using the Describe the various row insertiondb2mtrk commands and SQL statements algorithms for tables that are based onUtilize the db2pd command for monitoring using the APPEND option or defining acurrent database memory usage clustering indexAutomated Memory Management Plan and implement Row Compression toExplain the differences in STMM processing reduce disk and memory requirementsbased on the setting of and improve application performanceDATABASE_MEMORY Describe how DB2's Index compressionPlan and configure a database for self option can reduce disk storagetuning memory requirements for indexesActivate or deactivate STMM for selected Explain how DB2 can compressmemory heaps temporary data to improve applicationDescribe the management of sortheap performancememory based on the configuration of Utilize the DB2 provided tools andsheapthres and sheapthres_shr functions to estimate compression resultsExplain how DB2 can automatically increase for Indexes and dataor decrease database memory for multiple DB2 memory managementDB2 databases running on the same server Explain the management of databaseApplication Performance Considerations shared memory based on setting theDescribe the performance advantages of configuration optionusing stored procedures DATABASE_MEMORY to AUTOMATIC,Design applications to maximize record COMPUTED or a specific number ofblocking, minimize sort operations and pagesminimize lock contention Select the mode for managing data sortMonitor application performance and lock memory using SHEAPTHRES,waits using GET SNAPSHOT commands SORTHEAP, and SHEAPTHRES_SHRand SQL queries Monitor DB2 memory usage using theSet the DB2 registry variables db2mtrk commands and SQL statementsDB2_EVALUNCOMMITTED, Utilize the db2pd command forDB2_SKIPINSERTED and monitoring current database memoryDB2_SKIPDELETED to reduce lock usagecontention based on application Automated Memory Managementrequirements Explain the differences in STMMUtilize the currently committed form of processing based on the setting oflocking to reduce lock contention between DATABASE_MEMORYread-only and update applications Plan and configure a database for selfUsing Explain Tools tuning memoryDescribe the advantages of using db2exfmt Activate or deactivate STMM for selectedCreate special tables used by Visual Explain memory heapsand db2exfmt Describe the management of sortheapIdentify how to set the Explain snapshot and memory based on the configuration of

Page 87: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Explain mode registers to capture the sheapthres and sheapthres_shrinformation of interest Explain how DB2 can automaticallyDifferentiate between the different methods increase or decrease database memoryof viewing Explain information for multiple DB2 databases running onThe DB2 Optimizer the same serverChoose the appropriate optimization class Application Performance ConsiderationsDescribe the catalog statistics and database Describe the performance advantages ofconfiguration options impact on access plan using stored proceduresselection Design applications to maximize recordImplement a statistical view to provide better blocking, minimize sort operations andcardinality estimates for complex queries minimize lock contentionEnable the statement concentrator using the Monitor application performance and lockSTMT_CONC database manager waits using GET SNAPSHOT commandsconfiguration parameter to reduce SQL and SQL queriescompilation overhead for dynamic SQL Set the DB2 registry variablesstatements DB2_EVALUNCOMMITTED,Utilize the db2look utility to extract catalog DB2_SKIPINSERTED andstatistics from existing tables to mimic an DB2_SKIPDELETED to reduce lockexisting database environment contention based on applicationCreate an optimizer profile requirementsUsing Indexes for Performance Utilize the currently committed form ofDescribe the Block Indexing capability for locking to reduce lock contentionMDC tables between read-only and updateMonitor index usage using the applicationsMON_GET_INDEX function and db2pd Using Explain Toolscommands Describe the advantages of usingExplain how multiple indexes can be db2exfmtcombined using Index ORing and Dynamic Create special tables used by VisualBitmap Index ANDing Explain and db2exfmtUse the Design Advisor to predict Identify how to set the Explain snapshotperformance gains from adding new indexes and Explain mode registers to captureComplex SQL Performance the information of interestDescribe the differences between Nested Differentiate between the differentLoop, Merge Scan and Hash Joins methods of viewing Explain informationPlan the implementation of Refresh The DB2 OptimizerImmediate or Refresh Deferred Materialized Choose the appropriate optimizationQuery Tables to improve query performance classUtilize the Design Advisor to analyze SQL Describe the catalog statistics andstatements and recommend new MQTs database configuration options impact onDescribe the features of range-partitioned access plan selectiontables to support large DB2 tables using Implement a statistical view to providemultiple table spaces, including the roll-in better cardinality estimates for complexand roll-out of data ranges queriesExplain the difference between partitioned Enable the statement concentrator usingand non-partitioned indexes for a the STMT_CONC database managerrange-partitioned table configuration parameter to reduce SQLImplement partitioned indexes to improve compilation overhead for dynamic SQLperformance when you roll data out or roll statementsdata into a range-partitioned table Utilize the db2look utility to extractUse the DB2 Explain tools to determine if catalog statistics from existing tables topartition elimination is being used to improve mimic an existing database environmentaccess performance to large Create an optimizer profilerange-partitioned tables Using Indexes for PerformanceTools and Utilities for Performance Describe the Block Indexing capability forSelect appropriate RUNSTATS options to MDC tablescollect Distribution Statistics or Column Monitor index usage using theGroup Statistics to improve cardinality MON_GET_INDEX function and db2pdestimates during SQL compilation commandsUse the table and indexes statistics to plan Explain how multiple indexes can befor table and index reorganization using the combined using Index ORing andREORG utility Dynamic Bitmap Index ANDingSet the policies and options for automation Use the Design Advisor to predictof catalog statistics collection performance gains from adding newMonitor the activity associated with indexesimplementing real-time statistics collection Complex SQL PerformanceUse the db2batch utility to run SQL Describe the differences between Nested

Page 88: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

workloads and collect performance statistics Loop, Merge Scan and Hash Joinsthat can be used to benchmark database Plan the implementation of Refreshand application changes Immediate or Refresh DeferredEvent Monitoring Materialized Query Tables to improveImplement simple Workload Management query performancedefinitions to utilize the Workload Utilize the Design Advisor to analyze SQLManager-based event monitoring including statements and recommend new MQTsactivities, statistics and threshold violations Describe the features of range-partitionedEvaluate Event Monitor data using the Event tables to support large DB2 tables usingAnalyzer tool, the db2evmon text-based tool multiple table spaces, including the roll-inthe db2evmonfmt application or using SQL and roll-out of data rangesqueries Explain the difference betweenDefine a LOCKING Event Monitor to capture partitioned and non-partitioned indexesdeadlocks, lock timeout or lock waits for a range-partitioned tableConfigure a DB2 database to control Implement partitioned indexes to improveinformation captured for deadlocks, lock performance when you roll data out or rolltimeouts or extended lock waits data into a range-partitioned tableImplement Event Monitors for units of work Use the DB2 Explain tools to determine ifor lock-related events that store information partition elimination is being used toin unformatted Event Monitor tables improve access performance to largeCapture SQL section information using an range-partitioned tablesACTIVITIES Event Monitor and use the data Tools and Utilities for Performanceto generate Explain reports Select appropriate RUNSTATS options to

collect Distribution Statistics or ColumnGroup Statistics to improve cardinalityestimates during SQL compilationUse the table and indexes statistics toplan for table and index reorganizationusing the REORG utilitySet the policies and options forautomation of catalog statistics collectionMonitor the activity associated withimplementing real-time statisticscollectionUse the db2batch utility to run SQLworkloads and collect performancestatistics that can be used to benchmarkdatabase and application changesEvent MonitoringImplement simple WorkloadManagement definitions to utilize theWorkload Manager-based eventmonitoring including activities, statisticsand threshold violationsEvaluate Event Monitor data using theEvent Analyzer tool, the db2evmontext-based tool the db2evmonfmtapplication or using SQL queriesDefine a LOCKING Event Monitor tocapture deadlocks, lock timeout or lockwaitsConfigure a DB2 database to controlinformation captured for deadlocks, locktimeouts or extended lock waitsImplement Event Monitors for units ofwork or lock-related events that storeinformation in unformatted Event MonitortablesCapture SQL section information usingan ACTIVITIES Event Monitor and usethe data to generate Explain reports

lineDescribe the basic principles inmonitoring a DB2 database

Page 89: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Describe processing for reading databasepages into buffer poolsSelect appropriate values for table spacepage size and extent size to supportapplication performance requirementsDescribe memory heap usage forinstance memory, database sharedmemory and application memoryDescribe how STMM can be used toautomatically manage database sharedmemory heapsList examples of application codingtechniques that can effect performanceDescribe the advantages of using VisualExplainDescribe the stages of the SQL compilerDescribe the Indexing options that can beused to improve performance: Index OnlyAccess, Clustered Index, Reverse Scans,Include Columns, and Index FreespaceReview Explain reports for costly sortoperationsUse the RUNSTATS utility to collect tableand index statistics to enable the DB2Optimizer to generate efficient accessstrategiesCreate Event Monitors to collectperformance statistics at the database,application or SQL statement level

lineList the tools for monitoring database andapplication activityUse GET SNAPSHOT commands toproduce reports for analysis of databaseperformanceUtilize the administrative routines andviews provided by to DB2 to simplifyapplication access to databaseperformance statisticsUse the db2pd to perform performanceanalysis or problem determination for aDB2 databaseUtilize the enhanced table functions withSQL in reporting and monitoring of thedatabase system, data objects, and thepackage cache to help you quicklyidentify issues that might be causingproblemsConfigure the DB2 Databaseconfiguration options that control thecollection of request, activity and objectlevel metrics on the entire databaseCompare the enhanced table functionswith the snapshot monitoring facilitiesprovided by previous DB2 releasesDatabase Input/Output (I/O) ManagementDescribe processing for writing databasepages from buffer poolsMonitor database read and write activityusing GET SNAPSHOT commands orAdministrative Routines and ViewsMonitor database logging activity andselect appropriate values for SOFTMAXand MINCOMMIT

Page 90: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Describe how scan sharing can reducethe I/O workload for accessing largetablesExplain the alternate page cleaningprocessing associated with theDB2_USE_ALTERNATE_PAGE_CLEANING DB2 Registry variableTablespace and Table Design forPerformanceDescribe the calculation of prefetch sizewhen PREFETCHSIZE is set toAUTOMATICList the advantages of selecting DMS orSMS table space management as well asusing Automatic Storage-managed tablespacesSet file system caching options for tablespaces to optimize table spaceperformanceDescribe the various row insertionalgorithms for tables that are based onusing the APPEND option or defining aclustering indexPlan and implement Row Compression toreduce disk and memory requirementsand improve application performanceDescribe how DB2's Index compressionoption can reduce disk storagerequirements for indexesExplain how DB2 can compresstemporary data to improve applicationperformanceUtilize the DB2 provided tools andfunctions to estimate compression resultsfor Indexes and dataDB2 memory managementExplain 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 commands and SQL statementsUtilize the db2pd command formonitoring current database memoryusageAutomated Memory ManagementExplain the differences in STMMprocessing based on the setting ofDATABASE_MEMORYPlan and configure a database for selftuning memoryActivate or deactivate STMM for selectedmemory heapsDescribe the management of sortheapmemory based on the configuration ofsheapthres and sheapthres_shrExplain how DB2 can automaticallyincrease or decrease database memoryfor multiple DB2 databases running onthe same serverApplication Performance Considerations

Page 91: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

Describe the performance advantages ofusing stored proceduresDesign applications to maximize recordblocking, minimize sort operations andminimize lock contentionMonitor application performance and lockwaits using GET SNAPSHOT commandsand SQL queriesSet the DB2 registry variablesDB2_EVALUNCOMMITTED,DB2_SKIPINSERTED andDB2_SKIPDELETED to reduce lockcontention based on applicationrequirementsUtilize the currently committed form oflocking to reduce lock contentionbetween read-only and updateapplicationsUsing Explain ToolsDescribe 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 informationThe DB2 OptimizerChoose 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 profileUsing Indexes for PerformanceDescribe the Block Indexing capability forMDC tablesMonitor index usage using theMON_GET_INDEX function and db2pdcommandsExplain how multiple indexes can becombined using Index ORing andDynamic Bitmap Index ANDingUse the Design Advisor to predictperformance gains from adding newindexesComplex SQL PerformanceDescribe 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 SQL

Page 92: IBM DB2 for Linux, UNIX, and Windows Performance …store.globalknowledge.net/course-overviews/ES/CL412G.pdf · CL412G info.cursos@globalknowledge.es (34) 91 425 06 60 IBM DB2 for

CL412G www.globalknowledge.es [email protected] (34) 91 425 06 60

statements and recommend new MQTsDescribe the features of range-partitionedtables to support large DB2 tables usingmultiple table spaces, including the roll-inand roll-out of data rangesExplain the difference betweenpartitioned and non-partitioned indexesfor a range-partitioned tableImplement partitioned indexes to improveperformance when you roll data out or rolldata into a range-partitioned tableUse the DB2 Explain tools to determine ifpartition elimination is being used toimprove access performance to largerange-partitioned tablesTools and Utilities for PerformanceSelect appropriate RUNSTATS options tocollect Distribution Statistics or ColumnGroup Statistics to improve cardinalityestimates during SQL compilationUse the table and indexes statistics toplan for table and index reorganizationusing the REORG utilitySet the policies and options forautomation of catalog statistics collectionMonitor the activity associated withimplementing real-time statisticscollectionUse the db2batch utility to run SQLworkloads and collect performancestatistics that can be used to benchmarkdatabase and application changesEvent MonitoringImplement simple WorkloadManagement definitions to utilize theWorkload Manager-based eventmonitoring including activities, statisticsand threshold violationsEvaluate Event Monitor data using theEvent Analyzer tool, the db2evmontext-based tool the db2evmonfmtapplication or using SQL queriesDefine a LOCKING Event Monitor tocapture deadlocks, lock timeout or lockwaitsConfigure a DB2 database to controlinformation captured for deadlocks, locktimeouts or extended lock waitsImplement Event Monitors for units ofwork or lock-related events that storeinformation in unformatted Event MonitortablesCapture SQL section information usingan ACTIVITIES Event Monitor and usethe data to generate Explain reports

Más información:

Para más información o para reservar tu plaza llámanos al (34) 91 425 06 60

[email protected]

www.globalknowledge.es

Global Knowledge Network Spain, C/ Retama 7, 6ª planta, 28045 Madrid