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

feat(eventindexer): add indexes to querying optimizations #13951

Merged
merged 1 commit into from
Jun 11, 2023

Conversation

cyberhorsey
Copy link
Contributor

@cyberhorsey cyberhorsey commented Jun 10, 2023

this PR will optimize the status page and the node status page the community is building, as the events table is growing quite large the lack of indices for specific queries is causing large delays or server timeouts when polling for data.

@codecov
Copy link

codecov bot commented Jun 10, 2023

Codecov Report

Merging #13951 (1e662a1) into main (2cb5125) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main   #13951      +/-   ##
==========================================
+ Coverage   51.78%   51.83%   +0.05%     
==========================================
  Files         146      146              
  Lines        3816     3816              
  Branches      336      336              
==========================================
+ Hits         1976     1978       +2     
+ Misses       1726     1724       -2     
  Partials      114      114              
Flag Coverage Δ *Carryforward flag
bridge-ui 94.43% <ø> (ø) Carriedforward from 2cb5125
eventindexer 78.02% <ø> (+0.73%) ⬆️
protocol 0.00% <ø> (ø) Carriedforward from 2cb5125
relayer 59.57% <ø> (ø) Carriedforward from 2cb5125
ui 100.00% <ø> (ø) Carriedforward from 2cb5125

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

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cyberhorsey cyberhorsey requested a review from adaki2004 June 10, 2023 19:16
@davidtaikocha davidtaikocha added this pull request to the merge queue Jun 11, 2023
Merged via the queue into main with commit 66649bd Jun 11, 2023
@davidtaikocha davidtaikocha deleted the eventindexer_query_improvements branch June 11, 2023 00:51
@github-actions github-actions bot mentioned this pull request Jun 11, 2023
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