MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

When a VSAM file acquires more extents?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
Sarangadhar
Beginner


Joined: 14 Oct 2004
Posts: 130
Topics: 43
Location: virtual village

PostPosted: Tue Oct 19, 2004 11:54 am    Post subject: When a VSAM file acquires more extents? Reply with quote

Hi all,
I observed one thing while I am keeping track of VSAM allocations daily. Till Yesterday 55 extents were allocated for my VSAM file. Now it became 60; it acquired 5 more extents.

My doubt is: When VSAM file acquires more extents? Is it when all the allocated extents are used?

If so there is a conflict; till Yesterday File aid was showing 65% used space. In IDCAMS LISTCAT ALL info HI-U-RBA is nearing HI-A-RBA. Why the difference in information between IDCAMS & File-Aid. I suspect File-Aid is giving wrong used space.
Which info is correct IDCAMS or File-Aid?
_________________
Thanks
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Tue Oct 19, 2004 3:58 pm    Post subject: Reply with quote

You are seeing CA splits aquiring more extents.

Not all CA will be full depending on your FREE SPACE paremeter so both FileAid and IDCAMS are probably correct.

You can reclaim the unused free space by running a reorg (REPRO to flat file, Delete/Define the VSAM and REPRO back). Note: if this is a database VSAM then use a valid reorg utility.
Back to top
View user's profile Send private message
Sarangadhar
Beginner


Joined: 14 Oct 2004
Posts: 130
Topics: 43
Location: virtual village

PostPosted: Tue Oct 19, 2004 4:58 pm    Post subject: Reply with quote

Thanks Bithead, From your info I conclude this:
So, my VSAM file is having poor performance, right?
File aid is not considering the Unused freespace while showing used space.
It is just showing used space and Some space is lost in terms of unused free space right?
So, If we look at file-Aid used space and assumes the counterpart value as free sapce we will get misled right?
Any time free space=HIARBA-HIURBA, right?
More extents will be acquired only when the allocated extents are not having free space.

Are my conclusions are correct?
_________________
Thanks
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Wed Oct 20, 2004 9:37 am    Post subject: Reply with quote

I am no VSAM expert but I will give it a shot..

"my VSAM file is having poor performance, right? "

Not necessarily - performance may be OK, but you may have more free space that you need based on the rate that extents are being acquired and FileAid's analysis of usage. You should also determine how much space is unuseable based on CISIZE and RECORDSIZE.

"File aid is not considering the Unused freespace while showing used space. "

FileAid is show used space as a percentage of the total allocated volume. Used space would include data as well as CA and CI control data.

"It is just showing used space and Some space is lost in terms of unused free space right?"

The free space may not be lost, it may just be unused at this time.

"So, If we look at file-Aid used space and assumes the counterpart value as free sapce we will get misled right?"

It is a good indicator but you should do a full analysis of the file.

"Any time free space=HIARBA-HIURBA, right?"

Looking at the High RBAs is not necessarily a good indicator of the spave usage,

"More extents will be acquired only when the allocated extents are not having free space"

More Extents are acquired when a split is required but no space is available.
Back to top
View user's profile Send private message
Sarangadhar
Beginner


Joined: 14 Oct 2004
Posts: 130
Topics: 43
Location: virtual village

PostPosted: Wed Oct 20, 2004 9:57 am    Post subject: Reply with quote

Thanks Bithead, U gave me info.
So, HI-U-RBA Gives the total Used space and the freespace that can not be used (Space that can not be used from this point).

How can we assess free space that can be used?
_________________
Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group