postgresql vacuum table

Posted 牛顿的小脑

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了postgresql vacuum table相关的知识,希望对你有一定的参考价值。

 

according to Documentation

VACUUM reclaims storage occupied by dead tuples.

But according to this post

Dead rows are deleted rows that will later be reused for new rows from INSERTs or UPDATEs. Some dead rows (or reserved free space) can be particularly useful for HOT (Heap-Only Tuples) updates that can reuse space in the same data page efficiently

以上是关于postgresql vacuum table的主要内容,如果未能解决你的问题,请参考以下文章

Postgresql之VACUUM和VACUUM FULL对比

PostgreSQL的vacuum流程

postgresql vacuum table

也谈PostgreSQL的Vacuum机制及其最佳实践

PostgreSQL 需要 VACUUM 或 ANALYZE 计划来使用索引吗?

Postgresql小技巧