IP Library › Granted Patent US 10,901,861
Granted Patent B2
US 10,901,861 · App. 16/774,244 · Granted Jan 26, 2021

Systems and methods of restoring a dataset of a database for a point in time

Inventors: Jameison Bear Martin (Oakland, CA); Nathaniel Wyatt (San Francisco, CA); Patrick James Helland (San Francisco, CA); Thomas Fanghaenel (Oakland, CA); Terry Chong (Pleasanton, CA); Subho Sanjay Chatterjee (San Francisco, CA)
Assignee: salesforce.com, inc.
G06F11/1469G06F11/1451G06F11/1471G06F11/1474G06F16/219G06F2201/80G06F2201/805G06F2201/82G06F2201/84
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,901,861
App. No.
16/774,244
Granted
Jan 26, 2021
Kind
B2
Abstract

Systems and methods are provided for performing a point-in-time restore of data of a first tenant of a multitenanted database system. Metadata can be located to identify an archival version of first data of the first tenant stored in immutable storage of the database system. The archival version includes a most recently committed version of each datum prior to a first point in time. By using the metadata, a restore reference set is mapped into a target database instance of the database system. The mapping can be performed when all existing data for a tenant is to be the archival version, and where versions of data and records committed after the point in time are not available to the target database instance.

Claims (20)

1. A method comprising:

performing a point-in-time restore of data of a first tenant of a multitenanted database system having immutable storage by:

locating metadata to identify an archival version of first data of a first tenant stored in the immutable storage, wherein the archival version includes a most recently committed version of each datum prior to a first point in time; and

mapping, by using the metadata, a restore reference set into a target database instance of the database system, wherein the restore reference set includes a minimum key and a maximum key to set a boundary range for the tenant data that is to be restored to the first point in time, and wherein versions of data and records committed after the point in time are not available to the target database instance.

2. The method of claim 1 , wherein the mapping the restore reference set into the target database instance comprises restoring tenant data to be transactionally consistent as of the first point in time.

3. The method of claim 2 , wherein the restoring the tenant data does not affect other tenants that are hosted in the target database instance of the database system.

4. The method of claim 1 , further comprising:

locating extent references that were generated after the archival version of the first data that contain tenant data before the first point in time; and

adding each of the located extent references to the restore reference set, which has the same minimum key and the same maximum key mapping.

5. The method of claim 1 , further comprising:

accessing the restored tenant data; and

when at least some extent references of the restored tenant data include references to data in the immutable storage that is newer than the first point in time, filtering the data to be presented.

6. The method of claim 1 , further comprising:

restoring the tenant prior to a first point in time; and

updating the restored tenant data with data committed at or before the first point in time.

7. A method comprising:

performing a point-in-time restore in a first tenant of a multitenanted database system having immutable storage by:

locating archival data of a first tenant prior to a desired point in time based on archival metadata information, wherein the archival data is previously written and not the current data of the first tenant;

switching pointers in the database system from the current data of the first tenant to the located archival version of the data of the first tenant in the immutable storage; and

limiting access of the database to the data of the first tenant that was committed before the point in time while the database is able to process data of other tenants.

Assignments (2)
CHANGE OF NAME Recorded Aug 4, 2026
From: SALESFORCE.COM, INC.
To: SALESFORCE, INC.
Reel/Frame 076118/0548 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 28, 2020
From: MARTIN, JAMEISON BEAR; WYATT, NATHANIEL; HELLAND, PATRICK JAMES; FANGHAENEL, THOMAS; CHONG, TERRY; CHATTERJEE, SUBHO SANJAY
To: SALESFORCE.COM, INC.
Reel/Frame 051640/0340 →
Continuity (2)
Continuation 15634796 · Jun 27, 2017
Related Publication 20200159628A1 · May 21, 2020
Cited By (6)
US 12,189,417 US 12,236,103 US 12,321,449 US 12,386,556 US 12,450,126 US 12,455,884