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 in V8

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-04-04, 14:32
koganti koganti is offline
Registered User
 
Join Date: Jul 2002
Location: ATL
Posts: 170
Type 2 Indexes in V8

How to find which index is type1 and which is type2 in a v8 database that have been migrated from V7.
I know when you migrate from v7 to v8 the indexes will not be converted from type1 to type2.
Reply With Quote
  #2 (permalink)  
Old 06-04-04, 18:11
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
You can use the INSPECT Command.

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 06-07-04, 11:45
koganti koganti is offline
Registered User
 
Join Date: Jul 2002
Location: ATL
Posts: 170
what tells an Index is Type 1 or Type2
Reply With Quote
  #4 (permalink)  
Old 06-07-04, 11:50
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Did you try the inspect command ?

The output very clearly will say, among other things, whether an index is type1 or type2 ?

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 06-07-04, 13:05
koganti koganti is offline
Registered User
 
Join Date: Jul 2002
Location: ATL
Posts: 170
Thank You.
It worked !!
But i think this process involves too much of effort.
(1****n Inspect
2.Format the output)
On mainframe you can query system catalogs to find out the index is Type1 or Type2.
Iam trying to figure out similar way on UDB too
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