Exam C2090-600 All QuestionsBrowse all questions from this exam
Question 55

Which tool can be used to get database design recommendations based on SQL statements stored in the database package cache?

    Correct Answer: D

    The tool used to get database design recommendations based on SQL statements stored in the database package cache is db2advis. This tool, part of the Db2 Design Advisor, can analyze SQL statements and provide recommendations for improvements such as creating indexes, materialized query tables (MQTs), and reorganizing tables. The recommendations are based on the analysis of SQL statements in the package cache to enhance database performance.

Discussion
db2testerOption: D

The answer D db2advis is correct. The Db2 Design Advisor advises users on the creation of materialized query tables (MQTs) and indexes, the repartitioning of tables, the conversion to multidimensional clustering (MDC) tables, and the deletion of unused objects. The recommendations are based on one or more SQL statements provided by the user. A group of related SQL statements is known as a workload. Users can rank the importance of each statement in a workload and specify the frequency at which each statement in the workload is to be executed. The Design Advisor outputs a DDL CLP script that includes CREATE INDEX, CREATE SUMMARY TABLE (MQT), and CREATE TABLE statements to create the recommended objects. The Design Advisor can analyze SQL statements to make recommendations for how to improve database performance. You can use statements from the package cache (including statements captured by the package cache event monitor) as input to the Design Advisor to identify changes you can make to improve the performance for a given workload, or even for all statements run between two points in time. REFERENCE : https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.mon.doc/doc/t0057193.html

db2testerOption: D

The answer "C db2expln" is not correct. The db2expln tool does not give database design recommandations, and describes only the access plan selected for SQL and XQuery statements. Use the tool to obtain a quick explanation of the chosen access plan when explain data was not captured. For static SQL and XQuery statements, db2expln examines the packages stored in the system catalog tables. For dynamic SQL and XQuery statements, db2expln examines the query cache sections. REFERENCE : https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.cmd.doc/doc/r0005736.html

db2testerOption: D

The answer A db2pd is not correct because, db2pd is the DB2 Problem Determination tool designed to retrieve diagnostic information about a DB2 environment. Reference : https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.trb.doc/doc/c0054595.html The answer B db2dart is not correct, because, the db2dart command can be used to verify the architectural correctness of databases and the objects within them. It can also be used to display the contents of database control files in order to extract data from tables that might otherwise be inaccessible. Reference : https://www.ibm.com/support/knowledgecenter/en/SSEPGG_11.1.0/com.ibm.db2.luw.admin.trb.doc/doc/c0020760.html