How a control interval split happens?

Virtual Storage Access method - ESDS, KSDS, RRDS & LDS. Basic direct access method, Basic sequential -, Queued sequential -, Basic partitioned -, Indexed sequential -, Object - access method.
Post Reply
Shahid
Registered Member
Posts: 47
Joined: Sun Aug 25, 2013 1:00 am

How a control interval split happens?

Post by Shahid »

hello,

I'm trying to understand how a control interval split occurs? When a CI is full with records, what happens when record with key 150 is inserted?

I searched it on google and there are references about VSAM demystified which I've downloaded but for novice like me it's tough to understand it. Can someone please assist me in understanding this concept about CI splits? And are they good or bad?

Your help is appreciated.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: How a control interval split happens?

Post by Robert Sample »

VSAM will access a free CI in the CA, move half the records from the full CI to the new CI, and then add the record being inserted. If there are no free CI in the CA, then VSAM will do a CA split and move half the CI to the new CA.

CI and CA splits used to be worse than they are now. As disks have gotten faster, the impact of CI splits has lessened. They are not really good, but neither are they bad any more -- if they get excessive, the VSAM file might be unloaded, deleted, defined, and reloaded but that typically is an application decision.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.”