public inbox for [email protected]
help / color / mirror / Atom feedFrom: Muhammad Ikram <[email protected]>
To: Shenavai, Manuel <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: autovacuum_vacuum_cost_delay
Date: Tue, 9 Jul 2024 18:42:11 +0500
Message-ID: <CAGeimVqLkSO-PQREPwCgfASz5ENXb9dzLcXNfypEx4J-SPO-DA@mail.gmail.com> (raw)
In-Reply-To: <AS8PR02MB7416A6B018735D5C73EF8EF8E8DB2@AS8PR02MB7416.eurprd02.prod.outlook.com>
References: <AS8PR02MB7416A6B018735D5C73EF8EF8E8DB2@AS8PR02MB7416.eurprd02.prod.outlook.com>
Hi Shenvail,
Based on what I could understand,
Lower value will cause more frequent run of Autovacuum. Will have
less delay between processing data chunks but will put more load on the I/O
system. Autovacuum tasks will complete faster. Cleanup of dead tuples and
blots will be quicker thus increasing performance in the cases where tables
are heavily updated/deleted.
Higher values will result in longer delays between processing data chunks
thus slowing down the completion of autovacuum tasks. Autovacuum will have
less I/O load for its tasks. Database performance will be degraded if
operations are more update/delete intensive. Dead tuples and bloat will
take longer to be cleaned up.
It can be beneficial for performance of other database operations,
especially if your system is I/O-bound. Can also be helpful when system
resources are less
Regards,
Muhammad Ikram
Bitnine Global.
On Tue, Jul 9, 2024 at 4:38 PM Shenavai, Manuel <[email protected]>
wrote:
> Hi everyone,
>
>
>
> We are doing some tests with different autovacuum settings.
>
>
>
> Looking at autovacuum_vacuum_cost_delay:
>
>
> https://www.postgresql.org/docs/current/runtime-config-autovacuum.html#GUC-AUTOVACUUM-VACUUM-COST-DE...
>
>
>
> Can someone help to understand what a high or low value of this setting
> really means? Would it be OK to set this to 0? If not, why not?
>
>
>
> Thanks in advance &
> Best regards,
>
> Manuel
>
--
Muhammad Ikram
view thread (2+ messages)
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: [email protected]
Cc: [email protected], [email protected]
Subject: Re: autovacuum_vacuum_cost_delay
In-Reply-To: <CAGeimVqLkSO-PQREPwCgfASz5ENXb9dzLcXNfypEx4J-SPO-DA@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox