Skip to content

docs(proxy): document LITELLM_SKIP_INDEX_MIGRATIONS - #1178

Open
yuneng-berri wants to merge 3 commits into
mainfrom
litellm_skip_index_migrations_docs
Open

docs(proxy): document LITELLM_SKIP_INDEX_MIGRATIONS#1178
yuneng-berri wants to merge 3 commits into
mainfrom
litellm_skip_index_migrations_docs

Conversation

@yuneng-berri

Copy link
Copy Markdown
Contributor

Documents the new LITELLM_SKIP_INDEX_MIGRATIONS env var from BerriAI/litellm#39666: a "Skip index builds on a large database" section in the production guide, and a row in the config settings reference

With the variable set to true, the proxy records index-only migrations as applied at boot without running them, so an operator with a very large LiteLLM_SpendLogs table can take a release like BerriAI/litellm#37983 and build the index themselves with CREATE INDEX CONCURRENTLY instead of holding a table lock during boot. The new section shows the exact statement to run afterwards and notes that --use_prisma_db_push ignores the flag

@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
litellm Ready Ready Preview Sep 3, 2026 11:29pm UTC

Request Review

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.

1 participant