Increased parallelism performance of batch requests
First Claim
Patent Images
1. A method comprising:
- detecting, with one or more processors, that a request for access to a database system includes a journal batch to reverse previous journal transactions, wherein the journal transactions function to cause ledger entries within the database system;
queuing the journal batch to reverse previous journal transactions and the corresponding ledger entries in a journal batch queue with other journal batches, wherein the journal batch queue is part of the database system, wherein each journal batch request includes multiple journal requests, and wherein queuing the journal batch comprises submitting multiple concurrent journal requests for reversing a previous journal batch;
placing all received requests to reverse previous journal transactions on hold in conjunction with the requests to reverse previous journal transactions being placed in the queue;
removing the hold from one or more individual requests to reverse corresponding ledger entries from within the multiple different batches;
selectively dequeuing, with the one or more processors, journal requests that have been removed from hold from the journal batch queue, including selecting at least one journal request from multiple different journal batches; and
executing the selected journal requests on parallel hardware computing resources of the database system to reverse previous journal request transactions.
1 Assignment
0 Petitions
Accused Products
Abstract
A system selectively dequeues journal requests instead of dequeuing on a first come, first served basis. A database system detects that a request for access from a client is a journal batch, which includes multiple journal requests. The system queues the journal batch in a queue with other journal batches for processing. The system selectively dequeues journal requests from the journal batch queue, including selecting at least one journal request from multiple different journal batches. Thus, the journal requests do not conflict for shared resources, and the system can improve parallelism in processing the journal batches.
124 Citations
20 Claims
-
1. A method comprising:
-
detecting, with one or more processors, that a request for access to a database system includes a journal batch to reverse previous journal transactions, wherein the journal transactions function to cause ledger entries within the database system; queuing the journal batch to reverse previous journal transactions and the corresponding ledger entries in a journal batch queue with other journal batches, wherein the journal batch queue is part of the database system, wherein each journal batch request includes multiple journal requests, and wherein queuing the journal batch comprises submitting multiple concurrent journal requests for reversing a previous journal batch; placing all received requests to reverse previous journal transactions on hold in conjunction with the requests to reverse previous journal transactions being placed in the queue; removing the hold from one or more individual requests to reverse corresponding ledger entries from within the multiple different batches; selectively dequeuing, with the one or more processors, journal requests that have been removed from hold from the journal batch queue, including selecting at least one journal request from multiple different journal batches; and executing the selected journal requests on parallel hardware computing resources of the database system to reverse previous journal request transactions. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An article of manufacture comprising a non-transitory computer readable storage medium having content stored thereon, which when executed, are configurable to cause a machine to perform operations including:
-
detecting, with one or more processors, that a request for access to a database system includes a journal batch to reverse previous journal transactions, wherein the journal transactions function to cause ledger entries within the database system; queuing the journal batch to reverse previous journal transactions and the corresponding ledger entries in a journal batch queue with other journal batches, wherein the journal batch queue is part of the database system, wherein each journal batch request includes multiple journal requests, and wherein queuing the journal batch comprises submitting multiple concurrent journal requests for reversing a previous journal batch; placing all received requests to reverse previous journal transactions on hold in conjunction with the requests to reverse previous journal transactions being placed in the queue; removing the hold from one or more individual requests to reverse corresponding ledger entries from within the multiple different batches; selectively dequeuing, with the one or more processors, journal requests that have been removed from hold from the journal batch queue, including selecting at least one journal request from multiple different journal batches; and executing the selected journal requests on parallel hardware computing resources of the database system to reverse previous journal request transactions. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer system comprising:
-
network interface hardware to connect to a database system; and one or more processors configured to execute a request processing application for the database system, further configurable to detect, with one or more processors, that a request for access to a database system includes a journal batch to reverse previous journal transactions, wherein the journal transactions function to cause ledger entries within the database system; queue the journal batch to reverse previous journal transactions and the corresponding ledger entries in a journal batch queue with other journal batches, wherein the journal batch queue is part of the database system, wherein each journal batch request includes multiple journal requests, and wherein queuing the journal batch comprises submitting multiple concurrent journal requests for reversing a previous journal batch; place all received requests to reverse previous journal transactions on hold in conjunction with the requests to reverse previous journal transactions being placed in the queue; remove the hold from one or more individual requests to reverse corresponding ledger entries from within the multiple different batches; selectively dequeue, with the one or more processors, journal requests that have been removed from hold from the journal batch queue, including selecting at least one journal request from multiple different journal batches; and execute the selected journal requests on parallel hardware computing resources of the database system to reverse previous journal request transactions. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification