System for database integrity with multiple logs assigned to client subsets
Abstract
The present invention provides a distributed log system where the logs are distributed on a per client basis. That is, the clients are partitioned into subsets. Each subset of clients is assigned a log, and the the redo records of those clients are maintained in that log. This reduces contention bottlenecks, because the number of clients writing to any one log is limited. Also, all of a client's changes are stored in a single log. During a recovery process, the changes for a block of data may be stored in different logs. For proper recovery, the changes must be applied to the database in the order in which they were originally made. The present invention provides a system for ordering the log entries in the correct order by using a "sequence number". Each page of data in the database has an associated sequence number. When a change is made to that page, the sequence number is incremented. The new sequence number is written to the log along with the change information. To minimize overhead, the sequence number is structured as a two part value. The first part of the value is an "incarnation number" that is increased whenever the associated change assigns a new va
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 299.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of distributing log entries of transactions initiated by a plurality of clients commonly accessing at least one database, said method comprising the steps of: dividing said plurality of clients into a plurality of subsets of clients, each of said plurality of clients commonly accessing said at least one database, each of said plurality of clients initiating transactions with said at least one database, each of said subsets including at least one of said plurality of clients; providing in a first memory means a different transaction log buffer associated with each one of said plurali
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 299 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (4)
- Kumar, "A Crash Recovery Algorithm Based on Multiple Logs that Exploits Parallelism", Proc. Second IEEE Symposium on Parallel and Distributed Computing, 9-13 Dec. 1990, pp. 156-159.
- Kumar, A Crash Recovery Algorithm Based on Multiple Logs that Exploits Parallelism , Proc. Second IEEE Symposium on Parallel and Distributed Computing, 9 13 Dec. 1990, pp. 156 159.
- Levy, "Incremental Restart", Proc. Seventh International Conference on Data Engineering, 8-12 Apr. 1991, pp. 640-648.
- Levy, Incremental Restart , Proc. Seventh International Conference on Data Engineering, 8 12 Apr. 1991, pp. 640 648.