Private database logging with minimal storage requirements
First Claim
1. An apparatus to log operations for a database, the apparatus comprising:
- an operation event module that detects an operation on a record in a database table;
a translation module that creates a changed field bit field, one or more operation time bit fields, and a user bit field, the translation module creating the changed field bit field by encoding indicators of one or more fields of the record that the operation is configured to change, creating the one or more operation time bit fields by encoding time information for the operation, and creating the user bit field by encoding information of a user associated with the operation;
a consolidation module that packs at least the changed field bit field, the one or more operation time bit fields, and the user bit field into a single bit array; and
a log module that stores the bit array in a change log such that the bit array is associated with the record.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus, system, and method are disclosed for logging operations for a database. An operation event module detects an operation on a record in a database table. A translation module creates a changed field bit field, one or more operation time bit fields, and a user bit field. The translation module creates the changed field bit field by encoding indicators of one or more fields of the record that the operation is configured to change, creates the one or more operation time bit fields by encoding time information for the operation, and creates the user bit field by encoding information of a user associated with the operation. A consolidation module packs at least the changed field bit field, the one or more operation time bit fields, and the user bit field into a single bit array. A log module stores the bit array in a change log.
19 Citations
25 Claims
-
1. An apparatus to log operations for a database, the apparatus comprising:
-
an operation event module that detects an operation on a record in a database table; a translation module that creates a changed field bit field, one or more operation time bit fields, and a user bit field, the translation module creating the changed field bit field by encoding indicators of one or more fields of the record that the operation is configured to change, creating the one or more operation time bit fields by encoding time information for the operation, and creating the user bit field by encoding information of a user associated with the operation; a consolidation module that packs at least the changed field bit field, the one or more operation time bit fields, and the user bit field into a single bit array; and a log module that stores the bit array in a change log such that the bit array is associated with the record. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A method for logging operations for a database, the method comprising:
-
detecting an operation on a record in a database table; creating a changed field bit field by encoding indicators of one or more fields of the record that the operation is configured to change; creating one or more operation time bit fields by encoding time information for the operation; creating a user bit field by encoding information of a user associated with the operation; packing at least the changed field bit field, the one or more operation time bit fields, and the user bit field into a single bit array; and storing the bit array in a change log such that the bit array is associated with the record. - View Dependent Claims (19, 20, 21)
-
-
22. A computer program product comprising a non-transitory computer readable medium having computer readable program code executing to perform operations for logging operations for a database, the operations of the computer program product comprising:
-
detecting an operation on a record in a database table; creating a changed field bit field by encoding indicators of one or more fields of the record that the operation is configured to change; creating one or more operation time bit fields by encoding time information for the operation; creating a user bit field by encoding information of a user associated with the operation; packing at least the changed field bit field, the one or more operation time bit fields, and the user bit field into a single bit array; and storing the bit array in a change log such that the bit array is associated with the record. - View Dependent Claims (23, 24)
-
-
25. A method for deploying computing infrastructure, the method comprising:
integrating computer readable code into a computing system, wherein the computer readable code in combination with the computing system is capable of, detecting an operation on a record in a database table; creating a changed field bit field by encoding indicators of one or more fields of the record that the operation is configured to change; creating one or more operation time bit fields by encoding time information for the operation; creating a user bit field by encoding information of a user associated with the operation; packing at least the changed field bit field, the one or more operation time bit fields, and the user bit field into a single bit array; and storing the bit array in a change log such that the bit array is associated with the record.
Specification