SQL Performance and IMS Database Fundamentals
Quiz covering SQL performance optimization techniques and IBM IMS database concepts including DLI, PCB, and database tuning
Questions
Which one of the following function cannot be used with IMS database CALLs?
- GHU
- DELT
- ISRT
- CHNG
What is the maximum no. of PCBs that can be defined in a PSB?
- 255
- 1000
- 256
- 15
Which one of the following DLI call statements is incorrect?
- CALL ‘CBLTDLI’ USING PARM-COUNT, FUNC-CODE, DB-PCB-MASK, IO-AREA, SSA-LIST.
- CALL ‘CBLTDLI’ USING FUNC-CODE, DB-PCB-MASK, IO-AREA.
- CALL ‘CBLTDLI’ USING FUNC-CODE, DB-PCB-MASK, SSA-LIST.
- CALL ‘CBLTDLI’ USING FUNC-CODE, DB-PCB-MASK, IO-AREA, SSA-LIST.
Which one of the following statements about a IMS-DB2 BATCH DLI program is False?
- IMS act as the resource manager when DB2 program is invoked from IMS
- Commits and rollbacks are performed using COMMIT and ROLLBACK Commands
- DB2 can be invoked from IMS using IMS-DB2 attachment facility
- DB2 Subsystem and plan name are DSNMTV01 in DD
Which one of the following library type is used in DLI jobs to dynamically allocate database clusters?
- PSBLIB
- DBDLIB
- ACBLIB
- USERLIB
Which of the following is an important consideration when tuning an SQL statement?
- The number of CPUs on the server
- The degree of parallelism on the tables
- The use of bitmap indexes
- The quality of the SQL optimization
Which of the following database design features is most important to SQL performance?
- Removal of data redundancy
- The introduction of data redundancy
- The introduction of non-first normal form relations
- The introduction of SQL*Plus
Why is searching for large-table full-table scans critical to SQL tuning?
- They indicate an optimized execution plan.
- They may be able to be tuned to use an index
- The full-table scan should be normalized from the database design
- A full-table scan is always sub-optimal.
What best describes the relationship between indexes and SQL performance?
- Indexes are only used in special cases
- Indexes are used to make table storage more efficient
- Indexes rarely make a difference in SQL performance
- Indexes exist solely to improve query speed.