Skip to content

Commit e788757

Browse files
committed
Added firebird.conf prototypes for testing HQbird-5.x
1 parent a1e9733 commit e788757

File tree

4 files changed

+139
-0
lines changed

4 files changed

+139
-0
lines changed

configs/hq50_all.conf

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Common parameters for all HQbird 5.x ServerMode.
2+
#
3+
##################################################
4+
5+
# Parameter BugCheckAbort must be 1 to allow dumps be saved when FB crashes.
6+
# Crashes will be intercepted by WER if registry has following key and parameters:
7+
# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\firebird.exe\
8+
# Parameter 'DumpType', type: DWORD, value: 2
9+
# Parameter 'DumpFolder', type: EXPAND_SZ, value: directory for storing dumps
10+
# Parameter 'DumpCount', type: DWORD, value: at least 3.
11+
#
12+
# Also, following must present in the registry to disable any pop-up window when program crashes:
13+
# key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\
14+
# parameter: 'DontShowUI', type: DWORD, value: 2
15+
#
16+
BugCheckAbort = 1
17+
18+
# See parameter 'PORT_FOR_LISTENING' in QA_rundaily.conf:
19+
#
20+
RemoteServicePort = !PORT_FOR_LISTENING!
21+
22+
UseFileSystemCache = true
23+
24+
InlineSortThreshold = 1000
25+
26+
# Valid values: [0...1000]. If set to zero, pool is disabled. Default: 0.
27+
# Actual value was taken from %~dpn0.conf:
28+
#
29+
ExtConnPoolSize = 10
30+
31+
# Set the time before destroyng inactive external connection, seconds. Valid values: [1...86400]. Default: 7200 seconds.
32+
# Actual value was taken from %~dpn0.conf:
33+
#
34+
ExtConnPoolLifeTime = 10
35+
36+
# 05-sep-2019, FB 4.x+: intentionally change ReadConsistency with NON-DEFAULT value in order to have ability
37+
# to use BOTH isolation levels for transactions that are to be started in READ COMMITTED mode:
38+
# 1. READ COMMITTED READ CONSISTENCY
39+
# 2. READ COMMITTED [NO] RECORD_VERSION
40+
# See test for CORE-5953, "Statement level read consistency in read-committed transactions":
41+
# we test there result for BOTH modes of RC isolation level.
42+
#
43+
ReadConsistency = 0
44+
45+
# Added 13.04.2019: start implementing tests for verifying DB encryption tasks
46+
# Encryption demo plugin was supplied by IBSurgeon, see !ENCRYPTION_PLUGIN_FOLDER!
47+
#
48+
WireCrypt = Enabled
49+
KeyHolderPlugin = fbSampleKeyHolder
50+
51+
MaxUnflushedWrites = -1
52+
MaxUnflushedWriteTime = -1
53+
54+
ExternalFileAccess = Full
55+
56+
# See parameter 'TEMP_DIR' in QA_rundaily.conf:
57+
#
58+
TempDirectories=!TEMP_DIR!
59+
60+
AuthServer = Srp, Win_Sspi, Legacy_Auth
61+
UserManager = Srp, Legacy_UserManager
62+
63+
MaxIdentifierByteLength = 252
64+
MaxIdentifierCharLength = 63
65+
WireCryptPlugin = ChaCha, Arc4
66+
67+
StatementTimeout = 7200
68+
69+
ConnectionIdleTimeout = 0
70+
ClearGTTAtRetaining = 0
71+
ClientBatchBuffer = 131072
72+
SnapshotsMemSize = 64K
73+
TipCacheBlockSize = 4M
74+
75+
# HQbird specific:
76+
#
77+
ParallelWorkers = 1
78+
MaxParallelWorkers = 2
79+
DSQLCacheSize = 0
80+
MaxTempBlobs = 1000
81+
BlobTempSpace = 1
82+
LeftJoinConversion = false
83+
SortDataStorageThreshold = 4096
84+
TempSpaceLogThreshold = 0
85+
HQbirdVersionString = 1
86+
87+
MinDbCachePages = 0
88+
MaxDbCachePages = 0

configs/hq50_cs.conf

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Parameters specific to HQbird 5.x Classic
2+
###########################################
3+
4+
ServerMode = Classic
5+
DefaultDBCachePages = 2048
6+
TempCacheLimit = 128K
7+
8+
# Parameter for tests which must use XNET connection protocol:
9+
IpcName = xnet_hq5x_cs
10+
11+

configs/hq50_sc.conf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Parameters specific to HQbird 5.x SuperClassic:
2+
#################################################
3+
4+
ServerMode = SuperClassic
5+
DefaultDBCachePages = 2048
6+
7+
# Common for all connections in SC:
8+
#
9+
TempCacheLimit = 1G
10+
11+
# Parameter for tests which must use XNET connection protocol:
12+
IpcName = xnet_hq5x_sc
13+

configs/hq50_ss.conf

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Parameters specific to HQbird 5.x SuperServer:
2+
################################################
3+
4+
ServerMode = Super
5+
6+
# Increased 11.04.2021 after discuss with dimitr
7+
# See mailbox pz@ibase.ru, 11-apr-2021.
8+
# DefaultDBCachePages = 100K
9+
10+
# Reduced 06.12.2022 otherwise dumps will have
11+
# too big size and will be rotated too frequent.
12+
# Discussed with Alex
13+
# See mailbox p519446@yandex.ru, 16-nov-2022
14+
#
15+
DefaultDBCachePages = 10K
16+
17+
18+
# Common for all connections in SS:
19+
#
20+
# Increased 11.04.2021 after discuss with dimitr
21+
# See e-mail pz@ibase.ru, 11-apr-2021.
22+
#
23+
TempCacheLimit = 1G
24+
25+
# Parameter for tests which must use XNET connection protocol:
26+
IpcName = xnet_hq5x_ss
27+

0 commit comments

Comments
 (0)