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

pgimport enhancements #353

Open
turicas opened this issue Jul 19, 2020 · 0 comments
Open

pgimport enhancements #353

turicas opened this issue Jul 19, 2020 · 0 comments

Comments

@turicas
Copy link
Owner

turicas commented Jul 19, 2020

  • It's very useful to run VACUUM ANALYZE tablename; just after importing data, so we could have an option on pgimport to do it (function and CLI).
  • The performance of pgimport could be better if vacuum for the imported table is disabled before import (ALTER TABLE tablename SET (autovacuum_enabled = off);) and then (after import) re-enabled. This could be the default behaviour but may be an option to disable it (could be useful in cases where we're importing data into an existing table).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant