IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Data set extent question


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
MadHadder

New User


Joined: 09 Apr 2008
Posts: 9
Location: Virginia

PostPosted: Wed May 09, 2012 6:39 pm
Reply with quote

Good morning all, I'm puzzled with something. I have a DB2 data set that keeps taking extents that are very small in size, I'm curious if the reason it is taking these extents could be due to very fragmented volumes in the pool of DASD that our DB2 files use? Would fragmented volumes cause the file to continue to take extents even if they are very small extent sizes? I'm trying to avoid hitting the max extents for this file.

Thanks
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed May 09, 2012 9:49 pm
Reply with quote

Hello,

Suggest you work with your storage management people to find space to re-allocate this data set down to a single (or few) extents.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Wed May 09, 2012 10:30 pm
Reply with quote

Will it work if we force migrate the dataset using HMIG and then HRECALL the dataset immediately, so it will be in single extent or few extent?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed May 09, 2012 11:47 pm
Reply with quote

Hello,

Suggest this only be done after DB2 has been shut down. . .
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 582
Location: London

PostPosted: Tue May 15, 2012 9:32 pm
Reply with quote

You need to check whether the DBA's have settings defined to create small secondary extents. What is the primary extent like? You could ask them about 'Sliding Secondaries' which causes DB2 to allocate increasingly large secondaries as it extends but I think that is a blanket setting.

One thing you can do is get the file deallocated and run a DFDSS COPY to move it and it will try and allocate it in one large primary extent.

It could be due to fragmentation as well but if that was the case each extent is likely to be a different size.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
No new posts Store the data for fixed length COBOL Programming 1
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top