WO2005086032A1 - Database data recovery system and method - Google Patents

Database data recovery system and method Download PDF

Info

Publication number
WO2005086032A1
WO2005086032A1 PCT/US2004/024048 US2004024048W WO2005086032A1 WO 2005086032 A1 WO2005086032 A1 WO 2005086032A1 US 2004024048 W US2004024048 W US 2004024048W WO 2005086032 A1 WO2005086032 A1 WO 2005086032A1
Authority
WO
WIPO (PCT)
Prior art keywords
database
snapshot
data
page
source
Prior art date
Application number
PCT/US2004/024048
Other languages
French (fr)
Inventor
Michael J. Zwilling
Gregory A. Smith
Rajeev B. Rajan
Jakub Kulesza
Peter Byrne
Shashikant B. Khandelwal
Mark S. Wistrom
Original Assignee
Microsoft Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microsoft Corporation filed Critical Microsoft Corporation
Priority to KR1020057012010A priority Critical patent/KR101086116B1/en
Priority to AT04779217T priority patent/ATE463797T1/en
Priority to JP2007500740A priority patent/JP4638905B2/en
Priority to DE602004026422T priority patent/DE602004026422D1/en
Priority to EP04779217A priority patent/EP1602042B1/en
Priority to CN200480001706.4A priority patent/CN1784676B/en
Publication of WO2005086032A1 publication Critical patent/WO2005086032A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2097Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements maintaining the standby controller/processing unit updated
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1471Saving, restoring, recovering or retrying involving logging of persistent data for recovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/80Database-specific techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/82Solving problems relating to consistency
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/84Using snapshots, i.e. a logical point-in-time copy of the data

Definitions

  • the present invention relates generally to databases and more particularly toward database restoration technologies.
  • Databases store large quantities of information in such a manner so as to facilitate expeditious querying and ease of use.
  • information can be organized as objects such as records, tables and indexes.
  • Database engines provide a mechanism to retrieve and manipulate data from database tables upon specification of a query by a user.
  • a query is typically expressed in some query language such as Structured Query Language (SQL).
  • SQL Structured Query Language
  • a query can specify one or more tables as well as rows and columns therein to be retrieved and otherwise manipulated.
  • the database engine retrieves data, performs any specified operations and produces a results table.
  • Databases are popular and useful at least in part because of their ability to store large amounts of data, which can be efficiently retrieved and manipulated by simply specifying a query.
  • user errors are a common problem in database systems. Usually, such errors occur when a database application or a user changes or deletes data by mistake and the database system correctly follows the command and promptly changes or deletes data. This is referred to in the art as the quick finger delete problem. For example, a user could issue a command to delete a table and forget to specify the "WHERE" clause causing more data to be deleted than intended. Additionally, a user may install a new application that modifies a database in a manner unbeknownst to the user. There are several conventional solutions to this problem.
  • log shipping involves keeping a coping of the database on another secondary server in a restore state, but at a constant delay behind the original server. Log backups are applied to the secondary database only after a delay (e.g., 24 hours).
  • the subject invention relates to creation of and employment of a database snapshot.
  • the invention mitigates problems associated with restoring a database, which takes time and is generally an option of last resort as well as log shipping which typically requires additional hardware and adds complexity to the database system. Reverting to a database snapshot alleviates some of these problems.
  • a database snapshot is a database that looks like a read only, point in time copy of another (source) database.
  • the DBSS is not necessarily a complete copy of the source database; the two databases share data that is common to both, which makes the DBSS quick to create and space efficient.
  • the original data is copied to space efficient storage for use by the DBSS to maintain its point in time view of the source database. If a user error occurs on the source database and a DBSS has been created before the error, then the database administrator has the option to revert the entire database back to the DBSS, which is at a point in time before the user error. All changes to the source database, including the user error, are lost.
  • reversion to a database snapshot can comprise copying database snapshot file pages over a source or primary database, truncating a primary database, applying open uncommitted transactions to the database, and utilizing database logs to converge upon an event such as a user error.
  • a user or database administrator can create one or more database snapshots at various points in time. For example, if a user is going to be performing testing he/she could create a database snapshot to enable reversion to a previous database state or view.
  • a monitor component can be employed to monitor a primary database and automatically create database snapshots upon certain happenings. For example, if the monitor detects or is able to infer that a new application is about to be installed it can initiate creation of a database snapshot to preserve the state of the database prior to alterations by the new application.
  • a mirror database can be automatically updated to reflect changes made to a primary database upon reversion. Hence, a mirror database can be updated and synchronized without utilizing a lengthy full restore as is conventionally done.
  • Fig. 1 is a schematic block diagram of a data restoration system in accordance with an aspect of the subject invention.
  • Fig. 2 is a schematic block diagram of a restore component in accordance with an aspect of the present invention.
  • Fig. 3 illustrates a timeline diagram to illustrate various aspects of the subject invention.
  • Fig. 4 is a schematic block diagram of a database snapshot system in accordance with an aspect of the subject invention.
  • Fig. 5 is a diagram illustrating an exemplary database restore in accordance with an aspect of the present invention.
  • Fig. 1 is a schematic block diagram of a data restoration system in accordance with an aspect of the subject invention.
  • Fig. 2 is a schematic block diagram of a restore component in accordance with an aspect of the present invention.
  • Fig. 3 illustrates a timeline diagram to illustrate various aspects of the subject invention.
  • Fig. 4 is a schematic block diagram of a database snapshot system in accordance with an aspect of the subject invention.
  • Fig. 5 is a diagram illustrating an
  • FIG. 6 is a schematic block diagram of an exemplary database mirroring system in accordance with an aspect of the subject invention.
  • Fig. 7 is a schematic block diagram of an exemplary mirroring system in accordance with an aspect of the present invention.
  • Fig. 8 is a schematic block diagram of a primary database in accordance with an aspect of the subject invention.
  • Fig. 9 is a schematic block diagram of a database snapshot system in accordance with an aspect of the present invention.
  • Fig. 10 is a schematic block diagram of an exemplary transaction log in accordance with an aspect of the subject invention.
  • Fig. 11 is a flow chart diagram depicting a method of establishing a snapshot database in accordance with an aspect of the subject invention.
  • Fig. 11 is a flow chart diagram depicting a method of establishing a snapshot database in accordance with an aspect of the subject invention.
  • FIG. 12 is a flow chart diagram illustrating a restoration methodology in accordance with an aspect of the present invention.
  • Fig. 13 is a flow chart diagram of a data restoration methodology in accordance with an aspect of the subject invention.
  • Fig. 14 is a schematic block diagram illustrating a suitable operating environment in accordance with an aspect of the present invention.
  • Fig. 15 is a schematic block diagram of a sample-computing environment with which the present invention can interact.
  • a component and “system” are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution.
  • a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer.
  • both an application running on a server and the server can be a component.
  • One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers.
  • the present invention may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof.
  • article of manufacture (or alternatively, “computer program product”) as used herein is intended to encompass a computer program accessible from any computer- readable device, carrier, or media.
  • a computer readable media can include but are not limited to magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips%), optical disks (e.g., compact disk (CD), digital versatile disk (DVD)%), smart cards, and flash memory devices (e.g., card, stick).
  • magnetic storage devices e.g., hard disk, floppy disk, magnetic strips
  • optical disks e.g., compact disk (CD), digital versatile disk (DVD)
  • smart cards e.g., card, stick
  • Data restoration system 100 comprises a source database 110, snapshot component 120, a snapshot database 130, and a restore component 140.
  • Source database 110 (also referred to hereinafter as primary database) houses large quantities of data in an organized manner so as to facilitate queries and other uses.
  • Database 110 can be any kind of database including but not limited to a relational or multidimensional database.
  • Snapshot component 120 generates a snapshot database(s) 130 (also referred to herein as DBSS for database snapshot) based in part on the source database.
  • the snapshot database(s) 130 allow users to create a transaction consistent view of an existing source database 110 without making a complete copy thereof.
  • the snapshot component 120 ensures that the snapshot database 130 obtains a copy of the data before it is modified, for instance, in page units.
  • the snapshot database 130 can be a read only point in time copy of a source database 110.
  • the DBSS is not necessarily a complete copy of the source database 110.
  • the two databases can share data that is common to both, which makes the DBSS quick to create as well as space efficient.
  • the original data can be copied to space efficient storage for use by the DBSS to maintain its point in time view of the source database 110.
  • the snapshot database 130 can be transient or persistent. Transient snapshots are internal volatile copies that are destroyed after crash, failure, or shutdown. Persistent snapshots are public copies that can be more securely kept on a storage device for use by other applications.
  • Restore component 140 utilizes the snapshot database 130 to restore the source database 110 to a point in time prior to an event.
  • the event can correspond to a user error such as a quick finger delete where a user accidentally deletes data from the source table.
  • an event can correspond to a system crash, lock up, or any other situation or scenario in which data is otherwise lost or manipulated.
  • a database administrator has the option of employing the restore component 140 to revert the entire source database 110 back to the snapshot database 130, which is at a point in time before the event.
  • the restore component 140 can utilize the data residing in snapshot database 130 to restore the source database 110 to a previous point in time before the event.
  • the snapshot database data can be written over the current source database values at corresponding locations.
  • Fig. 2 depicts a restore component 140 in accordance with an aspect of the subject invention.
  • restore component comprises a revert component 210 and an undo component 220.
  • the revert component 210 provides the main functionality in a restore according to the present invention, while the undo component 220 facilities fine grained restoration which converges upon an event such ' as an error.
  • the revert component 210 can restore a source database to a time prior to the event utilizing the sparse files in the database snapshot.
  • the data files or pages that have been changed after the creation of a snapshot can be returned to their state at the time of the snapshot by copying the old values stored in the snapshot database to the source database. This results in data loss including an error, for instance, from the 1 time the snapshot was created until the revert operation.
  • the undo component 220 can be employed, among other things, to compensate for this inaccurate representation upon reversion.
  • the undo component 220 can store all open transactions at the time of snapshot database creation, which includes all transactions that began before the creation of the snapshot and terminated thereafter. These stored transactions can subsequently be utilized to roll forward the restored primary database to capture the open transactions and converge upon a restoration event.
  • the undo component 220 can utilized conventional database logs that capture database changes at periodic intervals or upon the command of an administrator to converge even closer to an event such as an error thereby minimizing the loss of "good" transactions. Accordingly, the present invention facilitates database recovery at least as well as can conventionally be accomplished but at a much faster speed utilizing less system resources. Turning to Fig.
  • a timeline 300 is illustrated to further provide clarity concerning the database restoration operations according to aspects of the invention.
  • Time advances from left to right on the timeline 300.
  • events positioned farther to the right occur later in time than those further to the left.
  • the database snapshot (DBSS) is created.
  • a period of time passes (minutes, hours, days%) and an event occurs at 320.
  • the event can correspond to a user accidentally deleting a complete table or otherwise modifying page data.
  • a restore operation can be initiated by a database administrator, for instance.
  • the revert component 210 (Fig. 2) of the subject invention can be employed to restore the database to the point in time 310 in which the database snapshot was created. According to an aspect of the subject invention, this can be accomplished by copying sparse file data from the snapshot database over the corresponding data in the source database thereby placing the source database in a consistent stable state devoid of the effects of the event at 320.
  • the undo component 220 (Fig. 2) can then be employed to advance the source database toward the event 320 so as to maintain "good" data while losing or altering data caused by the event.
  • FIG. 4 illustrates a database snapshot system 400 in accordance with an aspect of the subject invention.
  • the DBSS system 400 comprises a snapshot component 120, a source database 1 10, a snapshot database 130, a catalog component 410, and a monitor component 420.
  • the source database 110 as previously mentioned is the main or primary database, which one may seek to restore.
  • the snapshot component 120 utilizes the source database 110 to generate a database snapshot 130.
  • a database snapshot (DBSS) 130 can be a read only, point in time database. It is space efficient because it shares space with the source database 130. The shared space is all the data pages that are identical in the two databases.
  • the DBSS can be created with the following syntax:
  • a catalog component 410 can be employed to generate a log or log file to track whether a page in the DBSS 130 is shared with the source database 110, or the page has been copied to the sparse file.
  • log is stored in the source database 110 to facilitate easy access thereto. It should be appreciated that recovery can be run on the DBSS 130 before it is available to be read, to bring it into a consistent state. Current open transactions are rolled back, and some of the original pages will probably be copied over to the sparse files because of the rollback.
  • a DBSS has no log. Once created, a DBSS 130 can remain in existence until it is dropped by the database administrator if it is persisted otherwise it can be dropped upon error or system shut down. Multiple DBSSs 130 may exist at different points in time for a single source database 110. According to one aspect of the present invention, all snapshots besides the one being reverted or restored can be destroyed. Alternatively, all snapshots residing later in time than the snapshot being reverted to can be destroyed, while those occurring earlier in time can be saved. Snapshots of a source database taken after a snapshot that is or is going to be reverted to are not very valuable.
  • DBSS 130 can be created and dropped in a periodic manner, or ad hoc if the user wants a single "safe" point in time to enable reversion thereto. For example, a user may want to create a snapshot upon installation of a new application or during testing. A revert to DBSS 130 could be issued utilizing the following command:
  • Monitor component 420 can be also be utilized by the snapshot component 120 to observe transactions with respect to the source database and initiate automatic generation of database snapshots. For example, if the monitor component 420 detects or in infers installation of a new application that may significantly alter the source database it can commence creation of a database snapshot. To facilitate such functionality, it should be appreciated that the subject invention can employ artificial intelligence systems and methodologies including but not limited to rule-based expert systems, Bayesian, and neural networks. To restore a database, the source database is closed, and all' connections to it are closed. Consequently, the source is unavailable for transactions during this process. The database can be marked as RESTORE to notify external viewers of the unavailability of the database.
  • a server can then proceed to copy the pages in the sparse files to the original position (when the DBSS was created) in the source database files. Copying the changed pages in most instances is significantly faster ib than restoring from backup. Once the pages are copied, the log for the database can be rebuilt. The source database is now back at a point in time it was at when the DBSS was created. All changes since the DBSS was created have been removed. If an UNDO file is created, then the log chain is not broken, and a data log backups taken from the source database can be applied to roll the source database forward.
  • the scheme to support roll forward after the revert using an undo file can be summarized as follows.
  • Source database 110 includes two database files 510 and 520.
  • Database files 510 and 520 both contain eight pages each of various data.
  • a snapshot of the source database is generated. Accordingly, database snapshot 130 is created.
  • the snapshot database can have two snapshot database sparse files 530 and 540 corresponding to source files 510 and 520 respectively. At the time the snapshot originates, these source files can simply be shells as they can share all data with source files 510 and 520.
  • values in the source database can be altered. Here, the values changed reside on pages 3 and 7 in file 510 and file 2 on page 4.
  • the source can be chopped off or truncated at the end to the size of the replica, in part because pages that were added, were added at the end of the source according to an aspect of the invention. If the replica is bigger, this means pages were deleted from the primary source. Hence, the size of the source can be increased and all the pages for that range will already be in the snapshot and thus will be copied over by the normal copy operation.
  • One na ⁇ ve algorithm to copy the pages back would be copy them one by one.
  • an asynchronous copy operation implementation can be employed. For instance, a single thread and three queues, a read queue, a write queue, and an empty buffer queue, can be utilized. While copying back, if the page was there in the source (e.g., meaning it changed) or it was not there
  • the log backup associated with a source database can be broken after a restore. Hence, log backups will fail on the reverted database until a full or file backup is taken. The reverted database can retain the same recovery model as it did when it was created.
  • the system of the present invention can support (1) starting the revert; (2) manipulating data; (3) rebuilding the log; and (4) restarting the database.
  • a new source database can be created from the snapshot database by copying the data from the original source database. Any error during the database creation may require a database administrator (DBA) to restart the operation, for example, once the server becomes available. Once the database is created, the DBA can drop the source database and rename the reverted database.
  • DBA database administrator
  • Such a system can be employed with respect to data mirroring for example.
  • Fig. 6 an exemplary data mirroring system 600 is illustrated in accordance with an aspect of the subject invention.
  • System 600 comprises two databases: source database 110 and mirror database 610, database snapshot(s) 130 and restore component 140.
  • Source database 110 is the primary database.
  • Mirror database 610 is a separate database comprising almost a bit for bit replica of the source database 110.
  • source database 110 can be sent over a network, for instance, to mirror database 610.
  • the idea behind mirroring is that if the primary source database 110 fails or otherwise becomes unavailable, for instance due to a power failure, mirror database 610 can become the new source database for transactions thereby facilitating high availability of data via redundancy.
  • the source database 610 can have snapshot database snapshot (s) 130 associated therewith to facilitate point-in-time reversion.
  • a database administrator could revert the source database 110 to a previous point in time utilizing database snapshot 130 and restore component 140. If a revert is performed on the source database 110, the mirror database 610 should also reflect the changes.
  • the mirror database 610 can automatically be updated and synchronized with the source. Since the changes to the source are automatically reflected in the mirror database changes to the source during the revert can also be passed to the mirror simultaneously or asynchronously after the revert has been completed on the source.
  • Fig. 7 an exemplary system 700 for mirroring a database with snapshots is illustrated in accordance with an aspect of the subject invention. As shown the system 700 includes a base or destination database 610 named DB1JLS.
  • Applications 620 seek to view data from database 610.
  • applications 620 can interact with snapshots 630 named DB1_001, DB1_002, and DB1_003.
  • the first snapshot DB1_001 can be created and referenced to DB1, for example:
  • the second snapshot DB1_002 can be created. Users who are still using DB1_001 continue to use it: CREATE DATABASE DB1_002 AS SNAPSHOT OF DB1_LS
  • database snapshots can be utilized for consistency checks on a database.
  • a DBCC CHECKDB() command can be executed on a database.
  • an internal snapshot of the database with the backing storage can be created in alternate streams of existing database files.
  • the pages can then be read for the consistency check and the system can either read them from the base database if they have not been modified or from alternative streams if they have been modified.
  • GUIs graphical user interfaces
  • a plurality of text and graphical components including but not limited to text boxes, buttons, tabs, drop-down menus, and scroll bars can be employed to create a snapshot and subsequently revert a database back thereto.
  • both the database snapshot and the source database associated therewith can be backed up in a conventional sense. For instance, an administrator may backup individual files or filegroups from the snapshot. When the backups are restored, they are restored as regular databases. On a backup operation of the source, the user can specify which snapshots are to be taken with the backup. On restore, the user can specify which snapshots are to be restored as well.
  • a database consists of files of two types: data files and log files.
  • Log files contain a series of log records. Log records may be identified with a log sequence number (LSN).
  • LSN log sequence number
  • the primary database 800 includes of a set of data files 802 and a log file 810. Data files 802 can be divided into blocks or units of storage called pages.
  • a database snapshot for a database can be created which provides a transaction consistent view of an existing database at a previous point in time without creating a complete copy of the database.
  • a database snapshot, in conjunction with the database includes all the information necessary to produce a copy of the database at the previous time.
  • the database snapshot does not in itself contain all of the information and thus can be smaller in size than a full copy would be. Additionally, a snapshot can be created on the fly as modifications are made to the database, which allows the costs (time and processing) to be spread over time. If a copy was made of the database snapshot at the prior time, the time and processing cost would be concentrated at one time. Additionally, database snapshots are advantageous in that they can be created while update activity continues on the database.
  • the primary database is the database which is being used and of which one or more database snapshots are being created. As described supra, a database snapshot contains all the information needed to, along with the primary database, determine the contents of the primary database at a previous time.
  • the database snapshot can comprise a side file corresponding to each file in the primary database.
  • a side file contains a copy of all data from the corresponding data file, which has been changed since the database snapshot was created.
  • the side files are stored in sparse files.
  • a sparse file only portions of the file that are actually written to need storage space. All other regions of the file can be unallocated. It should be noted, however, that storing side files in sparse files is not a requirement of the present invention and alternative storage systems and methodologies are considered to be within the scope of the invention.
  • the sparse file mechanism works with a standard region size. If data within one region is written to the sparse file, even if the data does not fill the entire region, space for the entire region can be allocated.
  • the database snapshot includes the original value of all of the data, which has been changed in the primary database since the database snapshot was created, the database data as of the time of the creation of the database snapshot may be read from the snapshot.
  • data can be read from the database snapshot's side files, if the side files contain the data from the request.
  • the data to be read which is not present in the side files has not been changed since the database snapshot was created and can be read from the primary database.
  • the side files comprise pages of data from the primary database.
  • the page of data is stored in a side file.
  • the present invention is described with reference to pages as the unit of data in the primary database; however, it is contemplated that other units of data from the primary database may be utilized.
  • the presence of valid data in the side file should be ascertained. In one instance, it can be read directly to ascertain if valid data exists.
  • a side page table can be created which stores data regarding whether a given page exists and is valid.
  • the side page table can store information regarding whether the page should be read from the primary database, indicating that it has not changed, or whether the page should be read from a side file, because it has changed.
  • the side page table allows a fast determination of whether a given page exists in the side file.
  • the side file and the sparse file mechanism both use the same page/region size. That is, the pages that the side file stores from the primary database are the same size as the regions, which the sparse file stores when any memory is written into the sparse file. For example, if the sparse file regions are 8KB and the pages stored from the primary database are also 8KB, the page size and the region size are equal.
  • a number of side file regions can correspond exactly to each page. For example, if the sparse file regions are 8KB (kilobytes) and the pages stored from the primary database are 16KB, then each page stored in the side file will fill two regions. In this case, as well, any region that is filled will be filled completely by contents from the page read from the primary database. Again, there is no possibility that invalid data is contained in the region.
  • the side page table comprises an in-memory bitmap, which holds one bit of information for each page in the side file.
  • the corresponding bit indicates whether the page is in the side file.
  • the granularity of the side file region is larger than the granularity of the pages stored from the primary database. For example, if each region of the side file is 64KB and the size of the pages is 8KB, then the presence of a region in the side file does not necessarily indicate that all information in the region is valid data from the primary database. If only one page is copied to the side file, in the example, only 8KB of the 64KB in the allocated region will contain valid data. In another embodiment, some side file pages are spread across regions.
  • the side page table comprises two in-memory bitmaps, which hold two bits of information for each page in the side file, which we will term bitl and bit2.
  • bitl the corresponding bits indicate (bitl) whether the page is definitely in the side file, and (bit2) whether the page is potentially in the side file.
  • Bit2 may also be thought of as indicating that the region in which the page would be stored in the side file has been allocated. However, as discussed below, in one embodiment, this bit2 is set only when the side page .table is reconstructed.
  • the bitmaps are maintained in-memory and therefore may not be persistent. If they are erased, the bitmaps are reconstructed from the sparse file information.
  • the sparse file is consulted, and, for each page, if the side file has allocated space for the region in which the page is located, bit2 is set to indicate that the page is potentially in the side file. For each page, bitl is initially set to indicate that it is not definite that the page is in the side file. If the side page table is maintained in such a way that it is persistent, then the '1 granularity of the regions and the pages may be disregarded, and the one-bit side page table may be used. However, in one embodiment, in order to support a persistent database view after a database server restart, the two-bit page table is used. In accordance with one aspect of the invention, no page table is created for the side files.
  • the database snapshot 920 for primary database 800 consists of side files 925.
  • Each of the data files 802 in primary database 800 has a corresponding side file 925 in the database snapshot 920.
  • side page table data 930 is stored in-memory for the database snapshot 920.
  • side page table data 930 is one side page table, which covers all of the side files 925.
  • a separate side page table can exist for each of side files 925.
  • the transaction log is a serial record of all the transactions that have been performed against the database since the transaction log was last backed up. The transaction log is used to recover the database to a point of failure.
  • the transaction log is modeled as a circular queue. A transaction log may be truncated by deleting an inactive portion of the log. This inactive portion contains completed transactions which do not need to be recovered at least because the changes they reflect have been persisted to the data files.
  • the active portion of the transaction log contains both completed transactions and transactions that are still running and have not yet completed (active transactions.) Truncation can be done to minimize inactive space in the transaction log instead of allowing the transaction log to continue to grow and use more space. Active transactions may cause transaction-inconsistency.
  • For an active transaction some modifications of data files may not have been written from the buffer cache to the data files, and there may be some modifications from incomplete transactions in the data files.
  • the log file 810 can be used to ensure that a recovery of the database is transaction consistent. This can be done using ARIES (Algorithms for Recovery and Isolation Exploiting Semantics)-style recovery. Every modification recorded in the log which may not have been written to the data files is rolled forward by performing the modification on the database.
  • a side file 925 is created for each data file 802 in the primary database 800.
  • a side file may be a sparse file or in another embodiment may be a non-sparse file of the same size as the data file 802.
  • Side file 925s are associated with the data files 802 in the primary database 800. Because transactions are continuously occurring and the database view is transaction consistent, the transaction log should be used during the creation of a database snapshot.
  • a side page table 930 is initialized for the database snapshot. Initially, the side page table 930 is set to indicate that no pages exist in side file 925, and, in the case of a two-bit side page table, that no pages are potentially or definitely in side file 925.
  • the database snapshot is ready to go "online”. The database snapshot will now be running alongside the primary database 800, and when modifications are performed, copies of the original values of the modified pages (i.e. the pages' contents before the updates are performed) will be stored in the database snapshot.
  • An exemplary method for implementing a transaction-consistent snapshot of a database can include determining a split point on the transaction log. This split will correspond to the point in time that the database snapshot represents.
  • the LSN of the end of the log on the primary database 800 can be obtained when the database snapshot is created; this LSN is the "split point" at which the primary database 800 and the database snapshot 820 will start diverging.
  • the primary database 800 can then be marked so that database snapshot processing is
  • FIG. 10 is a block diagram of an example transaction log, log file 810, according to an aspect of the invention.
  • Log entries in log file 810 include log entries 1000, 1010, 1020, 1030, 1040, 1050, 1060, 1080, 1080, 1090 and 1099.
  • a split point 1075 is determined. Transactions continue being written to the log however, truncation is disabled.
  • the log file 810 is examined, and any modifications to the database as a result of transactions from the oldest active transaction to the split point (from log entry n 1000 through log entry n+7, in the example in Figure 10) are performed to the side files 925. The result of the modifications in each of these transactions is stored in the side files 925. Then, these transactions are examined.
  • Modifications written to the log file by any active transactions in the log are undone in the side files 925. Some transactions, however, may not yet have been committed. Therefore, active transactions in the log up to the split point should be located and undone.
  • the change which has been added to the side file above, is removed from the side file.
  • the undoing of a transaction can be accomplished by modifying the database snapshot, as detailed below, setting the data in the side file to match the data in the database as of the split point. In this way, only the completed transactions from the log are reflected in the database snapshot.
  • log truncation is enabled on the primary database 800. Because database snapshot processing has been enabled, the database snapshot will be updated as changes are made to the primary database 800, and so the database snapshot can be used to determine the contents of the primary database 800 as of the time of the split point.
  • a database server restarts after it is shut down (either normally or abnormally), the database snapshot should be reinitialized. In order to do so, the side page tables, which have been stored in memory, must be reinitialized.
  • the data (bit2) in the side page table for each page in a region that has been allocated is set to indicate that the page may possibly have been written to side file 925.
  • the data in the side page table for all other pages is set to indicate that there is no possibility that the page was written to side file 925. It is not definite, however, that the page was written to side file 925, and therefore bitl is not set initially.
  • side file 925s may be examined to determine, for each page, if the page in side file 925 is valid, as described supra.
  • the page table is set to indicate, for each page which does exist, that the page does actually exist in side file 925. All other pages are set to indicate that the page does not exist in side file 925.
  • the primary database 800 In order for the database snapshot to store information from the primary database 800 before the data is overwritten, the primary database 800 must support the creation of a database snapshot. For each page that the primary database 800 modifies, a determination must be made as to whether the page is in the database snapshot. If the page exists in the database snapshot, then it is the correct version of the page. For example, this may have been when a previous modification had been made to that page in the primary database 800. If the page is changed again in the primary database 800, the version in the database view should not change.
  • bitl indicates that the page is definitely in side file 925
  • bit2 is ignored; thus, as shown in Table 1, where bitl indicates that the page is definitely in side file 925, the page is assumed to be in side file 925 no matter what bit2 indicates.
  • bitl when bitl is set to indicate that the page is definitely in side file 925, bit2 is set to indicate that the page is possibly in side file 925, and in this alternate embodiment, when bitl indicates that the page is definitely in side file 925 yet bit2 indicates that the page is definitely not in side file 925, the case is invalid and an error has been encountered.
  • Case 1 Do nothing.
  • Case 2 Determine if the page is in side file 225, if it is not, write the page to side file 225.
  • Case 3 Write the page to side file 925.
  • the page table is set to indicate that the page is now in side file 925 so that any subsequent writes to the page will be handled according to Case 1 , and the correct page for the database view remains stored in side file 925.
  • Data invalidity may be indicated by data placed in newly allocated regions to indicate that no valid data has yet been written to the region. For example, all zeros may be written to a newly allocated region, if it is known that no page of the database will ever contain all zeros. If this is the case, then the presence of the page in side file
  • Case 1 Read the page from side file 925.
  • Case 2 Determine if the page is in side file 925, if it is, read the page from side file 925, if it is not, read the page from the primary database 800.
  • Case 3 Read the page from the primary database 800.
  • the database snapshot represents the state of a database at a prior point in time.
  • a user may choose to use the database snapshot as a database. For example, the user may choose to perform an action on the database snapshot, to create a database snapshot of the database as it would have been had the action been performed on the database snapshot at the prior point in time. Additionally, during initialization, as detailed above, transactions may be performed and undone on the database snapshot.
  • the modification should be based on the data in the database snapshot and the resulting page should be stored in the database snapshot. If no data exists in the database snapshot for the page, then the modification should be based on the data in the primary database 800, and the A3 resulting page should be stored in the database snapshot.
  • Case 1 Read the page from side file 925, perform modifications, write the page to side file 925.
  • Case 2 Determine if the page is in side file 925, if it is, proceed as in case 1 , if it is not, proceed as in case 3.
  • Case 3 Read the page from the primary database 800, write the page to side file 925 and set the page table to indicate that the page is in side file 925. Perform modifications to the page and write the modified page to side file 925 when appropriate.
  • FIG. 11 depicts a method for establishing a snapshot database 1100 in accordance with an aspect of the subject invention.
  • a snapshot database maintains data concerning changes to a source database from the point of time of its creation.
  • a request is received to alter data in the source or primary database. For example, a request may be made to change or alter a page of data.
  • a copy of the data in the source database to be displaced by the new data is copied to the snapshot database file and page corresponding to the amendment of the source database.
  • the new data is copied over or replaced by the old data in the source database.
  • a catalog can be updated to note the change to the database and the entry into the snapshot database.
  • Fig. 12 illustrates a data restoration methodology 1200 in accordance with an aspect of the subject invention.
  • each page of data stored in the snapshot database can be written over data in a corresponding location in the primary database.
  • the primary files in the database can be expanded if necessary to enable receipt of snapshot data.
  • the size of the snapshot database or files therein can be identified and compared to the size of the primary database or corresponding filed therein. If the snapshot database or files therein are smaller than the primary database or files therein signifying that the files should not exist in the restored database than the primary database can be truncated to remove the added data pages. This can correspond to removing the last pages of data in a file as according to an aspect of the invention newly added data is added to at the end of a file.
  • open transactions that had not committed at the time the snapshot was created can be retrieved from storage and applied to the primary database being restored.
  • a database log can be retrieved and applied to the restored database at 1240 to further advance the database closer to the event necessitating the restore so as to save as many "good" transactions up to but before occurrence of the event.
  • a data restoration methodology 1300 is depicted in accordance with an aspect of the subject invention.
  • a database snapshot is created and maintained.
  • the database snapshot can be created by a user at any time.
  • more than one snapshot can be created so as to provide a plurality of points of reversion over time.
  • the snapshot database can also be created automatically.
  • a monitor component can observe actions with respect to the source or primary database and detect and/or infer actions that may significantly alter the database.
  • a snapshot could be created automatically upon detection of an installation of a new application.
  • the database snapshot can, according to an aspect of the invention, store changes to the source database. 3S Accordingly, maintaining the database snapshot corresponds to copying changes thereto.
  • the snapshot can comprise sparse files thereby storing only changes to corresponding pages and sharing all other data with the primary database.
  • the database can be reverted to a prior point in time marked by a snapshot upon the occurrence of an event including but not limited to a user error (e.g., quick finger delete).
  • Reversion or restoration can comprise, inter alia, copying pages from the snapshot database over pages in the primary database, truncating the primary database, applying uncommitted open transactions at the time of snapshot creation to the database, and applying database log information to the primary database to converge upon the event.
  • Fig. 14 as well as the following discussion are intended to provide a brief, general description of a suitable computing environment in which the various aspects of the present invention may be implemented. While the invention has been described above in the general context of computer-executable instructions of a computer program that runs on a computer and/or computers, those skilled in the art will recognize that the invention also may be implemented in combination with other program modules. Generally, program modules include routines, programs, components, data structures, etc. that perform particular tasks and/or implement particular abstract data types.
  • an exemplary environment 1410 for implementing various aspects of the invention includes a computer 1412.
  • the computer 1412 includes a processing unit 1414, a system memory 1416, and a system bus 1418.
  • the system bus 1418 couples system components including, but not limited to, the system memory 1416 to the processing unit 1414.
  • the processing unit 1414 can be any of various available processors. Dual microprocessors and other multiprocessor architectures also can be employed as the processing unit 1414.
  • the system bus 1418 can be any of several types of bus structure(s) including the memory bus or memory controller, a peripheral bus or external bus, and/or a local bus using any variety of available bus architectures including, but not limited to, 11- bit bus, Industrial Standard Architecture (ISA), Micro-Channel Architecture (MSA), Extended ISA (EISA), Intelligent Drive Electronics (IDE), VESA Local Bus (VLB),
  • ISA Industrial Standard Architecture
  • MSA Micro-Channel Architecture
  • EISA Extended ISA
  • IDE Intelligent Drive Electronics
  • VLB VESA Local Bus
  • the system memory 1416 includes volatile memory 1420 and nonvolatile memory 1422.
  • nonvolatile memory 1422 can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory.
  • Volatile memory 1420 includes random access memory (RAM), which acts as external cache memory.
  • RAM is available in many forms such as synchronous RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM).
  • Computer 1412 also includes removable/non-removable, volatile/non- volatile computer storage media.
  • Fig. 14 illustrates, for example disk storage 1424.
  • Disk storage 4124 includes, but is not limited to, devices like a magnetic disk drive, floppy disk drive, tape drive, Jaz drive, Zip drive, LS-100 drive, flash memory card, or memory stick.
  • disk storage 1424 can include storage media separately or in combination with other storage media including, but not limited to, an optical disk drive such as a compact disk ROM device (CD-ROM), CD recordable drive (CD-R Drive), CD rewritable drive (CD-RW Drive) or a digital versatile disk ROM drive (DVD-ROM).
  • an optical disk drive such as a compact disk ROM device (CD-ROM), CD recordable drive (CD-R Drive), CD rewritable drive (CD-RW Drive) or a digital versatile disk ROM drive (DVD-ROM).
  • CD-ROM compact disk ROM device
  • CD-R Drive CD recordable drive
  • CD-RW Drive CD rewritable drive
  • DVD-ROM digital versatile disk ROM drive
  • interface 1426 a removable or non-removable interface
  • Fig 14 describes software that acts as an intermediary between users and the basic computer resources described in suitable operating environment 1410.
  • Such software includes an operating system 1428.
  • Operating system 1428 which can be stored on disk storage 14
  • System applications 1430 take advantage of the management of resources by operating system 1428 through program modules 1432 and program data 1434 stored either in system memory 1416 or on disk storage 1424. Furthermore, it is to be appreciated that the present invention can be implemented with various operating systems or combinations of operating systems.
  • a user enters commands or information into the computer 1412 through input device(s) 1436.
  • Input devices 1436 include, but are not limited to, a pointing device such as a mouse, trackball, stylus, touch pad, touch screen, keyboard, microphone, joystick, game pad, satellite dish, scanner, TV tuner card, digital camera, digital video camera, web camera, and the like. These and other input devices connect to the processing unit 1414 through the system bus 1418 via interface port(s) 1438.
  • Interface port(s) 1438 include, for example, a serial port, a parallel port, a game port, and a universal serial bus (USB).
  • Output device(s) 1440 use some of the same type of ports as input device(s) 1436.
  • a USB port may be used to provide input to computer 1412 and to output information from computer 1412 to an output device 1440.
  • Output adapter 1442 is provided to illustrate that there are some output devices 1440 like monitors, speakers, and printers, among other output devices 1440 that require special adapters.
  • the output adapters 1442 include, by way of illustration and not limitation, video and sound cards that provide a means of connection between the output device 1440 and the system bus 1418.
  • Computer 1412 can operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) 1444.
  • the remote computer(s) 1444 can be a personal computer, a server, a router, a network PC, a workstation, a microprocessor based appliance, a peer device or other common network node and the like, and typically includes many or all of the elements described relative to computer 1412. For purposes of brevity, only a memory storage device 1446 is illustrated with remote computer(s) 1444.
  • Remote computer(s) 1444 is logically connected to computer 1412 through a network interface 1448 and then physically connected via communication connection 1450.
  • Network interface 1448 encompasses communication networks such as local-area networks (LAN) and wide- area networks (WAN).
  • LAN technologies include Fiber Distributed Data Interface (FDDI), Copper Distributed Data Interface (CDDI), Ethernet/IEEE 802.3, Token Ring/IEEE 802.5 and the like.
  • WAN technologies include, but are not limited to, point-to-point links, circuit-switching networks like Integrated Services Digital Networks (ISDN) and variations thereon, packet switching networks, and Digital Subscriber Lines (DSL).
  • Communication connection(s) 1450 refers to the hardware/software employed to connect the network interface 1448 to the bus 1418.
  • Fig. 15 is a schematic block diagram of a sample-computing environment 1500 with which the present invention can interact.
  • the system 1500 includes one or more client(s) 1510.
  • the client(s) 1510 can be hardware and/or software (e.g., threads, processes, computing devices).
  • the system 1500 also includes one or more server(s) 1530.
  • the server(s) 1530 can also be hardware and/or software (e.g., threads, processes, computing devices).
  • the servers 1530 can house threads to perform transformations by employing the present invention, for example.
  • One possible communication between a client 1510 and a server 1530 may be in the form of a data packet adapted to be transmitted between two or more computer processes.
  • the system 1500 includes a communication framework 1550 that can be employed to. facilitate communications between the client(s) 1510 and the server(s) 1530.
  • the client(s) 1510 are operably connected to one or more client data store(s) 1560 that can be employed to store information local to the client(s) 1510.
  • server(s) 1530 are operably connected to one or more server data store(s) 1540 that can be employed to store information local to the servers 1530.
  • server data store(s) 1540 that can be employed to store information local to the servers 1530.

Abstract

The present invention relates to a system and method of data restoration, for instance, after the occurrence of a user error. In particular, snapshot database can be maintained that stores a copy of database data. The snapshot database does not have to store a complete copy of all data on a source database, but rather shares data that is common to both but not necessarily identical. If an error occurs on the primary database then the database can be reverted back to a point in time prior to the error by replacing source database files with snapshot files. Additionally, an undo component can be employed in conjunction with the snapshot to approach an error to a finer grained point in time. In brief, the present invention can restore a database much faster and simpler, while utilizing less space and resources than conventional data restoration technologies.

Description

Title: DATABASE DATA RECOVERY SYSTEM AND METHOD
CROSS-REFERENCE TO RELATED APPLICATIONS The present invention claims the benefit of U.S. Provisional Application Serial
No. 60/547,641, filed February 25, 2004 entitled DATABASE DATA RECOVERY SYSTEM AND METHOD and U. S. Non-Provisional Application Serial No. 10/833,541, filed April 28, 2004 entitled DATABASE DATA RECOVERY SYSTEM AND METHOD and which is incorporated herein by reference. Furthermore, the present invention is a continuation-in-part of U.S. Application Serial
No. 10/611,774, entitled TRANSACTION CONSISTENT COPY-ON-WRITE DATABASES filed June 30, 2003 which is also incorporated herein by reference.
TECHNICAL FIELD The present invention relates generally to databases and more particularly toward database restoration technologies.
BACKGROUND Database systems are quite prevalent in today's world. Databases store large quantities of information in such a manner so as to facilitate expeditious querying and ease of use. For example, in a conventional relational database, information can be organized as objects such as records, tables and indexes. Database engines provide a mechanism to retrieve and manipulate data from database tables upon specification of a query by a user. A query is typically expressed in some query language such as Structured Query Language (SQL). A query can specify one or more tables as well as rows and columns therein to be retrieved and otherwise manipulated. Upon proper specification of a query, the database engine retrieves data, performs any specified operations and produces a results table. Databases are popular and useful at least in part because of their ability to store large amounts of data, which can be efficiently retrieved and manipulated by simply specifying a query. Unfortunately, user errors are a common problem in database systems. Usually, such errors occur when a database application or a user changes or deletes data by mistake and the database system correctly follows the command and promptly changes or deletes data. This is referred to in the art as the quick finger delete problem. For example, a user could issue a command to delete a table and forget to specify the "WHERE" clause causing more data to be deleted than intended. Additionally, a user may install a new application that modifies a database in a manner unbeknownst to the user. There are several conventional solutions to this problem. Generally, the most common solution is a full database restore to a point in time prior to the occurrence of a user error. Once restored, the database can be brought online and all changes, including the user error, are lost. However, a full database restore is time intensive sometimes taking days to complete. Alternatively, data that was unintentionally modified can be remedied by extracting relevant information from a restore database and merging it back into the original database. A variation on this scheme is called log shipping. Log shipping involves keeping a coping of the database on another secondary server in a restore state, but at a constant delay behind the original server. Log backups are applied to the secondary database only after a delay (e.g., 24 hours). If a user error occurs on an original database, and a database administrator notices the error within the delay, then the database administrator can revert to the secondary server because it already contains the database at a point in time prior to the error. Unfortunately, log shipping is complex requires many additional resources and space. Restoring a database utilizing conventional systems and methodologies requires sizeable delays and therefore is generally an option of last resort.
Furthermore, log shipping requires additional hardware and adds complexity to the database system. Mitigating errors is a large and important problem in database systems. Accordingly, there is a need in the art for a new system and method of restoring databases that is, among other things, both quick and simple.
SUMMARY The following presents a simplified summary of the invention in order to provide a basic understanding of some aspects of the invention. This summary is not an extensive overview of the invention. It is not intended to identify key/critical elements of the invention or to delineate the scope of the invention. Its sole purpose is to present some concepts of the invention in a simplified form as a prelude to the more detailed description that is presented later.
<_---- The subject invention relates to creation of and employment of a database snapshot. The invention mitigates problems associated with restoring a database, which takes time and is generally an option of last resort as well as log shipping which typically requires additional hardware and adds complexity to the database system. Reverting to a database snapshot alleviates some of these problems.
According to an aspect of the subject invention, a database snapshot (DBSS) is a database that looks like a read only, point in time copy of another (source) database. The DBSS is not necessarily a complete copy of the source database; the two databases share data that is common to both, which makes the DBSS quick to create and space efficient. As the source database is modified, the original data is copied to space efficient storage for use by the DBSS to maintain its point in time view of the source database. If a user error occurs on the source database and a DBSS has been created before the error, then the database administrator has the option to revert the entire database back to the DBSS, which is at a point in time before the user error. All changes to the source database, including the user error, are lost. Moreover, the revert is generally much quicker than a normal restore and it does not require duplicate resources that log shipping does. According to an aspect of the invention reversion to a database snapshot can comprise copying database snapshot file pages over a source or primary database, truncating a primary database, applying open uncommitted transactions to the database, and utilizing database logs to converge upon an event such as a user error. In accordance with one aspect of the invention, a user or database administrator can create one or more database snapshots at various points in time. For example, if a user is going to be performing testing he/she could create a database snapshot to enable reversion to a previous database state or view. However, according to another aspect of the subject invention a monitor component can be employed to monitor a primary database and automatically create database snapshots upon certain happenings. For example, if the monitor detects or is able to infer that a new application is about to be installed it can initiate creation of a database snapshot to preserve the state of the database prior to alterations by the new application. According to yet another aspect of the subject invention, a mirror database can be automatically updated to reflect changes made to a primary database upon reversion. Hence, a mirror database can be updated and synchronized without utilizing a lengthy full restore as is conventionally done. To the accomplishment of the foregoing and related ends, certain illustrative aspects of the invention are described herein in connection with the following description and the annexed drawings. These aspects are indicative of various ways in which the invention may be practiced, all of which are intended to be covered by the present invention. Other advantages and novel features of the invention may become apparent from the following detailed description of the invention when considered in conjunction with the drawings.
BRIEF DESCRIPTION OF THE DRAWINGS The foregoing and other aspects of the invention will become apparent from the following detailed description and the appended drawings described in brief hereinafter. Fig. 1 is a schematic block diagram of a data restoration system in accordance with an aspect of the subject invention. Fig. 2 is a schematic block diagram of a restore component in accordance with an aspect of the present invention. Fig. 3 illustrates a timeline diagram to illustrate various aspects of the subject invention. Fig. 4 is a schematic block diagram of a database snapshot system in accordance with an aspect of the subject invention. Fig. 5 is a diagram illustrating an exemplary database restore in accordance with an aspect of the present invention. Fig. 6 is a schematic block diagram of an exemplary database mirroring system in accordance with an aspect of the subject invention. Fig. 7 is a schematic block diagram of an exemplary mirroring system in accordance with an aspect of the present invention. Fig. 8 is a schematic block diagram of a primary database in accordance with an aspect of the subject invention. Fig. 9 is a schematic block diagram of a database snapshot system in accordance with an aspect of the present invention. Fig. 10 is a schematic block diagram of an exemplary transaction log in accordance with an aspect of the subject invention. Fig. 11 is a flow chart diagram depicting a method of establishing a snapshot database in accordance with an aspect of the subject invention. Fig. 12 is a flow chart diagram illustrating a restoration methodology in accordance with an aspect of the present invention. Fig. 13 is a flow chart diagram of a data restoration methodology in accordance with an aspect of the subject invention. Fig. 14 is a schematic block diagram illustrating a suitable operating environment in accordance with an aspect of the present invention. Fig. 15 is a schematic block diagram of a sample-computing environment with which the present invention can interact.
DETAILED DESCRIPTION The present invention is now described with reference to the annexed drawings, wherein like numerals refer to like elements throughout. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed. Rather, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present invention. As used in this application, the terms "component" and "system" are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a server and the server can be a component. One or more components may reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers. Furthermore, the present invention may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof. The term "article of manufacture" (or alternatively, "computer program product") as used herein is intended to encompass a computer program accessible from any computer- readable device, carrier, or media. For example, a computer readable media can include but are not limited to magnetic storage devices (e.g., hard disk, floppy disk, magnetic strips...), optical disks (e.g., compact disk (CD), digital versatile disk (DVD)...), smart cards, and flash memory devices (e.g., card, stick). Of course, those skilled in the art will recognize many modifications may be made to this configuration without departing from the scope or spirit of the subject invention.
Restoration System Turning initially to Fig. 1, a data restoration system 100 is illustrated. Data restoration system 100 comprises a source database 110, snapshot component 120, a snapshot database 130, and a restore component 140. Source database 110 (also referred to hereinafter as primary database) houses large quantities of data in an organized manner so as to facilitate queries and other uses. Database 110 can be any kind of database including but not limited to a relational or multidimensional database. Snapshot component 120 generates a snapshot database(s) 130 (also referred to herein as DBSS for database snapshot) based in part on the source database. The snapshot database(s) 130 allow users to create a transaction consistent view of an existing source database 110 without making a complete copy thereof. As the source database 110 diverges from the snapshot database 130, the snapshot component 120 ensures that the snapshot database 130 obtains a copy of the data before it is modified, for instance, in page units. In other words, if a source database page contain the letter "A" and a transaction was executed that caused "A" to be changed to "B," then the corresponding snapshot database page would be written with and thus store the letter "A." According to an aspect of the subject invention, the snapshot database 130 can be a read only point in time copy of a source database 110. The DBSS is not necessarily a complete copy of the source database 110. The two databases can share data that is common to both, which makes the DBSS quick to create as well as space efficient. As the source database 110 is modified, the original data can be copied to space efficient storage for use by the DBSS to maintain its point in time view of the source database 110. Furthermore, it should be appreciated that there can be more than one snapshot database 130 associated with a source so as to provide multiple points of reversion. Additionally, the snapshot database 130 can be transient or persistent. Transient snapshots are internal volatile copies that are destroyed after crash, failure, or shutdown. Persistent snapshots are public copies that can be more securely kept on a storage device for use by other applications. Restore component 140 utilizes the snapshot database 130 to restore the source database 110 to a point in time prior to an event. In accordance with an aspect of the subject invention, the event can correspond to a user error such as a quick finger delete where a user accidentally deletes data from the source table. Alternatively, an event can correspond to a system crash, lock up, or any other situation or scenario in which data is otherwise lost or manipulated. If an event occurs on the source database 1 10 and a snapshot database 130 has been created before the error, a database administrator has the option of employing the restore component 140 to revert the entire source database 110 back to the snapshot database 130, which is at a point in time before the event. The restore component 140 can utilize the data residing in snapshot database 130 to restore the source database 110 to a previous point in time before the event. For example, the snapshot database data can be written over the current source database values at corresponding locations. Alternatively, the snapshot database 130 can be populated with shared data and become the new source database. It should be appreciated that this restore process is typically much faster than conventional restore technologies as only sparse files need to be copied to the source database, rather than restoring the whole thing. Furthermore, the restore process is more efficient in that it does not require the duplicate resources, for example, that log shipping requires. Fig. 2 depicts a restore component 140 in accordance with an aspect of the subject invention. In particular, restore component comprises a revert component 210 and an undo component 220. The revert component 210 provides the main functionality in a restore according to the present invention, while the undo component 220 facilities fine grained restoration which converges upon an event such ' as an error. If a database snapshot has been created prior to the happening of an event, then the revert component 210 can restore a source database to a time prior to the event utilizing the sparse files in the database snapshot. The data files or pages that have been changed after the creation of a snapshot can be returned to their state at the time of the snapshot by copying the old values stored in the snapshot database to the source database. This results in data loss including an error, for instance, from the 1 time the snapshot was created until the revert operation. For example, if a source database contained "A," "B," and "C" at the time a snapshot database was created and then later "B" was changed to "D," the snapshot database would contain "B" and the source database would comprise "A," "D," "B." The revert component could then restore the database to its values at the time of the snapshot by simply copying "B" over "D." However, at the time that the database snapshot was created there may be transactions in progress, which have not yet committed. These transactions are not captured by the database snapshot. Therefore, after a source database is reverted to a database snapshot those transactions are lost and operations (e.g., inserts, updates, deletes) that occur as a result of the transactions will not be executed. The undo component 220 can be employed, among other things, to compensate for this inaccurate representation upon reversion. For example, the undo component 220 can store all open transactions at the time of snapshot database creation, which includes all transactions that began before the creation of the snapshot and terminated thereafter. These stored transactions can subsequently be utilized to roll forward the restored primary database to capture the open transactions and converge upon a restoration event. Furthermore, the undo component 220 can utilized conventional database logs that capture database changes at periodic intervals or upon the command of an administrator to converge even closer to an event such as an error thereby minimizing the loss of "good" transactions. Accordingly, the present invention facilitates database recovery at least as well as can conventionally be accomplished but at a much faster speed utilizing less system resources. Turning to Fig. 3, a timeline 300 is illustrated to further provide clarity concerning the database restoration operations according to aspects of the invention. Time advances from left to right on the timeline 300. In other words, events positioned farther to the right occur later in time than those further to the left. At 310, the database snapshot (DBSS) is created. A period of time passes (minutes, hours, days...) and an event occurs at 320. For example, the event can correspond to a user accidentally deleting a complete table or otherwise modifying page data. Thereafter, a restore operation can be initiated by a database administrator, for instance.
Consequently, the revert component 210 (Fig. 2) of the subject invention can be employed to restore the database to the point in time 310 in which the database snapshot was created. According to an aspect of the subject invention, this can be accomplished by copying sparse file data from the snapshot database over the corresponding data in the source database thereby placing the source database in a consistent stable state devoid of the effects of the event at 320. The undo component 220 (Fig. 2) can then be employed to advance the source database toward the event 320 so as to maintain "good" data while losing or altering data caused by the event.
This can be accomplished by applying open transactions stored in an undo file to the restored database and/or database log files. Fig. 4 illustrates a database snapshot system 400 in accordance with an aspect of the subject invention. The DBSS system 400 comprises a snapshot component 120, a source database 1 10, a snapshot database 130, a catalog component 410, and a monitor component 420. The source database 110 as previously mentioned is the main or primary database, which one may seek to restore. The snapshot component 120 utilizes the source database 110 to generate a database snapshot 130. A database snapshot (DBSS) 130 can be a read only, point in time database. It is space efficient because it shares space with the source database 130. The shared space is all the data pages that are identical in the two databases. According to one exemplary implementation, the DBSS can be created with the following syntax:
CREATE DATABASE ss_da tabase_name ON < filespec > [ , ...n ] AS SNAPSHOT OF source_da tabase_name
For every data file in the source database 110, another file for the DBSS 130 is created. These new files are sparse files. When pages are changed in the source database 110, they are first copied to the sparse files. A catalog component 410 can be employed to generate a log or log file to track whether a page in the DBSS 130 is shared with the source database 110, or the page has been copied to the sparse file. According to one aspect of the invention log is stored in the source database 110 to facilitate easy access thereto. It should be appreciated that recovery can be run on the DBSS 130 before it is available to be read, to bring it into a consistent state. Current open transactions are rolled back, and some of the original pages will probably be copied over to the sparse files because of the rollback. According to an aspect of the invention, a DBSS. has no log. Once created, a DBSS 130 can remain in existence until it is dropped by the database administrator if it is persisted otherwise it can be dropped upon error or system shut down. Multiple DBSSs 130 may exist at different points in time for a single source database 110. According to one aspect of the present invention, all snapshots besides the one being reverted or restored can be destroyed. Alternatively, all snapshots residing later in time than the snapshot being reverted to can be destroyed, while those occurring earlier in time can be saved. Snapshots of a source database taken after a snapshot that is or is going to be reverted to are not very valuable. Furthermore, new snapshots can be taken of the source after it has been restored utilizing a database snapshot, for instance. Snapshots taken before the snapshot used for a restore are much more valuable as one could still revert back to the particular point in time captured by the prior snapshot. DBSS 130 can be created and dropped in a periodic manner, or ad hoc if the user wants a single "safe" point in time to enable reversion thereto. For example, a user may want to create a snapshot upon installation of a new application or during testing. A revert to DBSS 130 could be issued utilizing the following command:
RESTORE DATABASE { database_name | @database_name_var } FROM DATABASE_SNAPSHOT=<snapshotname>
Monitor component 420 can be also be utilized by the snapshot component 120 to observe transactions with respect to the source database and initiate automatic generation of database snapshots. For example, if the monitor component 420 detects or in infers installation of a new application that may significantly alter the source database it can commence creation of a database snapshot. To facilitate such functionality, it should be appreciated that the subject invention can employ artificial intelligence systems and methodologies including but not limited to rule-based expert systems, Bayesian, and neural networks. To restore a database, the source database is closed, and all' connections to it are closed. Consequently, the source is unavailable for transactions during this process. The database can be marked as RESTORE to notify external viewers of the unavailability of the database. A server can then proceed to copy the pages in the sparse files to the original position (when the DBSS was created) in the source database files. Copying the changed pages in most instances is significantly faster ib than restoring from backup. Once the pages are copied, the log for the database can be rebuilt. The source database is now back at a point in time it was at when the DBSS was created. All changes since the DBSS was created have been removed. If an UNDO file is created, then the log chain is not broken, and a data log backups taken from the source database can be applied to roll the source database forward. The scheme to support roll forward after the revert using an undo file can be summarized as follows. On the creation of the DBSS, the original value of every page touched by the recovery of the DBSS when it is created can be saved as a "pre- image" in a separate undo file. On the revert, DBSS pages can be copied to the source database as described. The pre-images can be copied from the separate UNDO file. At this point, the database is exactly as it was when the DBSS was created. Thereafter, database logs can be employed to roll forward the reverted DBSS to a point in time just before the user error occurred, so as to minimize the amount of data lost. Turning to Fig. 5, a diagram is provided to illustrate an exemplary database restore 500 in accordance with an aspect of the subject invention. Source database 110 includes two database files 510 and 520. Database files 510 and 520 both contain eight pages each of various data. A snapshot of the source database is generated. Accordingly, database snapshot 130 is created. The snapshot database can have two snapshot database sparse files 530 and 540 corresponding to source files 510 and 520 respectively. At the time the snapshot originates, these source files can simply be shells as they can share all data with source files 510 and 520. At some point after creation of the snapshot, values in the source database can be altered. Here, the values changed reside on pages 3 and 7 in file 510 and file 2 on page 4. Specifically page 3 has been changed from "C" to "Z," page 7 has been changed from "G" to "Y," and page 4 has been changed from "L" to "Z." Accordingly, the original values prior to the change have been saved to the sparse files 530 and 540, here "C," "G," and "L." On a restore, the pages in the sparse file, here 3 and 7 from file 530 and page 3 from file 540 can be copied back over the updated pages in the source or primary database 110. Copying the pages comprises several scenarios including simply copying the modified pages back, or more complex ones like adding or deleting files, growing or shrinking the primary database files to the size of the sparse files, adding or deleting H the pages (i.e. keeping track of the pages added to the primary so that they can be removed while restoring) etc. For the file additions and deletions, one can compare the file lists of both the source database and the database snapshot and synchronize them. For page additions, if the source is bigger then the snapshot or replica, the source can be chopped off or truncated at the end to the size of the replica, in part because pages that were added, were added at the end of the source according to an aspect of the invention. If the replica is bigger, this means pages were deleted from the primary source. Hence, the size of the source can be increased and all the pages for that range will already be in the snapshot and thus will be copied over by the normal copy operation. One naϊve algorithm to copy the pages back would be copy them one by one. However, according to an aspect of the invention an asynchronous copy operation implementation can be employed. For instance, a single thread and three queues, a read queue, a write queue, and an empty buffer queue, can be utilized. While copying back, if the page was there in the source (e.g., meaning it changed) or it was not there
(e.g., meaning it was deleted) it can simply be copied to the source. If however, there are extra pages in the primary source, then they would have been added at the end of the file, which can be remedied by truncating the file to the size of the replica. Finally, the source can be unlocked to complete the restore. According to another aspect of the invention, the log backup associated with a source database can be broken after a restore. Hence, log backups will fail on the reverted database until a full or file backup is taken. The reverted database can retain the same recovery model as it did when it was created. Hence, the system of the present invention can support (1) starting the revert; (2) manipulating data; (3) rebuilding the log; and (4) restarting the database. According to yet another aspect of the invention, a new source database can be created from the snapshot database by copying the data from the original source database. Any error during the database creation may require a database administrator (DBA) to restart the operation, for example, once the server becomes available. Once the database is created, the DBA can drop the source database and rename the reverted database. Such a system can be employed with respect to data mirroring for example. Turning to Fig. 6, an exemplary data mirroring system 600 is illustrated in accordance with an aspect of the subject invention. System 600 comprises two databases: source database 110 and mirror database 610, database snapshot(s) 130 and restore component 140. Source database 110 is the primary database. Mirror database 610 is a separate database comprising almost a bit for bit replica of the source database 110. Thus, as changes are being made to source database 110 they can be sent over a network, for instance, to mirror database 610. The idea behind mirroring is that if the primary source database 110 fails or otherwise becomes unavailable, for instance due to a power failure, mirror database 610 can become the new source database for transactions thereby facilitating high availability of data via redundancy. According to an aspect of the present invention previously described, the source database 610 can have snapshot database snapshot (s) 130 associated therewith to facilitate point-in-time reversion. Thus, a database administrator could revert the source database 110 to a previous point in time utilizing database snapshot 130 and restore component 140. If a revert is performed on the source database 110, the mirror database 610 should also reflect the changes. Conventionally, a time consuming backup and full restore was needed to update and resynchronize the mirror database 610. According to an aspect of the invention, the mirror database 610 can automatically be updated and synchronized with the source. Since the changes to the source are automatically reflected in the mirror database changes to the source during the revert can also be passed to the mirror simultaneously or asynchronously after the revert has been completed on the source. Turning to Fig. 7, an exemplary system 700 for mirroring a database with snapshots is illustrated in accordance with an aspect of the subject invention. As shown the system 700 includes a base or destination database 610 named DB1JLS.
Applications 620 seek to view data from database 610. In particular, applications 620 can interact with snapshots 630 named DB1_001, DB1_002, and DB1_003. The first snapshot DB1_001 can be created and referenced to DB1, for example:
CREATE DATABASE DB1_001 AS SNAPSHOT OF DB1_LS
ON (NAME = Metafile', FILENAME = ΛF: \DB1_001. SNP' )
Subsequently, the second snapshot DB1_002 can be created. Users who are still using DB1_001 continue to use it: CREATE DATABASE DB1_002 AS SNAPSHOT OF DB1_LS
ON (NAME = Metafile ' , FILENAME = ' F : \DB1_002 . SNP' )
Thereafter, the third snapshot can be created and make reference to DB1. Users who are still using DB1_001 or DB1_002 continue to use them:
CREATE DATABASE DB1_003 AS SNAPSHOT OF DB1_LS ON (NAME = Metafile', FILENAME = F: \DB1_003. SNP' )
Additionally, according to an aspect of the subject invention database snapshots can be utilized for consistency checks on a database. For example, a DBCC CHECKDB() command can be executed on a database. As a consequence, an internal snapshot of the database with the backing storage can be created in alternate streams of existing database files. The pages can then be read for the consistency check and the system can either read them from the base database if they have not been modified or from alternative streams if they have been modified. It should also be appreciated that although not illustrated the subject invention can employ one or more graphical user interfaces (GUIs). The GUIs can be utilized to support management of snapshots. For example, a plurality of text and graphical components including but not limited to text boxes, buttons, tabs, drop-down menus, and scroll bars can be employed to create a snapshot and subsequently revert a database back thereto. Furthermore, both the database snapshot and the source database associated therewith can be backed up in a conventional sense. For instance, an administrator may backup individual files or filegroups from the snapshot. When the backups are restored, they are restored as regular databases. On a backup operation of the source, the user can specify which snapshots are to be taken with the backup. On restore, the user can specify which snapshots are to be restored as well.
Database Snapshots (also known as Copy-On- Write Databases') Generally, a database consists of files of two types: data files and log files. Log files contain a series of log records. Log records may be identified with a log sequence number (LSN). As depicted in Fig. 8, according to one aspect of the l4 invention, the primary database 800 includes of a set of data files 802 and a log file 810. Data files 802 can be divided into blocks or units of storage called pages. A database snapshot for a database can be created which provides a transaction consistent view of an existing database at a previous point in time without creating a complete copy of the database. A database snapshot, in conjunction with the database, includes all the information necessary to produce a copy of the database at the previous time. The database snapshot, however, does not in itself contain all of the information and thus can be smaller in size than a full copy would be. Additionally, a snapshot can be created on the fly as modifications are made to the database, which allows the costs (time and processing) to be spread over time. If a copy was made of the database snapshot at the prior time, the time and processing cost would be concentrated at one time. Additionally, database snapshots are advantageous in that they can be created while update activity continues on the database. The primary database is the database which is being used and of which one or more database snapshots are being created. As described supra, a database snapshot contains all the information needed to, along with the primary database, determine the contents of the primary database at a previous time. The database snapshot can comprise a side file corresponding to each file in the primary database. A side file contains a copy of all data from the corresponding data file, which has been changed since the database snapshot was created. In one aspect of the present invention, in order to avoid the need for a mapping table from pages in the side file to pages in the primary file, the side files are stored in sparse files. In a sparse file, only portions of the file that are actually written to need storage space. All other regions of the file can be unallocated. It should be noted, however, that storing side files in sparse files is not a requirement of the present invention and alternative storage systems and methodologies are considered to be within the scope of the invention. According to another aspect of the invention, the sparse file mechanism works with a standard region size. If data within one region is written to the sparse file, even if the data does not fill the entire region, space for the entire region can be allocated.
Because this space is allocated and can be read from, a distinction can be made between the areas of the region filled with valid data and the areas of the region,
IS which exist because the granularity of the sparse file requires a region of a certain size to be allocated if any storage within that region is necessitated. Because the database snapshot includes the original value of all of the data, which has been changed in the primary database since the database snapshot was created, the database data as of the time of the creation of the database snapshot may be read from the snapshot. In order to respond to a request for data from the database snapshot, data can be read from the database snapshot's side files, if the side files contain the data from the request. The data to be read which is not present in the side files has not been changed since the database snapshot was created and can be read from the primary database. According to yet another aspect of the invention, the side files comprise pages of data from the primary database. When any data on any page of the primary database is changed, the page of data is stored in a side file. The present invention is described with reference to pages as the unit of data in the primary database; however, it is contemplated that other units of data from the primary database may be utilized. In order to determine which data has been written to the side file and which data should be read to the primary database, the presence of valid data in the side file should be ascertained. In one instance, it can be read directly to ascertain if valid data exists. According to another aspect of the invention, a side page table can be created which stores data regarding whether a given page exists and is valid. For each page in the primary database, the side page table can store information regarding whether the page should be read from the primary database, indicating that it has not changed, or whether the page should be read from a side file, because it has changed. The side page table allows a fast determination of whether a given page exists in the side file. According to another aspect of the invention, the side file and the sparse file mechanism both use the same page/region size. That is, the pages that the side file stores from the primary database are the same size as the regions, which the sparse file stores when any memory is written into the sparse file. For example, if the sparse file regions are 8KB and the pages stored from the primary database are also 8KB, the page size and the region size are equal. In this case, any region that is filled will be filled completely by the page read from the primary database, and there is no possibility that invalid data is stored in the region. In accordance with another aspect of the invention, a number of side file regions can correspond exactly to each page. For example, if the sparse file regions are 8KB (kilobytes) and the pages stored from the primary database are 16KB, then each page stored in the side file will fill two regions. In this case, as well, any region that is filled will be filled completely by contents from the page read from the primary database. Again, there is no possibility that invalid data is contained in the region. For these aspects of the invention, the side page table comprises an in-memory bitmap, which holds one bit of information for each page in the side file. For each page in the side file, the corresponding bit indicates whether the page is in the side file. According to another aspect of the invention, the granularity of the side file region is larger than the granularity of the pages stored from the primary database. For example, if each region of the side file is 64KB and the size of the pages is 8KB, then the presence of a region in the side file does not necessarily indicate that all information in the region is valid data from the primary database. If only one page is copied to the side file, in the example, only 8KB of the 64KB in the allocated region will contain valid data. In another embodiment, some side file pages are spread across regions. For these aspects, the side page table comprises two in-memory bitmaps, which hold two bits of information for each page in the side file, which we will term bitl and bit2. For each page in the side file, the corresponding bits indicate (bitl) whether the page is definitely in the side file, and (bit2) whether the page is potentially in the side file. Bit2 may also be thought of as indicating that the region in which the page would be stored in the side file has been allocated. However, as discussed below, in one embodiment, this bit2 is set only when the side page .table is reconstructed. The bitmaps are maintained in-memory and therefore may not be persistent. If they are erased, the bitmaps are reconstructed from the sparse file information. The sparse file is consulted, and, for each page, if the side file has allocated space for the region in which the page is located, bit2 is set to indicate that the page is potentially in the side file. For each page, bitl is initially set to indicate that it is not definite that the page is in the side file. If the side page table is maintained in such a way that it is persistent, then the '1 granularity of the regions and the pages may be disregarded, and the one-bit side page table may be used. However, in one embodiment, in order to support a persistent database view after a database server restart, the two-bit page table is used. In accordance with one aspect of the invention, no page table is created for the side files. In this case, whenever it is necessary to determine whether a copy has been made of a page in the database snapshot, the database snapshot is consulted. The invention will be described below with reference to an aspect of the invention in which a one-bit or a two-bit page table exists, however, other embodiments of the invention in which there is no page table, and the database view must be examined to determine whether it contains a page copied from the primary database are also contemplated. As shown in Figure 9, the database snapshot 920 for primary database 800 consists of side files 925. Each of the data files 802 in primary database 800 has a corresponding side file 925 in the database snapshot 920. Additionally, side page table data 930 is stored in-memory for the database snapshot 920. According to one aspect of the invention, side page table data 930 is one side page table, which covers all of the side files 925. According to another aspect of the invention, a separate side page table can exist for each of side files 925. In a database, the transaction log is a serial record of all the transactions that have been performed against the database since the transaction log was last backed up. The transaction log is used to recover the database to a point of failure. According to one aspect of the invention, the transaction log is modeled as a circular queue. A transaction log may be truncated by deleting an inactive portion of the log. This inactive portion contains completed transactions which do not need to be recovered at least because the changes they reflect have been persisted to the data files. Conversely, the active portion of the transaction log contains both completed transactions and transactions that are still running and have not yet completed (active transactions.) Truncation can be done to minimize inactive space in the transaction log instead of allowing the transaction log to continue to grow and use more space. Active transactions may cause transaction-inconsistency. For an active transaction, some modifications of data files may not have been written from the buffer cache to the data files, and there may be some modifications from incomplete transactions in the data files. The log file 810 can be used to ensure that a recovery of the database is transaction consistent. This can be done using ARIES (Algorithms for Recovery and Isolation Exploiting Semantics)-style recovery. Every modification recorded in the log which may not have been written to the data files is rolled forward by performing the modification on the database. To ensure the integrity of the database, every incomplete transaction found in the transaction log is rolled back by undoing the modification on the database. In order to create a database snapshot, the physical structures (the side files and page tables) of the database view must be initialized. First, a side file 925 is created for each data file 802 in the primary database 800. As discussed above, a side file may be a sparse file or in another embodiment may be a non-sparse file of the same size as the data file 802. Side file 925s are associated with the data files 802 in the primary database 800. Because transactions are continuously occurring and the database view is transaction consistent, the transaction log should be used during the creation of a database snapshot. In order to ensure that information regarding transactions that should be used for the database view is not discarded, log truncation (if it exists) is disabled on the primary database 800. According to an aspect of the invention, a side page table 930 is initialized for the database snapshot. Initially, the side page table 930 is set to indicate that no pages exist in side file 925, and, in the case of a two-bit side page table, that no pages are potentially or definitely in side file 925. When the initialization is completed, the database snapshot is ready to go "online". The database snapshot will now be running alongside the primary database 800, and when modifications are performed, copies of the original values of the modified pages (i.e. the pages' contents before the updates are performed) will be stored in the database snapshot. An exemplary method for implementing a transaction-consistent snapshot of a database can include determining a split point on the transaction log. This split will correspond to the point in time that the database snapshot represents. The LSN of the end of the log on the primary database 800 can be obtained when the database snapshot is created; this LSN is the "split point" at which the primary database 800 and the database snapshot 820 will start diverging. The primary database 800 can then be marked so that database snapshot processing is
\<T required. Database snapshot support in the primary database 800 as described below, begins. In order for the database snapshot to be consistent, the log of the primary database 800 prior to the split point must be analyzed to determine what transactions were active at the time of the split. The oldest active (as of the split point) transaction in the log is identified. Log truncation is enabled before that oldest active transaction. In a manner similar to ARIES (Algorithms for Recovery and Isolation Exploiting Semantics)-style recovery, all the operations in the log of the primary database 800 from the oldest active transaction prior to the split point are performed to the database snapshot. Figure 10 is a block diagram of an example transaction log, log file 810, according to an aspect of the invention. Log entries in log file 810 include log entries 1000, 1010, 1020, 1030, 1040, 1050, 1060, 1080, 1080, 1090 and 1099. A split point 1075 is determined. Transactions continue being written to the log however, truncation is disabled. The log file 810 is examined, and any modifications to the database as a result of transactions from the oldest active transaction to the split point (from log entry n 1000 through log entry n+7, in the example in Figure 10) are performed to the side files 925. The result of the modifications in each of these transactions is stored in the side files 925. Then, these transactions are examined. Modifications written to the log file by any active transactions in the log, such as log entry n 1000, log entry n+2 1020, and log entry n+6, are undone in the side files 925. Some transactions, however, may not yet have been committed. Therefore, active transactions in the log up to the split point should be located and undone. According to an aspect of the invention, where an incomplete transaction changes the value for a certain location in the database, the change, which has been added to the side file above, is removed from the side file. Alternatively, the undoing of a transaction can be accomplished by modifying the database snapshot, as detailed below, setting the data in the side file to match the data in the database as of the split point. In this way, only the completed transactions from the log are reflected in the database snapshot. When the transactions on the log are reflected in the database snapshot, with the exception of transactions active when the split point occurred which have been undone, log truncation is enabled on the primary database 800. Because database snapshot processing has been enabled, the database snapshot will be updated as changes are made to the primary database 800, and so the database snapshot can be used to determine the contents of the primary database 800 as of the time of the split point. When a database server restarts after it is shut down (either normally or abnormally), the database snapshot should be reinitialized. In order to do so, the side page tables, which have been stored in memory, must be reinitialized. In order to reinitialize the side page table, in a two-bit side page table implementation, for each region in the side page table that has been allocated, the data (bit2) in the side page table for each page in a region that has been allocated is set to indicate that the page may possibly have been written to side file 925. The data in the side page table for all other pages is set to indicate that there is no possibility that the page was written to side file 925. It is not definite, however, that the page was written to side file 925, and therefore bitl is not set initially. Alternatively, either in the two-bit side page table implementation or in the one-bit side page table implementation, side file 925s may be examined to determine, for each page, if the page in side file 925 is valid, as described supra. The page table is set to indicate, for each page which does exist, that the page does actually exist in side file 925. All other pages are set to indicate that the page does not exist in side file 925. In order for the database snapshot to store information from the primary database 800 before the data is overwritten, the primary database 800 must support the creation of a database snapshot. For each page that the primary database 800 modifies, a determination must be made as to whether the page is in the database snapshot. If the page exists in the database snapshot, then it is the correct version of the page. For example, this may have been when a previous modification had been made to that page in the primary database 800. If the page is changed again in the primary database 800, the version in the database view should not change. When the information is received from the primary database 800 that a page has being changed, if the page is in side file 925, nothing should be done. If the page is not in side file 925, the page should be written to side file 925, and the correct bit should be set in the side page table. In the case where there is a two-bit page table,
«3| there are three possibilities for bitl and bit2 for the page, as indicated by the following Table 1:
Figure imgf000024_0001
TABLE 1 : Cases for Two-Bit Page Table
According to an aspect of the invention, when bitl indicates that the page is definitely in side file 925, bit2 is ignored; thus, as shown in Table 1, where bitl indicates that the page is definitely in side file 925, the page is assumed to be in side file 925 no matter what bit2 indicates. In an alternate embodiment, when bitl is set to indicate that the page is definitely in side file 925, bit2 is set to indicate that the page is possibly in side file 925, and in this alternate embodiment, when bitl indicates that the page is definitely in side file 925 yet bit2 indicates that the page is definitely not in side file 925, the case is invalid and an error has been encountered. When the primary database 800 indicates that a page is being changed, for a two-bit page table, the actions which should be taken for the cases listed above are as follows: Case 1 : Do nothing. Case 2: Determine if the page is in side file 225, if it is not, write the page to side file 225. Case 3: Write the page to side file 925. When the page is written to side file 925, in either Case 1 or Case 2 the old version of the page in the primary database 800 (the version now being modified by the primary database 800) is written to side file 925. Additionally, the page table is set to indicate that the page is now in side file 925 so that any subsequent writes to the page will be handled according to Case 1 , and the correct page for the database view remains stored in side file 925. In order to determine if the page is in side file 925 in Case 2, data corresponding to the page is read from side file 925. If the data is valid then a previous version of the page is in side file 925, then it should not be overwritten. In one embodiment, the page table bitl corresponding to the page is set to indicate that the page is definitely in side file 925, so future writes to the page are handled under
Case 1. Data invalidity may be indicated by data placed in newly allocated regions to indicate that no valid data has yet been written to the region. For example, all zeros may be written to a newly allocated region, if it is known that no page of the database will ever contain all zeros. If this is the case, then the presence of the page in side file
925 is indicated by the corresponding page in side file 925 being part of an allocated region and containing some non-zero data. The cases detailed in Table 1 are also useful for performing a read of data stored in a database snapshot. When data in a page is being read from a database view, the page should be read from side file 925 if it exists in side file 925. If it does not, the page should be read from the primary database 800. In a two-bit page table system, the actions that should be taken for the three cases are as follows: Case 1 : Read the page from side file 925. Case 2: Determine if the page is in side file 925, if it is, read the page from side file 925, if it is not, read the page from the primary database 800. Case 3: Read the page from the primary database 800.
The database snapshot represents the state of a database at a prior point in time. A user may choose to use the database snapshot as a database. For example, the user may choose to perform an action on the database snapshot, to create a database snapshot of the database as it would have been had the action been performed on the database snapshot at the prior point in time. Additionally, during initialization, as detailed above, transactions may be performed and undone on the database snapshot. To modify the database snapshot, the modification should be based on the data in the database snapshot and the resulting page should be stored in the database snapshot. If no data exists in the database snapshot for the page, then the modification should be based on the data in the primary database 800, and the A3 resulting page should be stored in the database snapshot. In a two-bit page table system, the actions that should be taken for the three cases are as follows: Case 1 : Read the page from side file 925, perform modifications, write the page to side file 925. Case 2: Determine if the page is in side file 925, if it is, proceed as in case 1 , if it is not, proceed as in case 3. Case 3: Read the page from the primary database 800, write the page to side file 925 and set the page table to indicate that the page is in side file 925. Perform modifications to the page and write the modified page to side file 925 when appropriate.
In view of the exemplary system(s) described supra, a methodology that may be implemented in accordance with the present invention will be better appreciated with reference to the flow charts of Figs. 11-13. While for purposes of simplicity of explanation, the methodology is shown and described as a series of blocks, it is to be understood and appreciated that the present invention is not limited by the order of the blocks, as some blocks may, in accordance with the present invention, occur in different orders and/or concurrently with other blocks from what is depicted and described herein. Moreover, not all illustrated blocks may be required to implement the methodology in accordance with the present invention. • Additionally, it should be further appreciated that the methodologies disclosed hereinafter and throughout this specification are capable of being stored on an article of manufacture to facilitate transporting and transferring such methodologies to computers. The term article of manufacture, as used, is intended to encompass a computer program accessible from any computer-readable device, carrier, or media. By way of illustration and not limitation, the article of manufacture can embody computer readable instructions, data structures, schemas, program modules, and the like. Fig. 11 depicts a method for establishing a snapshot database 1100 in accordance with an aspect of the subject invention. A snapshot database maintains data concerning changes to a source database from the point of time of its creation. At 1110, a request is received to alter data in the source or primary database. For example, a request may be made to change or alter a page of data. At 1 120, a copy of the data in the source database to be displaced by the new data is copied to the snapshot database file and page corresponding to the amendment of the source database. At 1130, the new data is copied over or replaced by the old data in the source database. Finally, at 1 130 a catalog can be updated to note the change to the database and the entry into the snapshot database. Fig. 12 illustrates a data restoration methodology 1200 in accordance with an aspect of the subject invention. At 1210, each page of data stored in the snapshot database can be written over data in a corresponding location in the primary database. Furthermore, it should be appreciated that the primary files in the database can be expanded if necessary to enable receipt of snapshot data. At 1220, the size of the snapshot database or files therein can be identified and compared to the size of the primary database or corresponding filed therein. If the snapshot database or files therein are smaller than the primary database or files therein signifying that the files should not exist in the restored database than the primary database can be truncated to remove the added data pages. This can correspond to removing the last pages of data in a file as according to an aspect of the invention newly added data is added to at the end of a file. At 1230, open transactions that had not committed at the time the snapshot was created can be retrieved from storage and applied to the primary database being restored. Subsequently, a database log can be retrieved and applied to the restored database at 1240 to further advance the database closer to the event necessitating the restore so as to save as many "good" transactions up to but before occurrence of the event. Turing to Fig. 13 a data restoration methodology 1300 is depicted in accordance with an aspect of the subject invention. At 1310, a database snapshot is created and maintained. The database snapshot can be created by a user at any time. Furthermore, more than one snapshot can be created so as to provide a plurality of points of reversion over time. The snapshot database can also be created automatically. For example, a monitor component can observe actions with respect to the source or primary database and detect and/or infer actions that may significantly alter the database. For instance, a snapshot could be created automatically upon detection of an installation of a new application. The database snapshot can, according to an aspect of the invention, store changes to the source database. 3S Accordingly, maintaining the database snapshot corresponds to copying changes thereto. According to another aspect of the invention, the snapshot can comprise sparse files thereby storing only changes to corresponding pages and sharing all other data with the primary database. At 1320, the database can be reverted to a prior point in time marked by a snapshot upon the occurrence of an event including but not limited to a user error (e.g., quick finger delete). Reversion or restoration can comprise, inter alia, copying pages from the snapshot database over pages in the primary database, truncating the primary database, applying uncommitted open transactions at the time of snapshot creation to the database, and applying database log information to the primary database to converge upon the event.
Sample Operating Environments In order to provide a context for the various aspects of the invention, Fig. 14 as well as the following discussion are intended to provide a brief, general description of a suitable computing environment in which the various aspects of the present invention may be implemented. While the invention has been described above in the general context of computer-executable instructions of a computer program that runs on a computer and/or computers, those skilled in the art will recognize that the invention also may be implemented in combination with other program modules. Generally, program modules include routines, programs, components, data structures, etc. that perform particular tasks and/or implement particular abstract data types. Moreover, those skilled in the art will appreciate that the inventive methods may be practiced with other computer system configurations, including single-processor or multiprocessor computer systems, mini-computing devices, mainframe computers, as well as personal computers, hand-held computing devices, microprocessor-based or programmable consumer electronics, and the like. The illustrated aspects of the invention may also be practiced in distributed computing environments where task are performed by remote processing devices that are linked through a communications network. However, some, if not all aspects of the invention can be practiced on stand- alone computers. In a distributed computing environment, program modules may be located in both local and remote memory storage devices. With reference to Fig. 14, an exemplary environment 1410 for implementing various aspects of the invention includes a computer 1412. The computer 1412 includes a processing unit 1414, a system memory 1416, and a system bus 1418. The system bus 1418 couples system components including, but not limited to, the system memory 1416 to the processing unit 1414. The processing unit 1414 can be any of various available processors. Dual microprocessors and other multiprocessor architectures also can be employed as the processing unit 1414. The system bus 1418 can be any of several types of bus structure(s) including the memory bus or memory controller, a peripheral bus or external bus, and/or a local bus using any variety of available bus architectures including, but not limited to, 11- bit bus, Industrial Standard Architecture (ISA), Micro-Channel Architecture (MSA), Extended ISA (EISA), Intelligent Drive Electronics (IDE), VESA Local Bus (VLB),
Peripheral Component Interconnect (PCI), Universal Serial Bus (USB), Advanced Graphics Port (AGP), Personal Computer Memory Card International Association bus (PCMCIA), and Small Computer Systems Interface (SCSI). The system memory 1416 includes volatile memory 1420 and nonvolatile memory 1422. The basic input/output system (BIOS), containing the basic routines to transfer information between elements within the computer 1412, such as during startup, is stored in nonvolatile memory 1422. By way of illustration, and not limitation, nonvolatile memory 1422 can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory 1420 includes random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in many forms such as synchronous RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). Computer 1412 also includes removable/non-removable, volatile/non- volatile computer storage media. Fig. 14 illustrates, for example disk storage 1424. Disk storage 4124 includes, but is not limited to, devices like a magnetic disk drive, floppy disk drive, tape drive, Jaz drive, Zip drive, LS-100 drive, flash memory card, or memory stick. In addition, disk storage 1424 can include storage media separately or in combination with other storage media including, but not limited to, an optical disk drive such as a compact disk ROM device (CD-ROM), CD recordable drive (CD-R Drive), CD rewritable drive (CD-RW Drive) or a digital versatile disk ROM drive (DVD-ROM). To facilitate connection of the disk storage devices 1424 to the system bus 1418, a removable or non-removable interface is typically used such as interface 1426. It is to be appreciated that Fig 14 describes software that acts as an intermediary between users and the basic computer resources described in suitable operating environment 1410. Such software includes an operating system 1428. Operating system 1428, which can be stored on disk storage 1424, acts to control and allocate resources of the computer system 1412. System applications 1430 take advantage of the management of resources by operating system 1428 through program modules 1432 and program data 1434 stored either in system memory 1416 or on disk storage 1424. Furthermore, it is to be appreciated that the present invention can be implemented with various operating systems or combinations of operating systems. A user enters commands or information into the computer 1412 through input device(s) 1436. Input devices 1436 include, but are not limited to, a pointing device such as a mouse, trackball, stylus, touch pad, touch screen, keyboard, microphone, joystick, game pad, satellite dish, scanner, TV tuner card, digital camera, digital video camera, web camera, and the like. These and other input devices connect to the processing unit 1414 through the system bus 1418 via interface port(s) 1438. Interface port(s) 1438 include, for example, a serial port, a parallel port, a game port, and a universal serial bus (USB). Output device(s) 1440 use some of the same type of ports as input device(s) 1436. Thus, for example, a USB port may be used to provide input to computer 1412 and to output information from computer 1412 to an output device 1440. Output adapter 1442 is provided to illustrate that there are some output devices 1440 like monitors, speakers, and printers, among other output devices 1440 that require special adapters. The output adapters 1442 include, by way of illustration and not limitation, video and sound cards that provide a means of connection between the output device 1440 and the system bus 1418. It should be noted that other devices and/or systems of devices provide both input and output capabilities such as remote computer(s) 1444. Computer 1412 can operate in a networked environment using logical connections to one or more remote computers, such as remote computer(s) 1444. The remote computer(s) 1444 can be a personal computer, a server, a router, a network PC, a workstation, a microprocessor based appliance, a peer device or other common network node and the like, and typically includes many or all of the elements described relative to computer 1412. For purposes of brevity, only a memory storage device 1446 is illustrated with remote computer(s) 1444. Remote computer(s) 1444 is logically connected to computer 1412 through a network interface 1448 and then physically connected via communication connection 1450. Network interface 1448 encompasses communication networks such as local-area networks (LAN) and wide- area networks (WAN). LAN technologies include Fiber Distributed Data Interface (FDDI), Copper Distributed Data Interface (CDDI), Ethernet/IEEE 802.3, Token Ring/IEEE 802.5 and the like. WAN technologies include, but are not limited to, point-to-point links, circuit-switching networks like Integrated Services Digital Networks (ISDN) and variations thereon, packet switching networks, and Digital Subscriber Lines (DSL). Communication connection(s) 1450 refers to the hardware/software employed to connect the network interface 1448 to the bus 1418. While communication connection 1450 is shown for illustrative clarity inside computer 1412, it can also be external to computer 1412. The hardware/software necessary for connection to the network interface 1448 includes, for exemplary purposes only, internal and external technologies such as, modems including regular telephone grade modems, cable modems, DSL modems, power modems, ISDN adapters, and Ethernet cards. Fig. 15 is a schematic block diagram of a sample-computing environment 1500 with which the present invention can interact. The system 1500 includes one or more client(s) 1510. The client(s) 1510 can be hardware and/or software (e.g., threads, processes, computing devices). The system 1500 also includes one or more server(s) 1530. The server(s) 1530 can also be hardware and/or software (e.g., threads, processes, computing devices). The servers 1530 can house threads to perform transformations by employing the present invention, for example. One possible communication between a client 1510 and a server 1530 may be in the form of a data packet adapted to be transmitted between two or more computer processes. The system 1500 includes a communication framework 1550 that can be employed to. facilitate communications between the client(s) 1510 and the server(s) 1530. The client(s) 1510 are operably connected to one or more client data store(s) 1560 that can be employed to store information local to the client(s) 1510. Similarly, the server(s) 1530 are operably connected to one or more server data store(s) 1540 that can be employed to store information local to the servers 1530. What has been described above includes examples of the present invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the present invention, but one of ordinary skill in the art may recognize that many further combinations and permutations of the present invention are possible. Accordingly, the present invention is intended to embrace all such alterations, modifications and variations that fall within the spirit and scope of the appended claims. Furthermore, to the extent that the term "includes or having" is used in either the detailed description or the claims, such term is intended to be inclusive in a manner similar to the term "comprising" as "comprising" is interpreted when employed as a transitional word in a claim.
.0

Claims

CLAIMSWhat is claimed is:
1. A data recovery system comprising: a snapshot component that generates a snapshot database from a source database, wherein the snapshot database houses sparse files that store data displaced as a result of modifications to the source database; and a restore component that utilizes the snapshot database to restore the source database to a point in time prior to an event.
2. The system of claim 1, wherein the event corresponds to a user error.
3. The system of claim 2, wherein the restore component comprises a revert component that copies snapshot database data to the source database.
4. The system of claim 3, wherein the restore component comprises an undo component that stores open transactions during the creation of a snapshot database and adds them to a restored source database.
5. The system of claim 4, wherein the undo component utilizes database log files to converge upon the error.
6. The system of claim 1 , further comprising a catalog component to track whether a page in the snapshot database is shared with a source database.
7. The system of claim 6, wherein the catalog component tracks whether a page in the source database has been copied to the snapshot database.
8. The system of claim 1, the snapshot component comprising a monitor component that observes the source database and initiates snapshot creation upon the occurrence of an event likely to modify the source database to a particular degree.
-\
9. The system of claim 1, wherein the restore component updates and synchronizes one or more mirror databases automatically and simultaneously with the restore of the source database.
10. A database data recovery system comprising: a means for monitoring alterations to a data store and storing displaced data in a snapshot database; a means for reverting back to data at a prior point in time, wherein reverting back includes copying snapshot database files over associated data store files.
11. The system of claim 10, wherein the snapshot database comprises sparse files representing an original value of a data store file prior to being altered.
12. The system of claim 1 1, wherein the snapshot database and the data store share data that has not changed since creation of the snapshot database.
13. The system of claim 10, further comprising a means for capturing and applying open transactions that had not committed at the time of snapshot creation to converge more closely on an error.
14. The system of claim 10, further comprising a means for applying database log files to a data store to facilitated saving good transactions and converging on an event justifying a reversion.
15. A data recovery methodology comprising: creating a snapshot of a database; and reverting to the snapshot to restore the database to its state at the point in time when the snapshot was created.
16. The method of claim 15, wherein the snapshot is created automatically upon a detection of an event that may significantly alter a database.
3-P-
17. The method of claim 16, wherein the event corresponds to installation of a new application.
18. The method of claim 15, wherein the snapshot comprises one or more sparse files corresponding to database files, the sparse files representing the structure of the database at the time the snapshot was created.
19. The method of claim 18, wherein reverting to the snapshot comprises copying pages contained in the sparse files over corresponding pages in the database.
20. The method of claim 18, further comprising applying uncommitted open transactions to the database.
21. The method of claim 20, further comprising applying a database log file to the database to converge upon an event inspiring the restoration.
22. A computer readable medium having stored thereon computer executable instructions for carrying out the method of claim 15.
23. A data restoration methodology comprising: creating a snapshot database for a source database at a point in time; copying data to be displaced by transactions committing after the creation of the snapshot to the snapshot database; and reverting to the state of the database at the time the snapshot was created upon the occurrence of an event.
24. The method of claim 23, wherein the event is a user error.
25. The method of claim 24, wherein the reverting to the state of the database at the time the snapshot was created is initiated by a database administrator utilizing a graphical user interface.
-?
26. The method of claim 23, wherein a catalog component is utilized to determine which data is shared between a source database and a snapshot database and which data is unique to the snapshot database.
27. The method of claim 23, wherein reverting the database comprises copying pages from a sparse database file over corresponding source database pages.
28. The method of claim 27, further comprising capturing uncommitted transactions at the time the snapshot is created.
29. The method of claim 28, further comprising applying the uncommitted transactions to the source database.
30. The method of claim 29, further comprising retrieving a database log and applying the log to the database to roll the database forward in time to reflect changes to the database just prior to the occurrence of the event.
31. The method of claim 23, further comprising automatically updating one or more mirror databases automatically upon reversion of the source database.
32. A computer readable medium having stored thereon computer executable instructions for carrying out the method of claim 23.
PCT/US2004/024048 2004-02-25 2004-07-27 Database data recovery system and method WO2005086032A1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
KR1020057012010A KR101086116B1 (en) 2004-02-25 2004-07-27 Database data recovery system and method
AT04779217T ATE463797T1 (en) 2004-02-25 2004-07-27 DATABASE DATA RECOVERY SYSTEM AND METHOD
JP2007500740A JP4638905B2 (en) 2004-02-25 2004-07-27 Database data recovery system and method
DE602004026422T DE602004026422D1 (en) 2004-02-25 2004-07-27 DATABASE DATA RESTORATION SYSTEM AND METHOD
EP04779217A EP1602042B1 (en) 2004-02-25 2004-07-27 Database data recovery system and method
CN200480001706.4A CN1784676B (en) 2004-02-25 2004-07-27 Database data recovery system and method

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US54764104P 2004-02-25 2004-02-25
US60/547,641 2004-02-25
US10/833,541 2004-04-28
US10/833,541 US8095511B2 (en) 2003-06-30 2004-04-28 Database data recovery system and method

Publications (1)

Publication Number Publication Date
WO2005086032A1 true WO2005086032A1 (en) 2005-09-15

Family

ID=34922676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2004/024048 WO2005086032A1 (en) 2004-02-25 2004-07-27 Database data recovery system and method

Country Status (5)

Country Link
US (2) US8095511B2 (en)
EP (1) EP1602042B1 (en)
JP (1) JP4638905B2 (en)
KR (1) KR101086116B1 (en)
WO (1) WO2005086032A1 (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007065332A1 (en) * 2005-12-07 2007-06-14 Huawei Technologies Co., Ltd. A xml documents management method and system
EP1952283A2 (en) * 2005-10-28 2008-08-06 Goldengate Software, Inc. Apparatus and method for creating a real time database replica
WO2010068570A1 (en) * 2008-12-10 2010-06-17 Commvault Systems, Inc. Method and system for managing replicated database data
US20100332448A1 (en) * 2003-06-30 2010-12-30 Gravic, Inc. Method for ensuring referential integrity in replication engines by resolving lock conflicts
US7962709B2 (en) 2005-12-19 2011-06-14 Commvault Systems, Inc. Network redirector systems and methods for performing data replication
US8290808B2 (en) 2007-03-09 2012-10-16 Commvault Systems, Inc. System and method for automating customer-validated statement of work for a data storage environment
US8589647B2 (en) 2010-06-15 2013-11-19 Samsung Electronics Co., Ltd. Apparatus and method for synchronizing a snapshot image
US8868494B2 (en) 2010-03-29 2014-10-21 Commvault Systems, Inc. Systems and methods for selective data replication
US8886595B2 (en) 2003-11-13 2014-11-11 Commvault Systems, Inc. System and method for performing an image level snapshot and for restoring partial volume data
US8935210B2 (en) 2005-12-19 2015-01-13 Commvault Systems, Inc. Systems and methods for performing replication copy storage operations
US9002799B2 (en) 2005-12-19 2015-04-07 Commvault Systems, Inc. Systems and methods for resynchronizing information
US9003374B2 (en) 2006-07-27 2015-04-07 Commvault Systems, Inc. Systems and methods for continuous data replication
US9002785B2 (en) 2010-03-30 2015-04-07 Commvault Systems, Inc. Stubbing systems and methods in a data replication environment
US9020898B2 (en) 2005-12-19 2015-04-28 Commvault Systems, Inc. Systems and methods for performing data replication
US9208210B2 (en) 2005-12-19 2015-12-08 Commvault Systems, Inc. Rolling cache configuration for a data replication system
US9262435B2 (en) 2013-01-11 2016-02-16 Commvault Systems, Inc. Location-based data synchronization management
US9298715B2 (en) 2012-03-07 2016-03-29 Commvault Systems, Inc. Data storage system utilizing proxy device for storage operations
US9342537B2 (en) 2012-04-23 2016-05-17 Commvault Systems, Inc. Integrated snapshot interface for a data storage system
US9448731B2 (en) 2014-11-14 2016-09-20 Commvault Systems, Inc. Unified snapshot storage management
US9471578B2 (en) 2012-03-07 2016-10-18 Commvault Systems, Inc. Data storage system utilizing proxy device for storage operations
US9495382B2 (en) 2008-12-10 2016-11-15 Commvault Systems, Inc. Systems and methods for performing discrete data replication
US9495251B2 (en) 2014-01-24 2016-11-15 Commvault Systems, Inc. Snapshot readiness checking and reporting
US9632874B2 (en) 2014-01-24 2017-04-25 Commvault Systems, Inc. Database application backup in single snapshot for multiple applications
US9639426B2 (en) 2014-01-24 2017-05-02 Commvault Systems, Inc. Single snapshot for multiple applications
US9648105B2 (en) 2014-11-14 2017-05-09 Commvault Systems, Inc. Unified snapshot storage management, using an enhanced storage manager and enhanced media agents
US9753812B2 (en) 2014-01-24 2017-09-05 Commvault Systems, Inc. Generating mapping information for single snapshot for multiple applications
US9774672B2 (en) 2014-09-03 2017-09-26 Commvault Systems, Inc. Consolidated processing of storage-array commands by a snapshot-control media agent
US9886346B2 (en) 2013-01-11 2018-02-06 Commvault Systems, Inc. Single snapshot for multiple agents
US10042716B2 (en) 2014-09-03 2018-08-07 Commvault Systems, Inc. Consolidated processing of storage-array commands using a forwarder media agent in conjunction with a snapshot-control media agent
US10503753B2 (en) 2016-03-10 2019-12-10 Commvault Systems, Inc. Snapshot replication operations based on incremental block change tracking
US10732885B2 (en) 2018-02-14 2020-08-04 Commvault Systems, Inc. Block-level live browsing and private writable snapshots using an ISCSI server
US11042318B2 (en) 2019-07-29 2021-06-22 Commvault Systems, Inc. Block-level data replication
US11809285B2 (en) 2022-02-09 2023-11-07 Commvault Systems, Inc. Protecting a management database of a data storage management system to meet a recovery point objective (RPO)

Families Citing this family (167)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8095511B2 (en) * 2003-06-30 2012-01-10 Microsoft Corporation Database data recovery system and method
US20050278397A1 (en) * 2004-06-02 2005-12-15 Clark Kevin J Method and apparatus for automated redundant data storage of data files maintained in diverse file infrastructures
US20060031267A1 (en) * 2004-08-04 2006-02-09 Lim Victor K Apparatus, system, and method for efficient recovery of a database from a log of database activities
US7814367B1 (en) * 2004-11-12 2010-10-12 Double-Take Software Canada, Inc. Method and system for time addressable storage
US8959299B2 (en) 2004-11-15 2015-02-17 Commvault Systems, Inc. Using a snapshot as a data source
US7831639B1 (en) * 2004-12-22 2010-11-09 Symantec Operating Corporation System and method for providing data protection by using sparse files to represent images of data stored in block devices
US8296271B1 (en) * 2005-03-28 2012-10-23 Federal Home Loan Mortgage Corporation System and method for optimizing data recovery in a parallel database
US7519636B2 (en) * 2005-03-30 2009-04-14 Sap Ag Key sequenced clustered I/O in a database management system
US7440979B2 (en) * 2005-03-30 2008-10-21 Sap Ag Snapshots for instant backup in a database management system
WO2007005562A2 (en) * 2005-06-30 2007-01-11 Phoenix Technologies Ltd. Shared file system management between independent operating systems
US8250030B2 (en) 2005-09-21 2012-08-21 Infoblox Inc. Provisional authority in a distributed database
US8290910B2 (en) * 2005-09-21 2012-10-16 Infoblox Inc. Semantic replication
US8533169B1 (en) 2005-09-21 2013-09-10 Infoblox Inc. Transactional replication
US7490108B2 (en) * 2005-10-19 2009-02-10 Hewlett-Packard Development Company, L.P. Data consolidation
JP4927408B2 (en) * 2006-01-25 2012-05-09 株式会社日立製作所 Storage system and data restoration method thereof
US7693883B2 (en) * 2006-01-30 2010-04-06 Sap Ag Online data volume deletion
US8112396B2 (en) * 2006-06-07 2012-02-07 Emc Corporation Backup and recovery of integrated linked databases
US8626557B2 (en) * 2006-09-26 2014-01-07 International Business Machines Corporation System and method of providing snapshot to support approval of workflow changes
US7765361B2 (en) * 2006-11-21 2010-07-27 Microsoft Corporation Enforced transaction system recoverability on media without write-through
US20080140963A1 (en) * 2006-12-11 2008-06-12 Thomason Ronald G Methods and systems for storage system generation and use of differential block lists using copy-on-write snapshots
US20080154842A1 (en) * 2006-12-20 2008-06-26 International Business Machines Corporation Enhanced relational database management system and method
US8069141B2 (en) * 2007-03-12 2011-11-29 Microsoft Corporation Interfaces for high availability systems and log shipping
US7975109B2 (en) 2007-05-30 2011-07-05 Schooner Information Technology, Inc. System including a fine-grained memory and a less-fine-grained memory
US7933873B2 (en) * 2008-01-17 2011-04-26 International Business Machines Corporation Handling transfer of bad data to database partitions in restartable environments
US8521682B2 (en) * 2008-01-17 2013-08-27 International Business Machines Corporation Transfer of data from transactional data sources to partitioned databases in restartable environments
US8156084B2 (en) * 2008-01-17 2012-04-10 International Business Machines Corporation Transfer of data from positional data sources to partitioned databases in restartable environments
EP2248027A4 (en) 2008-02-29 2011-05-18 Toshiba Kk Memory system
US8229945B2 (en) 2008-03-20 2012-07-24 Schooner Information Technology, Inc. Scalable database management software on a cluster of nodes using a shared-distributed flash memory
US8732386B2 (en) * 2008-03-20 2014-05-20 Sandisk Enterprise IP LLC. Sharing data fabric for coherent-distributed caching of multi-node shared-distributed flash memory
JP2009251764A (en) * 2008-04-02 2009-10-29 Nec Corp Job management system, job control method, and job control program
US8407448B1 (en) * 2008-05-06 2013-03-26 Emc Corporation Shared storage I/O elimination through mapping client integration into a hypervisor
US20110099148A1 (en) * 2008-07-02 2011-04-28 Bruning Iii Theodore E Verification Of Remote Copies Of Data
US8028194B2 (en) * 2008-07-25 2011-09-27 Inmage Systems, Inc Sequencing technique to account for a clock error in a backup system
US9501368B2 (en) * 2008-09-30 2016-11-22 Veritas Technologies Llc Backing up and restoring selected versioned objects from a monolithic database backup
KR100926098B1 (en) * 2008-11-18 2009-11-11 주식회사 네오플 Method and apparatus for information recovery in using snap shot database
US8315983B1 (en) * 2008-11-24 2012-11-20 Symantec Corporation Method and apparatus for performing granular restoration of data objects from machine images stored on sequential backup media
US9207984B2 (en) 2009-03-31 2015-12-08 Amazon Technologies, Inc. Monitoring and automatic scaling of data volumes
US9705888B2 (en) 2009-03-31 2017-07-11 Amazon Technologies, Inc. Managing security groups for data instances
US8713060B2 (en) 2009-03-31 2014-04-29 Amazon Technologies, Inc. Control service for relational data management
US8332365B2 (en) * 2009-03-31 2012-12-11 Amazon Technologies, Inc. Cloning and recovery of data volumes
JP5412995B2 (en) * 2009-06-30 2014-02-12 富士通株式会社 Database control apparatus, database control method, and database control program in program model checking
US8352937B2 (en) * 2009-08-03 2013-01-08 Symantec Corporation Streaming an application install package into a virtual environment
US8433682B2 (en) * 2009-12-31 2013-04-30 Commvault Systems, Inc. Systems and methods for analyzing snapshots
US9135283B2 (en) 2009-10-07 2015-09-15 Amazon Technologies, Inc. Self-service configuration for data environment
US8676753B2 (en) 2009-10-26 2014-03-18 Amazon Technologies, Inc. Monitoring of replicated data instances
KR101587995B1 (en) * 2009-10-28 2016-01-22 삼성전자주식회사 Adaptive logging apparatus and method
US8793288B2 (en) * 2009-12-16 2014-07-29 Sap Ag Online access to database snapshots
US8725698B2 (en) 2010-03-30 2014-05-13 Commvault Systems, Inc. Stub file prioritization in a data replication system
US8352422B2 (en) 2010-03-30 2013-01-08 Commvault Systems, Inc. Data restore systems and methods in a replication environment
US9164554B2 (en) 2010-04-12 2015-10-20 Sandisk Enterprise Ip Llc Non-volatile solid-state storage system supporting high bandwidth and random access
US8868487B2 (en) 2010-04-12 2014-10-21 Sandisk Enterprise Ip Llc Event processing in a flash memory-based object store
US8856593B2 (en) 2010-04-12 2014-10-07 Sandisk Enterprise Ip Llc Failure recovery using consensus replication in a distributed flash memory system
US8725951B2 (en) 2010-04-12 2014-05-13 Sandisk Enterprise Ip Llc Efficient flash memory-based object store
US9047351B2 (en) 2010-04-12 2015-06-02 Sandisk Enterprise Ip Llc Cluster of processing nodes with distributed global flash memory using commodity server technology
KR101108217B1 (en) * 2010-05-24 2012-01-31 한국항공우주산업 주식회사 Mission file backup system
US8572038B2 (en) 2010-05-28 2013-10-29 Commvault Systems, Inc. Systems and methods for performing data replication
US8666939B2 (en) 2010-06-28 2014-03-04 Sandisk Enterprise Ip Llc Approaches for the replication of write sets
JP2012018449A (en) * 2010-07-06 2012-01-26 Fujitsu Ltd Snapshot acquisition processing program, snapshot acquisition processing method, snapshot participant computer, and snap shot coordinator computer
US8417672B2 (en) * 2010-10-11 2013-04-09 Microsoft Corporation Item level recovery
CN101976254B (en) * 2010-10-26 2013-01-09 青岛海信移动通信技术股份有限公司 Database recovering method and device based on mobile communication terminal
US8396832B2 (en) 2010-12-08 2013-03-12 International Business Machines Corporation Independent fileset generations in a clustered redirect-on-write filesystem
US8626713B2 (en) * 2010-12-08 2014-01-07 International Business Machines Corporation Multiple contexts in a redirect on write file system
US8694733B2 (en) 2011-01-03 2014-04-08 Sandisk Enterprise Ip Llc Slave consistency in a synchronous replication environment
CN102693169B (en) * 2011-03-25 2015-01-28 国际商业机器公司 Method and device for recovering lessee data under multi-lessee environment, and database system
US8463746B2 (en) * 2011-03-30 2013-06-11 International Business Machines Corporation Method and system for replicating data
US8938429B1 (en) * 2011-03-31 2015-01-20 Emc Corporation Resynchronization of nonactive and active segments
US8818954B1 (en) * 2011-03-31 2014-08-26 Emc Corporation Change tracking
US8874515B2 (en) 2011-04-11 2014-10-28 Sandisk Enterprise Ip Llc Low level object version tracking using non-volatile memory write generations
US8667033B1 (en) 2011-05-14 2014-03-04 Gopivotal, Inc. Persistent file system objects for management of databases
US10387267B2 (en) 2011-06-08 2019-08-20 International Business Machines Corporation Fast copy using file system block mappings
US8849777B1 (en) 2011-06-30 2014-09-30 Emc Corporation File deletion detection in key value databases for virtual backups
US8949829B1 (en) 2011-06-30 2015-02-03 Emc Corporation Virtual machine disaster recovery
US9229951B1 (en) * 2011-06-30 2016-01-05 Emc Corporation Key value databases for virtual backups
US8843443B1 (en) 2011-06-30 2014-09-23 Emc Corporation Efficient backup of virtual data
US9311327B1 (en) 2011-06-30 2016-04-12 Emc Corporation Updating key value databases for virtual backups
US9158632B1 (en) * 2011-06-30 2015-10-13 Emc Corporation Efficient file browsing using key value databases for virtual backups
US9104614B2 (en) 2011-09-16 2015-08-11 Apple Inc. Handling unclean shutdowns for a system having non-volatile memory
CN103034636A (en) * 2011-09-29 2013-04-10 盛乐信息技术(上海)有限公司 Roll-back method, device and system of non relational database
US20130138615A1 (en) * 2011-11-29 2013-05-30 International Business Machines Corporation Synchronizing updates across cluster filesystems
KR101352959B1 (en) * 2011-12-09 2014-01-21 주식회사 알티베이스 Apparatus and method for database management in active and standby nodes of main memory database management system
US8700678B1 (en) * 2011-12-21 2014-04-15 Emc Corporation Data provenance in computing infrastructure
US9223805B2 (en) * 2012-01-30 2015-12-29 Memsql, Inc. Durability implementation plan in an in-memory database system
US8527462B1 (en) * 2012-02-09 2013-09-03 Microsoft Corporation Database point-in-time restore and as-of query
US9135064B2 (en) 2012-03-07 2015-09-15 Sandisk Enterprise Ip Llc Fine grained adaptive throttling of background processes
US9218252B1 (en) * 2012-03-27 2015-12-22 Emc Corporation Techniques for performing data validation
US9501486B1 (en) * 2012-07-06 2016-11-22 Veritas Technologies Llc Systems and methods for preventing unintended data loss during data restoration
WO2014054078A1 (en) * 2012-10-05 2014-04-10 Hitachi, Ltd. Restoring method and computer system
US10346369B2 (en) 2012-10-11 2019-07-09 Delphix Corp. Retrieving point-in-time copies of a source database for creating virtual databases
CN103064882B (en) * 2012-12-03 2016-05-04 国家电网公司 Be applicable to the commercial storehouse failure separation method of electric power scheduling automatization system
CN103870478B (en) * 2012-12-12 2018-09-25 腾讯科技(深圳)有限公司 A kind of method and device for restoring synchrodata
KR101451807B1 (en) * 2012-12-24 2014-10-22 주식회사 케이티 An apparatus and a method for backup and restoring of NoSQL meta data
CN104216916B (en) * 2013-06-04 2018-07-03 腾讯科技(深圳)有限公司 Data restoration method and device
US9110847B2 (en) 2013-06-24 2015-08-18 Sap Se N to M host system copy
GB2515501A (en) 2013-06-25 2014-12-31 Ibm Replication for on-line hot-standby database
US20160239372A1 (en) * 2013-09-26 2016-08-18 Hewlett Packard Enterprise Development Lp Undoing changes made by threads
US9311311B2 (en) * 2013-09-27 2016-04-12 International Business Machines Corporation Archival management of database logs
US9418100B1 (en) * 2013-09-30 2016-08-16 Emc Corporation System and method for storage management
US9372743B1 (en) 2013-09-30 2016-06-21 Emc Corporation System and method for storage management
CN105593846B (en) 2013-09-30 2019-09-10 慧与发展有限责任合伙企业 For audit-trail without rollback threshold value
JP2015072629A (en) * 2013-10-03 2015-04-16 富士通株式会社 Data processing program and data processing method
US9690791B1 (en) * 2013-11-18 2017-06-27 EMC IP Holding Company LLC Snapshot history map
US9612910B2 (en) * 2013-12-23 2017-04-04 Veritas Technologies Systems and methods for generating catalogs for snapshots
US10332182B2 (en) 2014-02-28 2019-06-25 Vmware, Inc. Automatic application layer suggestion
US10241773B2 (en) * 2014-02-28 2019-03-26 Vmware, Inc. Automatic application layer capture
WO2015147872A1 (en) * 2014-03-28 2015-10-01 Hewlett-Packard Development Company, L. P. Data restoration
US9606870B1 (en) 2014-03-31 2017-03-28 EMC IP Holding Company LLC Data reduction techniques in a flash-based key/value cluster storage
US9785510B1 (en) 2014-05-09 2017-10-10 Amazon Technologies, Inc. Variable data replication for storage implementing data backup
US9529880B2 (en) 2014-05-28 2016-12-27 International Business Machines Corporation Synchronizing a disaster-recovery system of a database
US10108496B2 (en) 2014-06-30 2018-10-23 International Business Machines Corporation Use of replicated copies to improve database backup performance
US9734021B1 (en) 2014-08-18 2017-08-15 Amazon Technologies, Inc. Visualizing restoration operation granularity for a database
US10025843B1 (en) 2014-09-24 2018-07-17 EMC IP Holding Company LLC Adjusting consistency groups during asynchronous replication
US10387447B2 (en) * 2014-09-25 2019-08-20 Oracle International Corporation Database snapshots
US10042870B2 (en) 2014-10-08 2018-08-07 International Business Machines Corporation Supporting transient snapshot with coordinated/uncoordinated commit protocol
US9558078B2 (en) * 2014-10-28 2017-01-31 Microsoft Technology Licensing, Llc Point in time database restore from storage snapshots
US9965359B2 (en) 2014-11-25 2018-05-08 Sap Se Log forwarding to avoid deadlocks during parallel log replay in asynchronous table replication
US10140189B2 (en) * 2015-04-28 2018-11-27 International Business Machines Corporation Database recovery and index rebuilds
JP6481489B2 (en) * 2015-04-30 2019-03-13 富士通株式会社 Modification application information creation program, modification application information creation apparatus, and modification application information creation method
US9588848B2 (en) * 2015-06-19 2017-03-07 AO Kaspersky Lab System and method of restoring modified data
WO2017023342A1 (en) * 2015-07-31 2017-02-09 Hewlett Packard Enterprise Development Lp Backup changes in transaction log file
US10567500B1 (en) 2015-12-21 2020-02-18 Amazon Technologies, Inc. Continuous backup of data in a distributed data store
US10423493B1 (en) 2015-12-21 2019-09-24 Amazon Technologies, Inc. Scalable log-based continuous data protection for distributed databases
US10152527B1 (en) * 2015-12-28 2018-12-11 EMC IP Holding Company LLC Increment resynchronization in hash-based replication
US10324635B1 (en) 2016-03-22 2019-06-18 EMC IP Holding Company LLC Adaptive compression for data replication in a storage system
US10310951B1 (en) 2016-03-22 2019-06-04 EMC IP Holding Company LLC Storage system asynchronous data replication cycle trigger with empty cycle detection
US10705907B1 (en) 2016-03-24 2020-07-07 EMC IP Holding Company LLC Data protection in a heterogeneous random access storage array
US10101934B1 (en) 2016-03-24 2018-10-16 Emc Corporation Memory allocation balancing for storage systems
US10324782B1 (en) 2016-03-24 2019-06-18 Emc Corporation Hiccup management in a storage array
CN105843707B (en) * 2016-03-28 2019-05-14 上海上讯信息技术股份有限公司 Database quick recovery method and equipment
US10095428B1 (en) 2016-03-30 2018-10-09 EMC IP Holding Company LLC Live migration of a tree of replicas in a storage system
US9959063B1 (en) 2016-03-30 2018-05-01 EMC IP Holding Company LLC Parallel migration of multiple consistency groups in a storage system
US9959073B1 (en) 2016-03-30 2018-05-01 EMC IP Holding Company LLC Detection of host connectivity for data migration in a storage system
US10565058B1 (en) 2016-03-30 2020-02-18 EMC IP Holding Company LLC Adaptive hash-based data replication in a storage system
US10585876B2 (en) * 2016-04-07 2020-03-10 International Business Machines Corporation Providing snapshot isolation to a database management system
US10048874B1 (en) 2016-06-29 2018-08-14 EMC IP Holding Company LLC Flow control with a dynamic window in a storage system with latency guarantees
CN106326041A (en) * 2016-08-31 2017-01-11 杭州沃趣科技股份有限公司 Second-level recovery method for database
US10671800B2 (en) * 2016-09-15 2020-06-02 Oracle International Corporation Providing way to store process data object state as snapshots at different points of process
US10983951B1 (en) * 2016-09-29 2021-04-20 EMC IP Holding Company LLC Recovery processing for persistent file data cache to reduce data loss
US10255172B1 (en) 2016-09-30 2019-04-09 EMC IP Holding Company LLC Controlled testing using code error injection
US10152371B1 (en) 2016-09-30 2018-12-11 EMC IP Holding Company LLC End-to-end data protection for distributed storage
US10223008B1 (en) 2016-09-30 2019-03-05 EMC IP Holding Company LLC Storage array sizing for compressed applications
US11749312B2 (en) * 2017-03-24 2023-09-05 Adobe Inc. Timeline creation of electronic document creation states
US10599524B2 (en) * 2017-04-28 2020-03-24 Veritas Technologies Llc Backup performance after backup failure
WO2018203377A1 (en) * 2017-05-01 2018-11-08 株式会社Murakumo Database system, method, and program
US11210184B1 (en) * 2017-06-07 2021-12-28 Amazon Technologies, Inc. Online restore to a selectable prior state for database engines
US10990581B1 (en) 2017-09-27 2021-04-27 Amazon Technologies, Inc. Tracking a size of a database change log
US10754844B1 (en) 2017-09-27 2020-08-25 Amazon Technologies, Inc. Efficient database snapshot generation
US11182372B1 (en) 2017-11-08 2021-11-23 Amazon Technologies, Inc. Tracking database partition change log dependencies
US11269731B1 (en) 2017-11-22 2022-03-08 Amazon Technologies, Inc. Continuous data protection
US11042503B1 (en) 2017-11-22 2021-06-22 Amazon Technologies, Inc. Continuous data protection and restoration
KR102005727B1 (en) * 2018-01-22 2019-07-31 한국교통대학교산학협력단 Multiple snapshot method based on change calculation hooking technique of file system
US10554615B2 (en) * 2018-03-08 2020-02-04 Semperis Directory service state manager
US10621049B1 (en) 2018-03-12 2020-04-14 Amazon Technologies, Inc. Consistent backups based on local node clock
DE202019005483U1 (en) * 2018-07-06 2020-10-28 Snowflake Inc. Data replication and data failure protection in database systems
US11126505B1 (en) 2018-08-10 2021-09-21 Amazon Technologies, Inc. Past-state backup generator and interface for database systems
US11042454B1 (en) 2018-11-20 2021-06-22 Amazon Technologies, Inc. Restoration of a data source
US11372991B1 (en) 2018-11-27 2022-06-28 Amazon Technologies, Inc. Database operational continuity
US11860743B1 (en) 2018-11-27 2024-01-02 Amazon Technologies, Inc. Database operational compatibility safeguards
CN110032541A (en) * 2019-04-12 2019-07-19 苏州浪潮智能科技有限公司 A kind of writeable snapshot implementing method and system
US11442821B2 (en) 2019-07-10 2022-09-13 Micro Focus Llc Backup data restoration without user intervention
KR102281901B1 (en) * 2019-08-13 2021-07-23 건국대학교 산학협력단 Apparatus and method for managing data using blockchain
WO2021158710A1 (en) 2020-02-04 2021-08-12 Grav1Ty Inc. Selective synchronization of database objects
US11409605B2 (en) 2020-10-20 2022-08-09 Sap Se Failover system for database unavailability
KR102369655B1 (en) * 2020-10-28 2022-03-03 주식회사 마크베이스 Snap-shot based data duplicating and restoring method
US20230136274A1 (en) * 2021-11-04 2023-05-04 Softiron Limited Ceph Media Failure and Remediation
US20230195582A1 (en) * 2021-12-16 2023-06-22 International Business Machines Corporation Rolling back a database transaction
US11656955B1 (en) 2022-03-23 2023-05-23 Bank Of America Corporation Database table valuation
US11797393B2 (en) 2022-03-23 2023-10-24 Bank Of America Corporation Table prioritization for data copy in a multi-environment setup

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6065018A (en) * 1998-03-04 2000-05-16 International Business Machines Corporation Synchronizing recovery log having time stamp to a remote site for disaster recovery of a primary database having related hierarchial and relational databases
US6438749B1 (en) * 1999-03-03 2002-08-20 Microsoft Corporation Method and system for restoring a computer to its original state after an unsuccessful patch installation attempt
US20030158873A1 (en) * 2002-02-15 2003-08-21 International Business Machines Corporation Dynamic links to file system snapshots

Family Cites Families (61)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5175849A (en) * 1988-07-28 1992-12-29 Amdahl Corporation Capturing data of a database system
CA1329432C (en) * 1988-11-02 1994-05-10 William Davy Method of memory and cpu time allocation for a multi-user computer system
US5317731A (en) * 1991-02-25 1994-05-31 International Business Machines Corporation Intelligent page store for concurrent and consistent access to a database by a transaction processor and a query processor
US5261102A (en) * 1991-03-28 1993-11-09 International Business Machines Corporation System for determining direct and indirect user access privileges to data base objects
US5455946A (en) * 1993-05-21 1995-10-03 International Business Machines Corporation Method and means for archiving modifiable pages in a log based transaction management system
US6604118B2 (en) * 1998-07-31 2003-08-05 Network Appliance, Inc. File system image transfer
US5495607A (en) * 1993-11-15 1996-02-27 Conner Peripherals, Inc. Network management system having virtual catalog overview of files distributively stored across network domain
US6453325B1 (en) * 1995-05-24 2002-09-17 International Business Machines Corporation Method and means for backup and restoration of a database system linked to a system for filing data
US5870758A (en) * 1996-03-11 1999-02-09 Oracle Corporation Method and apparatus for providing isolation levels in a database system
US5857208A (en) * 1996-05-31 1999-01-05 Emc Corporation Method and apparatus for performing point in time backup operation in a computer system
US5905988A (en) * 1996-11-13 1999-05-18 Imaginon Method and apparatus for database transformation and adaptive playback
US6067550A (en) * 1997-03-10 2000-05-23 Microsoft Corporation Database computer system with application recovery and dependency handling write cache
US5884328A (en) * 1997-08-29 1999-03-16 Tandem Computers, Inc. System and method for sychronizing a large database and its replica
US6223269B1 (en) * 1997-09-27 2001-04-24 Emc Corporation Stacked mapped storage system
US6105030A (en) * 1998-02-27 2000-08-15 Oracle Corporation Method and apparatus for copying data that resides in a database
US6362870B2 (en) * 1998-10-26 2002-03-26 Hewlett-Packard Company Image copier having enhanced duplex capabilities; method of printing a copy of a document to produce a duplex copy product
US7107395B1 (en) * 1998-12-31 2006-09-12 Emc Corporation Apparatus and methods for operating a computer storage system
US6920537B2 (en) * 1998-12-31 2005-07-19 Emc Corporation Apparatus and methods for copying, backing up and restoring logical objects in a computer storage system by transferring blocks out of order or in parallel
US8121828B2 (en) * 1999-01-28 2012-02-21 Ati Technologies Ulc Detecting conditions for transfer of execution from one computer instruction stream to another and executing transfer on satisfaction of the conditions
US20010011265A1 (en) * 1999-02-03 2001-08-02 Cuan William G. Method and apparatus for deploying data among data destinations for website development and maintenance
US6618851B1 (en) * 1999-08-31 2003-09-09 Autodesk, Inc. Method and apparatus for state-reversion
US6487677B1 (en) * 1999-09-30 2002-11-26 Lsi Logic Corporation Methods and systems for dynamic selection of error recovery procedures in a managed device
US6434681B1 (en) * 1999-12-02 2002-08-13 Emc Corporation Snapshot copy facility for a data storage system permitting continued host read/write access
US6618822B1 (en) * 2000-01-03 2003-09-09 Oracle International Corporation Method and mechanism for relational access of recovery logs in a database system
US6769074B2 (en) * 2000-05-25 2004-07-27 Lumigent Technologies, Inc. System and method for transaction-selective rollback reconstruction of database objects
US6532527B2 (en) * 2000-06-19 2003-03-11 Storage Technology Corporation Using current recovery mechanisms to implement dynamic mapping operations
US6553388B1 (en) 2000-07-20 2003-04-22 International Business Machines Corporation Database deltas using Cyclic Redundancy Checks
US6795895B2 (en) * 2001-03-07 2004-09-21 Canopy Group Dual axis RAID systems for enhanced bandwidth and reliability
JP2002318717A (en) * 2001-04-19 2002-10-31 Ricoh Co Ltd Database system
US20020178146A1 (en) * 2001-05-24 2002-11-28 International Business Machines Corporation System and method for selective object history retention
US6996602B2 (en) * 2001-06-18 2006-02-07 Ford Global Technologies, Llc Server-side page table framework for client application definition and execution
WO2003001405A1 (en) * 2001-06-25 2003-01-03 Nokia Corporation Method and system for performing concurrency control in a relational database
US7305421B2 (en) * 2001-07-16 2007-12-04 Sap Ag Parallelized redo-only logging and recovery for highly available main memory database systems
US6948038B2 (en) 2001-07-24 2005-09-20 Microsoft Corporation System and method for backing up and restoring data
US6662198B2 (en) * 2001-08-30 2003-12-09 Zoteca Inc. Method and system for asynchronous transmission, backup, distribution of data and file sharing
US6799189B2 (en) * 2001-11-15 2004-09-28 Bmc Software, Inc. System and method for creating a series of online snapshots for recovery purposes
US6877109B2 (en) * 2001-11-19 2005-04-05 Lsi Logic Corporation Method for the acceleration and simplification of file system logging techniques using storage device snapshots
JP3785361B2 (en) * 2001-12-25 2006-06-14 株式会社ルネサステクノロジ ΔΣ modulator, A / D converter and D / A converter
US20030220949A1 (en) * 2002-01-22 2003-11-27 Columbia Data Products, Inc. Automatic deletion in data storage management
US6829617B2 (en) 2002-02-15 2004-12-07 International Business Machines Corporation Providing a snapshot of a subset of a file system
US7043503B2 (en) * 2002-02-15 2006-05-09 International Business Machines Corporation Ditto address indicating true disk address for actual data blocks stored in one of an inode of the file system and subsequent snapshot
US7010553B2 (en) * 2002-03-19 2006-03-07 Network Appliance, Inc. System and method for redirecting access to a remote mirrored snapshot
US7051050B2 (en) * 2002-03-19 2006-05-23 Netwrok Appliance, Inc. System and method for restoring a single file from a snapshot
JP4215542B2 (en) * 2002-03-19 2009-01-28 ネットワーク アプライアンス, インコーポレイテッド System and method for determining changes between two snapshots and sending them to a destination snapshot
US6898608B2 (en) * 2002-04-26 2005-05-24 Oracle International Corporation Techniques for managing what-if analysis of data managed by a relational database system
US20030208511A1 (en) * 2002-05-02 2003-11-06 Earl Leroy D. Database replication system
US20030220935A1 (en) * 2002-05-21 2003-11-27 Vivian Stephen J. Method of logical database snapshot for log-based replication
US7844577B2 (en) * 2002-07-15 2010-11-30 Symantec Corporation System and method for maintaining a backup storage system for a computer system
US6976022B2 (en) * 2002-09-16 2005-12-13 Oracle International Corporation Method and mechanism for batch processing transaction logging records
US6910106B2 (en) * 2002-10-04 2005-06-21 Microsoft Corporation Methods and mechanisms for proactive memory management
US20040117437A1 (en) * 2002-12-16 2004-06-17 Exanet, Co. Method for efficient storing of sparse files in a distributed cache
US8209680B1 (en) * 2003-04-11 2012-06-26 Vmware, Inc. System and method for disk imaging on diverse computers
US7263590B1 (en) * 2003-04-23 2007-08-28 Emc Corporation Method and apparatus for migrating data in a computer system
US7577692B1 (en) * 2003-04-25 2009-08-18 Netapp, Inc. System and method for reserving space to guarantee file writability in a file system supporting persistent consistency point images
US7181476B2 (en) * 2003-04-30 2007-02-20 Oracle International Corporation Flashback database
US20040268068A1 (en) * 2003-06-24 2004-12-30 International Business Machines Corporation Efficient method for copying and creating block-level incremental backups of large files and sparse files
US7567991B2 (en) * 2003-06-25 2009-07-28 Emc Corporation Replication of snapshot using a file system copy differential
US7395278B2 (en) 2003-06-30 2008-07-01 Microsoft Corporation Transaction consistent copy-on-write database
US8095511B2 (en) * 2003-06-30 2012-01-10 Microsoft Corporation Database data recovery system and method
US7277905B2 (en) * 2004-03-31 2007-10-02 Microsoft Corporation System and method for a consistency check of a database backup
US7386663B2 (en) * 2004-05-13 2008-06-10 Cousins Robert E Transaction-based storage system and method that uses variable sized objects to store data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6065018A (en) * 1998-03-04 2000-05-16 International Business Machines Corporation Synchronizing recovery log having time stamp to a remote site for disaster recovery of a primary database having related hierarchial and relational databases
US6438749B1 (en) * 1999-03-03 2002-08-20 Microsoft Corporation Method and system for restoring a computer to its original state after an unsuccessful patch installation attempt
US20030158873A1 (en) * 2002-02-15 2003-08-21 International Business Machines Corporation Dynamic links to file system snapshots

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1602042A4 *

Cited By (79)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8620862B2 (en) * 2003-06-30 2013-12-31 Gravic, Inc. Method for ensuring referential integrity in replication engines by serializing base level change queue data
US20100332448A1 (en) * 2003-06-30 2010-12-30 Gravic, Inc. Method for ensuring referential integrity in replication engines by resolving lock conflicts
US9405631B2 (en) 2003-11-13 2016-08-02 Commvault Systems, Inc. System and method for performing an image level snapshot and for restoring partial volume data
US9619341B2 (en) 2003-11-13 2017-04-11 Commvault Systems, Inc. System and method for performing an image level snapshot and for restoring partial volume data
US9208160B2 (en) 2003-11-13 2015-12-08 Commvault Systems, Inc. System and method for performing an image level snapshot and for restoring partial volume data
US8886595B2 (en) 2003-11-13 2014-11-11 Commvault Systems, Inc. System and method for performing an image level snapshot and for restoring partial volume data
EP1952283A2 (en) * 2005-10-28 2008-08-06 Goldengate Software, Inc. Apparatus and method for creating a real time database replica
EP1952283A4 (en) * 2005-10-28 2010-01-06 Goldengate Software Inc Apparatus and method for creating a real time database replica
US7885922B2 (en) 2005-10-28 2011-02-08 Oracle International Corporation Apparatus and method for creating a real time database replica
US8429121B2 (en) 2005-10-28 2013-04-23 Oracle International Corporation Apparatus and method for creating a real time database replica
US7945536B2 (en) 2005-12-07 2011-05-17 Huawei Technologies Co., Ltd. Method and system for recovering a previous version of a document from a current version of the document
WO2007065332A1 (en) * 2005-12-07 2007-06-14 Huawei Technologies Co., Ltd. A xml documents management method and system
US8935210B2 (en) 2005-12-19 2015-01-13 Commvault Systems, Inc. Systems and methods for performing replication copy storage operations
US9639294B2 (en) 2005-12-19 2017-05-02 Commvault Systems, Inc. Systems and methods for performing data replication
US7962709B2 (en) 2005-12-19 2011-06-14 Commvault Systems, Inc. Network redirector systems and methods for performing data replication
US9971657B2 (en) 2005-12-19 2018-05-15 Commvault Systems, Inc. Systems and methods for performing data replication
US9298382B2 (en) 2005-12-19 2016-03-29 Commvault Systems, Inc. Systems and methods for performing replication copy storage operations
US9208210B2 (en) 2005-12-19 2015-12-08 Commvault Systems, Inc. Rolling cache configuration for a data replication system
US9002799B2 (en) 2005-12-19 2015-04-07 Commvault Systems, Inc. Systems and methods for resynchronizing information
US9020898B2 (en) 2005-12-19 2015-04-28 Commvault Systems, Inc. Systems and methods for performing data replication
US9003374B2 (en) 2006-07-27 2015-04-07 Commvault Systems, Inc. Systems and methods for continuous data replication
US8290808B2 (en) 2007-03-09 2012-10-16 Commvault Systems, Inc. System and method for automating customer-validated statement of work for a data storage environment
US9047357B2 (en) 2008-12-10 2015-06-02 Commvault Systems, Inc. Systems and methods for managing replicated database data in dirty and clean shutdown states
AU2009324800C1 (en) * 2008-12-10 2015-02-12 Commvault Systems, Inc. Method and system for managing replicated database data
AU2009324800B2 (en) * 2008-12-10 2014-07-10 Commvault Systems, Inc. Method and system for managing replicated database data
US8204859B2 (en) 2008-12-10 2012-06-19 Commvault Systems, Inc. Systems and methods for managing replicated database data
US9495382B2 (en) 2008-12-10 2016-11-15 Commvault Systems, Inc. Systems and methods for performing discrete data replication
US9396244B2 (en) 2008-12-10 2016-07-19 Commvault Systems, Inc. Systems and methods for managing replicated database data
WO2010068570A1 (en) * 2008-12-10 2010-06-17 Commvault Systems, Inc. Method and system for managing replicated database data
US8868494B2 (en) 2010-03-29 2014-10-21 Commvault Systems, Inc. Systems and methods for selective data replication
US9002785B2 (en) 2010-03-30 2015-04-07 Commvault Systems, Inc. Stubbing systems and methods in a data replication environment
US9483511B2 (en) 2010-03-30 2016-11-01 Commvault Systems, Inc. Stubbing systems and methods in a data replication environment
US8589647B2 (en) 2010-06-15 2013-11-19 Samsung Electronics Co., Ltd. Apparatus and method for synchronizing a snapshot image
US9298715B2 (en) 2012-03-07 2016-03-29 Commvault Systems, Inc. Data storage system utilizing proxy device for storage operations
US9471578B2 (en) 2012-03-07 2016-10-18 Commvault Systems, Inc. Data storage system utilizing proxy device for storage operations
US9928146B2 (en) 2012-03-07 2018-03-27 Commvault Systems, Inc. Data storage system utilizing proxy device for storage operations
US9898371B2 (en) 2012-03-07 2018-02-20 Commvault Systems, Inc. Data storage system utilizing proxy device for storage operations
US11269543B2 (en) 2012-04-23 2022-03-08 Commvault Systems, Inc. Integrated snapshot interface for a data storage system
US10698632B2 (en) 2012-04-23 2020-06-30 Commvault Systems, Inc. Integrated snapshot interface for a data storage system
US9342537B2 (en) 2012-04-23 2016-05-17 Commvault Systems, Inc. Integrated snapshot interface for a data storage system
US9928002B2 (en) 2012-04-23 2018-03-27 Commvault Systems, Inc. Integrated snapshot interface for a data storage system
US9336226B2 (en) 2013-01-11 2016-05-10 Commvault Systems, Inc. Criteria-based data synchronization management
US11847026B2 (en) 2013-01-11 2023-12-19 Commvault Systems, Inc. Single snapshot for multiple agents
US10853176B2 (en) 2013-01-11 2020-12-01 Commvault Systems, Inc. Single snapshot for multiple agents
US9262435B2 (en) 2013-01-11 2016-02-16 Commvault Systems, Inc. Location-based data synchronization management
US9886346B2 (en) 2013-01-11 2018-02-06 Commvault Systems, Inc. Single snapshot for multiple agents
US9430491B2 (en) 2013-01-11 2016-08-30 Commvault Systems, Inc. Request-based data synchronization management
US9495251B2 (en) 2014-01-24 2016-11-15 Commvault Systems, Inc. Snapshot readiness checking and reporting
US10942894B2 (en) 2014-01-24 2021-03-09 Commvault Systems, Inc Operation readiness checking and reporting
US9892123B2 (en) 2014-01-24 2018-02-13 Commvault Systems, Inc. Snapshot readiness checking and reporting
US9639426B2 (en) 2014-01-24 2017-05-02 Commvault Systems, Inc. Single snapshot for multiple applications
US9753812B2 (en) 2014-01-24 2017-09-05 Commvault Systems, Inc. Generating mapping information for single snapshot for multiple applications
US9632874B2 (en) 2014-01-24 2017-04-25 Commvault Systems, Inc. Database application backup in single snapshot for multiple applications
US10671484B2 (en) 2014-01-24 2020-06-02 Commvault Systems, Inc. Single snapshot for multiple applications
US10572444B2 (en) 2014-01-24 2020-02-25 Commvault Systems, Inc. Operation readiness checking and reporting
US10223365B2 (en) 2014-01-24 2019-03-05 Commvault Systems, Inc. Snapshot readiness checking and reporting
US10044803B2 (en) 2014-09-03 2018-08-07 Commvault Systems, Inc. Consolidated processing of storage-array commands by a snapshot-control media agent
US11245759B2 (en) 2014-09-03 2022-02-08 Commvault Systems, Inc. Consolidated processing of storage-array commands by a snapshot-control media agent
US10419536B2 (en) 2014-09-03 2019-09-17 Commvault Systems, Inc. Consolidated processing of storage-array commands by a snapshot-control media agent
US10798166B2 (en) 2014-09-03 2020-10-06 Commvault Systems, Inc. Consolidated processing of storage-array commands by a snapshot-control media agent
US10891197B2 (en) 2014-09-03 2021-01-12 Commvault Systems, Inc. Consolidated processing of storage-array commands using a forwarder media agent in conjunction with a snapshot-control media agent
US10042716B2 (en) 2014-09-03 2018-08-07 Commvault Systems, Inc. Consolidated processing of storage-array commands using a forwarder media agent in conjunction with a snapshot-control media agent
US9774672B2 (en) 2014-09-03 2017-09-26 Commvault Systems, Inc. Consolidated processing of storage-array commands by a snapshot-control media agent
US9648105B2 (en) 2014-11-14 2017-05-09 Commvault Systems, Inc. Unified snapshot storage management, using an enhanced storage manager and enhanced media agents
US9996428B2 (en) 2014-11-14 2018-06-12 Commvault Systems, Inc. Unified snapshot storage management
US9448731B2 (en) 2014-11-14 2016-09-20 Commvault Systems, Inc. Unified snapshot storage management
US9921920B2 (en) 2014-11-14 2018-03-20 Commvault Systems, Inc. Unified snapshot storage management, using an enhanced storage manager and enhanced media agents
US10628266B2 (en) 2014-11-14 2020-04-21 Commvault System, Inc. Unified snapshot storage management
US10521308B2 (en) 2014-11-14 2019-12-31 Commvault Systems, Inc. Unified snapshot storage management, using an enhanced storage manager and enhanced media agents
US11507470B2 (en) 2014-11-14 2022-11-22 Commvault Systems, Inc. Unified snapshot storage management
US11238064B2 (en) 2016-03-10 2022-02-01 Commvault Systems, Inc. Snapshot replication operations based on incremental block change tracking
US10503753B2 (en) 2016-03-10 2019-12-10 Commvault Systems, Inc. Snapshot replication operations based on incremental block change tracking
US11836156B2 (en) 2016-03-10 2023-12-05 Commvault Systems, Inc. Snapshot replication operations based on incremental block change tracking
US10740022B2 (en) 2018-02-14 2020-08-11 Commvault Systems, Inc. Block-level live browsing and private writable backup copies using an ISCSI server
US11422732B2 (en) 2018-02-14 2022-08-23 Commvault Systems, Inc. Live browsing and private writable environments based on snapshots and/or backup copies provided by an ISCSI server
US10732885B2 (en) 2018-02-14 2020-08-04 Commvault Systems, Inc. Block-level live browsing and private writable snapshots using an ISCSI server
US11042318B2 (en) 2019-07-29 2021-06-22 Commvault Systems, Inc. Block-level data replication
US11709615B2 (en) 2019-07-29 2023-07-25 Commvault Systems, Inc. Block-level data replication
US11809285B2 (en) 2022-02-09 2023-11-07 Commvault Systems, Inc. Protecting a management database of a data storage management system to meet a recovery point objective (RPO)

Also Published As

Publication number Publication date
US20120101997A1 (en) 2012-04-26
EP1602042A1 (en) 2005-12-07
US8095511B2 (en) 2012-01-10
KR101086116B1 (en) 2011-11-25
JP4638905B2 (en) 2011-02-23
EP1602042A4 (en) 2009-01-21
KR20060122677A (en) 2006-11-30
JP2007524173A (en) 2007-08-23
US20040267835A1 (en) 2004-12-30
EP1602042B1 (en) 2010-04-07
US8521695B2 (en) 2013-08-27

Similar Documents

Publication Publication Date Title
US8095511B2 (en) Database data recovery system and method
US11740974B2 (en) Restoring a database using a fully hydrated backup
EP3008599B1 (en) Live restore for a data intelligent storage system
US10089192B2 (en) Live restore for a data intelligent storage system
EP2366151B1 (en) Method and system for managing replicated database data
US10102079B2 (en) Triggering discovery points based on change
US10061658B2 (en) System and method of data intelligent storage
CA2626227C (en) Apparatus and method for creating a real time database replica
US8214685B2 (en) Recovering from a backup copy of data in a multi-site storage system
US20060206544A1 (en) Automatic backup and restore system and method
CN1784676B (en) Database data recovery system and method
EP3451173B1 (en) Restoring a database using a fully hydrated backup
WO2017112737A1 (en) Triggering discovery points based on change

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2659/DELNP/2005

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2007500740

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 1020057012010

Country of ref document: KR

Ref document number: 2004779217

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 20048017064

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 2004779217

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 1020057012010

Country of ref document: KR