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

[columnar] Columnar vacuum #51

Merged
merged 2 commits into from
Mar 21, 2023
Merged

[columnar] Columnar vacuum #51

merged 2 commits into from
Mar 21, 2023

Conversation

JerrySievert
Copy link
Contributor

Vacuum columnar tables by combining last n stripes until stripe row max count is reached. Vacuuming decision also include information about number of deleted rows of each stripe. If there is only one stripe, vacuum will be done if percentage of deleted rows is higher than 20%.

mkaruza added 2 commits March 21, 2023 12:58
* Vacuum columnar tables by combining last n stripes until stripe row
  max count is reached. Vacuuming decision also include information
  about number of deleted rows of each stripe.
  If there is only one stripe, vacuum will be done if percentage of
  deleted rows is higher than 20%.

* Updated regression test to cover vacuum
* Add pgstat for insert/delete/update table hooks so autovacuum process
  know if vacuum should be done.
@JerrySievert JerrySievert requested review from wuputah and mkaruza March 21, 2023 20:16
@JerrySievert JerrySievert self-assigned this Mar 21, 2023
@JerrySievert JerrySievert merged commit 601a553 into main Mar 21, 2023
@JerrySievert JerrySievert deleted the columnar-vacuum branch March 21, 2023 20:43
JerrySievert added a commit that referenced this pull request May 2, 2023
* [columnar] Columnar vacuum

* Vacuum columnar tables by combining last n stripes until stripe row
  max count is reached. Vacuuming decision also include information
  about number of deleted rows of each stripe.
  If there is only one stripe, vacuum will be done if percentage of
  deleted rows is higher than 20%.

* Updated regression test to cover vacuum

* [columnar] Autovacuum for columnar tables

* Add pgstat for insert/delete/update table hooks so autovacuum process
  know if vacuum should be done.

---------

Co-authored-by: mkaruza <mkaruza@users.noreply.github.com>
JerrySievert added a commit that referenced this pull request May 2, 2023
* [columnar] Columnar vacuum

* Vacuum columnar tables by combining last n stripes until stripe row
  max count is reached. Vacuuming decision also include information
  about number of deleted rows of each stripe.
  If there is only one stripe, vacuum will be done if percentage of
  deleted rows is higher than 20%.

* Updated regression test to cover vacuum

* [columnar] Autovacuum for columnar tables

* Add pgstat for insert/delete/update table hooks so autovacuum process
  know if vacuum should be done.

---------

Co-authored-by: mkaruza <mkaruza@users.noreply.github.com>
JerrySievert added a commit that referenced this pull request May 5, 2023
* [columnar] Columnar vacuum

* Vacuum columnar tables by combining last n stripes until stripe row
  max count is reached. Vacuuming decision also include information
  about number of deleted rows of each stripe.
  If there is only one stripe, vacuum will be done if percentage of
  deleted rows is higher than 20%.

* Updated regression test to cover vacuum

* [columnar] Autovacuum for columnar tables

* Add pgstat for insert/delete/update table hooks so autovacuum process
  know if vacuum should be done.

---------

Co-authored-by: mkaruza <mkaruza@users.noreply.github.com>
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