Skip to content
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

Re-enable autovacuum and fix sequence naming post swap #69

Closed
shiwangini93 opened this issue Apr 23, 2022 · 1 comment
Closed

Re-enable autovacuum and fix sequence naming post swap #69

shiwangini93 opened this issue Apr 23, 2022 · 1 comment

Comments

@shiwangini93
Copy link

pgosc disables autovacuum for the new table it creates - (probably because we want to go with faster inserts ),so we need to re-enable autovacuum manually for the new fresh table.

Also, it gives some weird name to sequence and primary key which we also need to rename back/correct. In my case , there was a dependent function on that table sequence ,so that stopped working :)

@shayonj
Copy link
Owner

shayonj commented Jul 4, 2022

Hi @shiwangini93 - We actually, do we restore storage params (autovaccum) and any other settings on a table here:

#{storage_params_reset}

Could you share an example perhaps? Also note that, pg-osc isn't compatible with partitioned tables yet (#68), so in case this is related to #68, its normal in this case to not see the vaccum settings transferred.

Regarding the sequence naming, collapsing that into: #20

Closing the issue for now, but please feel free to re-open in case you see any issues with autovaccum settings being not restored. Thanks

@shayonj shayonj closed this as completed Jul 4, 2022
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