mirror of https://github.com/postgres/postgres
Add mention of query showing pages used.
This commit is contained in:
parent
e6e577490d
commit
7e20a2e74f
|
@ -101,6 +101,10 @@ $ du * | while read SIZE OID
|
|||
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;
|
||||
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue