DATABASE QUERY PROCESSING
First Claim
1. A system for managing a database organized according to a schema, the system comprising:
- a computer-readable medium, the computer readable medium comprising a first file, wherein the first file corresponds to a database table described by the schema, and wherein the first file comprises a sequence of row entries, wherein each row entry in the sequence of row entries corresponds to a row of the table, and wherein each row entry in the sequence of row entries comprises a sequence of data items in the row corresponding to the row entry; and
at least one processor in communication with the computer-readable medium and programmed to;
receive a command to modify a first data item of the database table, wherein the command indicates a modified value for the first data item;
write a first change entry to the file prior to the sequence of row entries, wherein the first change entry comprises the modified value for the first data item, and an indicator of a column corresponding to the first data item;
identify from the sequence of row entries a first row entry comprising the data item; and
write to the first row entry, at a position corresponding to the first data item, a pointer to the first change entry.
1 Assignment
0 Petitions
Accused Products
Abstract
Various examples are directed to systems and methods for managing a database organized according to a schema. The database may comprise a database file corresponding to a table described by the schema. The database file may comprise a first row entry corresponding to a first row of the table. The first row entry may comprise at least one data item. A command may be received. The command may modify a first data item in the first row of the table. An indication of the modified value for the first data item may be written to a change location at the first file. The first entry may be modified to include a pointer to the indication of the modified value for the first data item.
-
Citations
20 Claims
-
1. A system for managing a database organized according to a schema, the system comprising:
-
a computer-readable medium, the computer readable medium comprising a first file, wherein the first file corresponds to a database table described by the schema, and wherein the first file comprises a sequence of row entries, wherein each row entry in the sequence of row entries corresponds to a row of the table, and wherein each row entry in the sequence of row entries comprises a sequence of data items in the row corresponding to the row entry; and at least one processor in communication with the computer-readable medium and programmed to; receive a command to modify a first data item of the database table, wherein the command indicates a modified value for the first data item; write a first change entry to the file prior to the sequence of row entries, wherein the first change entry comprises the modified value for the first data item, and an indicator of a column corresponding to the first data item; identify from the sequence of row entries a first row entry comprising the data item; and write to the first row entry, at a position corresponding to the first data item, a pointer to the first change entry. - View Dependent Claims (2, 3)
-
-
4. A system for managing a database organized according to a schema, the system comprising:
-
a computer-readable medium, the computer readable medium comprising a first file corresponding to a table described by the schema, wherein the first file comprises a first row entry, wherein the first row entry corresponds to a first row of the table, and wherein the first row entry comprises at least one data item; and at least one processor in communication with the computer-readable medium and programmed to; receive a command to modify a first data item in the first row of the table, wherein the command indicates a modified value for the first data item; write an indication of the modified value for the first data item to a change location at the first file; identify the first row entry from the file; and write to the first row entry a pointer to the indication of the modified value for the first data item. - View Dependent Claims (5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A system for managing a database organized according to a schema, the system comprising:
-
a computer-readable medium, the computer readable medium comprising a first file corresponding to a table described by the schema, wherein the first file comprises; a first change entry comprising a modified value for a first data item, wherein the first change entry is written to a change location of the first file; and a first row entry, wherein the first row entry corresponds to a first row of the table, and wherein the first row entry comprises at a position corresponding to the first data item, a pointer to the first change entry; and at least one processor in communication with the computer-readable medium and programmed to; receive from a client a query for the first data item; determine that the client has not previously received a result for the query; load from the first file a plurality of row entries, the plurality of row entries comprising the first row entry; modify the loaded first row entry to replace the pointer with the modified value for the first data item; and return to the client a result of the query, wherein the result of the query comprises the modified value for the first data item. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification