This repository has been archived by the owner on Dec 16, 2022. It is now read-only.
forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Single round trip commit on BatchExecute
* When auto-commit is on, passDML is on and ExecuteBatch is in a transaction, there is no need to explicitly create a transaction. We can forward the DML directly to the database. * This optimization yielded significant more throughput in vttablets. We got around 25-30% improvement. Most of our queries are single point inserts/updates that already use auto commit when coming from vtgates, so this improvement is something that we've been wanting to do for a long time. Signed-off-by: Rafael Chacon <[email protected]>
- Loading branch information
Showing
6 changed files
with
815 additions
and
758 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.