Re: [HACKERS] [PERFORM] how to plan for vacuum?

2007-01-26 Thread Jim Nasby
On Jan 25, 2007, at 10:33 AM, Ray Stell wrote: On Thu, Jan 25, 2007 at 08:04:49AM -0800, Joshua D. Drake wrote: It really depends on the system. Most of our systems run anywhere from 10-25ms. I find that any more than that, Vacuum takes too long. How do you measure the impact of setting i

Re: [HACKERS] [PERFORM] how to plan for vacuum?

2007-01-25 Thread Ray Stell
On Thu, Jan 25, 2007 at 08:04:49AM -0800, Joshua D. Drake wrote: > > It really depends on the system. Most of our systems run anywhere from > 10-25ms. I find that any more than that, Vacuum takes too long. How do you measure the impact of setting it to 12 as opposed to 15? -

Re: [HACKERS] [PERFORM] how to plan for vacuum?

2007-01-25 Thread Jim C. Nasby
On Thu, Jan 25, 2007 at 07:52:50PM +0900, Galy Lee wrote: > It is very hard for any normal user to set this correctly. I think the > experience / trial-and-error approach is awful for the user, every DBA > need to be an expert of vacuum to keep the system stable. For vacuum is > still a big thre

Re: [HACKERS] [PERFORM] how to plan for vacuum?

2007-01-25 Thread Joshua D. Drake
Alvaro Herrera wrote: > Jim C. Nasby wrote: > >> I'll generally start with a cost delay of 20ms and adjust based on IO >> utilization. > > I've been considering set a default autovacuum cost delay to 10ms; does > this sound reasonable? It really depends on the system. Most of our systems run any

Re: [HACKERS] [PERFORM] how to plan for vacuum?

2007-01-25 Thread Galy Lee
Jim C. Nasby wrote: On Thu, Jan 25, 2007 at 12:52:02AM -0300, Alvaro Herrera wrote: Jim C. Nasby wrote: I'll generally start with a cost delay of 20ms and adjust based on IO utilization. I've been considering set a default autovacuum cost delay to 10ms; does this sound reasonable? The pro

Re: [HACKERS] [PERFORM] how to plan for vacuum?

2007-01-24 Thread Jim C. Nasby
On Thu, Jan 25, 2007 at 12:52:02AM -0300, Alvaro Herrera wrote: > Jim C. Nasby wrote: > > > I'll generally start with a cost delay of 20ms and adjust based on IO > > utilization. > > I've been considering set a default autovacuum cost delay to 10ms; does > this sound reasonable? For a lightly lo

Re: [HACKERS] [PERFORM] how to plan for vacuum?

2007-01-24 Thread Alvaro Herrera
Jim C. Nasby wrote: > I'll generally start with a cost delay of 20ms and adjust based on IO > utilization. I've been considering set a default autovacuum cost delay to 10ms; does this sound reasonable? -- Alvaro Herrerahttp://www.CommandPrompt.com/ PostgreSQL Rep