Re: PostgreSQL database size is not reasonable - Mailing list pgsql-performance

From Tom Lane
Subject Re: PostgreSQL database size is not reasonable
Date
Msg-id 887.1513093765@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL database size is not reasonable  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: PostgreSQL database size is not reasonable
List pgsql-performance
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Tue, Dec 12, 2017 at 8:15 AM, Mariel Cherkassky <
> mariel.cherkassky@gmail.com> wrote:
>> And the bigger question, Where are the missing 180G ?

> ​In the toaster probably...

pg_total_relation_size should have counted the toast tables,
as well as the indexes, if memory serves.

What I'm wondering about is the system catalogs, which Mariel's
query explicitly excluded.  180G would be awful darn large for
those, but maybe there's a bloat problem somewhere.

Otherwise, try to identify the largest individual files in the
database directory ...

            regards, tom lane


pgsql-performance by date:

Previous
From: Craig McIlwee
Date:
Subject: RE: PostgreSQL database size is not reasonable
Next
From: Mariel Cherkassky
Date:
Subject: Re: PostgreSQL database size is not reasonable