Skip to content

PE 2017.2 doesn't seem to have a fact_values table #5

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

Closed
mhjacks opened this issue Jun 17, 2017 · 1 comment
Closed

PE 2017.2 doesn't seem to have a fact_values table #5

mhjacks opened this issue Jun 17, 2017 · 1 comment

Comments

@mhjacks
Copy link

mhjacks commented Jun 17, 2017

Error: Error executing SQL; psql returned pid 16127 exit 1: 'ERROR: relation "fact_values" does not exist ' Error: /Stage[main]/Pe_databases::Postgresql_settings/Pe_databases::Set_puppetdb_table_autovacuum_cost_delay_zero[fact_values]/Pe_databases::Set_table_attribute[Set autovacuum_cost_delay=0 for fact_values]/Postgresql_psql[Set autovacuum_vacuum_cost_delay=0 for fact_values]/command: change from notrun to ALTER TABLE fact_values SET ( autovacuum_vacuum_cost_delay = 0 ) failed: Error executing SQL; psql returned pid 16127 exit 1: 'ERROR: relation "fact_values" does not exist '

It's good to see there's a param to turn it off; but maybe it should have some different defaulting behavior now.

npwalker added a commit that referenced this issue Jun 19, 2017
PuppetDB refactored the way facts are stored in PE 2017.2 and as
a result the fact_values table no longer exists and does not
need more aggressive autovacuuming.

Since the fact values are now inlined in the facts table, the
facts table might warrant some monitoring.

Resolves #5
@npwalker
Copy link
Contributor

Thanks @mhjacks! Managing fact_values is skipped if on PE 2017.2 or newer.

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

No branches or pull requests

2 participants