pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedDifference between "autovacuum_naptime" and "autovacuum_vacuum_cost_delay"?
4+ messages / 3 participants
[nested] [flat]
* Difference between "autovacuum_naptime" and "autovacuum_vacuum_cost_delay"?
@ 2018-08-17 01:10 Raghavendra Rao J S V <raghavendrajsv@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Raghavendra Rao J S V @ 2018-08-17 01:10 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
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?
When Auto vacuum worker process will stop?
Does Auto vacuum worker process will sleep like Auto vacuum launcher
process ?
What is the difference between Auto vacuum launcher process and Auto vacuum
worker process?
--
Regards,
Raghavendra Rao J S V
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Difference between "autovacuum_naptime" and "autovacuum_vacuum_cost_delay"?
@ 2018-08-17 04:00 Joshua D. Drake <jd@commandprompt.com>
parent: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Joshua D. Drake @ 2018-08-17 04:00 UTC (permalink / raw)
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>; pgsql-general@lists.postgresql.org
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. *****
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Difference between "autovacuum_naptime" and "autovacuum_vacuum_cost_delay"?
@ 2018-08-17 04:42 Raghavendra Rao J S V <raghavendrajsv@gmail.com>
parent: Joshua D. Drake <jd@commandprompt.com>
0 siblings, 1 reply; 4+ messages in thread
From: Raghavendra Rao J S V @ 2018-08-17 04:42 UTC (permalink / raw)
To: Joshua D. Drake <jd@commandprompt.com>; +Cc: pgsql-general@lists.postgresql.org
Thank you very much for your response.
Could you clarify me below things,please?
What is the difference between "autovacuum_naptime" and
"autovacuum_vacuum_cost_delay"?
What is the difference between "autovacuum launcher process" and
"autovacuum worker process"?
How to control the number of "autovacuum launcher process" and "autovacuum
worker process"?
Does "autovacuum launcher process" sleeps? If yes,which parameter controls
it?
Does "autovacuum worker process" sleeps? If yes,which parameter controls it?
Regards,
Raghavendra Rao
On 17 August 2018 at 09:30, Joshua D. Drake <jd@commandprompt.com> wrote:
> 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. *****
>
>
--
Regards,
Raghavendra Rao J S V
Mobile- 8861161425
^ permalink raw reply [nested|flat] 4+ messages in thread
* Re: Difference between "autovacuum_naptime" and "autovacuum_vacuum_cost_delay"?
@ 2018-08-17 13:25 Adrian Klaver <adrian.klaver@aklaver.com>
parent: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Klaver @ 2018-08-17 13:25 UTC (permalink / raw)
To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>; Joshua D. Drake <jd@commandprompt.com>; +Cc: pgsql-general@lists.postgresql.org
On 08/16/2018 09:42 PM, Raghavendra Rao J S V wrote:
> Thank you very much for your response.
>
> Could you clarify me below things,please?
The docs can:
https://www.postgresql.org/docs/10/static/routine-vacuuming.html#AUTOVACUUM
https://www.postgresql.org/docs/10/static/runtime-config-autovacuum.html
>
> What is the difference between "autovacuum_naptime" and
> "autovacuum_vacuum_cost_delay"?
>
> What is the difference between "autovacuum launcher process" and
> "autovacuum worker process"?
>
> How to control the number of "autovacuum launcher process" and
> "autovacuum worker process"?
>
> Does "autovacuum launcher process" sleeps? If yes,which parameter
> controls it?
>
> Does "autovacuum worker process" sleeps? If yes,which parameter controls it?
>
> Regards,
> Raghavendra Rao
>
>
> On 17 August 2018 at 09:30, Joshua D. Drake <jd@commandprompt.com
> <mailto:jd@commandprompt.com>> wrote:
>
> 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. *****
>
>
>
>
> --
> Regards,
> Raghavendra Rao J S V
> Mobile- 8861161425
--
Adrian Klaver
adrian.klaver@aklaver.com
^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2018-08-17 13:25 UTC | newest]
Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-17 01:10 Difference between "autovacuum_naptime" and "autovacuum_vacuum_cost_delay"? Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2018-08-17 04:00 ` Joshua D. Drake <jd@commandprompt.com>
2018-08-17 04:42 ` Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2018-08-17 13:25 ` Adrian Klaver <adrian.klaver@aklaver.com>
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