From 63babe14920782a19a10e84890c44fcb19de2ee3 Mon Sep 17 00:00:00 2001 From: dimitr Date: Thu, 8 Apr 2010 04:15:08 +0000 Subject: [PATCH] Changed the default page cache size for Classic, as discussed in fb-devel. --- builds/install/misc/firebird.conf.in | 2 +- src/common/config/config.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builds/install/misc/firebird.conf.in b/builds/install/misc/firebird.conf.in index 0f30d20046..ecacf66199 100644 --- a/builds/install/misc/firebird.conf.in +++ b/builds/install/misc/firebird.conf.in @@ -200,7 +200,7 @@ # in cache at once. If you increase this value, the engine will # allocate more pages to the cache for every database. By default, the # SuperServer allocates 2048 pages for each database and the classic -# allocates 75 pages per client connection per database. +# allocates 256 pages per client connection per database. # # Per-database configurable. # diff --git a/src/common/config/config.cpp b/src/common/config/config.cpp index 33d47e35e8..226a611740 100644 --- a/src/common/config/config.cpp +++ b/src/common/config/config.cpp @@ -144,7 +144,7 @@ const Config::ConfigEntry Config::entries[MAX_CONFIG_KEY] = #ifdef SUPERSERVER {TYPE_INTEGER, "DefaultDbCachePages", (ConfigValue) 2048}, // pages #else - {TYPE_INTEGER, "DefaultDbCachePages", (ConfigValue) 75}, // pages + {TYPE_INTEGER, "DefaultDbCachePages", (ConfigValue) 256}, // pages #endif {TYPE_INTEGER, "ConnectionTimeout", (ConfigValue) 180}, // seconds {TYPE_INTEGER, "DummyPacketInterval", (ConfigValue) 0}, // seconds