Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
[Article]some recommendations for conserving disk space on mainframe

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
radhakrishnan82

Senior Member


Joined: 31 Mar 2005
Posts: 385
Location: chennai, India

PostPosted: Thu Oct 20, 2005 4:27 pm    Post subject: some recommendations for conserving disk space on mainframe
Reply with quote

I wish to share this info read from DB2 magazine

People often minimize the size of an "empty" partition of a tablespace by specifying a small value for the PRIQTY associated with the partition (this sets the minimum amount of space that will be allocated for a mainframe DB2 data set). If the partition has been used and purged of data, the associated PRIQTY value can be adjusted downward via the SQL statement ALTER TABLESPACE. A subsequent partition REORG will put the changed PRIQTY into effect. Alternatively, if the purge operation hasn't yet been executed, you can adjust the PRIQTY via ALTER TABLESPACE, accomplishing the purge and changing the PRIQTY value via a LOAD REPLACE utility operation run with a "dummy" input data set.

DB2 for z/OS v.8 delivered some important data partitioning enhancements, including the ability to dynamically add partitions to a tablespace, eliminating the need to predefine partitions for future use. (Partitions that are defined but not yet in use are often made small through a small PRIQTY specification on CREATE TABLESPACE.) Another enhancement makes it possible to cycle through a series of tablespace partitions, so old and purged partitions are reused for new rows corresponding to a newly used partitioning key range. So, with DB2 UDB for z/OS v.8, you can avoid adjusting PRIQTY values for partitions to save space. Simply add a new partition when it's needed (and not before); and, when an old partition is emptied, reuse it instead of leaving it empty.

hope its usefull!
Back to top
View user's profile Send private message
References
PostPosted: Thu Oct 20, 2005 4:27 pm    Post subject: Re: some recommendations for conserving disk space on mainframe Reply with quote

Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1