Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10276
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 Paasing symbolic parameter to instrea... Anirudh Anand JCL & VSAM 0 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 8 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us