Re: why there is not VACUUM FULL CONCURRENTLY?
Sami Imseih <samimseih@gmail.com>
From: Sami Imseih <samimseih@gmail.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Alvaro Herrera <alvherre@alvh.no-ip.org>, Antonin Houska <ah@cybertec.at>, Junwang Zhao <zhjwpku@gmail.com>, Kirill Reshke <reshkekirill@gmail.com>, Pavel Stehule <pavel.stehule@gmail.com>,
Michael Paquier <michael@paquier.xyz>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2025-01-11T15:01:16Z
Lists: pgsql-hackers
> > - RETABLE (it's like REINDEX, but for tables) > > - ALTER TABLE <tab> SQUEEZE > > - SQUEEZE <table> > > - VACUUM (SQUEEZE) > > - VACUUM (COMPACT) > > - MAINTAIN <tab> COMPACT > > - MAINTAIN <tab> SQUEEZE > > > > My $0.02: > > COMPACT tablename ... +1 to "COMPACT tablename" Also the current pg_stat_progress_cluster also tracks progress for both CLUSTER and VACUUM FULL. pg_stat_progress_vacuum tracks progress for VACUUM. I suggest we create a new progress view for VACUUM FULL ( or the new command agreed upon ). Regards, Sami
Commits
-
Add CONCURRENTLY option to REPACK
- 28d534e2ae0a 19 (unreleased) landed
-
Introduce the REPACK command
- ac58465e0618 19 (unreleased) landed
-
Adjust signature of cluster_rel() and its subroutines
- cc811f92bac5 18.0 landed
-
Simplify signature of RewriteTable
- ebd8fc7e47fd 18.0 cited