Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: Vacuum sett...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 12 of 14 Topic 3991 of 4424
Post > Topic >>

Re: Vacuum settings

by alvherre@[EMAIL PROTECTED] (Alvaro Herrera) Apr 21, 2008 at 11:03 AM

dforums wrote:
> Hello,
>
> I need wo advice on vacuum settings.
>
> I have a quad core X5355 @[EMAIL PROTECTED]
 2.66GHz with 8 Go of memory
>
> 1Q) Why autovac***  does not work, I have set the value to on in  
> postgresql.conf but when the server start it's still off !!!!

You need to turn stats_row_level on too.

> # - Cost-Based Vacuum Delay -
>
> vacuum_cost_delay = 5                   # 0-1000 milliseconds
> vacuum_cost_page_hit = 1000             # 0-10000 credits
> vacuum_cost_page_miss = 1000            # 0-10000 credits
> vacuum_cost_page_dirty = 120            # 0-10000 credits
> vacuum_cost_limit = 20          # 0-10000 credits

The cost are all too high and the limit too low.  I suggest resetting to
the default values, and figuring out a reasonable delay limit (your
current 5ms value seems a bit too low, but I think in most cases 10ms is
the practical limit due to sleep granularity in the kernel.  In any
case, since the other values are all wrong I suggest just setting it to
10ms and seeing what happens).

-- 
Alvaro Herrera                               
http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 sup****t

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 14 Posts in Topic:
shared_buffers performance
mendola@[EMAIL PROTECTED]  2008-04-14 11:13:05 
Re: shared_buffers performance
stark@[EMAIL PROTECTED]   2008-04-14 11:56:47 
Re: shared_buffers performance
dev@[EMAIL PROTECTED] (R  2008-04-14 12:25:45 
Re: shared_buffers performance
gsmith@[EMAIL PROTECTED]   2008-04-14 11:44:44 
Re: shared_buffers performance
tgl@[EMAIL PROTECTED] (T  2008-04-14 15:31:54 
Re: shared_buffers performance
stark@[EMAIL PROTECTED]   2008-04-14 20:58:21 
Re: shared_buffers performance
gsmith@[EMAIL PROTECTED]   2008-04-14 16:08:48 
Re: shared_buffers performance
gsmith@[EMAIL PROTECTED]   2008-04-14 11:42:50 
Re: shared_buffers performance
Gaetano Mendola <mendo  2008-04-15 11:05:12 
Re: shared_buffers performance
Gaetano Mendola <mendo  2008-04-15 11:11:31 
Vacuum settings
dforums@[EMAIL PROTECTED]  2008-04-20 19:48:53 
Re: Vacuum settings
alvherre@[EMAIL PROTECTED  2008-04-21 11:03:37 
Re: shared_buffers performance
mendola@[EMAIL PROTECTED]  2008-04-15 17:08:02 
Re: Vacuum settings
gc@[EMAIL PROTECTED] (Gu  2008-04-21 17:31:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 8:13:23 CST 2008.