06.11.2014 Views

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

HP Archive Backup System for OpenVMS Guide to Operations

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Save Type - Copied from related save entry<br />

• Status - Copied from related save entry<br />

• Severity - Copied from related save entry<br />

3.2.8 Improving Catalog Per<strong>for</strong>mance<br />

3.2.8.1 Catalog File Sizes<br />

Saving and Res<strong>to</strong>ring Data<br />

3.2 Catalogs<br />

Catalog files are RMS index-sequential files and as such need regular maintenance <strong>to</strong> avoid<br />

unnecessary file growth and per<strong>for</strong>mance penalties. ABS provides a catalog conversion command<br />

procedure (“ABS$SYSTEM:ABS$CONVERT_CATALOG.COM”) that improves the target<br />

catalog update per<strong>for</strong>mance by doing a file-<strong>to</strong>-file conversion. By converting the target<br />

catalogs, you improve catalog update time.<br />

The ABS catalog files will grow as you continue <strong>to</strong> execute save requests. The sizes depend on<br />

the number of files saved and the retention period used. For as long as the retention period has<br />

not expired more entries will be added <strong>to</strong> the catalog. Once the retention period is reached the<br />

ABS_CLEAN_CATLG_ batch job will remove expired entries from the catalog.<br />

So, the more the files you save and the longer you want <strong>to</strong> maintain the archived data, the larger<br />

the catalog files size.<br />

Be sure <strong>to</strong> consider this in<strong>for</strong>mation when creating catalogs and assigning retention values <strong>to</strong><br />

your archives. It may be best <strong>to</strong> create separate catalogs <strong>for</strong> each archive, if the retention period<br />

is different. For example, you may create an archive called MONTHLY_SAVE, with a retention<br />

period of one month. Create a catalog called MONTHLY_SAVE <strong>to</strong> be used by that archive. The<br />

catalog size will grow <strong>for</strong> one month and then maintains its size.<br />

3.2.8.2 Catalog File Maintenance<br />

Run the conversion command procedure <strong>for</strong> each individual catalog on a regular basis. Catalogs<br />

with more frequent delete operations should be converted on a monthly basis. See the logfiles<br />

ABS$SYSTEM:ABS$CATALOG_CLEANUP.LOG;* <strong>for</strong> in<strong>for</strong>mation on catalog file activities.<br />

As a rule of thumb, the catalog must be converted if more than 10% of its records have been<br />

deleted.<br />

Example 3–2 Converting Catalog Files<br />

$ @ABS$SYSTEM:ABS$CONVERT_CATALOG MyCatalog<br />

This example converts all files <strong>for</strong> catalog “MyCatalog” by creating new copies of the files in the<br />

same direc<strong>to</strong>ry.<br />

For additional improvement you can also move the target catalogs <strong>to</strong> a different disk by defining<br />

a system level search list logical <strong>for</strong> ABS$CATALOG in ABS$SYSTARTUP.COM. The command<br />

procedure also allows you <strong>to</strong> move the converted files <strong>to</strong> a different disk or direc<strong>to</strong>ry.<br />

Example 3–3 Moving Catalog Files <strong>to</strong> New Location<br />

$ @ABS$SYSTEM:ABS$CONVERT_CATALOG MyCatalog DKA100:[ABS_CATALOGS]<br />

This example converts the files <strong>for</strong> catalog “MyCatalog” and places the new files in location<br />

“DKA100:[ABS_CATALOGS”. Once the files have been copied over, you can add the new<br />

location <strong>to</strong> the ABS$CATALOG search list. Rename the old catalog files <strong>to</strong> *.DAT_OLD and<br />

verify that you can lookup in<strong>for</strong>mation using the new files. Once the new catalog files are used<br />

you can delete the old files.<br />

Saving and Res<strong>to</strong>ring Data 3–9

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!