how to get the size of the database in postgresql

Cloudy Caiman answered on April 27, 2020 Popularity 10/10 Helpfulness 10/10

Contents


More Related Answers

  • show size of all tables postgres
  • postgres check size table
  • get size of indexes postgres
  • pg_database_size
  • get the space occupied by db postgresql
  • postgresql check total storage
  • get size of mysql database
  • Postgres size: column size
  • text size in postgresql
  • sql string length postgresql
  • sql - how to find the json size stored in a column of postgres
  • Mouadh Ktari

  • how to get the size of the database in postgresql

    9
    Popularity 10/10 Helpfulness 10/10 Language sql
    Link to this answer
    Share Copy Link
    Contributed on Feb 09 2021
    Cloudy Caiman
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    2

    SELECT datname AS dbname, pg_database_size(datname) AS size, pg_size_pretty(pg_database_size(datname)) AS size_pretty

    FROM pg_database

    ORDER BY size DESC; 

    Popularity 6/10 Helpfulness 10/10 Language sql
    Link to this answer
    Share Copy Link
    Contributed on Apr 24 2023
    David Cao
    0 Answers  Avg Quality 2/10

    1
    Popularity 9/10 Helpfulness 10/10 Language sql
    Source: Grepper
    Tags: size
    Link to this answer
    Share Copy Link
    Contributed on Nov 25 2022
    Arti
    0 Answers  Avg Quality 2/10

    2
    Popularity 10/10 Helpfulness 6/10 Language sql
    Link to this answer
    Share Copy Link
    Contributed on Jul 07 2021
    mcornel
    0 Answers  Avg Quality 2/10

    0
    Popularity 9/10 Helpfulness 5/10 Language sql
    Link to this answer
    Share Copy Link
    Contributed on Aug 23 2022
    Kennedy Carvalho
    0 Answers  Avg Quality 2/10

    0
    Popularity 7/10 Helpfulness 5/10 Language sql
    Tags: psql size sql
    Link to this answer
    Share Copy Link
    Contributed on Oct 23 2023
    Adorable Albatross
    0 Answers  Avg Quality 2/10

    1
    Popularity 9/10 Helpfulness 5/10 Language sql
    Tags: find
    Link to this answer
    Share Copy Link
    Contributed on Apr 27 2020
    Excited Elk
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.