From 7e20a2e74fc9a4c75c0a3b3394f305ec954bb0dd Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 12 Jun 2002 23:41:50 +0000 Subject: [PATCH] Add mention of query showing pages used. --- contrib/oid2name/README.oid2name | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/oid2name/README.oid2name b/contrib/oid2name/README.oid2name index 51eb5277f5..53d88e23b4 100644 --- a/contrib/oid2name/README.oid2name +++ b/contrib/oid2name/README.oid2name @@ -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; + ---------------------------------------------------------------------------