6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Prepare to run tests against FB 6.x major version. Created prototypes for firebird.conf

This commit is contained in:
pavel-zotov 2023-09-22 13:28:35 +03:00
parent 836eceddb2
commit d79fe4f174
4 changed files with 137 additions and 0 deletions

84
configs/fb60_all.conf Normal file
View File

@ -0,0 +1,84 @@
# Common parameters for all 6.x ServerMode values.
#
##################################################
# Parameter BugCheckAbort must be 1 to allow dumps be saved when FB crashes.
# Crashes will be intercepted by WER if registry has following key and parameters:
# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\firebird.exe\
# Parameter 'DumpType', type: DWORD, value: 2
# Parameter 'DumpFolder', type: EXPAND_SZ, value: directory for storing dumps
# Parameter 'DumpCount', type: DWORD, value: at least 3.
#
# Also, one need to check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug.
# Often it has parameter 'Debugger', type = REG_SZ, with value like this:
# "C:\WINDOWS\system32\vsjitdebugger.exe" -p %ld -e %ld"
# In that case such parameter must be removed or renamed.
#
# Following *must* present in the registry to disable any pop-up window when program crashes:
# key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\
# parameter: 'DontShowUI', type: DWORD, value: 2
#
BugCheckAbort = 1
# See parameter 'PORT_FOR_LISTENING' in QA_rundaily.conf:
#
RemoteServicePort = !PORT_FOR_LISTENING!
UseFileSystemCache = true
InlineSortThreshold = 1000
# Valid values: [0...1000]. If set to zero, pool is disabled. Default: 0.
# Actual value was taken from %~dpn0.conf:
#
ExtConnPoolSize = 10
# Set the time before destroyng inactive external connection, seconds. Valid values: [1...86400]. Default: 7200 seconds.
# Actual value was taken from %~dpn0.conf:
#
ExtConnPoolLifeTime = 10
# 05-sep-2019, FB 4.x+: intentionally change ReadConsistency with NON-DEFAULT value in order to have ability
# to use BOTH isolation levels for transactions that are to be started in READ COMMITTED mode:
# 1. READ COMMITTED READ CONSISTENCY
# 2. READ COMMITTED [NO] RECORD_VERSION
# See test for CORE-5953, "Statement level read consistency in read-committed transactions":
# we test there result for BOTH modes of RC isolation level.
#
ReadConsistency = 0
# Added 13.04.2019: start implementing tests for verifying DB encryption tasks
# Encryption demo plugin was supplied by IBSurgeon, see !ENCRYPTION_PLUGIN_FOLDER!
#
WireCrypt = Enabled
KeyHolderPlugin = fbSampleKeyHolder
MaxUnflushedWrites = -1
MaxUnflushedWriteTime = -1
ExternalFileAccess = Full
# See parameter 'TEMP_DIR' in QA_rundaily.conf:
#
TempDirectories=!TEMP_DIR!
AuthServer = Srp, Win_Sspi, Legacy_Auth
UserManager = Srp, Legacy_UserManager
MaxIdentifierByteLength = 252
MaxIdentifierCharLength = 63
WireCryptPlugin = ChaCha, Arc4
StatementTimeout = 7200
ConnectionIdleTimeout = 0
ClearGTTAtRetaining = 0
ClientBatchBuffer = 131072
SnapshotsMemSize = 64K
TipCacheBlockSize = 4M
# Added 03-apr-2023:
ParallelWorkers = 1
MaxParallelWorkers = 8

11
configs/fb60_cs.conf Normal file
View File

@ -0,0 +1,11 @@
# Parameters specific to 6.x Classic
####################################
ServerMode = Classic
DefaultDBCachePages = 2048
TempCacheLimit = 128K
# Parameters for tests which must use XNET/WNET
# connection protocols (rather than INET one):
IpcName = xnet_fb6x_cs

14
configs/fb60_sc.conf Normal file
View File

@ -0,0 +1,14 @@
# Parameters specific to 6.x SuperClassic
#########################################
ServerMode = SuperClassic
DefaultDBCachePages = 2048
# Common for all connections in SC:
#
TempCacheLimit = 1G
# Parameters for tests which must use XNET/WNET
# connection protocols (rather than INET one):
IpcName = xnet_fb6x_sc

28
configs/fb60_ss.conf Normal file
View File

@ -0,0 +1,28 @@
# Parameters specific to 6.x SuperServer
########################################
ServerMode = Super
# Increased 11.04.2021 after discuss with dimitr
# See mailbox pz@ibase.ru, 11-apr-2021.
# DefaultDBCachePages = 100K
# Reduced 06.12.2022 otherwise dumps will have
# too big size and will be rotated too frequent.
# Discussed with Alex
# See mailbox p519446@yandex.ru, 16-nov-2022
#
DefaultDBCachePages = 10K
# Common for all connections in SS:
#
# Increased 11.04.2021 after discuss with dimitr
# See e-mail pz@ibase.ru, 11-apr-2021.
#
TempCacheLimit = 1G
# Parameters for tests which must use XNET/WNET
# connection protocols (rather than INET one):
IpcName = xnet_fb6x_ss