aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/oid2name/README.oid2name4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/oid2name/README.oid2name b/contrib/oid2name/README.oid2name
index 51eb5277f51..53d88e23b44 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;
+
---------------------------------------------------------------------------