diff options
author | Andres Freund <andres@anarazel.de> | 2015-09-24 14:53:33 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2015-09-24 14:53:33 +0200 |
commit | ff090bbb76b24d8070a8c1a5f434f912d908ec19 (patch) | |
tree | 28c745bd31a6cad3efd657e50f0c73750907e21d | |
parent | f5f9d1b74e9cbf3a19ef947ac36376f73a0c10f5 (diff) |
Lower *_freeze_max_age minimum values.
The old minimum values are rather large, making it time consuming to
test related behaviour. Additionally the current limits, especially for
multixacts, can be problematic in space-constrained systems. 10000000
multixacts can contain a lot of members.
Since there's no good reason for the current limits, lower them a good
bit. Setting them to 0 would be a bad idea, triggering endless vacuums,
so still retain a limit.
While at it fix autovacuum_multixact_freeze_max_age to refer to
multixact.c instead of varsup.c.
Reviewed-By: Robert Haas
Discussion: CA+TgmoYmQPHcrc3GSs7vwvrbTkbcGD9Gik=OztbDGGrovkkEzQ@mail.gmail.com
Backpatch: 9.0 (in parts)
-rw-r--r-- | src/backend/utils/misc/guc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 00a635fff28..b9b6b2053fe 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -2248,7 +2248,7 @@ static struct config_int ConfigureNamesInt[] = }, &autovacuum_freeze_max_age, /* see pg_resetxlog if you change the upper-limit value */ - 200000000, 100000000, 2000000000, + 200000000, 100000, 2000000000, NULL, NULL, NULL }, { |