View previous topic :: View next topic
|
Author |
Message |
coria
New User
Joined: 09 Oct 2006 Posts: 36
|
|
|
|
Hi all, I have several questions:
1, why an IMS databse is always split into different splits, say for a database SS, it is split into SS01, SS02,...
- I guess this is for faster access and effective management, right?
2, Need a simple description about how storage is management in IMS databse, say if i want to add some records into my IMS databse, but the storage is not sufficient at that time, what will happen?
- For a database have split as SS01, SS02 and SS03, does there exist a concept as like: SS01 split is "full"? I mean is there a time when i can not add my records into a specific split when this split is "Full" ?
3, in PSB we define DBDNAME as SS01, or SS02..., how the split is mapped to its actual file?
thank u all guys |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Quote: |
why an IMS databse is always split into different splits |
This is not Always. It depends on database setup.
Quote: |
faster access and effective management, right? |
This is correct, and done mostly if the database is very huge in size.
Normally the database is split based on key range, so when inserting new segment identifies correct split and inserts.
If there is no space then there will be error. |
|
Back to top |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
Treat them as entirely separate databases. When they were split, they were split because of faster access because they were big. You need to know what the key value ranges are for each database. You will then decide where to insert based on that range. Don't forget that you will define them as separate databases in your PSB, PCBs, and linkage. You will need separate subroutines for each. |
|
Back to top |
|
|
|