Skip to content

Add PostgreSQL Visibility index maintenance guidance#4867

Open
Krishnachaitanyakc wants to merge 1 commit into
temporalio:mainfrom
Krishnachaitanyakc:pg-visibility-index-maintenance
Open

Add PostgreSQL Visibility index maintenance guidance#4867
Krishnachaitanyakc wants to merge 1 commit into
temporalio:mainfrom
Krishnachaitanyakc:pg-visibility-index-maintenance

Conversation

@Krishnachaitanyakc

@Krishnachaitanyakc Krishnachaitanyakc commented Jul 11, 2026

Copy link
Copy Markdown

Documents why the executions_visibility index footprint grows on high-volume PostgreSQL deployments (nullable b-tree Search Attribute indexes plus close-time churn) and how to manage it with REINDEX CONCURRENTLY and per-table autovacuum tuning. There is currently no maintenance guidance on this page.

The SQL snippets were verified against the upstream v12 visibility schema on PostgreSQL 16. Motivated by temporalio/temporal#10145.

┆Attachments: EDU-6700 Add PostgreSQL Visibility index maintenance guidance

Explain why the executions_visibility index footprint grows on high-volume
PostgreSQL deployments (nullable b-tree Search Attribute indexes plus close-time
churn) and how to manage it with REINDEX CONCURRENTLY and per-table autovacuum
tuning. Adds a Maintaining Visibility index health subsection to the PostgreSQL
setup guide, which previously had no maintenance guidance.
@Krishnachaitanyakc Krishnachaitanyakc requested a review from a team as a code owner July 11, 2026 14:51
@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

@Krishnachaitanyakc is attempting to deploy a commit to the Temporal Team on Vercel.

A member of the Team first needs to authorize it.

@CLAassistant

CLAassistant commented Jul 11, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

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.

2 participants