Method of identifying DB2 objects to be recovered from an unavailable DASD volume without need to access the DASD volume itself and without need for pre-failure preparation
First Claim
1. A machine-executed method of identifying one or more DB2 database objects stored on an unavailable DASD volume and associated with a specified DB2 subsystem, wherein information about said one or more DB2 database objects is stored in an MVS catalog structure storage and in a DB2 catalog structure storage, said method comprising:
- (a) searching said MVS catalog structure storage and said DB2 catalog structure storage for one or more descriptors that conform to a DB2 naming convention for physical DB2 datasets, each said descriptor corresponding to a logical DB2 object and being referred to as a fully-qualified descriptor, thereby producing a list of said fully-qualified descriptors; and
(b) successively filtering said list of fully-qualified descriptors to create, in a storage, a list of identifiers corresponding to logical DB2 objects associated with said specified DB2 subsystem, said list of identifiers being referred to as a recovery list.
9 Assignments
0 Petitions
Accused Products
Abstract
A computer performing a method in accordance with the invention receives from an end-user identifier(s) for one or more damaged (or otherwise unavailable) DASD volumes, and, optionally, an identifier for one or more DB2 subsystems. By searching and correlating DB2 and MVS data resources not residing on the damaged volume(s), the computer determines which object(s) on the specified damaged volume(s) are DB2 objects, and which DB2 subsystem(s) own each of these DB2 objects. A list of recoverable DB2 objects is created, and, optionally, provided to a recovery utility program for the purpose of facilitating recovery. The method permits identification of recoverable DB2 objects without needing access to the damaged or unavailable volumes, either before or after the volume failure, thereby advantageously enabling recovery methods after a volume failure has occurred.
28 Citations
14 Claims
-
1. A machine-executed method of identifying one or more DB2 database objects stored on an unavailable DASD volume and associated with a specified DB2 subsystem, wherein information about said one or more DB2 database objects is stored in an MVS catalog structure storage and in a DB2 catalog structure storage, said method comprising:
-
(a) searching said MVS catalog structure storage and said DB2 catalog structure storage for one or more descriptors that conform to a DB2 naming convention for physical DB2 datasets, each said descriptor corresponding to a logical DB2 object and being referred to as a fully-qualified descriptor, thereby producing a list of said fully-qualified descriptors; and (b) successively filtering said list of fully-qualified descriptors to create, in a storage, a list of identifiers corresponding to logical DB2 objects associated with said specified DB2 subsystem, said list of identifiers being referred to as a recovery list. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 14)
-
-
11. A machine-executed method of identifying for recovery one or more DB2 database objects associated with a specified DB2 subsystem, said one or more DB2 database objects stored on an unavailable DASD volume specified for recovery, wherein information pertaining to said one or more DB2 database objects is stored and accessible in an MVS catalog structure storage and in a DB2 catalog structure storage, said method comprising:
-
(a) searching said MVS catalog structure storage for all physical dataset names matching a search-target prefix; (b) building a list of all physical dataset names having a volume identifier matching the volume identifier for said unavailable DASD volume; (c) filtering said list of all physical dataset names to include only those dataset names conforming to a standard DB2 dataset naming convention, each said physical dataset name contained in said list being referred to as a candidate object; (d) searching said DB2 catalog structure storage to identify the DB2 subsystem owning each said candidate object; (e) eliminating from said list of all physical dataset names each said candidate object that is not a table space and not an index; (f) eliminating from said list of all physical dataset names each said candidate object that is determined to be a table space that does not have a corresponding match in the SYSIBM.SYSTABLEPART table; (g) eliminating from said list of all physical dataset names each said candidate object that is determined to be an index that does not have a corresponding match in the SYSIBM.SYSINDEXPART table; and (h) eliminating from said list of all physical dataset names any duplicates of each said candidate object that is determined to be an index, the existence of said duplicates indicated by the unavailability of dataset-level recovery of said index. - View Dependent Claims (12, 13)
-
Specification