Which two sources can be used to provide input to the InfoSphere Optim Query Workload Tuner that generate EXPLAIN information when creating the query workload?
A. db2pd
B. Routines
C. EXPLAIN tables
D. Snapshot monitor
E. ACTIVITIES event monitors
Which statement about column-organized tables is true?
A. Databases with column-organized tables can be federated.
B. Schemas that include column-organized tables can be transported.
C. Sort memory can be automatically tuned in environments containing column-organized tables.
D. Queries that use the Currently Committed semantics can be used with column-organized tables.
Which statement about expression-based indexes is true?
A. The RUNSTATS command cannot be used to collect statistics for expression-based indexes.
B. Expression-based indexes must always be defined as UNIQUE to prevent duplicate index keys.
C. Expression-based index keys consist of a concatenation of one or more specified table columns.
D. The index key values of expression-based indexes are not the same as the values in the corresponding table columns.
An expression-based index named EMPJND1 and a statistical view named EMP_IND1_V have been created for a table named EMPLOYEE.
If the following command is used to set up a statistics profile on the statistical view EMP_IND1_V:
RUNSTATS ON VIEW emp_ind1_v WITH DISTRIBUTION DEFAULT UM_FREQVALUES 50 SET PROFILE ONLY
Which command will create a statistics profile on the EMPLOYEE table?
A. RUNSTATS ON TABLE employee USE PROFILE
B. RUNSTATS ON TABLE employee USE SAMPLED INDEX emp_ind1
C. RUNSTATS ON TABLE employee WITH DISTRIBUTION AND SAMPLED DETAILED INDEXES ALL
D. RUNSTATS ON TABLE employee WITH DISTRIBUTION AND SAMPLED INDEX emp_ind1 GENERATE PROFILE
What are the correct steps to capture EXPLAIN information for column-organized tables?
A. 1. Issue the query against column-organized tables
2. Execute the db2exfmt command
B. 1. Execute the command CURRENT EXPLAIN MODE YES
2.
Issue the query against column-organized tables
3.
Execute the db2exfmt command
C. 1. Set the ENABLE_COLUMN_TABLES registry variable to YES
2.
Issue the query against column-organized tables
3.
Execute the db2exfmt command
D. 1. Set the ENABLE_COLUMN_TABLES registry variable to YES
2.
Execute the command CURRENT EXPLAIN MODE YES
3.
Issue the query against column-organized tables
4.
Execute the db2exfmt command
What happens when the STATISTICS USE PROFILE option is provided with a LOAD command that will be used to populate a column-organized table and a statistics profile does not exist?
A. A warning is returned and no statistics are collected.
B. An error is returned and the table is placed in "load pending" state.
C. A statistics profile is automatically generated before the load is allowed to continue.
D. The Load utility uses the same RUNSTATS command options as those used during an automatic runstats operation.
When the DB2_COMPATIBILITY_VECTOR registry variable is set to ORA, what is the maximum row width size for database tables?
A. 32 KB
B. 64 KB
C. 1MB
D. 2 MB
What type of table can be converted into a column-organized table with the db2convert command?
A. A range partitioned table
B. A materialized query table
C. A row-organized user table
D. A declared global temporary table
Which statement regarding NOT ENFORCED unique constraints is true?
A. NOT ENFORCED unique constraints enforce uniqueness only for primary key columns.
B. The query optimizer will consider a NOT ENFORCED unique constraint when selecting the optimal data access plan.
C. Storage requirements for NOT ENFORCED unique constraints are identical to storage requirements for a unique index.
D. When attempting to insert data that does not conform to the NOT ENFORCED unique constraint, an error will be returned and the record will not be inserted.
Which type of compression is NOT provided as part of the DB2 Storage Optimization Feature?
A. Row compression
B. Index compression
C. Backup compression
D. Temporary table compression