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

Create an index on created_at for events #57

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

bennettaur
Copy link
Contributor

@bennettaur bennettaur commented Mar 5, 2024

Why

Adding an index for created_at for events tables because we always order by created_at in the UI and eventually the size of the table causes timeouts

What changed

Include an index for created_at by default in the template for creating the events table

@bennettaur bennettaur changed the title Create an index on created_at for events [WIP] Create an index on created_at for events Mar 5, 2024
Copy link

github-actions bot commented May 1, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the Stale label May 1, 2024
@desheikh desheikh force-pushed the add_created_at_index_default branch from 7e839e9 to 32480b3 Compare May 22, 2024 22:00
@desheikh desheikh changed the title [WIP] Create an index on created_at for events Create an index on created_at for events May 22, 2024
Adding an index for created_at for events tables because we always order by created_at in the UI and eventually the size of the table causes timeouts
@desheikh desheikh force-pushed the add_created_at_index_default branch from 32480b3 to 085c925 Compare May 22, 2024 22:04
@desheikh desheikh merged commit 12e6daf into main Jun 10, 2024
4 checks passed
@desheikh desheikh deleted the add_created_at_index_default branch June 10, 2024 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants