In place point-in-time recovery of pluggable databases

US9298564B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9298564-B2
Application numberUS-201313830349-A
CountryUS
Kind codeB2
Filing dateMar 14, 2013
Priority dateSep 28, 2012
Publication dateMar 29, 2016
Grant dateMar 29, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

In an approach, a database server maintains a container database which comprises: one or more pluggable databases, a root database that stores an undo log for rolling back transactions on the consolidated database, and a redo log for replaying modifications to the container database. The database server restores a particular pluggable with a backup version that corresponds to a first point in time. The database server generates a clone database loaded with a backup version of the root database that corresponds to the first point in time. The database server applies the redo log to recover the particular pluggable database and the clone database to a second point in time that is later than the first point in time. The database server identifies, based on the clone database, one or more active transactions on the particular pluggable database. The database server rolls back the one or more active transactions.

First claim

Opening claim text (preview).

What is claimed is: 1. A method comprising: a database server maintaining a container database, wherein the container database comprises: one or more pluggable databases, a root database that stores an undo log for rolling back transactions on the one or more pluggable databases, and a redo log for replaying modifications to the container database; the database server restoring a particular pluggable database with a backup version of the particular pluggable database that corresponds to a first point in time; the database server generating a clone database loaded with a backup version of the root database that corresponds to the first point in time, the clone database including a backup version of the undo log of the root database; the database server applying one or more redo records of the redo log to recover the particular pluggable database and the clone database, including the backup version of the undo log, to a second point in time that is later than the first point in time; the database server identifying, based on the backup version of the undo log in the clone database, one or more active transactions on the particular pluggable database that have not committed by the second point in time; the database server rolling back the one or more active transactions, wherein modifications to the particular pluggable database performed during roll back of the one or more active transactions are recorded in the redo log; wherein the method is performed by one or more computing devices. 2. The method of claim 1 , further comprising receiving one or more user instructions that specify to recover the particular pluggable database to the second point in time. 3. The method of claim 1 , wherein the first point in time corresponds to a state of the container database after a first number of transactions has committed and the second point in time corresponds to a second state of the container database after a second number of transactions has committed, wherein the first number is less than the second number. 4. The method of claim 1 , further comprising storing data that is shared between the one or more pluggable databases in the root database. 5. The method of claim 1 , wherein the database server does not record modifications to the clone database performed during rollback of the one or more active transactions in the redo log of the container database. 6. The method of claim 1 , wherein each pluggable database of the one or more pluggable databases contains a separate data dictionary. 7. The method of claim 1 , wherein the root database contains a data dictionary that defines one or more database objects that are shared between the one or more pluggable databases. 8. The method of claim 1 , further comprising the database server dropping the clone database. 9. The method of claim 1 , wherein at least one pluggable database of the one or more pluggable databases remains available for user transactions while the particular pluggable database is being restored by the database server. 10. The method of claim 1 , further comprising: the database server restoring the particular pluggable database with a backup version of the particular pluggable database that corresponds to a third point in time that is earlier than the second point in time; the database server applying one or more redo records of the redo log to recover the particular pluggable database to a fourth point in time that is later than the second point in time. 11. A non-transitory computer-readable storage medium storing one or more instructions which, when executed by one or more processors, cause the one or more processors to: maintain, via a database server, a container database, wherein the container database comprises: one or more pluggable databases, a root database that stores an undo log for rolling back transactions on the one or more pluggable databases, and a redo log for replaying modifications to the container database; restore, via the database server, a particular pluggable database with a backup version of the particular pluggable database that corresponds to a first point in time; generate, via the database server, a clone database loaded with a backup version of the root database that corresponds to the first point in time, the clone database including a backup version of the undo log of the root database; apply, via the database server, one or more redo records of the redo log to recover the particular pluggable database and the clone database, including the backup version of the undo log, to a second point in time that is later than the first point in time; identify, via the database server, based on the backup version of the undo log in the clone database, one or more active transactions on the particular pluggable database that have not committed by the second point in time; roll back, via the database server, the one or more active transactions, wherein modifications to the particular pluggable database performed during roll back of the one or more active transactions are recorded in the redo log. 12. The non-transitory computer-readable storage medium of claim 11 , wherein the one of more instructions further cause the one or more processors to receive one or more user instructions that specify to recover the particular pluggable database to the second point in time. 13. The non-transitory computer-readable storage medium of claim 11 , wherein the first point in time corresponds to a state of the container database after a first number of transactions has committed and the second point in time corresponds to a second state of the container database after a second number of transactions has committed, wherein the first number is less than the second number. 14. The non-transitory computer-readable storage medium of claim 11 , wherein the one or more instructions further cause the one or more processors to store data that is shared between the one or more pluggable databases in the root database. 15. The non-transitory computer-readable storage medium of claim 11 , wherein the database server does not record modifications to the clone database performed during rollback of the one or more active transactions in the redo log of the container database. 16. The non-transitory computer-readable storage medium of claim 11 , wherein each pluggable database of the one or more pluggable databases contains a separate data dictionary. 17. The non-transitory computer-readable storage medium of claim 11 , wherein the root database contains a data dictionary that defines one or more database objects that are shared between the one or more pluggable databases. 18. The non-transitory computer-readable storage medium of claim 11 , wherein the one or more instructions further cause the one or more processors to drop, via the database server, the clone database. 19. The non-transitory computer-readable storage medium of claim 11 , wherein at least one pluggable database of the one or more pluggable databases remains available for user transactions while the particular pluggable database is being restored by the database server. 20. The non-transitory computer-readable storage medium of claim 11 , wherein the one or more instructions further cause the one or more processors to: restore, via the database server, the particular pluggable database with a backup version of the particular pluggable database that corresponds to a third point in time that is earlier than the second point in time; apply, via the database server, one or more redo

Assignees

Inventors

Classifications

  • with a shared cache · CPC title

  • Management of the data involved in backup or backup restore · CPC title

  • involving logging of persistent data for recovery · CPC title

  • Schema design and management · CPC title

  • in federated or virtual databases · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9298564B2 cover?
In an approach, a database server maintains a container database which comprises: one or more pluggable databases, a root database that stores an undo log for rolling back transactions on the consolidated database, and a redo log for replaying modifications to the container database. The database server restores a particular pluggable with a backup version that corresponds to a first point in t…
Who is the assignee on this patent?
Oracle Int Corp
What technology area does this patent fall under?
Primary CPC classification G06F11/1471. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 29 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).