mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Mention vacuum for relpages.
This commit is contained in:
parent
9bba67aa9b
commit
2ed878d31d
@ -115,10 +115,11 @@ $ du -s * |
|
|||||||
2135 18735 = postgres
|
2135 18735 = postgres
|
||||||
..
|
..
|
||||||
|
|
||||||
This can be done in psql with: (each page is typically 8k)
|
This can be done in psql with:
|
||||||
|
|
||||||
test=> SELECT relpages, relfilenode, relname FROM pg_class ORDER BY relpages DESC;
|
test=> SELECT relpages, relfilenode, relname FROM pg_class ORDER BY relpages DESC;
|
||||||
|
|
||||||
|
Each page is typically 8k. Relpages is updated by VACUUM.
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user