aboutsummaryrefslogtreecommitdiff
path: root/content/en/blog/miscellaneous/debug-disk-usage-postgresql.md
diff options
context:
space:
mode:
Diffstat (limited to 'content/en/blog/miscellaneous/debug-disk-usage-postgresql.md')
-rw-r--r--content/en/blog/miscellaneous/debug-disk-usage-postgresql.md14
1 files changed, 0 insertions, 14 deletions
diff --git a/content/en/blog/miscellaneous/debug-disk-usage-postgresql.md b/content/en/blog/miscellaneous/debug-disk-usage-postgresql.md
deleted file mode 100644
index 827d69f..0000000
--- a/content/en/blog/miscellaneous/debug-disk-usage-postgresql.md
+++ /dev/null
@@ -1,14 +0,0 @@
----
-title: "Investigate postgresql disk usage"
-linkTitle: "Investigate postgresql disk usage"
-date: 2015-11-24
-description: >
- Investigate postgresql disk usage
----
-
-## How to debug disk occupation in postgresql
-
-- get a database oid number from `ncdu` in `/var/lib/postgresql`
-- reconcile oid number and db name with : `select oid,datname from pg_database where oid=18595;`
-- Then in database : `select table_name,pg_relation_size(quote_ident(table_name)) from information_schema.tables where table_schema = 'public' order by 2;`
-