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 > Diff. pagesizes for data & index?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-22-09, 05:30
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Diff. pagesizes for data & index?

I've been playing on my testmachines and I found (to my surprise) that db2 (v9.5 on w3k) allows to create a table in a tablespace (8K size) with the index in another tablespace using a 4K pagesize!

I wonder:
- would that be usefull
- is there anybody out there using diff. pagesizes for data/index/long tablespaces?

Just curious.
Reply With Quote
  #2 (permalink)  
Old 04-22-09, 09:47
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
That has always been the case if the tablespace for the indexes is specified for in the Create Table statement (DMS only).

I use different page sizes for table and indexes frequently, but not always.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 04-23-09, 07:18
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
Yeah, and when the data and index part of a table reside in the same pagesize, they do not have to share the same tablespace/bufferpool right?
Configuring a "prefetch enabeled" tablespace can be usefull for data, but not very much for indexes, especially the primary key!
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