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 > Type 2 indexes, do they drop when reorged

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-25-05, 08:46
quigleyd quigleyd is offline
Registered User
 
Join Date: Nov 2002
Location: Delaware
Posts: 186
Type 2 indexes, do they drop when reorged

With the new type 2 indexes, you need to reorg the indexes from time to time to clean them up. When you run it does it just drop the index or does it actually try to re-organize it? If you select the allow write access does it drop the index, and does it allow the user to still use the index?
__________________
David Quigley
Reply With Quote
  #2 (permalink)  
Old 01-25-05, 11:10
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
My assumption is that the index will not be dropped .. You should be able to continue using the table and index when the reorg is happening if you specify ALLOW WRITE ACCESS ..

The reorg is generally done in the tempspace or another tablespace you specify and then the original index is 'swapped' for the new one ... Even if you specify ALLOW WRITE ACCESS there will be a short period of time when the index will not be available .. By default, The INPLACE reorg is different and happens asynchronousely ..

But, the bottomline, to my understanding is, the index is not dropped

HTH
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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