Object storage databases
- Descriptive information about objects
- Actual data for the objects stored at the Db2 sublevel of the OAM storage hierarchy
- An object directory table (contains descriptive information about objects)
- A 4 KB table (contains the data for small objects)
- A 32 KB table (contains the data for larger objects up to 256M)
- A LOB base table (resembles the 32 KB table with the addition of a ROWID column and changing the OTOBJ column datatype from 'long varchar' to BLOB.
- A LOB auxiliary table (contains the actual BLOB object represented by the OTOBJ column in the LOB base table).
| Database Name — hlq | ||
|---|---|---|
| Table Name | Table Space Name | Contents |
| hlq.OSM_OBJ_DIR | OSMDTS | Object directory |
| hlq.OSM_04 KB_OBJ_TBL | OSMOTS04 | Small objects |
| hlq.OSM_32 KB_OBJ_TBL | OSMOTS32 | Large objects (LOB support enabled) |
| hlq.OSM_LOB_BASE_TBL | OSMLBTS | LOB base table |
| hlq.OSM_LOB_AUX_TBL | OTLOBAX1 | Large objects (LOB support enabled) |
Sample programs that define these databases and tables are shipped with OAM. You must update these programs to meet the requirements of your installation before they are run.
The tables defined by the storage administrator will not be used by OAM unless they are related to an Object storage group through the services of ISMF. This relationship results in the definition of the DASD level of the OAM hierarchy for the specified Object storage group, and the object directory for all levels of the object storage hierarchy in that storage group. (See Figure 1.)
The object directory table from each three-table set contains an entry for each object stored in an Object storage group. The object itself might exist in one of the object storage tables on DASD or it might exist on optical disk or tape.
Table indexes are necessary for performance. Within an Object storage group, the directory table has three indexes, and each object storage table has a single index. All indexes are unique. Indexes are searched in ascending sequence (ASC).
For the sample jobs CBRIALC0 and CBRISQL0, see Sample library members.
