Database system with active standby and nodes
First Claim
1. A computer-implemented method comprising steps of:
- from one or more clients, an active node receiving first row updates for rows belonging to a cache group that are stored within an in-memory database of said active node, said cache group being defined as a set of rows of one or more base tables stored in a database of a disk-based primary database system;
said active node committing said first row updates to said in-memory database of said active node;
propagating the first row updates as first active write-through updates to a standby node;
said standby node receiving said first active write-through updates;
said standby node committing said first active write-through updates to an in-memory database of said standby node;
said standby node propagating the first active write-through updates to said disk-based primary database system to cause said disk-based primary database system to update rows belonging to said cache group in said database of said disk-based primary database system;
said active node receiving autorefresh row updates periodically propagated from said disk-based primary database system, said autorefresh row updates reflecting second row updates made to said cache group at said database of said disk-based primary database system, said second row updates being different than said first row updates;
said active node committing said autorefresh row updates to said in-memory database of said active node;
said standby node committing said autorefresh row updates to said in-memory database of said standby node; and
said standby node preventing reapplying said autorefresh updates to said disk-based database of said disk-based primary database system.
1 Assignment
0 Petitions
Accused Products
Abstract
A system includes an active node and a standby node and zero or more replica nodes. Each of the nodes includes a database system, such as an in-memory database system. Client updates applied to the active node are written through to the standby node, and the standby node writes the updates through to a primary database and updates the replica nodes. Commit ticket numbers tag entries in transaction logs and are used to facilitate recovery if either of the active node or the standby node fails. Updates applied to the primary database are autorefreshed to the active node and written through by the active node to the standby node which propagates the updates to the replica nodes. Bookmarks are used to track updated records of the primary database and are used to facilitate recovery if either of the active node or the standby node fails.
88 Citations
12 Claims
-
1. A computer-implemented method comprising steps of:
-
from one or more clients, an active node receiving first row updates for rows belonging to a cache group that are stored within an in-memory database of said active node, said cache group being defined as a set of rows of one or more base tables stored in a database of a disk-based primary database system; said active node committing said first row updates to said in-memory database of said active node; propagating the first row updates as first active write-through updates to a standby node; said standby node receiving said first active write-through updates; said standby node committing said first active write-through updates to an in-memory database of said standby node; said standby node propagating the first active write-through updates to said disk-based primary database system to cause said disk-based primary database system to update rows belonging to said cache group in said database of said disk-based primary database system; said active node receiving autorefresh row updates periodically propagated from said disk-based primary database system, said autorefresh row updates reflecting second row updates made to said cache group at said database of said disk-based primary database system, said second row updates being different than said first row updates; said active node committing said autorefresh row updates to said in-memory database of said active node; said standby node committing said autorefresh row updates to said in-memory database of said standby node; and said standby node preventing reapplying said autorefresh updates to said disk-based database of said disk-based primary database system. - View Dependent Claims (2, 3, 4, 9, 11)
-
-
5. A non-transitory computer-readable medium storing one or more sequences of instructions, which, when executed by one or more processors, cause:
-
from one or more clients, an active node receiving first row updates for rows belonging to a cache group that are stored within an in-memory database of said active node, said cache group being defined as a set of rows of one or more base tables stored in a database of a disk-based primary database system; said active node committing said first row updates to said in-memory database of said active node; propagating the first row updates as first active write-through updates to a standby node; said standby node receiving said first active write-through updates; said standby node committing said first active write-through updates to an in-memory database of said standby node; said standby node propagating the first active write-through updates to said disk-based primary database system to cause said disk-based primary database system to update rows belonging to said cache group in said database of said disk-based primary database system; said active node receiving autorefresh row updates periodically propagated from said disk-based primary database system, said autorefresh row updates reflecting second row updates made to said cache group at said database of said disk-based primary database system, said second row updates being different than said first row updates; said active node committing said autorefresh row updates to said in-memory database of said active node; said standby node committing said autorefresh row updates to said in-memory database of said standby node; and said standby node preventing reapplying said autorefresh updates to said disk-based database of said disk-based primary database system. - View Dependent Claims (6, 7, 8, 10, 12)
-
Specification