Low-overhead relational database backup and restore operations
First Claim
Patent Images
1. A relational database copy method, comprising:
- identifying a plurality of tablespaces in a relational database;
gaining access to an output file;
obtaining information from each identified tablespace;
writing the information obtained from each of the identified tablespaces to the output file, one tablespace at a time;
relinquishing access to the output file; and
updating a catalog file to reflect information from the plurality of tablespaces has been written to the output file.
3 Assignments
0 Petitions
Accused Products
Abstract
A low-overhead relational database backup operation includes creating a single output file object in which a plurality of database tablespaces are stored. The number of tablespaces may be arbitrarily large. Because multiple output file objects are not created, the backup operation eliminates the overhead associated with allocating, opening, deallocating and closing multiple output file objects. Where the number of tablespaces is large, this reduced overhead processing can significantly the speed of backup operations.
42 Citations
32 Claims
-
1. A relational database copy method, comprising:
-
identifying a plurality of tablespaces in a relational database;
gaining access to an output file;
obtaining information from each identified tablespace;
writing the information obtained from each of the identified tablespaces to the output file, one tablespace at a time;
relinquishing access to the output file; and
updating a catalog file to reflect information from the plurality of tablespaces has been written to the output file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A database method, comprising:
-
gaining access to an output file;
obtaining information associated with a plurality of objects in a database;
storing the information obtained from each of the plurality of objects in the output file, wherein all data associated with a first object is written to the output file before data associated with a second object is written to the output file;
relinquishing access to the output file; and
updating a catalog file to reflect information from the plurality of objects has been written to the output file. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
-
16. A relational database backup method, comprising:
-
allocating an output file;
obtaining data associated with a tablespace;
writing the data to the output file;
repeating the acts of obtaining and writing for at least one additional tablespace; and
deallocating the output file. - View Dependent Claims (17, 18, 19, 20, 21, 22)
-
-
23. A relational database copy method, comprising:
-
allocating an output file on a magnetic tape storage device;
opening the output file;
obtaining data stored in at least two tablespaces in a relational database;
writing the data obtained from each tablespace to the output file, one tablespace at a time;
closing the output file;
deallocating the output file; and
updating a catalog file to reflect information from the plurality of tablespaces has been written to the output file. - View Dependent Claims (24, 25)
-
-
26. A computer database system, comprising:
-
memory;
a storage device operatively coupled to the memory, said storage device having stored thereon data associated tablespaces, said tablespaces comprising a relational database;
a backup media device operatively coupled to the memory; and
a central processing unit operatively coupled to the memory, storage device and backup media device, said central processing unit adapted to execute instructions to;
identify a first plurality of tablespaces in the relational database, acquire access to an output file on the backup media device, obtain data from two or more of the first plurality of tablespaces, write the obtained data to the output file, one tablespace at a time, relinquish access to the output file, and update a catalog file on the storage device to reflect data from the two or more tablespaces has been written to the output file. - View Dependent Claims (27, 28, 29)
-
-
30. A relational database restore operation, comprising:
-
identifying a plurality of tablespaces to be restored;
identifying a backup file, said backup file including data associated for all of the identified tablespaces;
restoring each of the identified tablespaces form the backup file. - View Dependent Claims (31, 32)
-
Specification