pg_toast growth out - PostgreSQL 9.2 - Mailing list pgsql-admin

From drum.lucas@gmail.com
Subject pg_toast growth out - PostgreSQL 9.2
Date
Msg-id CAE_gQfVVqBX6WaWdG17id__Tq6jhikELECShPBeW31cE0GU1aQ@mail.gmail.com
Whole thread Raw
Responses Re: pg_toast growth out - PostgreSQL 9.2
List pgsql-admin

Hi all,

Trying to understand how can the pg_toast table be 90% of my entire DB?

SELECT nspname || '.' || relname AS "relation",   pg_size_pretty(pg_relation_size(C.oid)) AS "size" FROM pg_class C LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace) WHERE nspname NOT IN ('pg_catalog', 'information_schema') ORDER BY pg_relation_size(C.oid) DESC LIMIT 20;

Results:

pg_toast.pg_toast_7255249   1581 GB
public.ja_feedlog   81 GB

Total DB size: 1.7 TB

What's going on here? Is there anything I can do to save up some disk space?

pgsql-admin by date:

Previous
From: Feike Steenbergen
Date:
Subject: Re: pgpool: DETAIL: no pool_hba.conf entry for host
Next
From: "David G. Johnston"
Date:
Subject: Re: pg_toast growth out - PostgreSQL 9.2