Truncating data associated with objects in a multi-tenant database
First Claim
1. A computer-implemented method of removing stored data associated with a database object, the method comprising:
- assigning a new and previously unused key prefix to an existing database object to disassociate stored data from an old key prefix, resulting in an empty database object that is void of data;
updating a graphical representation of a table to reflect the empty database object; and
presenting the graphical representation of the table to a user, wherein;
each entry in the existing database object is uniquely associated with a respective custom entity identifier that begins with the old key prefix; and
each entry in the updated database object is uniquely associated with a respective custom entity identifier that begins with the new and previously unused key prefix.
1 Assignment
0 Petitions
Accused Products
Abstract
An embodiment of a multi-tenant database system includes a multi-tenant database, an entity definition table, and a data processing engine. The database has objects for multiple tenants, including an existing object for a designated tenant. Each entry in the existing object has a respective entity identifier. The definition table has entries for the database objects, including a metadata entry for the existing object. This metadata entry has a tenant identifier for the designated tenant, an entity name for the existing object, and an old key prefix for the existing object. Each entity identifier of the existing object begins with the old key prefix. The engine performs a data truncation operation on the existing object by updating the metadata entry to replace the old key prefix with a new key prefix. This results in an updated object that is identified by the new key prefix and the tenant identifier.
180 Citations
20 Claims
-
1. A computer-implemented method of removing stored data associated with a database object, the method comprising:
-
assigning a new and previously unused key prefix to an existing database object to disassociate stored data from an old key prefix, resulting in an empty database object that is void of data; updating a graphical representation of a table to reflect the empty database object; and presenting the graphical representation of the table to a user, wherein; each entry in the existing database object is uniquely associated with a respective custom entity identifier that begins with the old key prefix; and each entry in the updated database object is uniquely associated with a respective custom entity identifier that begins with the new and previously unused key prefix. - View Dependent Claims (2, 3, 4, 5, 10)
-
-
6. A computer-implemented method of removing stored data associated with a database object, the method comprising:
-
assigning a new and previously unused key prefix to an existing database object to disassociate stored data from an old key prefix, resulting in an empty database object that is void of data; updating a graphical representation of a table to reflect the empty database object and presenting the graphical representation of the table to a user, wherein; the existing database object includes a first entry that is linked to a foreign key maintained in a second entry of a target database object, the foreign key stored in a field identified by a first column number; and the method further comprises altering metadata for the second entry of the target database object by replacing the first column number with a new and previously unused column number, in response to assigning the new and previously unused key prefix to the existing database object. - View Dependent Claims (11, 15)
-
-
7. A computer-implemented method of removing stored data associated with a database object, the method comprising:
-
assigning a new and previously unused key prefix to an existing database object to disassociate stored data from an old key prefix, resulting in an empty database object that is void of data; updating a graphical representation of a table to reflect the empty database object; and presenting the graphical representation of the table to a user, wherein; the existing database object includes a first entry that is linked to a foreign key maintained in a second entry of a target database object; and the method further comprises removing the second entry of the target database object, in response to assigning the new and previously unused key prefix to the existing database object. - View Dependent Claims (12, 16)
-
-
8. A computer-implemented method of removing stored data associated with a database object, the method comprising:
-
assigning a new and previously unused key prefix to an existing database object to disassociate stored data from an old key prefix, resulting in an empty database object that is void of data; updating a graphical representation of a table to reflect the empty database object; and presenting the graphical representation of the table to a user, wherein; the existing database object includes a first entry that is linked to a summary field value maintained in a second entry of a target database object; and the method further comprises updating the summary field value in response to assigning the new and previously unused key prefix to the existing database object. - View Dependent Claims (13, 17, 19)
-
-
9. A computer-implemented method of removing stored data associated with a database object, the method comprising:
-
maintaining a custom entity definition table having a metadata entry corresponding to an existing database object; assigning a new and previously unused key prefix to the existing database object to disassociate stored data from an old key prefix, resulting in an empty database object that is void of data; updating a graphical representation of a table to reflect the empty database object; and presenting the graphical representation of the table to a user, wherein; the metadata entry includes the old key prefix in a key prefix field; and assigning the new and previously unused key prefix comprises updating the metadata entry to include the new and previously unused key prefix in the key prefix field, to obtain an updated metadata entry that corresponds to the updated database object. - View Dependent Claims (14, 18, 20)
-
Specification