If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > db2pd -tcbstats index for table-partitioned table?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-23-10, 06:27
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
db2pd -tcbstats index for table-partitioned table?

v9.5.5 on win2003: My great & wonderfull script to do INDEX analysis does not work anymore for table-partitioned tables.
At first I got no results at all because sysibm.systables.fid & sysibm.systables.tid cannot be used anymore to fill the tbspaceid & tableid parameters of db2pd.

I figured that out and now sysibm.sysdatapartitions.partitionobjectid & sysibm.sysdatapartitions.tbspaceid give partial results.
Partial: that means I get table/partition info but no index. And that was where I was aiming for. Looking at the column-headers of the output you see "MasterTbs" & "MasterTab" but they are not accepted as input parameters.

Anyone figured out yet how to obtain this usefull index results from a partitioned table?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On