Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Partition contains no data, but takes up space. Why?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Mon Jun 27, 2011 12:19 pm    Post subject: Partition contains no data, but takes up space. Why?
Reply with quote

Below is the space status of my partitioned tablespace, which has been defined as 22 partitions.
Code:
Command ===>                                                  Scroll ===> CSR
                                                                             
Command - Enter "/" to select action                  Tracks %Used XT  Device
-----------------------------------------------------------------------------
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A001     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A002     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A003     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A004     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A005     12510    ?   1  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A006     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A007     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A008     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A009     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A010     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A011     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A012     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A013     12510    ?   2  3390 
         CATA01.DSNDBD.TESTDB01.TBEMPC.I0001.A014     12510    ?   2  3390 


when I unload data from partition 6, I found the partition contains no data. In other words, only partition 1-5 contain data.
I do not understand since partition 6 to 22 contain no data, why it takes as much space (12510 tracks) as the first 5 partitions?[/quote]
Back to top
View user's profile Send private message

gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Mon Jun 27, 2011 2:42 pm    Post subject:
Reply with quote

May be the pertitions were containing some data initially and now it has been deleted. Try running a reorg and then check the space.
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1281
Location: Belgium

PostPosted: Mon Jun 27, 2011 2:44 pm    Post subject:
Reply with quote

PRIQTY
Back to top
View user's profile Send private message
dejunzhu

Active User


Joined: 08 May 2008
Posts: 390
Location: China

PostPosted: Tue Jun 28, 2011 6:06 am    Post subject:
Reply with quote

GuyC wrote:
PRIQTY


I use the same PRIQTY and SECQTY for the whole tablespace, but why all partitions except the 5th partition all have extention number 2?

by the way, below is part of the definition:
Code:
PRIQTY 600000   
SECQTY 60000   
.

I'm using the virtual host environment instead of a real host.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Tue Jun 28, 2011 9:39 am    Post subject: Reply to: Partition contains no data, but takes up space. Wh
Reply with quote

Quote:
but why all partitions except the 5th partition all have extention number 2?


after so much time You should know that the correct term is EXTENT
the number of extents is related only to the fragmentation status of the volume ( amount of space available in contiguous EXTENTS )

once You ask a certain amount of space You might get it in a single extent or multiple extents
nothing You can do about it, and not a symptom of malfunction in se.

Quote:
I'm using the virtual host environment instead of a real host.

apart the foggy meaning of the sentence how does that relate to the dasd extents allocated to a dataset?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts The TS7720 is out of cache space. Rex Montemayor All Other Mainframe Topics 2 Mon Sep 25, 2017 7:18 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us