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 > Converting Type 1 indexes in type 2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-03-06, 03:13
zkajfez zkajfez is offline
Registered User
 
Join Date: Jan 2002
Posts: 161
Converting Type 1 indexes in type 2

Hello,world!
I believe it exist somewhere as a thread,but unfortunately i can't find it.
So:
I want to migrate db from v7 to v8.2.To be allowed to do online reorg i remember i have to convert all indexes from type 1 to type 2.
Questions:
1) How to covert type 1 indes to type 2 during reorg?
2) How to check type of specific index?
3) Am i have to convert (and how) indexes in schema SYSIBM,SYSCAT,SYSTAT and optionally ASN?
Tia,and sorry
Zvonimir
Reply With Quote
  #2 (permalink)  
Old 05-03-06, 07:10
ggnanaraj ggnanaraj is offline
Registered User
 
Join Date: Aug 2002
Location: Chennai, India
Posts: 171
Use...
1. REORG INDEXES ALL FOR TABLE <TABLENAME> CONVERT
2. All indexes created henceforth will be type 2 indexes - after 1 is done for a table.
3. Don't think you need to be concerned about this.
HTH
Reply With Quote
  #3 (permalink)  
Old 05-03-06, 19:26
Nageswaran Nageswaran is offline
Registered User
 
Join Date: Jul 2002
Posts: 48
Regarding the second question
you can check the type of index through the help of command
"inspect" .. This will tell you whether you have type 1 index or type 2 index...
Reply With Quote
  #4 (permalink)  
Old 05-08-06, 02:20
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
See the tutorial about 1 and 2 question:
http://www.databasejournal.com/featu...0896_3399101_3
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