mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Improve query.
This commit is contained in:
parent
7e20a2e74f
commit
4f8795eb71
@ -103,7 +103,7 @@ $ du * | while read SIZE OID
|
||||
|
||||
This can be done in psql with: (each page is typically 8k)
|
||||
|
||||
test=> SELECT relpages, relname FROM pg_class ORDER BY relpages DESC;
|
||||
test=> SELECT relpages, relfilenode, relname FROM pg_class ORDER BY relpages DESC;
|
||||
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user