[Logo] Second Derivative Community Forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Simple enabling of autovacuum on PostgreSQL 8.2  XML
Forum Index -> General Tips and Tricks
Author Message
curtis

Member
[Avatar]

Joined: 10/30/2006 17:16:15
Messages: 50
Location: Los Angeles
Offline

edit /etc/postgresql/8.3/main/postgresql.conf

Change the following lines, watch the # signs in front. => means change to:

#superuser_reserved_connections = 3 => superuser_reserved_connections = 3
#stats_start_collector = on => stats_start_collector = on
stats_row_level = on => stats_row_level = on (just verify it is uncommented and on)
autovacuum = on => autovacuum = on (just verify it is uncommented and on)
#autovacuum_naptime = 1min => autovacuum_naptime = 1min
#autovacuum_vacuum_threshold = 500 => autovacuum_vacuum_threshold = 500
#autovacuum_analyze_threshold = 250 => autovacuum_analyze_threshold = 250
#autovacuum_vacuum_scale_factor = 0.2 => autovacuum_vacuum_scale_factor = 0.2
#autovacuum_analyze_scale_factor = 0.1 => autovacuum_analyze_scale_factor = 0.1
#autovacuum_freeze_max_age = 200000000 => autovacuum_freeze_max_age = 200000000
#autovacuum_vacuum_cost_delay = -1 => autovacuum_vacuum_cost_delay = -1
#autovacuum_vacuum_cost_limit = -1 => autovacuum_vacuum_cost_limit = -1

restart postgresql
[WWW]
Adler

Member

Joined: 06/17/2010 05:59:54
Messages: 3
Location: USA
Offline

Thanks Curtis to share tips and information about Simple enabling of autovacuum on PostgreSQL 8.2 system.I really need it.Thanks to share posts.Keep doing posts............

Make Money Online
[WWW] [ICQ]
 
Forum Index -> General Tips and Tricks
Go to:   
Powered by JForum 2.1.6 © JForum Team