Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single round trip commit on BatchExecute #4739

Merged
merged 1 commit into from
Mar 22, 2019

Commits on Mar 21, 2019

  1. 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 <rafael@slack-corp.com>
    rafael committed Mar 21, 2019
    Configuration menu
    Copy the full SHA
    20b59bb View commit details
    Browse the repository at this point in the history