VSAM sees the need to perform a CI split. Since the CA has no extra CIs, it
must perform a CA split first. It formats a new cylinder at the end of the
used space with physical records. It may extend the data set first, if
necessary. Then half of the CIs from the original CA are moved to the new
CA. The index is updated appropriately. The necessary CI is split into two
approximately equal-sized CIs. The index is again updated appropriately.
The new record is inserted into the appropriate CI.

Sounds correct to me. The good news is that this process creates free space. The split CA now has lots of free CIs, so another insert into another CI in the CA does a CI split but no CA split (unless it fills up, of course). The split CIs now have free space, so inserts in the same CIs can be accomodated without splits (until the CI fills up again).

Very random inserts will cause a lot of splitting initially, but the split activity will split decrease over time as records are inserted.

The split is time-consuming, especially CA splits, but once the splits have occured, they do not cause any particular performance penalty on modern cached control units.

--
Bruce A. Black
Senior Software Developer for FDR
Innovation Data Processing 973-890-7300
personal: [EMAIL PROTECTED]
sales info: [EMAIL PROTECTED]
tech support: [EMAIL PROTECTED]
web: www.innovationdp.fdr.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to