Skip to content

Add pg_stats value distributions to the workload bundle - #136

Merged
teknogeek0 merged 1 commit into
mainfrom
sync/workload-distributions
Oct 6, 2026
Merged

teknogeek0 merged 1 commit into
mainfrom
sync/workload-distributions

Conversation

@teknogeek0

Copy link
Copy Markdown
Collaborator

Adds distributions.json to the workload bundle: the pg_stats most common values for each declared column. Ported from the dev repo.

For each column declared under database.workload.distributions, collect
reads the most common values and their frequencies from pg_stats.
finalize writes them to distributions.json. Values ship verbatim unless
hash_values is true. init checks that the capture role can read each
declared column and prints the GRANT when it cannot.
@teknogeek0
teknogeek0 merged commit d89a56c into main Oct 6, 2026
7 checks passed
@teknogeek0
teknogeek0 deleted the sync/workload-distributions branch October 6, 2026 22:22
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