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

fix(eventindexer): add indexes for struggling queries #15483

Merged
merged 5 commits into from
Jan 12, 2024
Merged

Conversation

cyberhorsey
Copy link
Contributor

@cyberhorsey cyberhorsey commented Jan 11, 2024

Jolnir is having some data querying and long lived connection issues due to the size of the tables. Before we tackle this on a devops level and introduce database partitioning and other such things, we can pre-meditatively set ourselves up on the next testnet by identifying indexes on struggling queries, and also changing a bunch of our existing queries to use columns that have indexes.

Copy link

vercel bot commented Jan 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
bridge-ui-v2-a5 ✅ Ready (Inspect) Visit Preview Jan 11, 2024 11:46pm
bridge-ui-v2-a6 ✅ Ready (Inspect) Visit Preview Jan 11, 2024 11:46pm
bridge-ui-v2-internal ✅ Ready (Inspect) Visit Preview Jan 11, 2024 11:46pm

Copy link

codecov bot commented Jan 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (alpha-6@62eebe4). Click here to learn what that means.

Additional details and impacted files
@@            Coverage Diff             @@
##             alpha-6   #15483   +/-   ##
==========================================
  Coverage           ?   27.23%           
==========================================
  Files              ?       92           
  Lines              ?     5683           
  Branches           ?        0           
==========================================
  Hits               ?     1548           
  Misses             ?     3972           
  Partials           ?      163           
Flag Coverage Δ *Carryforward flag
eventindexer 17.45% <0.00%> (?)
guardian-prover-health-check 34.84% <0.00%> (?) Carriedforward from 5204b72
relayer 39.98% <0.00%> (?) Carriedforward from 5204b72

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davidtaikocha davidtaikocha added this pull request to the merge queue Jan 12, 2024
Merged via the queue into alpha-6 with commit 8b81028 Jan 12, 2024
16 checks passed
@davidtaikocha davidtaikocha deleted the ei_db_opts branch January 12, 2024 01:46
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.

3 participants