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 > question:how can i see current value of log index build of a table??

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-30-09, 10:24
xiaomage79 xiaomage79 is offline
Registered User
 
Join Date: May 2009
Posts: 9
question:how can i see current value of log index build of a table??

db2 => alter table home01 log index build off


how can i see current value of log index build of a table??
Reply With Quote
  #2 (permalink)  
Old 05-30-09, 21:46
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
This information is stored in the packed descriptor, db2cat can be used to dump this info. The command is:

db2cat -d <db name> -n <table name> -s <schema name> -o <output file>


Example:

db2cat -d sample -n employee -s test -o db2cat.out

test@panipuri /home/test > grep -i build db2cat.out
Log Index Build : OFF
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