DATABASE MANAGEMENT DELETE EFFICIENCY
First Claim
1. A system comprising:
- one or more processors; and
program code including a query optimizer, the program code configured to be executed by the one or more processors to process a database query, the program code configured to;
structure a database to have a plurality of tables having indexes to related rows and having keys with key values associated with particular rows; and
delete rows in the database tables by deleting keys in indexes related to the rows in an order such that corresponding rows are deleted based on relation to the keys.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product to efficiently delete data from a database is disclosed. The method, system, and computer program product may include structuring the database to have a plurality of tables having indexes to related rows and having keys with key values associated with particular rows. The method, system, and computer program product may include deleting rows in the database tables by deleting keys in indexes related to the rows in an order such that corresponding rows are deleted based on relation to the keys. The method, system, and computer program product may include ordering the rows to be deleted based on concepts such as hierarchy, spatial locality, temporal locality, frequency of access, number of rows, and value uniqueness. Comparatively closely related relationships may be prioritized to be deleted.
40 Citations
6 Claims
-
1. A system comprising:
-
one or more processors; and program code including a query optimizer, the program code configured to be executed by the one or more processors to process a database query, the program code configured to; structure a database to have a plurality of tables having indexes to related rows and having keys with key values associated with particular rows; and delete rows in the database tables by deleting keys in indexes related to the rows in an order such that corresponding rows are deleted based on relation to the keys. - View Dependent Claims (2, 3)
-
-
4. A computer program product for processing a database query, the computer program product comprising a computer readable storage medium having program code embodied therewith, the program code comprising computer readable program code configured to:
-
structure a database to have a plurality of tables having indexes to related rows and having keys with key values associated with particular rows; and delete rows in the database tables by deleting keys in indexes related to the rows in an order such that corresponding rows are deleted based on relation to the keys. - View Dependent Claims (5, 6)
-
Specification