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

Batch SQL inserts for transactions #1898

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

JamesHinshelwood
Copy link
Contributor

I've seen that SQL insert latency is a large bottleneck for the execution of blocks with many transactions. By batching these transactions and performing them all with a single SQL query at the end of executing a block, we should reduce this latency.

@JamesHinshelwood JamesHinshelwood force-pushed the batch-insert-txns branch 2 times, most recently from 0f8b802 to 1020a68 Compare November 25, 2024 14:15
I've seen that SQL insert latency is a large bottleneck for the
execution of blocks with many transactions. By batching these
transactions and performing them all with a single SQL query at
the end of executing a block, we should reduce this latency.
@JamesHinshelwood JamesHinshelwood added this pull request to the merge queue Nov 26, 2024
Merged via the queue into main with commit 1dc9f7f Nov 26, 2024
7 checks passed
@JamesHinshelwood JamesHinshelwood deleted the batch-insert-txns branch November 26, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants