| CPC G06F 16/2282 (2019.01) [G06F 11/1402 (2013.01); G06F 16/125 (2019.01); G06F 16/2453 (2019.01)] | 19 Claims |

|
1. A method, comprising:
generating, by a data management system, a database instance associated with managing data of a plurality of users;
generating, by the data management system, in the database instance, a table in a database for a user of the plurality of users, wherein the table is configured to store metadata for managing data of the user and comprises a partitioning category;
identifying, by the data management system, a file that indicates a partition management policy that is based at least in part on a data retention policy associated with the data of the user, the partition management policy for partitioning the table and for retaining partitions in the table;
determining, based at least in part on identifying the file, a quantity of partitions to retain from the file;
generating, by the data management system, a plurality of partitions for the table in accordance with the partition management policy indicated by the file and based at least in part on the partitioning category;
determining, based at least in part on generating the plurality of partitions, that at least a subset of the generated plurality of partitions exceeds the quantity of partitions to retain; and
deleting, by the data management system, after generating the plurality of partitions, one or more partitions of the plurality of partitions in accordance with the file and based at least in part on the quantity of the generated plurality of partitions exceeding the quantity of partitions to retain.
|