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 > Fragmented index details

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-16-11, 05:17
db2champ db2champ is offline
Registered User
 
Join Date: Jul 2011
Posts: 46
Fragmented index details

Hi,
How to check Indexes which need to be REORG on database?

Any SQL query to indentify all indexes of database which need to de-fragment?

How to do auto schedule of REORG de-fragment indexes daily?

Thanks
Reply With Quote
  #2 (permalink)  
Old 12-16-11, 05:29
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
reorgchk gives information about tables-indexes
there are some sysibmadm views that generate similar info as reorgchk
table maintenance can be activated for stats-reorg
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
  #3 (permalink)  
Old 12-16-11, 05:50
db2champ db2champ is offline
Registered User
 
Join Date: Jul 2011
Posts: 46
Can you please give reference related sysibmadm views to check?
Reply With Quote
  #4 (permalink)  
Old 12-16-11, 06:10
przytula_guy przytula_guy is offline
Registered User
 
Join Date: Apr 2006
Location: Belgium
Posts: 1,159
all info is in the doc (created for this purpose)
IBM DB2 9.7 for Linux, UNIX and Windows Information Center
__________________
Best Regards, Guy Przytula
Database Software Consultant
DB2 UDB LUW Certified V7-V8-V9-V9.7 DB Admin - Dprop..
Information Server Datastage Certified
http://www.infocura.be
Reply With Quote
Reply

Tags
indexes, reorg status, reorgchk

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