Skip to content

perf: add option for last_statement #1313

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

Merged
merged 2 commits into from
Feb 27, 2025
Merged

perf: add option for last_statement #1313

merged 2 commits into from
Feb 27, 2025

Conversation

olavloite
Copy link
Contributor

Adds an option to indicate that a statement is the last statement in a read/write transaction. Setting this option allows Spanner to optimize the execution of the statement, and defer some validations until the Commit RPC that should follow directly after this statement.

The last_statement option is automatically used by the dbapi driver when a statement is executed in autocommit mode.

Adds an option to indicate that a statement is the last statement in a read/write
transaction. Setting this option allows Spanner to optimize the execution of the
statement, and defer some validations until the Commit RPC that should follow
directly after this statement.

The last_statement option is automatically used by the dbapi driver when a
statement is executed in autocommit mode.
@olavloite olavloite requested review from a team as code owners February 24, 2025 13:47
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: spanner Issues related to the googleapis/python-spanner API. labels Feb 24, 2025
@olavloite olavloite merged commit 19ab6ef into main Feb 27, 2025
14 of 16 checks passed
@olavloite olavloite deleted the last-statement branch February 27, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/python-spanner API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy