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

optimize history repository performance with bulk insert #82

Closed
4 tasks
yanosea opened this issue Jan 24, 2025 · 0 comments · Fixed by #83
Closed
4 tasks

optimize history repository performance with bulk insert #82

yanosea opened this issue Jan 24, 2025 · 0 comments · Fixed by #83
Assignees
Labels
enhancement New feature or request

Comments

@yanosea
Copy link
Owner

yanosea commented Jan 24, 2025

Current Status

The current implementation of SaveAll in history repository performs individual
INSERT queries for each record, causing performance degradation when handling
large datasets.

Expected Changes

  • Modify SaveAll method to use bulk insert
  • Update ID assignment logic for bulk operations
  • Ensure backward compatibility
  • Add performance benchmarks before/after changes

Expected Benefits

  • Reduced database load
  • Improved throughput for batch operations
  • Better scalability for large data sets

Acceptance Criteria

  • Bulk insert implementation works correctly
  • No regression in existing functionality
  • Performance improvement is measurable
  • Unit tests are updated/added
@yanosea yanosea added the enhancement New feature or request label Jan 24, 2025
@yanosea yanosea self-assigned this Jan 24, 2025
@yanosea yanosea linked a pull request Jan 24, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant