-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Clarify db index docs #13561
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
Clarify db index docs #13561
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for updating these!
|
||
When adding indexes to large tables you should use a `is_post_deployment` migration as creating the index could take longer than the migration statement timeout of 5s. | ||
|
||
Note: These are created using `CONCURRENTLY`, so it's important to not set `atomic = True` for migrations that contain indexes. This is disabled by default. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'd be a little clearer if the atomic = True
was part of the first paragraph, like "these are things we should be doing when we want to generate a new index"
Then in the note, it can explain that it's because we use concurrently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally no action is required about atomic
. It's false by default, so it's just a side note in case someone tries to enable it for some reason.
* 'master' of https://github.com/getsentry/sentry-docs: Add "Data Collected" page for Godot SDK (and more) (#13533) Clarify FK docs (#13562) Clarify db index docs (#13561) Remove non-functioning video embed (#13557) Masinette integrations elba (#13503) Incorporate Uptime Monitors Into The Crons Management Page (#13507) feat(javascript): Add "Data Collected" (#13527) docs(relay): remove entries that are not scrubbed by default (#13555) flutter: Add note to app start integration (#13479) ref(flutter): move custom zone handling code snippet from init to troubleshooting (#13478) docs(python): add uv option to python install instructions (#13510) add docs for supabase integration (#13545) feat(native): add view hierarchy to develop docs (#13544) feat(autofix): Update autofix images (#13540) Ad alerts and dashboard page to new quickstart guide (#13522) Add data enrichment page to new onboarding guide (#13508) Add first onboarding guide to docs (#13462) (feat) Sentry MCP Documentation (#13524) feat(Capacitor): Migration guides for version 2 (#13022) docs(js): move API-related content from Manual Setup to APIs page (#13327)
No description provided.