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

Slot graph: handle large query results #1432

Merged
merged 3 commits into from
Mar 8, 2024
Merged

Conversation

Amogh-Bharadwaj
Copy link
Contributor

@Amogh-Bharadwaj Amogh-Bharadwaj commented Mar 4, 2024

For long running mirrors, the number of entries of slot records can grow very large.
This causes UI to hang when we select 1 day or 1 month.
This PR attempts to speed up the fetch by adding an index to updated_at and removing fetch of wal_status which was not being used anyways

@Amogh-Bharadwaj Amogh-Bharadwaj changed the title Slot graph: add limit of 100 Slot graph: handle large query results Mar 4, 2024
@heavycrystal heavycrystal enabled auto-merge (squash) March 7, 2024 18:27
@heavycrystal heavycrystal disabled auto-merge March 8, 2024 09:33
@heavycrystal heavycrystal merged commit 9c563b5 into main Mar 8, 2024
11 checks passed
@heavycrystal heavycrystal deleted the ui/slot-graph-limit branch March 8, 2024 16:24
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.

4 participants