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 > creating cluster index on windows...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-30-08, 05:42
genmado genmado is offline
Registered User
 
Join Date: Mar 2008
Posts: 2
creating cluster index on windows...

hi all,i used to create cluster indexes on partitioned tablespaces on Z\Os with a limit key for each partition...
but when i tried to create a cluster index on db2 on windows v8.2 on a non partitioned table space, i found that when creating the cluster index there is no option for determining the limit key for the clustering index...

What i'm asking about is how the clustering index on windows arranges data on the indexing column without assigning limit keys for that column....

I really appreciate your reply...
Thank you all...
Reply With Quote
  #2 (permalink)  
Old 03-30-08, 10:07
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
What would be the meaning of the limit key, if your tablespace is not partitioned?
Reply With Quote
  #3 (permalink)  
Old 03-30-08, 13:37
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Do you mean a "partitioning index" in DB2 z/OS? Because "cluster indexes" are the same in DB2 LUW and DB2 z/OS, and the limit key applies to partitioning indexes in DB2 z/OS. http://publib.boulder.ibm.com/infoce...ingindexes.htm

Regarding partitioning indexes, we have the following situation in the two DB2 products:

DB2 z/OS: A partitioning index is used to determine how the range partitioning is done in a partitioned table. (Btw, you should use the respective clauses in the CREATE/ALTER TABLE statements instead of a partitioned index in newer DB2 z/OS versions.)

DB2 LUW: There is no partitioning index. Partitioning rows is done based on the specification in the CREATE/ALTER TABLE statement where you define the different ranges. (Putting this kind of information on an index is not intuitive anyway.) Furthermore, you have hash-partitioning for database partitions, and you can use range-partitioning at a table level (orthogonal to database partitioning).
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #4 (permalink)  
Old 03-31-08, 18:06
genmado genmado is offline
Registered User
 
Join Date: Mar 2008
Posts: 2
Thank you very much for uour reply...
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