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 > Index compression in DB2 OS/390

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-08, 18:26
linakichi linakichi is offline
Registered User
 
Join Date: Aug 2008
Posts: 45
Index compression in DB2 OS/390

Hi all,

I'm currently studying various kinds of compression in several databases, and I kinda confused in index compression at DB2 OS/390 version 9.5, it supposed to use a "key map" to replace dictionary, right ? But actually what happened in the process ?

In my imagination, if there is 4 similar rows, 3 of them would be eradicated and the last one will be the key to expand the other 3 when needed, so, what does the key map do ???
Reply With Quote
  #2 (permalink)  
Old 12-03-08, 04:20
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
Are you sure INDEX can be COMPRESSED in V9.5 in OS/390? In LUW, it's not possible.
__________________

Jayanta Datta
DB2 UDB DBA
IBM India, Global Delivery
New Delhi
Reply With Quote
  #3 (permalink)  
Old 12-03-08, 12:12
tonkuma tonkuma is offline
Registered User
 
Join Date: Feb 2008
Location: Japan
Posts: 2,193
I searched IBM Redbooks
http://www.redbooks.ibm.com/
with keywords '"DB2 9" AND z/OS', then I got some interesting documents.

14 results in Redbooks, Redpapers, Drafts and Technotes
http://www.redbooks.ibm.com/cgi-bin/searchsite.cgi?query="DB2+9"+AND+z/OS

, especcialy I was interested in
Index Compression with DB2 9 for z/OS
http://www.redbooks.ibm.com/abstract...4345.html?Open
Reply With Quote
  #4 (permalink)  
Old 12-03-08, 18:00
Peter.Vanroose Peter.Vanroose is offline
Registered User
 
Join Date: Sep 2004
Location: Belgium
Posts: 1,079
Quote:
Originally Posted by JAYANTA_DATTA
Are you sure INDEX can be COMPRESSED in V9.5 in OS/390? In LUW, it's not possible.
Yes, it can. Actually, compression is only applied to the leaf pages, and it uses a fixed algorithm, i.e., one that does not depend on a compression dictionary. (Or stated otherwise, it depends on a single, fixed, built-in dictionary.)
After compression, the leaf pages must have been reduced to (less than) 4K, which was the (uncompressed) index page size limit in older versions of DB2 for z/OS. Through compression, the actual, uncompressed size of the leaf pages can now be 8K, 16K or 32K.
__________________
--_Peter Vanroose,
__IBM Certified Database Administrator, DB2 9 for z/OS
__IBM Certified Application Developer
__ABIS Training and Consulting
__http://www.abis.be/
Reply With Quote
  #5 (permalink)  
Old 12-04-08, 03:40
JAYANTA_DATTA JAYANTA_DATTA is offline
Registered User
 
Join Date: Oct 2004
Location: DELHI INDIA
Posts: 336
Thanks Peter. Never worked on DB2 Z/OS, but great to know that stuff about Index-Compression.
__________________

Jayanta Datta
DB2 UDB DBA
IBM India, Global Delivery
New Delhi
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