-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: create jobs in a batch in a transactions
This commit change the way jobs are created for a transaction. Previously, the jobs were created individually during the execution of a transaction. A job creation incurs a round trip to insert an entry in system.jobs table. This commit accumulates the jobs to be created during a transaction and creates them in a batch, which is expected to reduce the number of round-trips between distant nodes during a transaction execution. This is a step forward to improve the performance of GRANT/REVOKE queries in large databases. Release note: None Fixes: #64389
- Loading branch information
Sajjad Rizvi
committed
Jul 27, 2021
1 parent
9912d7e
commit 704360c
Showing
13 changed files
with
247 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.