Re: What is VACUUM waiting for?
От | Scott Marlowe |
---|---|
Тема | Re: What is VACUUM waiting for? |
Дата | |
Msg-id | dcc563d10812141032u57652d91ra360c3526b2738c3@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: What is VACUUM waiting for? (Michael Monnerie <michael.monnerie@is.it-management.at>) |
Список | pgsql-admin |
On Sun, Dec 14, 2008 at 11:27 AM, Michael Monnerie <michael.monnerie@is.it-management.at> wrote: > On Samstag 13 Dezember 2008 Matthew T. O'Connor wrote: >> Do you have any vacuum delay setting turned on? Perhaps they are too >> high? > > Oh, I didn't remember there were some for normal vacuum, just the > auto_vaccuum. > > vacuum_cost_delay = 250 > vacuum_cost_page_hit = 1 > vacuum_cost_page_miss = 10 > vacuum_cost_page_dirty = 20 > vacuum_cost_limit = 1000 > > Are those values to high/low? What should one use? > > I think I will disable it at this one server, setting > vacuum_cost_delay = 0 > because it's only one DB here. Still, I'd like to understand what values > would be reasonable on a server with many DBs, as we have some. Yeah, any vacuum cost_delay over 20 or so is pretty high. I set it to 10 and vacuum doesn't get in the way but still runs reasonably fast.
В списке pgsql-admin по дате отправления: