pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Handling pg_toast tables
Date: Thu, 25 Feb 2021 12:35:04 -0600
Message-ID: <cdd589ef-7dd0-46dc-c9dc-4b19f2e19136@gmail.com> (raw)
In-Reply-To: <CAPG-CvWzmDTM2BoHgkJ2BDRipye5BAvagyZs9m2yyhedx8sjHw@mail.gmail.com>
References: <CAPG-CvWzmDTM2BoHgkJ2BDRipye5BAvagyZs9m2yyhedx8sjHw@mail.gmail.com>

On 2/25/21 5:40 AM, satish v wrote:
> Hi,
>
> My table size is 15 MB but toast table size 92GB,i performed Vacuum and 
> vacuum full,but pg_toast table doesn't shrink.how can we shrink the 
> pg_toast table.

If your database has many LARGE columns (bytea, xml, json or even long text 
values) then... that's how big the tables really are.

-- 
Angular momentum makes the world go 'round.





view thread (4+ messages)

Message-ID: <cdd589ef-7dd0-46dc-c9dc-4b19f2e19136@gmail.com>
Permalink:  ../cdd589ef-7dd0-46dc-c9dc-4b19f2e19136@gmail.com/
Also on:    postgresql.org/message-id/cdd589ef-7dd0-46dc-c9dc-4b19f2e19136@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Handling pg_toast tables
  In-Reply-To: <cdd589ef-7dd0-46dc-c9dc-4b19f2e19136@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox