Database repository with deferred transactions
First Claim
Patent Images
1. An apparatus for modifying a data item, comprising:
- a client computer system including a first memory to store said data item, wherein said data item is modified in response to a request of a user of the client computer system;
a database server, coupled to said client computer system, to store a plurality of data items including said data item;
said computer system including a plurality of processes comprising at least one user process and at least one other process;
wherein the client computer system is operable to create a lock on the data item being modified to allow said at least one user process to read the modified data item from said first memory, while said at least one other process writes the modified data item from said first memory to said database server.
5 Assignments
0 Petitions
Accused Products
Abstract
A deferred transaction mechanism facilitates multi-threaded operation of database application programs. The deferred transaction mechanism allows data items to be committed from the local memory of a computer system to a database system in a background thread, while other foreground threads continue to read the data item. In most instances, this makes the delay in committing a data item to the database imperceptible to a human user of a database application program. The deferred transaction mechanism further supports an “undo” feature, which allows modifications to a data item located in a computer'"'"'s local memory to be rapidly discarded.
-
Citations
15 Claims
-
1. An apparatus for modifying a data item, comprising:
-
a client computer system including a first memory to store said data item, wherein said data item is modified in response to a request of a user of the client computer system;
a database server, coupled to said client computer system, to store a plurality of data items including said data item;
said computer system including a plurality of processes comprising at least one user process and at least one other process;
wherein the client computer system is operable to create a lock on the data item being modified to allow said at least one user process to read the modified data item from said first memory, while said at least one other process writes the modified data item from said first memory to said database server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for selectively undoing modification to a data item, comprising:
-
creating in a first memory an original version of a data item that is stored in a database server, the first memory being included in a client computer system coupled to the database server;
making a first copy of the original version in the first memory;
modifying said first copy of the original version in the first memory;
creating a second copy from said original version in the first memory, when a command is received to undo said modifications; and
creating a new data item in the database server from the modified first copy of the original version, when a command is received to commit said modifications. - View Dependent Claims (10, 11, 12, 13)
setting a read lock on said modified first copy in the first memory, which allows said plurality of processes to read said modified first copy, but blocks said plurality of processes from modifying said modified first copy;
creating a new data item from said modified first copy;
copying said modified first copy from said first memory to said database server, wherein a time interval to create said new data item and to copy said modified first copy defines a copy latency;
reading said modified first copy during said copy latency; and
releasing said read lock.
-
-
14. An apparatus for selectively undoing modification to a data item, comprising:
-
a database server to store a plurality of data items, including a particular data item; and
a client computer system, coupled to the database server, to create a first copy of the particular data item in a first memory of the client computer system, to modify the first copy of the particular data item in the first memory, to create a second copy of the particular data item in the first memory when receiving a command to undo the modification, and to trigger a creation of a new data item in the database server from the modified first copy of the particular data item when receiving a command to commit the modification.
-
-
15. A machine-readable medium containing instructions which, when executed by a processing system, cause the processing system to:
-
create in a first memory an original version of a data item that is stored in a database server, the first memory being included in a client computer system coupled to the database server;
make a first copy of the original version in the first memory;
modify said first copy of the original version in the first memory;
create a second copy from said original version in the first memory, when a command is received to undo said modifications; and
create a new data item in the database server from the modified first copy of the original version, when a command is received to commit said modifications.
-
Specification