aboutsummaryrefslogtreecommitdiff
path: root/content/en/blog/miscellaneous/debug-disk-usage-postgresql.md
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-11 18:53:14 +0100
committerJulien Dessaux2021-03-11 18:53:14 +0100
commit60d3abc6ecdc21b4ab921d34a55b4af48690f55a (patch)
tree1ee530dd7367d743fb619f341100e41df22e1985 /content/en/blog/miscellaneous/debug-disk-usage-postgresql.md
parentUpdated docsy theme (diff)
downloadwww-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.gz
www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.bz2
www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.zip
Rewrote the whole website to get rid on a heavy theme
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;`
-