]> granicus.if.org Git - postgresql/commitdiff
Vacuum delay activated by default.
authorJan Wieck <JanWieck@Yahoo.com>
Sat, 7 Aug 2004 03:08:49 +0000 (03:08 +0000)
committerJan Wieck <JanWieck@Yahoo.com>
Sat, 7 Aug 2004 03:08:49 +0000 (03:08 +0000)
Jan

src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample

index 782caead105836cb018d193ea750788355f91c4c..c5ae0dc4f8a3b19d01b0c8f1b653792626786cea 100644 (file)
@@ -10,7 +10,7 @@
  * Written by Peter Eisentraut <peter_e@gmx.net>.
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.227 2004/08/06 04:15:09 momjian Exp $
+ *       $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.228 2004/08/07 03:08:44 wieck Exp $
  *
  *--------------------------------------------------------------------
  */
@@ -1046,7 +1046,7 @@ static struct config_int ConfigureNamesInt[] =
                        NULL
                },
                &VacuumCostDelay,
-               0, 0, 1000, NULL, NULL
+               50, 0, 1000, NULL, NULL
        },
 
        {
index 696fc53c9dddc48b85dd26fce9b1be980b419913..926b67bd50475f5a34993cef03be32d07e0e55b8 100644 (file)
@@ -74,7 +74,7 @@
 #vacuum_cost_page_miss = 10    # 0-10000 credits
 #vacuum_cost_page_dirty = 20   # 0-10000 credits
 #vacuum_cost_limit = 200       # 0-10000 credits
-#vacuum_cost_delay = 0         # 0-1000 milliseconds
+#vacuum_cost_delay = 50                # 0-1000 milliseconds
 
 # - Background writer -
 #bgwriter_delay = 200          # 10-5000 milliseconds