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(stats): query optimization #1044

Merged
merged 20 commits into from
Sep 25, 2024
Merged

Conversation

bragov4ik
Copy link
Contributor

@bragov4ik bragov4ik commented Aug 30, 2024

Changes:

  • blockscout migration detection
  • conditional statement choice (optimized or old) based on applied migrations
  • test both choices
  • update mock blockscout db to keep up with migrations

@bragov4ik
Copy link
Contributor Author

blocked by #1041

@bragov4ik
Copy link
Contributor Author

bragov4ik commented Sep 6, 2024

I guess we'll have to kostyl something here.. (patch sea-orm? lol)

@bragov4ik bragov4ik force-pushed the bragov4ik/stats-query-optimization branch from 9f967ff to cfdbdef Compare September 10, 2024 08:58
@bragov4ik bragov4ik marked this pull request as ready for review September 10, 2024 12:42
@rimrakhimov rimrakhimov self-requested a review September 11, 2024 11:12
@bragov4ik bragov4ik linked an issue Sep 12, 2024 that may be closed by this pull request
@bragov4ik bragov4ik merged commit 8e526a3 into main Sep 25, 2024
5 checks passed
@bragov4ik bragov4ik deleted the bragov4ik/stats-query-optimization branch September 25, 2024 14:28
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.

stats: improve query performance using new columns
3 participants