dbTalk Databases Forums  

how structure of the rid?

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss how structure of the rid? in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ninth
 
Posts: n/a

Default how structure of the rid? - 08-18-2010 , 03:52 AM






hello:
in db2 v9,how structure of the rid?
in db2 v9.7,how structure of the rid?
in db2 v9,if the page is 32k,the limit of tablespace is 16T,why in db2 v9.7,is 64T?
thank you!

Reply With Quote
  #2  
Old   
Serge Rielau
 
Posts: n/a

Default Re: how structure of the rid? - 08-21-2010 , 10:43 AM






On 8/18/2010 4:52 AM, ninth wrote:
Quote:
hello:
in db2 v9,how structure of the rid?
in db2 v9.7,how structure of the rid?
in db2 v9,if the page is 32k,the limit of tablespace is 16T,why in db2 v9.7,is 64T?
thank you!


A RID in Db2 9.1 was 6 bytes minus 2 bits
In 9.7 these two bits have been incorporated into the tablespace size.
Hence the 4 fold increase.

--
Serge Rielau
SQL Architect DB2 for LUW
IBM Toronto Lab

Reply With Quote
  #3  
Old   
Helmut Tessarek
 
Posts: n/a

Default Re: how structure of the rid? - 08-22-2010 , 01:19 PM



Quote:
A RID in Db2 9.1 was 6 bytes minus 2 bits
In 9.7 these two bits have been incorporated into the tablespace size. Hence
the 4 fold increase.
4 bytes for the page number
2 bytes for the slot number

The 2 extra bits were available in the 4 bytes for the page number.

--
Helmut K. C. Tessarek
DB2 Performance and Development

/*
Thou shalt not follow the NULL pointer for chaos and madness
await thee at its end.
*/

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.