From: Joshua D. Drake <jd@commandprompt.com>
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Difference between "autovacuum_naptime" and "autovacuum_vacuum_cost_delay"?
Date: Thu, 16 Aug 2018 21:00:20 -0700
Message-ID: <579a0cfd-400f-2a42-09cf-4d11031f6b3c@commandprompt.com> (raw)
In-Reply-To: <CAEHH7R4awnRFHoBXk-qQDs=XFTqdWvZuU5q6-1F6fNi9iVSVBQ@mail.gmail.com>
References: <CAEHH7R4awnRFHoBXk-qQDs=XFTqdWvZuU5q6-1F6fNi9iVSVBQ@mail.gmail.com>
On 08/16/2018 06:10 PM, Raghavendra Rao J S V wrote:
> Hi All,
>
> I have gone through several documents but I am still have confusion
> related to "autovacuum_naptime" and "autovacuum_vacuum_cost_delay".
> Could you clarify me with an example.
>
> When Auto vacuum worker process will start?
>
Autovacuum checks for relations that need to be vacuumed/analyzed every
"naptime"
> When Auto vacuum worker process will stop?
When it is done with the list of relations that needed work that were
found at the launch of "naptime"
>
> Does Auto vacuum worker process will sleep like Auto vacuum launcher
> process ?
The launcher process sleeps for naptime, then wakes up to check what
needs to be worked on
>
> What is the difference between Auto vacuum launcher process and Auto
> vacuum worker process?
The launcher is the process that spawns the worker processes (I think).
JD
>
>
>
> --
> Regards,
> Raghavendra Rao J S V
>
--
Command Prompt, Inc. || http://the.postgres.company/ || @cmdpromptinc
*** A fault and talent of mine is to tell it exactly how it is. ***
PostgreSQL centered full stack support, consulting and development.
Advocate: @amplifypostgres || Learn: https://postgresconf.org
***** Unless otherwise stated, opinions are my own. *****
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: jd@commandprompt.com, raghavendrajsv@gmail.com
Subject: Re: Difference between "autovacuum_naptime" and "autovacuum_vacuum_cost_delay"?
In-Reply-To: <579a0cfd-400f-2a42-09cf-4d11031f6b3c@commandprompt.com>
References: <CAEHH7R4awnRFHoBXk-qQDs=XFTqdWvZuU5q6-1F6fNi9iVSVBQ@mail.gmail.com> <579a0cfd-400f-2a42-09cf-4d11031f6b3c@commandprompt.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