openpolitics.com

  • writing
  • quotes
  • Topics
    • academia
    • corruption
    • economics
    • education
    • environment
    • finance
    • history
    • hypertext
    • media
    • philosophy
    • psychology
    • religion
    • russia
    • ted nelson
  • about
← Previous Next →

Postgres: pg_table_size function

SELECT
relname, age(relfrozenxid) as xid_age,
pg_size_pretty(pg_table_size(oid)) as table_size
FROM
pg_class
ORDER BY
pg_table_size(oid) DESC LIMIT 20;

source: $link[host]

Tags: postgres

Read Original Source

Tim Langeman © 2025 · Genesis Framework · WordPress · Log in