From: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
---|---|
To: | Ilyeop Yi <ilyeop(dot)yi(at)samsung(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: About "Cost-based Vacuum Delay" |
Date: | 2018-06-15 12:32:22 |
Message-ID: | 1529065942.2841.2.camel@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Ilyeop Yi wrote:
> I have some questions about "cost-based vacuum delay".
>
> Q1. How can I know/check if the autovacuum is actually paused periodically
> according to autovacuum_vacuum_cost_limit and autovacuum_vacuum_cost_delay?
>
> I cannot find such an information from log files.
These pauses are so short and so frequent that it wouldn't make sense
to log them.
You could attach "strace" to an autovacuum worker and see it pause
from the system calls it performs.
> Q2. Is there any way to manually pause a running vacuum process?
>
> If so, is there also any way to manually resume the paused vacuum process?
These pauses are so short (20 ms by default) that you won't catch them.
I suspect that you have some problem that makes you ask these questions.
What is it? Or are you just curious?
Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com
From | Date | Subject | |
---|---|---|---|
Next Message | Steven Lembark | 2018-06-15 13:20:25 | Re: PostgreSQL Volume Question |
Previous Message | Lawrence Jones | 2018-06-15 12:29:18 | Re: About "Cost-based Vacuum Delay" |