Add mention of query showing pages used.
authorBruce Momjian
Wed, 12 Jun 2002 23:41:50 +0000 (23:41 +0000)
committerBruce Momjian
Wed, 12 Jun 2002 23:41:50 +0000 (23:41 +0000)
contrib/oid2name/README.oid2name

index 51eb5277f516029f478dac356cfeaa240a6dabd9..53d88e23b4444fe0da1ab80db857bf22ef525a3f 100644 (file)
@@ -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;
+
 
 ---------------------------------------------------------------------------