IP Library › Granted Patent US 12,056,138
Granted Patent B2
US 12,056,138 · App. 18/049,117 · Granted Aug 6, 2024

Techniques for data retention

Inventors: Jonathan Bruce (San Rafael, CA); Eli Levine (San Francisco, CA); Simon Toens (San Francisco, CA); Ian Varley (Austin, TX)
Assignee: Salesforce, Inc.
G06F16/2471G06F16/20G06F16/245G06F16/25G06F16/258G06F16/27G06F16/284G06F16/18G06F16/21G06F16/211G06F16/214G06F16/217G06F16/219G06F16/256G06F16/289
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 12,056,138
App. No.
18/049,117
Granted
Aug 6, 2024
Kind
B2
Abstract

Systems and techniques for managing data in a relational database environment and a non-relational database environment. Data in the relational database environment that is static and to be maintained beyond a preselected threshold length of time is identified. The data is copied from the relational database and stored in the data the non-relational database. Access to the data is provided from the non-relational database via a user interface that accesses both the relational database and the non-relational database.

Claims (43)

1. A method, comprising:

obtaining a data retention configuration associated with a tenant of a multitenant computing environment, the data retention configuration indicating one or more parameters defining data to be copied from a relational database to a non-relational database;

enqueuing a message corresponding to first data, the message including the one or more parameters;

copying at least a chunk of the first data, identified from the relational database based on the enqueued message, to the non-relational database, wherein the message is enqueued again until all of the first data has been copied to the non-relational database;

obtaining a query received via a user interface, the query being received in a relational database language;

transforming the query received in the relational database language to multiple scans using one or more keys of the query;

performing the multiple scans on the non-relational database;

merging results of the performed multiple scans on the non-relational database; and

providing the merged results via the user interface.

2. The method of claim 1 , wherein the first data comprise field history data.

3. The method of claim 1 , further comprising:

identifying the first data in response to detection of one or more trigger conditions.

4. The method of claim 1 , further comprising:

deleting the first data from the relational database.

5. A system, comprising:

a database system implemented using at least a server computing device, the database system configurable to cause:

obtaining a data retention configuration associated with a tenant of a multitenant computing environment, the data retention configuration indicating one or more parameters defining data to be copied from a relational database to a non-relational database;

enqueuing a message corresponding to the first data, the message including the one or more parameters;

copying at least a chunk of the first data, identified from the relational database based on the enqueued message, to the non-relational database, wherein the message is enqueued again until all of the first data has been copied to the non-relational database;

obtaining a query received via a user interface, the query being received in a relational database language;

transforming the query received in the relational database language to multiple scans using one or more keys of the query;

performing the multiple scans on the non-relational database;

merging results of the performed multiple scans on the non-relational database; and

providing the merged results via the user interface.

6. The system of claim 5 , wherein the first data comprise field history data.

7. The system of claim 5 , further comprising:

identifying the first data in response to detection of one or more trigger conditions.

8. The system of claim 5 , the database system further configurable to cause:

deleting the first data from the relational database.

9. A computer program product comprising computer-readable program code capable of being executed by one or more processors when retrieved from a non-transitory computer-readable medium, the program code comprising computer-readable instructions configurable to cause:

obtaining a data retention configuration associated with a tenant of a multitenant computing environment, the data retention configuration indicating one or more parameters defining data to be copied from a relational database to a non-relational database;

enqueuing a message corresponding to first data, the message including the one or more parameters;

copying at least a chunk of the first data, identified from the relational database based on the enqueued message, to the non-relational database, wherein the message is enqueued again until all of the first data has been copied to the non-relational database;

obtaining a query received via a user interface, the query being received in a relational database language;

transforming the query received in the relational database language to multiple scans using one or more keys of the query;

performing the multiple scans on the non-relational database;

merging results of the performed multiple scans on the non-relational database; and

providing the merged results via the user interface.

10. The computer program product of claim 9 , wherein the first data comprise field history data.

11. The computer program product of claim 9 , the program code comprising computer-readable instructions further configurable to cause:

identifying the first data in response to detection of one or more trigger conditions.

12. The computer program product of claim 9 , the program code comprising computer-readable instructions further configurable to cause:

deleting the first data from the relational database.

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 Dec 21, 2022
From: BRUCE, JONATHAN; LEVINE, ELI; TOENS, SIMON; VARLEY, IAN
To: SALESFORCE.COM, INC.
Reel/Frame 062175/0795 →
Continuity (8)
Continuation 16853572 · Apr 20, 2020
Continuation 14542353 · Nov 14, 2014
Provisional Application 61905457 · Nov 18, 2013
Provisional Application 61905460 · Nov 18, 2013
Provisional Application 61905439 · Nov 18, 2013
Provisional Application 61904822 · Nov 15, 2013
Provisional Application 61904826 · Nov 15, 2013
Related Publication 20230084317A1 · Mar 16, 2023