Professional Documents
Culture Documents
DB2 Utilitie
DB2 Catalog
Q281) Which DB2 catalog tables are used to produce a list of table column by table for all tables in
a database?
A281) The catalog tables to use are the SYSIBM.SYSTABLES and the SYSIBM.SYSCOLUMNS.
Q282) Which catalog tables contain authorization information?
A282) The SYSIBM table that contain authorization information are SYSCOLAUTH, SYSDBAUTH,
SYSPLANAUTH, SYSTABAUTH and SYSUSERAUTH.
Q283) Which catalog table stores referential constraints?
A283) The SYSIBM.SYSRELS table.
DB2 Directory
Q284) What Utility is used to migrate DB2 from one release to the next?
A284) The DUMPCAT Utility.
Q285) How would one remove old reorg information from the DB2 catalog?
A285) Run the MODIFY RECOVERY Utility.
Q286) What happens to a tablespace when its recovery infromation has been removed and a full
recovery is no longer possible?
A286) The tablespace is put into copy pending status.
Q287) Where is the access path logic created by the DB2 Optimizer stored?
A287) The access path logic is stored as skeleton cursor tables in the SCT02 Directory table.
Q288) When is the skeleton cursor table created?
A288) During the execution of the BIND PLAN command.
Q289) How does one remove entries from the SCT02 table?
A289) Run the FREE PLAN command.
Q290) When one binds a PACKAGE ( of a plan ) what package information is stored and where it
is stored?
A290) The access path information for the PACKAGE is stored as skeleton package tables in the SPT01
table.
Q291) Where besides the DB2 catalog is database object information stored by DB2?
A291) DB2 also stores information about DB2 objects as database descriptors (DBDs) in the DBD
Directory table.
Q292) Can you access the DB2 Directory table using SQL?
A292) No. These tables are exclusively accessed by internal DB2 processes.
DB2 Commands