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

[Feature] Add possibility to manually launch one time squeezes #30

Closed
kmoppel opened this issue Jun 1, 2020 · 3 comments
Closed

[Feature] Add possibility to manually launch one time squeezes #30

kmoppel opened this issue Jun 1, 2020 · 3 comments

Comments

@kmoppel
Copy link
Contributor

kmoppel commented Jun 1, 2020

So maybe to have some nice function like squeeze.process_single_table($table_name, $timeout) that unconditionally (no bloat check) queues a rebuild.

@ahouska
Copy link
Contributor

ahouska commented Jun 9, 2020

Doesn't the squeeze_table() function meet your requirements? It can be called directly w/o scheduling.

@kmoppel
Copy link
Contributor Author

kmoppel commented Jun 12, 2020

Ah thanks, my bad. Didn't look deeply enough...but would make sense to add some note on that to the README also.

@kmoppel kmoppel closed this as completed Jun 12, 2020
@kmoppel
Copy link
Contributor Author

kmoppel commented Jun 12, 2020

Manual "squeeze" function signature:
FUNCTION squeeze.squeeze_table(tabchema name, tabname name, clustering_index name, rel_tablespace name, ind_tablespaces name[])

Sample execution:
SELECT squeeze.squeeze_table('public', 'pgbench_accounts', null, null, null);

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