Table level database restore in a data storage system
First Claim
1. A method of storing database tables in secondary storage of a data storage system, comprising:
- using one or more computing devices comprising computer hardware;
copying data associated with a database application, residing on one or more primary storage devices in a primary storage subsystem, to one or more secondary storage devices in a secondary storage subsystem during a secondary storage operation in order to create a secondary copy of the data associated with the database application, the database application installed on one or more client computing devices comprising computer hardware and in communication with the primary storage subsystem,wherein the data associated with the database application comprises data corresponding to a database comprising a plurality of database tables, the plurality of database tables including at least a first table and a second table; and
during the secondary storage operation;
determining a first set of database tables referenced by the first table from the plurality of database tables;
packaging (i) information for restoring the first table and (ii) information for restoring the first set of database tables referenced by the first table, together in a first table metadata index specific to the first table for use in restoring the first table such that the first table can be restored without restoring all of the plurality of database tables or accessing other metadata indices, thereby allowing a more efficient and quicker restore of the first table;
determining a second set of database tables referenced by the second table from the plurality of database tables;
packaging (i) information for restoring the second table and (ii) information for restoring the second set of database tables referenced by the second table, together in a second table metadata index specific to the second table and separate from the first table metadata index for use in restoring the second table such that the second table can be restored without restoring the first table or accessing the first table metadata index, thereby allowing a more efficient and quicker restore of the second table; and
storing the first table metadata index and the second metadata index on the one or more secondary storage devices, or in a data structure associated with one or more media agents comprising computer hardware, or in a data structure associated with one or more storage managers comprising computer hardware.
4 Assignments
0 Petitions
Accused Products
Abstract
The data storage system according to certain aspects can implement table level database restore. Table level database restore may refer to restoring a database table and its related data without restoring the entire database. The data storage system may use table metadata index to implement table level restore. A table metadata index may be created for each table, e.g., during a backup of the database. The table metadata index for a table can include any type of information for restoring the table and its related data. Some examples of the type of information included in the table metadata index include the following: container for the table, table backup location, system data, table index, table relationships, etc. Table metadata index can make the restoring of tables fast and efficient by packaging information that can be used to restore a table and its related data in an easily accessible manner.
180 Citations
20 Claims
-
1. A method of storing database tables in secondary storage of a data storage system, comprising:
using one or more computing devices comprising computer hardware; copying data associated with a database application, residing on one or more primary storage devices in a primary storage subsystem, to one or more secondary storage devices in a secondary storage subsystem during a secondary storage operation in order to create a secondary copy of the data associated with the database application, the database application installed on one or more client computing devices comprising computer hardware and in communication with the primary storage subsystem, wherein the data associated with the database application comprises data corresponding to a database comprising a plurality of database tables, the plurality of database tables including at least a first table and a second table; and during the secondary storage operation; determining a first set of database tables referenced by the first table from the plurality of database tables; packaging (i) information for restoring the first table and (ii) information for restoring the first set of database tables referenced by the first table, together in a first table metadata index specific to the first table for use in restoring the first table such that the first table can be restored without restoring all of the plurality of database tables or accessing other metadata indices, thereby allowing a more efficient and quicker restore of the first table; determining a second set of database tables referenced by the second table from the plurality of database tables; packaging (i) information for restoring the second table and (ii) information for restoring the second set of database tables referenced by the second table, together in a second table metadata index specific to the second table and separate from the first table metadata index for use in restoring the second table such that the second table can be restored without restoring the first table or accessing the first table metadata index, thereby allowing a more efficient and quicker restore of the second table; and storing the first table metadata index and the second metadata index on the one or more secondary storage devices, or in a data structure associated with one or more media agents comprising computer hardware, or in a data structure associated with one or more storage managers comprising computer hardware. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
14. A data storage system for storing database tables, comprising:
one or more computing devices comprising computer hardware and configured to; copy data associated with a database application, residing on one or more primary storage devices in a primary storage subsystem to one or more secondary storage devices in a secondary storage subsystem during a secondary storage operation in order to create a secondary copy of the data associated with the database application, the database application installed on one more client computing devices comprising computer hardware and in communication with the primary storage subsystem, wherein the data associated with the database application comprises data corresponding to a database comprising a plurality of database tables, the plurality of database tables including at least a first table and a second table; and during the secondary storage operation; determine a first set of database tables referenced by the first table from the plurality of database tables; package (i) information for restoring the first table and (ii) information for restoring the first set of database tables referenced by the first table, together in a first table metadata index specific to the first table for use in restoring the first table such that the first table can be restored without restoring all of the plurality of database tables or accessing other metadata indices, thereby allowing a more efficient and quicker restore of the first table; determine a second set of database tables referenced by the second table from the plurality of database tables; package (i) information for restoring the second table and (ii) information for restoring the second set of database tables referenced by the second table, together in a second table metadata index specific to the second table and separate from the first table metadata index for use in restoring the second table such that the second table can be restored without restoring the first table or accessing the first table metadata index, thereby allowing a more efficient and quicker restore of the second table; and store the first table metadata index and the second metadata index on the one or more secondary storage devices, or in a data structure associated with one or more media agents comprising computer hardware, or in a data structure associated with one or more storage managers comprising computer hardware. - View Dependent Claims (15, 16, 17, 18, 19, 20)
Specification