Rescheduling transactions in a database system
First Claim
Patent Images
1. An article comprising at least one storage medium containing instructions that when executed cause a computer-implemented database system to:
- receive a plurality of pending transactions; and
reorder the received pending transactions based on determining conflicts between the received pending transactions and other transactions scheduled for execution.
2 Assignments
0 Petitions
Accused Products
Abstract
A database system includes a transaction rescheduling mechanism that reorders pending transactions based on whether one or more of the pending transactions conflict with any transactions that have been scheduled for execution. In one arrangement, the received pending transactions are stored in a first queue. The transactions that are scheduled for execution are stored in a second queue. The transactions are moved from the first queue to the second queue based on the reordering by the transaction rescheduling mechanism.
144 Citations
37 Claims
-
1. An article comprising at least one storage medium containing instructions that when executed cause a computer-implemented database system to:
-
receive a plurality of pending transactions; and reorder the received pending transactions based on determining conflicts between the received pending transactions and other transactions scheduled for execution. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A method of scheduling transactions in a computer-implemented database system, comprising:
-
receiving pending transactions in a first order; determining any conflicts between the received pending transactions and transactions scheduled for execution; and in response to determining conflicts, reordering the received pending transactions so that the received pending transactions are provided for execution scheduling in a second order different from the first order. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27)
-
-
28. A database system, comprising:
-
one or more processors, the one or more processors to execute a re-scheduler to receive pending transactions; and the one or more processors to execute a scheduler to process a set of transactions, the re-scheduler to reorder the pending transactions based on whether the pending transactions request locks that conflict with locks of the set of transactions processed by the scheduler. - View Dependent Claims (29, 30, 31, 32, 33, 34, 35, 36)
-
-
37. An article comprising at least one storage medium containing instructions that when executed cause a computer-implemented database system to:
-
receive, in a first order, pending transactions in a first queue; store transactions to be scheduled for execution in a second queue; scan the pending transactions in the first queue to determine any lock conflicts between the pending transactions in the first queue and the transactions in the second queue; move pending transactions from the first queue to the second queue if the pending transactions do not have a lock conflict with the transactions in the second queue, wherein the pending transactions are moved to the second queue in an order different than the first order; remove transactions from the second queue as they are completed; and move further pending transactions to the second queue as transactions are removed from the first queue.
-
Specification