Skip to content

Simplify Published Variant MV Indexes#410

Merged
bencap merged 2 commits intorelease-2025.1.2from
maintenance/bencap/rework-indices-on-published-variants-mv
Mar 28, 2025
Merged

Simplify Published Variant MV Indexes#410
bencap merged 2 commits intorelease-2025.1.2from
maintenance/bencap/rework-indices-on-published-variants-mv

Conversation

@bencap
Copy link
Copy Markdown
Collaborator

@bencap bencap commented Mar 25, 2025

Simplifies the indexes on the published variants materialized view to speed up refresh jobs. Previously, the five indexes on this mv created large amounts of write overhead. Due to the nature of concurrent mv refreshes, this caused jobs to run for huge amounts of time with no sign of finishing. The single simpler unique index on only id fields of the table should result in much lower index maintenance overhead and much quicker mv refreshs.

Fixes #409.

Simplifies the indexes on the published variants materialized view to speed up refresh jobs. Previously, the five indexes on this mv created large amounts of write overhead. Due to the nature of concurrent mv refreshes, this caused jobs to run for huge amounts of time with no sign of finishing. The single simpler unique index on only id fields of the table should result in much lower index maintenance overhead and much quicker mv refreshs.
@bencap bencap requested review from jstone-dev and sallybg March 25, 2025 17:59
@bencap bencap changed the base branch from main to release-2025.1.2 March 25, 2025 17:59
@bencap bencap merged commit 35a53b0 into release-2025.1.2 Mar 28, 2025
5 checks passed
@bencap bencap deleted the maintenance/bencap/rework-indices-on-published-variants-mv branch March 28, 2025 19:05
@bencap bencap mentioned this pull request Mar 28, 2025
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.

Investigate Slow Refresh of Materialized Views

1 participant