Skip to content

Commit d5fc378

Browse files
committed
Disable vacuum delay, as discussed on hackers.
1 parent 640d0dc commit d5fc378

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/backend/utils/misc/guc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.228 2004/08/07 03:08:44 wieck Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.229 2004/08/08 15:37:06 momjian Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -1046,7 +1046,7 @@ static struct config_int ConfigureNamesInt[] =
10461046
NULL
10471047
},
10481048
&VacuumCostDelay,
1049-
50, 0, 1000, NULL, NULL
1049+
0, 0, 1000, NULL, NULL
10501050
},
10511051

10521052
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
#vacuum_cost_page_miss = 10 # 0-10000 credits
7575
#vacuum_cost_page_dirty = 20 # 0-10000 credits
7676
#vacuum_cost_limit = 200 # 0-10000 credits
77-
#vacuum_cost_delay = 50 # 0-1000 milliseconds
77+
#vacuum_cost_delay = 0 # 0-1000 milliseconds
7878

7979
# - Background writer -
8080
#bgwriter_delay = 200 # 10-5000 milliseconds

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy