Re: Vacuum takes forever - Mailing list pgsql-performance

From PFC
Subject Re: Vacuum takes forever
Date
Msg-id op.ts3l93nqcigqcu@apollo13
Whole thread Raw
In response to Vacuum takes forever  (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>)
Responses Re: Vacuum takes forever  (Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>)
List pgsql-performance

> Could this be because of my Cost-Based Vacuum Delay settings ?

    Yeah. It is supposed to slow down VACUUM so it doesn't kill your server,
but it is not aware of the load. It will also slow it down if there is no
load. That is its purpose after all ;)
    If you want fast vacuum, issue SET  vacuum_cost_delay  = 0; before.


>
> vacuum_cost_delay = 200
> vacuum_cost_page_hit = 6
> #vacuum_cost_page_miss = 10             # 0-10000 credits
> #vacuum_cost_page_dirty = 20            # 0-10000 credits
> vacuum_cost_limit = 100
>
>
>



pgsql-performance by date:

Previous
From: Joost Kraaijeveld
Date:
Subject: Vacuum takes forever
Next
From: Joost Kraaijeveld
Date:
Subject: Re: Vacuum takes forever