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

perf: blocksyncer sql commit #1312

Merged
merged 5 commits into from Jan 17, 2024
Merged

perf: blocksyncer sql commit #1312

merged 5 commits into from Jan 17, 2024

Conversation

constwz
Copy link
Contributor

@constwz constwz commented Jan 17, 2024

Description

blocksyncer sql is commit in batches

Rationale

When dealing with large blocks, sql may exceed the limit length and cause an error

Example

The number of sql committed each time is adjusted by the configuration

Changes

Notable changes:

  • Add the configuration item commit number
  • sql batch commit

Potential Impacts

  • sync speed

@constwz constwz merged commit cde7a65 into develop Jan 17, 2024
11 checks passed
@constwz constwz deleted the perf-bs branch January 17, 2024 07:13
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.

None yet

5 participants