From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Mariel Cherkassky <mariel.cherkassky@gmail.com>
Cc: pgsql-performance@lists.postgresql.org
Subject: Re: autovacuum doesnt run on the pg_toast_id table
Date: Thu, 17 Jan 2019 17:16:59 -0300
Message-ID: <201901172016.4qasdchkt3lc@alvherre.pgsql> (raw)
In-Reply-To: <CA+t6e1ndzmgZDkJzr+iZboZr1jBjuN4OG7Gc0sJeckqcoZRs4g@mail.gmail.com>
On 2019-Jan-17, Mariel Cherkassky wrote:
> But you said that the threshold that is chosen for the toasted table is
> identical to the originals table threshold right ?
You can configure them identical, or different. Up to you.
> Is that a normal behavior that the original table has 1000recrods but
> the toasted has more than 10m?
Sure -- each large record in the main table is split into many 2kb
records in the toast table.
> How can I set a different threshold for the toasted table ?
Just choose a different value in the command I showed.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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-performance@postgresql.org
Cc: alvherre@2ndquadrant.com, mariel.cherkassky@gmail.com, pgsql-performance@lists.postgresql.org
Subject: Re: autovacuum doesnt run on the pg_toast_id table
In-Reply-To: <201901172016.4qasdchkt3lc@alvherre.pgsql>
* 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