A platform for community discussion. Free, open, simple.
MT: Raise the prepared statement cache to 32 entries
Gerhard Schlager4c4efe40657b
diff --git a/migrations/core/lib/migrations/database/connection.rb b/migrations/core/lib/migrations/database/connection.rbindex bcf57086bd9..474bbe32b85 100644--- a/migrations/core/lib/migrations/database/connection.rb+++ b/migrations/core/lib/migrations/database/connection.rb@@ -7,7 +7,7 @@ module Migrationsmodule Databaseclass ConnectionTRANSACTION_BATCH_SIZE = 1000- PREPARED_STATEMENT_CACHE_SIZE = 5+ PREPARED_STATEMENT_CACHE_SIZE = 32# `journal_mode` defaults to WAL for the run DB. A shard passes "off": it has a# single writer, is never read while written, and is thrown away on any