PostgreSQL MVCC Dead Tuple Bloat & Long-Running Transaction Freezing
Watch a table of 1,000 rows grow to 18 times its size without gaining a single row. A long-running transaction stops VACUUM from cleaning up dead row versions. See the proof in the VACUUM output, see what plain VACUUM and VACUUM FULL each give back, and see which timeout would have prevented it.
Time35 minutes
StackPostgreSQL 16Ports 15446
MemoryAbout 80 MB
Before thisLab 05SQL Transaction Isolation Levels &