Search

Sunday, January 13, 2013

Introduction to most useful SYSIBM DB2 tables - PART 1


Here are most commonly used SYSIBM tables


SYSIBM.SYSTABLES : Any table or view or alias defined for your application will be present in this table with all the information.

Here I have got great links for tables where you can get details for each column of  SYSIBM tables. For each table there is separate link I have put them all together for quick reference.


SYSIBM.SYSCOLUMNS: All the details about columns for any table along with characteristics of each column is defined here.


SYSIBM.SYSTABLESPACE :  If any table is table space partitioned, then that table will be present here and partition key limits will be available here. 


SYSIBM.SYSKEYS : All the information related to primary or unique key is available here for any table in the application.


SYSIBM.SYSINDEXES : Gives the index for all the table. Give cluster ratio which can be used to determine usage of primary or secondary indexes on table.


SYSIBM.SYSINDEXESPART : If any table is index partitioned then that table will be present here.

No comments:

Post a Comment