Database garbage collector
First Claim
Patent Images
1. A method for managing a database, comprising:
- beginning a first transaction;
updating a respective entry in a reference table for each object accessed during the transaction, each entry indicating any references to the object from other objects and any references from the object to other objects;
committing the first transaction;
responsive to committing the first transaction;
checking the reference table only for entries updated during the first transaction to determine for such entries whether there are any references to the corresponding object; and
deleting from the reference table any updated entry for which there is no reference to the corresponding object.
2 Assignments
0 Petitions
Accused Products
Abstract
A database garbage collector that removes appropriate database entries accessed during a recent transaction.
12 Citations
8 Claims
-
1. A method for managing a database, comprising:
-
beginning a first transaction; updating a respective entry in a reference table for each object accessed during the transaction, each entry indicating any references to the object from other objects and any references from the object to other objects; committing the first transaction; responsive to committing the first transaction; checking the reference table only for entries updated during the first transaction to determine for such entries whether there are any references to the corresponding object; and deleting from the reference table any updated entry for which there is no reference to the corresponding object. - View Dependent Claims (2, 3, 4)
-
-
5. An article of manufacture comprising a computer readable medium having instructions stored thereon that when executed by a machine, cause the machine to perform the following method:
-
beginning a first transaction; updating a respective entry in a reference table for each object accessed during the transaction, each entry indicating any references to the object from other objects and any references from the object to other objects; committing the first transaction; responsive to committing the first transaction; checking the reference table only for entries updated during the first transaction to determine for such entries whether there are any references to the corresponding object; and deleting from the reference table any updated entry for which there is no reference to the corresponding object. - View Dependent Claims (6, 7, 8)
-
Specification