Can anyone suggest what is the exact calculation behind the primary and secondary allocation for a flat disk file.
Suppose we decalre a space parameter like :
How the allocation will happen in this case both for Primary and secondary.
And how the RLSE work... I mean will it release only the unused primary cyllinders or the unused secondary cyllinders or both.
Joined: 06 Jun 2008 Posts: 8212 Location: Dubuque, Iowa, USA
Primary: figure out how much space you need to hold the records that are going to be put into the file. That is a good minimum primary value.
Secondary: Figure out how much growth in the record count over time there will be, or what the peak processing requires, or find some other measure to determine how much additional space is needed. Use that for the secondary.