mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Add mention of query showing pages used.
This commit is contained in:
@ -101,6 +101,10 @@ $ du * | while read SIZE OID
|
|||||||
1950 23903 = customers
|
1950 23903 = customers
|
||||||
...
|
...
|
||||||
|
|
||||||
|
This can be done in psql with: (each page is typically 8k)
|
||||||
|
|
||||||
|
test=> SELECT relpages, relname FROM pg_class ORDER BY relpages DESC;
|
||||||
|
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user