Purging storage partitions of databases
First Claim
Patent Images
1. A method comprising:
- identifying, by a processor, a first table partition to be purged, wherein the first table partition is one of a plurality of table partitions of a database table, and wherein the plurality of table partitions are separated according to time ranges;
identifying, by the processor, a database entry in the first table partition, wherein the identified database entry is to be copied to a different table partition of the database table;
copying, by the processor, an updated version of the identified database entry to a future table partition of the database table;
purging, by the processor, the first table partition; and
in response to a purge of the first table partition, creating, by the processor, a dummy database entry in a second table partition of the database table, wherein the dummy database entry stores an identifier for the future table partition, and wherein the second table partition is a second oldest table partition of the database table.
7 Assignments
0 Petitions
Accused Products
Abstract
Examples relate to purging storage partitions of a database. The examples disclosed herein identify a first partition of a database to be purged and identify a data entry in the first storage partition, where the data entry is to be copied. Examples herein copy an updated version of the data entry to a future storage partition of the database and purge the first storage partition. A dummy data entry is created in a second storage partition of the database, where the dummy data entry identifies the future storage partition.
27 Citations
20 Claims
-
1. A method comprising:
-
identifying, by a processor, a first table partition to be purged, wherein the first table partition is one of a plurality of table partitions of a database table, and wherein the plurality of table partitions are separated according to time ranges; identifying, by the processor, a database entry in the first table partition, wherein the identified database entry is to be copied to a different table partition of the database table; copying, by the processor, an updated version of the identified database entry to a future table partition of the database table; purging, by the processor, the first table partition; and in response to a purge of the first table partition, creating, by the processor, a dummy database entry in a second table partition of the database table, wherein the dummy database entry stores an identifier for the future table partition, and wherein the second table partition is a second oldest table partition of the database table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory machine-readable storage medium encoded with instructions executable by a processor of a computing device to:
-
identify a first table partition of a database table to be purged by identifying an oldest table partition of the database table, wherein the first table partition is one of a plurality of table partitions of the database table, and wherein the plurality of table partitions are separated according to time ranges; identify a database entry in the first table partition, wherein a latest version of the identified database entry in the database table is stored in the first table partition, and wherein the identified database entry is to be copied to another table partition; copy an updated version of the database entry to a future table partition of the database table; purge the first table partition; and create a dummy database entry in a second table partition of the database table, wherein the dummy database entry stores an identifier for the future table partition, and wherein the second table partition is a second oldest table partition of the database table and becomes the oldest table partition of the database table after the first table partition is purged. - View Dependent Claims (12, 13, 14, 15, 16, 17)
-
-
18. A computing device comprising a processor to:
-
identify a first table partition of a database table to be purged by identifying an oldest table partition of the database table, wherein the first table partition is one of a plurality of table partitions of the database table, and wherein the plurality of table partitions are separated according to time ranges; identify a database entry in the first table partition, wherein a latest version of the identified database entry in the database table is stored in the first table partition, and wherein the identified database entry is to be copied; copy an updated version of the identified database entry to a future table partition of the database table; update a cache to include the updated version of the identified database entry; purge the first table partition; create a dummy database entry in a second table partition of the database table, wherein the dummy database entry stores an identifier for the future table partition, and wherein the second table partition is a second oldest table partition of the database table and becomes the oldest table partition of the database table after the first table partition is purged; and query the database table to locate the dummy database entry and update the cache with database entries stored in the future table partition, wherein the cache stores the latest versions of each database entry in the database table. - View Dependent Claims (19, 20)
-
Specification