| 1 |
######################################### |
| 2 |
# |
| 3 |
# Firebird version 4.0 configuration file |
| 4 |
# |
| 5 |
# Comments |
| 6 |
# -------- |
| 7 |
# The # character is used for comments and can be placed anywhere on a |
| 8 |
# line. Anything following the # character on a line is considered a |
| 9 |
# comment. |
| 10 |
# |
| 11 |
# Examples: |
| 12 |
# |
| 13 |
# # This is a comment |
| 14 |
# DefaultDbCachePages = 2048 # This is an end-of-line comment |
| 15 |
# |
| 16 |
# Entries |
| 17 |
# ------- |
| 18 |
# The default value for each entry is listed to the right of the "=". |
| 19 |
# To activate an entry, remove the leading "#"s and supply the desired |
| 20 |
# value. |
| 21 |
# |
| 22 |
# Please note, by default a number of the values are specified in **Bytes** (Not KB). |
| 23 |
# You may add obvious abbreviations k, m and g in the end of a number to specify |
| 24 |
# kilobytes, megabytes and gigabytes. |
| 25 |
# |
| 26 |
# There are three types of configuration values: integer, boolean and string. |
| 27 |
# |
| 28 |
# Integer |
| 29 |
# ------- |
| 30 |
# Integers is what they sound like, an integral value. Examples: |
| 31 |
# 1 |
| 32 |
# 42 |
| 33 |
# 4711 |
| 34 |
# 24M # 24 * 1024 * 1024 |
| 35 |
# |
| 36 |
# Boolean |
| 37 |
# ------- |
| 38 |
# Boolean is expressed as integer values with 0 (zero) being "false" and |
| 39 |
# non-zero is taken to mean "true". For consistency we recommend you |
| 40 |
# only use 0/1. Also strings 'y', 'yes' and 'true' stand for "true". |
| 41 |
# |
| 42 |
# String |
| 43 |
# ------ |
| 44 |
# Strings are also what they sound like, strings. Examples: |
| 45 |
# RemoteServiceName = gds_db |
| 46 |
# RemotePipeName = pipe47 |
| 47 |
# |
| 48 |
# Scopes |
| 49 |
# ------ |
| 50 |
# Some parameters are marked as per-database / per-connection configurable. |
| 51 |
# Per-database configuration is done in file databases.conf (former aliases.conf). |
| 52 |
# Per-connection configuration is primarily client tool and done using |
| 53 |
# isc_dpb_config parameter in DPB (isc_spb_config for services). |
| 54 |
# Configuration data, added to parameters block, has same format as this file. |
| 55 |
# Pay attention that since firebird3 there is no hard limit of 255 bytes per entry |
| 56 |
# provided you are using isc_dpb_version2 format of DPB. The simplest way to create |
| 57 |
# DPB/SPB is to use IXpbBuilder - when needed you will have >255 bytes entries in |
| 58 |
# parameters block. Notice that per-database entries also may be tuned using DPB |
| 59 |
# in case of embedded engine when attaching to database first time. |
| 60 |
# |
| 61 |
# Macro substitution |
| 62 |
# ------------------ |
| 63 |
# There is a number of predefined macro commands, that can be used in config |
| 64 |
# files where directory name is needed. They are available using $(name) syntax. |
| 65 |
# The complete list of them as follows: |
| 66 |
# root - root directory of firebird instance |
| 67 |
# install - directory where firebird is installed |
| 68 |
# this - directory where current configuration file is located |
| 69 |
# dir_conf - directory where firebird.conf and databases.conf are located |
| 70 |
# dir_secDb - directory where default security database is located |
| 71 |
# dir_plugins - directory where plugins are located |
| 72 |
# dir_udf - directory where UDFs are located by default |
| 73 |
# dir_sample - directory where samples are located |
| 74 |
# dir_sampleDb - directory where sample DB (employee.fdb) is located |
| 75 |
# dir_intl - directory where international modules are located |
| 76 |
# dir_msg - directory where messages file (firebird.msg) is located |
| 77 |
# Like the rest of config internals macros are case-insensitive. |
| 78 |
# Capital letters here are used only for better human readability. |
| 79 |
# |
| 80 |
# |
| 81 |
# Includes |
| 82 |
# -------- |
| 83 |
# One can include one config file into another one. |
| 84 |
# When relative path is used, it's treated relative to current config file. |
| 85 |
# I.e. when |
| 86 |
# include some_file.conf |
| 87 |
# is used in /opt/config/master.conf, we include /opt/config/some_file.conf. |
| 88 |
# Traditional wildcards * and ? may be used in include operator. In this case |
| 89 |
# all matching files will be included in undefined order. Example: |
| 90 |
# include $(dir_plugins)/config/*.conf |
| 91 |
# |
| 92 |
# Portions of this file have been reproduced/made available with the |
| 93 |
# permission of Ann Harrison @ IBPhoenix. |
| 94 |
# |
| 95 |
######################################### |
| 96 |
|
| 97 |
|
| 98 |
# ---------------------------- |
| 99 |
# Database Paths/Directories |
| 100 |
# |
| 101 |
# DatabaseAccess may be None, Full or Restrict. If you choose Restrict, |
| 102 |
# provide ';'-separated trees list, where database files are stored. |
| 103 |
# Relative paths are treated relative to the root directory of firebird. |
| 104 |
# Default value 'Full' gives full access to all files on your site. |
| 105 |
# To specify access to specific trees, enum all required paths |
| 106 |
# (for Windows this may be something like 'C:\DataBase;D:\Mirror', |
| 107 |
# for unix - '/db;/mnt/mirrordb'). If you choose 'None', then only |
| 108 |
# databases listed in databases.conf can be attached. |
| 109 |
# |
| 110 |
# Note: simple quotation marks shown above should *NOT* be used when |
| 111 |
# specifying values and directory path names. Examples: |
| 112 |
# |
| 113 |
# DatabaseAccess = None |
| 114 |
# DatabaseAccess = Restrict C:\DataBase |
| 115 |
# DatabaseAccess = Restrict C:\DataBase;D:\Mirror |
| 116 |
# DatabaseAccess = Restrict /db |
| 117 |
# DatabaseAccess = Restrict /db;/mnt/mirrordb |
| 118 |
# DatabaseAccess = Full |
| 119 |
# |
| 120 |
# UNCONTROLLED DATABASE ACCESS MAY COMPROMISE YOUR SYSTEM! |
| 121 |
# IT IS STRONGLY RECOMMENDED THAT THIS SETTING BE USED TO LIMIT |
| 122 |
# DATABASE LOCATIONS! |
| 123 |
# |
| 124 |
# Type: string (special format) |
| 125 |
# |
| 126 |
#DatabaseAccess = Full |
| 127 |
|
| 128 |
|
| 129 |
# ---------------------------- |
| 130 |
# Ability to access databases remotely |
| 131 |
# |
| 132 |
# RemoteAccess may be true or false (1/0, Yes/No) - it's boolean value. |
| 133 |
# By default RemoteAccess to all databases except security DB is enabled. |
| 134 |
# If you plan to use more than one dedicated security database it's |
| 135 |
# recommended to disable remote access to them in databases.conf. |
| 136 |
# However (as an additional method to have secure enhanced firebird |
| 137 |
# installation) one can disable remote access globally and re-enable |
| 138 |
# in databases.conf only for specific databases. |
| 139 |
# |
| 140 |
# Per-database configurable. |
| 141 |
# |
| 142 |
# Type: boolean |
| 143 |
# |
| 144 |
#RemoteAccess = true |
| 145 |
|
| 146 |
|
| 147 |
# ---------------------------- |
| 148 |
# External File Paths/Directories |
| 149 |
# |
| 150 |
# ExternalFileAccess may be None, Full or Restrict. If you choose |
| 151 |
# Restrict, provide ';'-separated trees list, where external files |
| 152 |
# are stored. Relative paths are treated relative to the root directory |
| 153 |
# of firebird. Default value 'None' disables any use of external files |
| 154 |
# on your site. To specify access to specific trees, enum all required |
| 155 |
# paths (for Windows this may be something like 'C:\ExternalTables', |
| 156 |
# for unix - '/db/extern;/mnt/extern'). |
| 157 |
# |
| 158 |
# Per-database configurable. |
| 159 |
# |
| 160 |
# NOTE: THE EXTERNAL TABLE ENGINE FEATURE COULD BE USED TO COMPROMISE |
| 161 |
# THE SERVER/HOST AS WELL AS DATABASE SECURITY!! |
| 162 |
# |
| 163 |
# IT IS STRONGLY RECOMMENDED THAT THIS SETTING BE USED TO LIMIT |
| 164 |
# EXTERNAL TABLE LOCATIONS! |
| 165 |
# |
| 166 |
# Type: string (special format) |
| 167 |
# |
| 168 |
#ExternalFileAccess = None |
| 169 |
|
| 170 |
|
| 171 |
# ---------------------------- |
| 172 |
# External Function (UDF) Paths/Directories |
| 173 |
# |
| 174 |
# UdfAccess may be None, Full or Restrict. If you choose |
| 175 |
# Restrict, provide ';'-separated trees list, where UDF libraries |
| 176 |
# are stored. Relative paths are treated relative to the root directory |
| 177 |
# of firebird. |
| 178 |
# |
| 179 |
# Since FB4.0 default value is None. Set it to 'Restrict UDF' to have |
| 180 |
# the same restrictions as in previous FB versions. To specify access |
| 181 |
# to specific trees, enum all required paths (for Windows this may be |
| 182 |
# something like 'C:\ExternalFunctions', for unix - '/db/udf;/mnt/udf'). |
| 183 |
# |
| 184 |
# NOTE: THE EXTERNAL FUNCTION ENGINE FEATURE COULD BE USED TO COMPROMISE |
| 185 |
# THE SERVER/HOST AS WELL AS DATABASE SECURITY!! |
| 186 |
# |
| 187 |
# IT IS STRONGLY RECOMMENDED THAT THIS SETTING REMAINS NONE! |
| 188 |
# |
| 189 |
# Type: string (special format) |
| 190 |
# |
| 191 |
#UdfAccess = None |
| 192 |
|
| 193 |
|
| 194 |
# ---------------------------- |
| 195 |
# Temporary directories |
| 196 |
# |
| 197 |
# Provide ';'-separated trees list, where temporary files are stored. |
| 198 |
# Relative paths are treated relative to the root directory of firebird. |
| 199 |
# Default value is determined using FIREBIRD_TMP, TEMP or TMP |
| 200 |
# environment options. Once the first specified directory has no |
| 201 |
# available space, the engine will switch to the next one, and so on. |
| 202 |
# |
| 203 |
# E.g.: |
| 204 |
# TempDirectories = c:\temp |
| 205 |
# or |
| 206 |
# TempDirectories = c:\temp;d:\temp |
| 207 |
# |
| 208 |
# Type: string (special format) |
| 209 |
# |
| 210 |
#TempDirectories = |
| 211 |
|
| 212 |
|
| 213 |
# ---------------------------- |
| 214 |
# Directory to put data of temporary tables and blobs |
| 215 |
# |
| 216 |
# When empty, not exists or not accessible, default directory will be used |
| 217 |
# as determined by FIREBIRD_TMP, TEMP or TMP environment variables. |
| 218 |
# |
| 219 |
# Per-database configurable. |
| 220 |
# |
| 221 |
# Type: string |
| 222 |
# |
| 223 |
#TempTableDirectory = |
| 224 |
|
| 225 |
|
| 226 |
# ---------------------------- |
| 227 |
# Trace configuration file for system audit |
| 228 |
# |
| 229 |
# Empty value means that system audit is turned off. |
| 230 |
# |
| 231 |
# Type: string |
| 232 |
# |
| 233 |
#AuditTraceConfigFile = |
| 234 |
|
| 235 |
# ---------------------------- |
| 236 |
# Maximum summary size of each user trace session's log files in MB. |
| 237 |
# When log files size reach this limit, trace session automatically |
| 238 |
# suspends until interactive user service read and delete some log files. |
| 239 |
# |
| 240 |
# Type: integer |
| 241 |
# |
| 242 |
#MaxUserTraceLogSize = 10 |
| 243 |
|
| 244 |
|
| 245 |
# ---------------------------- |
| 246 |
# Number of cached database pages |
| 247 |
# |
| 248 |
# This sets the number of pages from any one database that can be held |
| 249 |
# in cache at once. If you increase this value, the engine will |
| 250 |
# allocate more pages to the cache for every database. By default, the |
| 251 |
# SuperServer allocates 2048 pages for each database and the classic |
| 252 |
# allocates 256 pages per client connection per database. |
| 253 |
# |
| 254 |
# Per-database configurable. |
| 255 |
# |
| 256 |
# Type: integer |
| 257 |
# |
| 258 |
#DefaultDbCachePages = 2048 |
| 259 |
|
| 260 |
# ---------------------------- |
| 261 |
# Disk space preallocation |
| 262 |
# |
| 263 |
# Sets the amount of preallocated disk space in bytes. Disk space |
| 264 |
# preallocation allows to reduce physical file fragmentation and to make |
| 265 |
# database work in out of disk space condition. With preallocation enabled, |
| 266 |
# engine allocates 1/16nth of already allocated disk space at a time but |
| 267 |
# not less than 128KB and no more than DatabaseGrowthIncrement (128MB by |
| 268 |
# default). To disable preallocation set DatabaseGrowthIncrement to zero. |
| 269 |
# Shadow database files are not preallocated. |
| 270 |
# |
| 271 |
# Per-database configurable. |
| 272 |
# |
| 273 |
# Type: integer |
| 274 |
# |
| 275 |
#DatabaseGrowthIncrement = 128M |
| 276 |
|
| 277 |
# ---------------------------- |
| 278 |
# File system cache usage |
| 279 |
# |
| 280 |
# Determines whether Firebird will use file system cache for database files or |
| 281 |
# not. |
| 282 |
# |
| 283 |
# Type: boolean |
| 284 |
# |
| 285 |
# Per-database configurable. |
| 286 |
# |
| 287 |
#UseFileSystemCache = true |
| 288 |
|
| 289 |
# ---------------------------- |
| 290 |
# File system cache threshold |
| 291 |
# |
| 292 |
# The threshold value that determines whether Firebird will use file system |
| 293 |
# cache or not. File system caching is used if database cache size in pages |
| 294 |
# (configured explicitly in database header or via DefaultDbCachePages setting) |
| 295 |
# is less than FileSystemCacheThreshold value. |
| 296 |
# |
| 297 |
# To use file system cache always set FileSystemCacheThreshold to a large value. |
| 298 |
# To bypass file system cache for all databases set FileSystemCacheThreshold to |
| 299 |
# zero. |
| 300 |
# |
| 301 |
# CAUTION! |
| 302 |
# This setting is deprecated and will be removed in future Firebird versions. |
| 303 |
# Consider using "UseFileSystemCache" setting instead. |
| 304 |
# If "UseFileSystemCache" is set, then value of "FileSystemCacheThreshold" is |
| 305 |
# ignored. |
| 306 |
# If "UseFileSystemCache" is not set, and "FileSystemCacheThreshold" is set |
| 307 |
# then value of "FileSystemCacheThreshold" is in use and accounted by the |
| 308 |
# engine. |
| 309 |
# |
| 310 |
# Type: integer, measured in database pages |
| 311 |
# |
| 312 |
# Per-database configurable. |
| 313 |
# |
| 314 |
#FileSystemCacheThreshold = 64K |
| 315 |
|
| 316 |
# ---------------------------- |
| 317 |
# File system cache size |
| 318 |
# |
| 319 |
# This setting controls the maximum amount of RAM used by Windows file system |
| 320 |
# cache on 64-bit Windows XP, Windows Server 2003 SP1 or later host. It has no |
| 321 |
# effect for Unix hosts in this release yet. |
| 322 |
# |
| 323 |
# Note that the lowest number presently supported is 10%, and the highest number |
| 324 |
# is 95%; numbers outside these limits will be set to the default of 30%. |
| 325 |
# |
| 326 |
# If the cache size has already been selected when the engine starts the host |
| 327 |
# setting will not be changed. Thus you may need to reboot the host for the |
| 328 |
# change of this setting to have effect. |
| 329 |
# |
| 330 |
# To leave host caching settings unchanged set this parameter to 0. This is |
| 331 |
# the default parameter value. |
| 332 |
# |
| 333 |
# Security note |
| 334 |
# To adjust the setting engine needs SeIncreaseQuotaPrivilege right. Built-in |
| 335 |
# service accounts and administrators have it by default. Installer grants this |
| 336 |
# right to Firebird service account. If the engine fails to adjust the cache |
| 337 |
# size setting it will log warning message to the firebird.log and continue. |
| 338 |
# |
| 339 |
# Type: integer, measured in % of total physical RAM |
| 340 |
# |
| 341 |
#FileSystemCacheSize = 0 |
| 342 |
|
| 343 |
# ---------------------------- |
| 344 |
# Remove protection against opening databases on NFS mounted volumes on |
| 345 |
# Linux/Unix and SMB/CIFS volumes on Windows. |
| 346 |
# |
| 347 |
# This also permits creating database shadows on mounted network volumes. |
| 348 |
# |
| 349 |
# ***WARNING*** ***WARNING*** ***WARNING*** ***WARNING*** |
| 350 |
# |
| 351 |
# This option removes an important safety feature of Firebird and can |
| 352 |
# cause irrecoverable database corruption. Do not use this option unless |
| 353 |
# you understand the risks and are prepared to accept the loss of the |
| 354 |
# contents of your database. |
| 355 |
# Unless this configuration option is changed from 0 to 1, Firebird can |
| 356 |
# open a database only if the database is stored on a drive physically |
| 357 |
# attached to the local computer - the computer running that copy of |
| 358 |
# Firebird. Requests for connections to databases stored on NFS mounted |
| 359 |
# drives are redirected to a Firebird server running on the computer that |
| 360 |
# "owns" the disk. |
| 361 |
# This restriction prevents two different copies of Firebird from opening |
| 362 |
# the same database without coordinating their activities. Uncoordinated |
| 363 |
# access by multiple copies of Firebird will corrupt a database. On a local |
| 364 |
# system, the system-level file locking prevents uncoordinated access to |
| 365 |
# the database file. |
| 366 |
# |
| 367 |
# NFS does not provide a reliable way to detect multiple users of a file on |
| 368 |
# an NFS mounted disk. If a second copy of Firebird connects to a database on |
| 369 |
# an NFS mounted disk, it will corrupt the database. |
| 370 |
# Under some circumstances, running a Firebird server on the computer that |
| 371 |
# owns NFS mounted volumes is inconvenient or impossible. Applications that |
| 372 |
# use the "embedded" variant of Firebird and never share access to a database |
| 373 |
# can use this option to permit direct access to databases on NFS mounted |
| 374 |
# volumes. |
| 375 |
# |
| 376 |
# The situation for SMB/CIFS is quite similar to NFS with not all configurations |
| 377 |
# providing file locking mechanisms needed for safe operation. Using SuperServer |
| 378 |
# engine with the database on NT file server may be considered relatively safe |
| 379 |
# as file locking protects the database from being used by the several engines. |
| 380 |
# Network stack can still change order of writes so you may get a corrupted |
| 381 |
# database in case of network errors or power outage. |
| 382 |
# |
| 383 |
# The useful and safe case is working with a shared database marked read-only. |
| 384 |
# |
| 385 |
# DO NOT ENABLE THIS OPTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING. |
| 386 |
# |
| 387 |
# Type: boolean |
| 388 |
# |
| 389 |
#RemoteFileOpenAbility = 0 |
| 390 |
|
| 391 |
# ---------------------------- |
| 392 |
# Temporary space management |
| 393 |
# |
| 394 |
# Temporary storage is used by the sorting module, it's also |
| 395 |
# intended to store temporary datasets etc. |
| 396 |
# |
| 397 |
# The parameters below handle the allocation and caching policy |
| 398 |
# for the temporary space manager. In previous Firebird versions, |
| 399 |
# they were prefixed with "SortMem" instead of current "Temp". |
| 400 |
# |
| 401 |
# The smallest block size being allocated in the temporary storage. |
| 402 |
# This value reflects the allocation granularity. |
| 403 |
# |
| 404 |
# Type: integer |
| 405 |
# |
| 406 |
#TempBlockSize = 1M |
| 407 |
|
| 408 |
# |
| 409 |
# The maximum amount of the temporary space that can be cached |
| 410 |
# in memory. |
| 411 |
# |
| 412 |
# For Classic servers, this setting is defaulted to 8 MB. |
| 413 |
# Although it can be increased, the value applies to each client |
| 414 |
# connection/server instance and thus consumes a lot of memory. |
| 415 |
# |
| 416 |
# Per-database configurable. |
| 417 |
# |
| 418 |
# Type: integer |
| 419 |
# |
| 420 |
#TempCacheLimit = 64M |
| 421 |
|
| 422 |
# ---------------------------- |
| 423 |
# Maximum allowed identifier name length in bytes |
| 424 |
# |
| 425 |
# Sets a limit for the number of bytes in an identifier. |
| 426 |
# |
| 427 |
# Set to 31 to limit as Firebird 3 and previous versions. |
| 428 |
# Setting this value for all databases (including the security database) may cause problems. |
| 429 |
# |
| 430 |
# Per-database configurable. |
| 431 |
# |
| 432 |
# Type: integer |
| 433 |
# |
| 434 |
#MaxIdentifierByteLength = 252 |
| 435 |
|
| 436 |
# ---------------------------- |
| 437 |
# Maximum allowed identifier name length in characters |
| 438 |
# |
| 439 |
# Sets a limit for the number of characters in an identifier. |
| 440 |
# |
| 441 |
# Setting this value for all databases (including the security database) may cause problems. |
| 442 |
# |
| 443 |
# Per-database configurable. |
| 444 |
# |
| 445 |
# Type: integer |
| 446 |
# |
| 447 |
#MaxIdentifierCharLength = 63 |
| 448 |
|
| 449 |
# ---------------------------- |
| 450 |
# Threshold that controls whether to store non-key fields inside the sort block |
| 451 |
# or refetch them from data pages after the sorting. |
| 452 |
# |
| 453 |
# Defines the maximum sort record size (in bytes) that can be stored inline, |
| 454 |
# i.e. inside the sort block. Zero means that records are always refetched. |
| 455 |
# |
| 456 |
# Per-database configurable. |
| 457 |
# |
| 458 |
# Type: integer |
| 459 |
# |
| 460 |
#InlineSortThreshold = 1000 |
| 461 |
|
| 462 |
# ---------------------------- |
| 463 |
# |
| 464 |
# This group of parameters determines what plugins will be used by firebird. |
| 465 |
# Format of string is the list of plugins, separated by space, ',' or ';'. |
| 466 |
# Plugins will be tried in an order, specified here. |
| 467 |
# In many cases correct order is important! |
| 468 |
# |
| 469 |
# Type: string |
| 470 |
|
| 471 |
# AuthServer and AuthClient determine which authentication methods will be used |
| 472 |
# by network server and client redirector. The Secure remote password plugin |
| 473 |
# using SHA-256 for the client proof is the default for both client and Server. |
| 474 |
# Additionally, the default client configuration (AuthClient) also supports old Srp |
| 475 |
# plugin using SHA-1 for the client proof. This enables backwards compatibility |
| 476 |
# with old Firebird 3 servers but does not comply with NIST security requirements. |
| 477 |
# Srp plugins using other SHA algorithms (SHA-224, SHA-384 & SHA-512) are also |
| 478 |
# implemented and may be used (names are Srp224, Srp384 & Srp512 respectively). |
| 479 |
# |
| 480 |
# The default client configuration (AuthClient) also supports the pre-Firebird 3 legacy |
| 481 |
# authentication protocol (Legacy_Auth). This is again for backwards |
| 482 |
# compatibility but has many known weaknesses and is deprecated for current use. |
| 483 |
# |
| 484 |
# The default Windows client configuration (AuthClient) also includes support for |
| 485 |
# the Win_Sspi plugin. This implements windows trusted authentication and is backward |
| 486 |
# compatible with 2.1 and 2.5 clients and servers running on Windows. |
| 487 |
# |
| 488 |
# Per-database configurable. |
| 489 |
# |
| 490 |
#AuthServer = Srp256 |
| 491 |
# |
| 492 |
# Per-connection and per-database configurable. |
| 493 |
# |
| 494 |
#AuthClient = Srp256, Srp, Legacy_Auth #Non Windows clients |
| 495 |
#AuthClient = Srp256, Srp, Win_Sspi, Legacy_Auth #Windows clients |
| 496 |
# |
| 497 |
# If you need to use server plugins that do not provide encryption key (Legacy_Auth is the |
| 498 |
# only such std plugin) you should also turn off required encryption on the wire with WireCrypt |
| 499 |
# configuration parameter except when working with the XNET protocol which is never encrypted. |
| 500 |
# |
| 501 |
|
| 502 |
# UserManager sets plugin used to work with security database. If more than |
| 503 |
# one plugin is given, first plugin from the list is used by default. If you |
| 504 |
# need to manage legacy logins using legacy tools set it to Legacy_UserManager. |
| 505 |
# Other managers may be chosen in create/alter/drop user commands. |
| 506 |
# |
| 507 |
# Per-database configurable. |
| 508 |
# |
| 509 |
#UserManager = Srp |
| 510 |
|
| 511 |
# TracePlugin is used by firebird trace facility to send trace data to the user |
| 512 |
# or log file in audit case. |
| 513 |
# |
| 514 |
#TracePlugin = fbtrace |
| 515 |
|
| 516 |
# Wire crypt plugins are used to crypt data transferred over the wire. |
| 517 |
# In default case wire is encrypted using ChaCha#20 (32/64 bit counter variants) |
| 518 |
# or Alleged RC4. Key must be generated by auth plugin. |
| 519 |
# For chacha we are using 16 or 32 bytes key (depends upon what is provided |
| 520 |
# by auth plugin), 12 (8) bytes nonce and 4 (8) bytes counter, 20 (10 + 10) rounds are made. |
| 521 |
# |
| 522 |
# Per-connection configurable. |
| 523 |
# |
| 524 |
#WireCryptPlugin = ChaCha64, ChaCha, Arc4 |
| 525 |
|
| 526 |
# Key holder is a kind of temp storage for DB crypt keys. |
| 527 |
# There is no default for this kind of plugins. |
| 528 |
# |
| 529 |
#KeyHolderPlugin = |
| 530 |
|
| 531 |
# ---------------------------- |
| 532 |
# |
| 533 |
# Ability to use encrypted security database |
| 534 |
# |
| 535 |
# If one relies on network encryption feature with crypt key generated |
| 536 |
# by authentication plugin (like SRP does) to transfer database crypt |
| 537 |
# keys over the wire then use of encrypted security databases is a kind of |
| 538 |
# vicious circle. In order to send DB crypt key over the wire in secure way |
| 539 |
# wire transfers should be already encrypted but this requires wire crypt key |
| 540 |
# from authentication plugin which needs to open security database for hash |
| 541 |
# validation which in turn requires DB crypt key. Luckily in most cases there |
| 542 |
# is no big need to encrypt security database - it protects itself quite well |
| 543 |
# if you use high quality passwords. But in some cases it's desired to have |
| 544 |
# security database encrypted, for example if one wants to use self security |
| 545 |
# database feature for encrypted database. In that case special care should be |
| 546 |
# taken to encrypt that key before passing it to server using callback. Make |
| 547 |
# sure your keys are well encrypted before enabling this parameter. Take into |
| 548 |
# account that with AllowEncryptedSecurityDatabase=TRUE unencrypted by firebird |
| 549 |
# protocol key transfer may take place even with not encrypted security database. |
| 550 |
# This feature is not supported by legacy authentication plugin - if you care |
| 551 |
# about security please never use legacy authentication. |
| 552 |
# |
| 553 |
# Type: boolean |
| 554 |
# |
| 555 |
# Per-database configurable. |
| 556 |
# |
| 557 |
######################################################################### |
| 558 |
# Please understand what are you doing before enabling this feature !!! # |
| 559 |
######################################################################### |
| 560 |
# |
| 561 |
#AllowEncryptedSecurityDatabase = false |
| 562 |
|
| 563 |
# ---------------------------- |
| 564 |
# |
| 565 |
# This parameter determines what providers will be used by firebird. |
| 566 |
# Format is the same as for the list of plugins (see a few lines before). |
| 567 |
# This is not strange because internally provider is just a kind of plugin. |
| 568 |
# |
| 569 |
# Type: string |
| 570 |
# |
| 571 |
# Per-database & per-connection configurable. |
| 572 |
# |
| 573 |
#Providers = Remote,Engine13,Loopback |
| 574 |
|
| 575 |
|
| 576 |
# ---------------------------- |
| 577 |
# |
| 578 |
# Determines the number of seconds that the lock manager will wait after a |
| 579 |
# conflict has been encountered before purging locks from dead processes |
| 580 |
# and doing extra deadlock scan cycle. Engine detects deadlocks instantly |
| 581 |
# in all normal cases, so this value affects things only if something goes |
| 582 |
# wrong. Setting it too low may degrade system performance. |
| 583 |
# |
| 584 |
# Per-database configurable. |
| 585 |
# |
| 586 |
# Type: integer |
| 587 |
# |
| 588 |
#DeadlockTimeout = 10 |
| 589 |
|
| 590 |
|
| 591 |
# ---------------------------- |
| 592 |
# |
| 593 |
# Set number of seconds after which statement execution will be automatically |
| 594 |
# cancelled by the engine. Zero means no timeout is set. |
| 595 |
# |
| 596 |
# Per-database configurable. |
| 597 |
# |
| 598 |
# Type: integer |
| 599 |
# |
| 600 |
#StatementTimeout = 0 |
| 601 |
|
| 602 |
|
| 603 |
# ---------------------------- |
| 604 |
# |
| 605 |
# Set number of minutes after which idle attachment will be disconnected by the |
| 606 |
# engine. Zero means no timeout is set. |
| 607 |
# |
| 608 |
# Per-database configurable. |
| 609 |
# |
| 610 |
# Type: integer |
| 611 |
# |
| 612 |
#ConnectionIdleTimeout = 0 |
| 613 |
|
| 614 |
|
| 615 |
# ---------------------------- |
| 616 |
# |
| 617 |
# Set number of seconds after which ON DISCONNECT trigger execution will be |
| 618 |
# automatically cancelled by the engine. Zero means no timeout is set. |
| 619 |
# |
| 620 |
# Per-database configurable. |
| 621 |
# |
| 622 |
# Type: integer |
| 623 |
# |
| 624 |
#OnDisconnectTriggerTimeout = 180 |
| 625 |
|
| 626 |
|
| 627 |
# ---------------------------- |
| 628 |
# |
| 629 |
# How often the pages are flushed on disk |
| 630 |
# (for databases with ForcedWrites=Off only) |
| 631 |
# |
| 632 |
# Number of unflushed writes which will accumulate before they are |
| 633 |
# flushed, at the next transaction commit. For non-Windows ports, |
| 634 |
# the default value is -1 (Disabled) |
| 635 |
# |
| 636 |
# Per-database configurable. |
| 637 |
# |
| 638 |
# Type: integer |
| 639 |
# |
| 640 |
#MaxUnflushedWrites = 100 |
| 641 |
|
| 642 |
# |
| 643 |
# Number of seconds during which unflushed writes will accumulate |
| 644 |
# before they are flushed, at the next transaction commit. For non-Windows |
| 645 |
# ports, the default value is -1 (Disabled) |
| 646 |
# |
| 647 |
# Per-database configurable. |
| 648 |
# |
| 649 |
# Type: integer |
| 650 |
# |
| 651 |
#MaxUnflushedWriteTime = 5 |
| 652 |
|
| 653 |
|
| 654 |
# ---------------------------- |
| 655 |
# |
| 656 |
# This option controls whether to call abort() when internal error or BUGCHECK |
| 657 |
# is encountered thus invoke post-mortem debugger which can dump core suitable |
| 658 |
# for off-line analysis. When disabled engine tries to minimize damage and |
| 659 |
# continue execution. |
| 660 |
# |
| 661 |
# Note that setting this option to 1 makes engine produce traceable coredumps |
| 662 |
# when something nasty like SIGSEGV happens inside UDF. On Windows enabling |
| 663 |
# this option makes engine invoke JIT debugger facilities when errors happen. |
| 664 |
# |
| 665 |
# For debugging builds (DEV_BUILD), default value is 1 (Enabled) |
| 666 |
# |
| 667 |
# Type: boolean |
| 668 |
# |
| 669 |
#BugcheckAbort = 0 |
| 670 |
|
| 671 |
|
| 672 |
# ---------------------------- |
| 673 |
# How COMMIT\ROLLBACK RETAINING handle GLOBAL TEMPORARY TABLE ON COMMIT DELETE ROWS |
| 674 |
# |
| 675 |
# GLOBAL TEMPORARY TABLE ON COMMIT DELETE ROWS (GTT) data is cleared on "hard" |
| 676 |
# commit (rollback) but should be preserved on commit(rollback) retaining. |
| 677 |
# Due to bug in initial implementation in Firebird 2.1 that data is not visible |
| 678 |
# for the application. This setting allows to preserve backward compatibility |
| 679 |
# (i.e. clear GTT data on commit\rollback retaining). |
| 680 |
# Value of 0 makes engine to not clear GTT data on commit\rollback retaining and |
| 681 |
# let application to see it. |
| 682 |
# Default value is 0 (preserve GTT data on commit\rollback retaining). |
| 683 |
# Note: this setting is expected to be removed at Firebird 5. |
| 684 |
# |
| 685 |
# Per-database configurable. |
| 686 |
# |
| 687 |
# Type: boolean |
| 688 |
# |
| 689 |
#ClearGTTAtRetaining = 0 |
| 690 |
|
| 691 |
|
| 692 |
# ---------------------------- |
| 693 |
# Relaxing relation alias checking rules in SQL |
| 694 |
# |
| 695 |
# Since Firebird 2.0, strict alias checking rules were implemented in the SQL |
| 696 |
# parser to accord with the SQL standard requirements. This setting allows |
| 697 |
# these rules to be relaxed in order to allow legacy applications to run on |
| 698 |
# Firebird 2.0. |
| 699 |
# A setting of 1 (true) allows the parser to resolve a qualified column reference |
| 700 |
# using the relation name, where an alias has been specified for that relation. |
| 701 |
# |
| 702 |
# For example, it allows a query such as: |
| 703 |
# SELECT TABLE.X FROM TABLE A |
| 704 |
# |
| 705 |
# It is not recommended to enable this setting. It should be regarded as an |
| 706 |
# interim workaround for porting untidy legacy code, until it is practicable to |
| 707 |
# revise such code. |
| 708 |
# |
| 709 |
# CAUTION! |
| 710 |
# There is no guarantee that this setting will be available in future Firebird |
| 711 |
# versions. |
| 712 |
# |
| 713 |
# Type: boolean |
| 714 |
# |
| 715 |
#RelaxedAliasChecking = 0 |
| 716 |
|
| 717 |
# ---------------------------- |
| 718 |
# Engine currently provides statement-level read consistency in READ COMMITTED |
| 719 |
# mode by default. In this mode rec_version/no_rec_version transaction flags have |
| 720 |
# no effect. Setting this parameter to 0 effectively reverts engine to legacy |
| 721 |
# behavior. |
| 722 |
# |
| 723 |
# Type: boolean |
| 724 |
# |
| 725 |
#ReadConsistency = 1 |
| 726 |
|
| 727 |
# ---------------------------- |
| 728 |
# Engine currently provides a number of new datatypes unknown to legacy clients. |
| 729 |
# In order to simplify use of old applications set this parameter to minor FB |
| 730 |
# version datatype compatibility with which you need. Currently two values are |
| 731 |
# supported: 3.0 & 2.5. |
| 732 |
# More precise (including per-session) tuning is possible via SQL and DPB. |
| 733 |
# |
| 734 |
# Per-database configurable. |
| 735 |
# |
| 736 |
# Type: string |
| 737 |
# |
| 738 |
#DataTypeCompatibility = |
| 739 |
|
| 740 |
|
| 741 |
# ---------------------------- |
| 742 |
# Client Connection Settings (Basic) |
| 743 |
# |
| 744 |
# Seconds to wait before concluding an attempt to connect has failed. |
| 745 |
# |
| 746 |
# Per-connection configurable. |
| 747 |
# |
| 748 |
# Type: integer |
| 749 |
# |
| 750 |
#ConnectionTimeout = 180 |
| 751 |
|
| 752 |
# |
| 753 |
# Should connection over the wire be encrypted? |
| 754 |
# Has 3 different values: Required, Enabled or Disabled. Enabled behavior |
| 755 |
# depends on the other side's requirements. If both sides are set to Enabled, |
| 756 |
# the connection is encrypted when possible. Note that Wirecrypt should be set |
| 757 |
# to Enabled when running a Firebird server with legacy authentication. |
| 758 |
# |
| 759 |
# Attention: default depends upon connection type: incoming (server) |
| 760 |
# or outgoing (client). |
| 761 |
# |
| 762 |
# Per-connection configurable. |
| 763 |
# |
| 764 |
# Type: string (predefined values) |
| 765 |
# |
| 766 |
#WireCrypt = Enabled (for client) / Required (for server) |
| 767 |
|
| 768 |
# |
| 769 |
# Should connection over the wire be compressed? |
| 770 |
# Client only value - server should follow client setting if connect using |
| 771 |
# correct protocol (>=13). |
| 772 |
# |
| 773 |
# Per-connection configurable. |
| 774 |
# |
| 775 |
# Type: boolean |
| 776 |
# |
| 777 |
#WireCompression = false |
| 778 |
|
| 779 |
# |
| 780 |
# Seconds to wait on a silent client connection before the server sends |
| 781 |
# dummy packets to request acknowledgment. |
| 782 |
# |
| 783 |
# NOTE. This option may hang or crash Windows NT4 or Windows 2000 pre SP3 |
| 784 |
# on the client side as explained here: |
| 785 |
# http://support.microsoft.com/default.aspx?kbid=296265. |
| 786 |
# or may not prevent eventual inactive client disconnection for other OS. |
| 787 |
# |
| 788 |
# Normally, Firebird uses SO_KEEPALIVE socket option to keep track of |
| 789 |
# active connections. If you do not like default 2-hour keepalive timeout |
| 790 |
# then adjust your server OS settings appropriately. On UNIX-like OS's, |
| 791 |
# modify contents of /proc/sys/net/ipv4/tcp_keepalive_*. On Windows, |
| 792 |
# follow instrutions of this article: |
| 793 |
# http://support.microsoft.com/default.aspx?kbid=140325 |
| 794 |
# |
| 795 |
# Per-connection configurable. |
| 796 |
# |
| 797 |
# Type: integer |
| 798 |
# |
| 799 |
#DummyPacketInterval = 0 |
| 800 |
|
| 801 |
# |
| 802 |
# Buffer size (in bytes) used by the client connection to accumulate output |
| 803 |
# messages before sending them to the server using Batch API. |
| 804 |
# |
| 805 |
# Per-connection configurable. |
| 806 |
# |
| 807 |
# Type: integer |
| 808 |
# |
| 809 |
#ClientBatchBuffer = 131072 |
| 810 |
|
| 811 |
# |
| 812 |
# Default session or client time zone. |
| 813 |
# |
| 814 |
# If empty, the default is the OS time zone. |
| 815 |
# When set in the server, it defines the default session time zone for attachments. |
| 816 |
# When set in the client, it defines the default time zone used with client-side API functions and |
| 817 |
# the default value of isc_dpb_session_time_zone. |
| 818 |
# |
| 819 |
# Type: string |
| 820 |
# |
| 821 |
#DefaultTimeZone = |
| 822 |
|
| 823 |
|
| 824 |
# ---------------------------- |
| 825 |
# TCP Protocol Settings |
| 826 |
# |
| 827 |
# The TCP Service name/Port number to be used for client database |
| 828 |
# connections. |
| 829 |
# |
| 830 |
# It is only necessary to change one of the entries, not both. The |
| 831 |
# order of precendence is the 'RemoteServiceName' (if an entry is |
| 832 |
# found in the 'services.' file) then the 'RemoteServicePort'. |
| 833 |
# |
| 834 |
# Per-connection configurable. |
| 835 |
# |
| 836 |
# Type: string, integer |
| 837 |
# |
| 838 |
#RemoteServiceName = gds_db |
| 839 |
#RemoteServicePort = 3050 |
| 840 |
|
| 841 |
# |
| 842 |
# The TCP Port Number to be used for server Event Notification |
| 843 |
# messages. The value of 0 (Zero) means that the server will choose |
| 844 |
# a port number randomly. |
| 845 |
# |
| 846 |
# Per-database configurable. |
| 847 |
# |
| 848 |
# Type: integer |
| 849 |
# |
| 850 |
#RemoteAuxPort = 0 |
| 851 |
|
| 852 |
# |
| 853 |
# TCP/IP buffer size for send and receive buffers of both the client |
| 854 |
# and server. The engine reads ahead of the client and can send |
| 855 |
# several rows of data in a single packet. The larger the packet size, |
| 856 |
# the more data is sent per transfer. Range is 1448 to 32767 (MAX_SSHORT). |
| 857 |
# |
| 858 |
# Type: integer |
| 859 |
# |
| 860 |
#TcpRemoteBufferSize = 8192 |
| 861 |
|
| 862 |
# |
| 863 |
# Either enables or disables Nagle algorithm (TCP_NODELAY option of |
| 864 |
# socket) of the socket connection. |
| 865 |
# |
| 866 |
# Note: Currently is a default for classic and super servers. |
| 867 |
# |
| 868 |
# Per-connection configurable. |
| 869 |
# |
| 870 |
# Type: boolean |
| 871 |
# |
| 872 |
#TcpNoNagle = 1 |
| 873 |
|
| 874 |
# |
| 875 |
# Either enables or disables the "TCP Loopback Fast Path" feature (SIO_LOOPBACK_FAST_PATH). |
| 876 |
# Applies to Windows (version 8/2012 or higher) only. |
| 877 |
# |
| 878 |
# Note: Microsoft has deprecated it and not recommended to use anymore. |
| 879 |
# To be removed in future Firebird versions. |
| 880 |
# |
| 881 |
# Type: Boolean, default 0 (false) |
| 882 |
# |
| 883 |
#TcpLoopbackFastPath = 0 |
| 884 |
|
| 885 |
# |
| 886 |
# Allows setting of IPV6_V6ONLY socket option. If enabled, IPv6 sockets |
| 887 |
# allow only IPv6 communication and separate sockets must be used for |
| 888 |
# IPv4 and IPv6. Default is false. |
| 889 |
# |
| 890 |
# Note: on Windows, the socket option can only be set since Windows Vista, |
| 891 |
# older versions have it always enabled. |
| 892 |
# |
| 893 |
# Type: boolean |
| 894 |
# |
| 895 |
#IPv6V6Only = 0 |
| 896 |
|
| 897 |
# |
| 898 |
# Allows incoming connections to be bound to the IP address of a |
| 899 |
# specific network card. It enables rejection of incoming connections |
| 900 |
# through any other network interface except this one. By default, |
| 901 |
# connections from any available network interface are allowed. |
| 902 |
# If you are using Classic Server, this setting is for Windows only. |
| 903 |
# Under Linux, BSD or Mac OS X, with Classic server use xinetd or launchd |
| 904 |
# configuration file (bind parameter). |
| 905 |
# |
| 906 |
# Type: string |
| 907 |
# |
| 908 |
#RemoteBindAddress = |
| 909 |
|
| 910 |
|
| 911 |
# ---------------------------- |
| 912 |
# Locking and shared memory parameters |
| 913 |
# |
| 914 |
# Bytes of shared memory allocated for lock manager. |
| 915 |
# In Classic mode, the size given is used for the initial allocation. The |
| 916 |
# table expands dynamically up to the limit of memory. |
| 917 |
# |
| 918 |
# Per-database configurable. |
| 919 |
# |
| 920 |
# Type: integer |
| 921 |
# |
| 922 |
#LockMemSize = 1M |
| 923 |
|
| 924 |
# |
| 925 |
# In Classic, only one client process may access the lock table at any |
| 926 |
# time. Access to the lock table is governed by a mutex. The mutex can |
| 927 |
# be requested conditionally - a wait is a failure and the request must |
| 928 |
# be retried - or unconditionally - the request will wait until it is |
| 929 |
# satisfied. This parameter establishes the number of attempts that |
| 930 |
# will be made conditionally. Zero value means unconditional mode. |
| 931 |
# Relevant only on SMP machines. |
| 932 |
# |
| 933 |
# Per-database configurable. |
| 934 |
# |
| 935 |
# Type: integer |
| 936 |
# |
| 937 |
#LockAcquireSpins = 0 |
| 938 |
|
| 939 |
# |
| 940 |
# Tune lock hash list; more hash slots mean shorter hash chains. Only |
| 941 |
# necessary under very high load. Prime number values are recommended. |
| 942 |
# |
| 943 |
# Per-database configurable. |
| 944 |
# |
| 945 |
# Type: integer |
| 946 |
# |
| 947 |
#LockHashSlots = 8191 |
| 948 |
|
| 949 |
# ---------------------------- |
| 950 |
# |
| 951 |
# Bytes of shared memory allocated for event manager. |
| 952 |
# |
| 953 |
# Per-database configurable. |
| 954 |
# |
| 955 |
# Type: integer |
| 956 |
# |
| 957 |
#EventMemSize = 64K |
| 958 |
|
| 959 |
# ---------------------------- |
| 960 |
# |
| 961 |
# Bytes of shared memory allocated for snapshots management. |
| 962 |
# This will grow automatically unless you use an exotic platform |
| 963 |
# that is neither Windows nor supports mmap system call. |
| 964 |
# Each active shapshot uses 16 bytes of memory. |
| 965 |
# |
| 966 |
# Per-database configurable. |
| 967 |
# |
| 968 |
# Type: integer |
| 969 |
# |
| 970 |
#SnapshotsMemSize = 64K |
| 971 |
|
| 972 |
|
| 973 |
# ---------------------------- |
| 974 |
# |
| 975 |
# Bytes of shared memory allocated for each block of TIP cache. |
| 976 |
# The reason to reduce this value is if you have small TIP and |
| 977 |
# want to conserve some memory. The reason to increase this |
| 978 |
# value is if you need very large cache and approach limits |
| 979 |
# on kernel objects allocated for each block (files, mutexes, etc). |
| 980 |
# Each cached transaction uses 8 bytes of memory. |
| 981 |
# |
| 982 |
# Per-database configurable. |
| 983 |
# |
| 984 |
# Type: integer |
| 985 |
# |
| 986 |
#TipCacheBlockSize = 4M |
| 987 |
|
| 988 |
|
| 989 |
# ---------------------------- |
| 990 |
# |
| 991 |
# File to redirect stdout and stderr output of server |
| 992 |
# |
| 993 |
# Default '/dev/null' for *nix and 'nul' for Windows |
| 994 |
# Empty value or '-' keeps stdout and stderr as is. |
| 995 |
# |
| 996 |
# Type: string |
| 997 |
# |
| 998 |
#OutputRedirectionFile = /dev/null |
| 999 |
|
| 1000 |
|
| 1001 |
# =========================== |
| 1002 |
# Engine Settings |
| 1003 |
# =========================== |
| 1004 |
# |
| 1005 |
# ---------------------------- |
| 1006 |
# Which CPUs should be used (Windows Only) |
| 1007 |
# |
| 1008 |
# In an SMP system, sets which processors can be used by the server. |
| 1009 |
# The value is taken from a bit map in which each bit represents a CPU. |
| 1010 |
# Thus, to use only the first processor, the value is 1. To use both |
| 1011 |
# CPU 1 and CPU 2, the value is 3. To use CPU 2 and CPU 3, the value |
| 1012 |
# is 6. The default value is 0 - no affinity will be set. |
| 1013 |
# |
| 1014 |
# Type: integer |
| 1015 |
# |
| 1016 |
#CpuAffinityMask = 0 |
| 1017 |
|
| 1018 |
|
| 1019 |
# ---------------------------- |
| 1020 |
# Garbage collection policy |
| 1021 |
# |
| 1022 |
# Defines how engine does garbage collection. Valid values are : |
| 1023 |
# cooperative |
| 1024 |
# background |
| 1025 |
# combined |
| 1026 |
# |
| 1027 |
# Superserver has by default "combined" policy |
| 1028 |
# Classic has by default "cooperative" policy. |
| 1029 |
# Other values are ignored by classic server build |
| 1030 |
# |
| 1031 |
# Per-database configurable. |
| 1032 |
# |
| 1033 |
# Type: string (special format) |
| 1034 |
# |
| 1035 |
#GCPolicy = combined |
| 1036 |
|
| 1037 |
|
| 1038 |
# ---------------------------- |
| 1039 |
# Security database |
| 1040 |
# |
| 1041 |
# Defines locations of security database (one that stores logins and passwords), |
| 1042 |
# used by server to validate remote connections. |
| 1043 |
# |
| 1044 |
# Per-database configurable. |
| 1045 |
# |
| 1046 |
# Type: string (pathname) |
| 1047 |
# |
| 1048 |
#SecurityDatabase = $(dir_secDb)/security4.fdb |
| 1049 |
|
| 1050 |
|
| 1051 |
# ============================== |
| 1052 |
# Settings for Windows platforms |
| 1053 |
# ============================== |
| 1054 |
# |
| 1055 |
# ---------------------------- |
| 1056 |
# Does the guardian restart the server every time it crashes? |
| 1057 |
# 0 - only start the engine/service once |
| 1058 |
# 1 - always restart the engine/service if it terminates |
| 1059 |
# |
| 1060 |
# Type: integer/boolean |
| 1061 |
# |
| 1062 |
#GuardianOption = 1 |
| 1063 |
|
| 1064 |
|
| 1065 |
# |
| 1066 |
# ---------------------------- |
| 1067 |
# Priority level/class for the server process. |
| 1068 |
# |
| 1069 |
# The values are: |
| 1070 |
# 0 (Zero) - normal priority, |
| 1071 |
# positive value - high priority (same as -B command line option) |
| 1072 |
# negative value - low priority. |
| 1073 |
# |
| 1074 |
# Note: All changes to this value should be carefully tested to ensure |
| 1075 |
# that engine is more responsive to requests. |
| 1076 |
# |
| 1077 |
# Type: integer |
| 1078 |
# |
| 1079 |
#ProcessPriorityLevel = 0 |
| 1080 |
|
| 1081 |
|
| 1082 |
# ---------------------------- |
| 1083 |
# Local Connection Settings |
| 1084 |
# |
| 1085 |
# The name of the shared memory area used as a transport channel in local protocol. |
| 1086 |
# Note that the local protocol in v2.0 is not compatible with any previous version |
| 1087 |
# if Firebird or InterBase. |
| 1088 |
# |
| 1089 |
# Please note that the server can register objects in Global\ kernel namespace |
| 1090 |
# only if it runs under the account with SE_CREATE_GLOBAL_NAME privilege. |
| 1091 |
# This means that if you run the server under a restricted account under |
| 1092 |
# Windows Vista/XP SP2/2000 SP4 it will not be accessible using the |
| 1093 |
# local protocol from other sessions. |
| 1094 |
# |
| 1095 |
# Per-connection configurable. |
| 1096 |
# |
| 1097 |
# Type: string |
| 1098 |
# |
| 1099 |
#IpcName = FIREBIRD |
| 1100 |
|
| 1101 |
# |
| 1102 |
# The name of the pipe used as a transport channel in NetBEUI protocol. |
| 1103 |
# Has the same meaning as a port number for TCP/IP. The default value is |
| 1104 |
# compatible with IB/FB1. |
| 1105 |
# |
| 1106 |
# Per-connection configurable. |
| 1107 |
# |
| 1108 |
# Type: string |
| 1109 |
# |
| 1110 |
#RemotePipeName = interbas |
| 1111 |
|
| 1112 |
# ---------------------------- |
| 1113 |
# The way of how to create names for named Windows kernel objects, such as |
| 1114 |
# events, memory mapped files, etc. Since v4.0.3 Firebird creates its named |
| 1115 |
# kernel objects in private namespace. It allows to interact processes within |
| 1116 |
# different Windows sessions, such as user session and system session. Also, |
| 1117 |
# it uses engine version in some shared event names - it allows single process |
| 1118 |
# to host Firebird engines of different versions. |
| 1119 |
# |
| 1120 |
# The legacy names is for backward compatibility only, it allows simultaneous |
| 1121 |
# run of Firebird processes of newly (>= v4.0.3) and older (< 4.0.3) |
| 1122 |
# subreleases of version 4. |
| 1123 |
# |
| 1124 |
# The setting is global. |
| 1125 |
# It is used for backward compatibility only and will not be present in the |
| 1126 |
# future Firebird versions. |
| 1127 |
# |
| 1128 |
# Type: boolean |
| 1129 |
# |
| 1130 |
#UseLegacyKernelObjectsNames = false |
| 1131 |
|
| 1132 |
|
| 1133 |
# ============================ |
| 1134 |
# Settings for Unix/Linux platforms |
| 1135 |
# ============================ |
| 1136 |
|
| 1137 |
# ---------------------------- |
| 1138 |
# Remove protection against redirecting requests to other servers |
| 1139 |
# |
| 1140 |
# ***WARNING*** ***WARNING*** ***WARNING*** ***WARNING*** |
| 1141 |
# |
| 1142 |
# Ability to redirect requests to other servers was initially present |
| 1143 |
# in Interbase, but was broken by Borland in Interbase 6.0, when |
| 1144 |
# they added SQL dialects. Request redirection was fixed in firebird 2.0, |
| 1145 |
# but today such behaviour (proxy) seems to be dangerous from security |
| 1146 |
# point of view. Imagine, you have one carefully protected firebird server, |
| 1147 |
# access to which is possible from global net. But in case when this server |
| 1148 |
# has access to your internal LAN (may and should be restricted, |
| 1149 |
# but often possible), it will work as a gateway for incoming requests like: |
| 1150 |
# firebird.your.domain.com:internal_server:/private/database.fdb |
| 1151 |
# It's enough to know name/IP of some internal server on your LAN, and for |
| 1152 |
# this connection one even need not know login/password on external server. |
| 1153 |
# Such gateway easily overrides firewall, installed to protect your LAN |
| 1154 |
# from outside attack. |
| 1155 |
# |
| 1156 |
# DO NOT ENABLE THIS OPTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING. |
| 1157 |
# |
| 1158 |
# Type: boolean |
| 1159 |
# |
| 1160 |
#Redirection = 0 |
| 1161 |
|
| 1162 |
|
| 1163 |
# ============================ |
| 1164 |
# Settings for Architecture Configuration |
| 1165 |
# ============================ |
| 1166 |
|
| 1167 |
# |
| 1168 |
# Controls the method Firebird engine uses to work with databases and |
| 1169 |
# related Firebird server startup parameters. |
| 1170 |
# |
| 1171 |
# The values are: |
| 1172 |
# Super / ThreadedDedicated - databases are opened exclusive by single server process, |
| 1173 |
# attachments share single DB pages cache inside process |
| 1174 |
# SuperClassic / ThreadedShared - databases are opened by single server process, |
| 1175 |
# but it does not prevent opening them in other processes (embedded access), |
| 1176 |
# each attachment has its own DB pages cache |
| 1177 |
# Classic / MultiProcess - for each attachment to server a separate process is started, |
| 1178 |
# each database may be opened by multiple processes (including local ones for |
| 1179 |
# embedded access), each attachment (process) has its own DB pages cache |
| 1180 |
# |
| 1181 |
# Type: string |
| 1182 |
# |
| 1183 |
#ServerMode = Super |
| 1184 |
|
| 1185 |
# ============================ |
| 1186 |
# Settings of External Connections Pool |
| 1187 |
# ============================ |
| 1188 |
|
| 1189 |
# Set the maximum number of inactive (idle) external connections to retain at |
| 1190 |
# the pool. Valid values are between 0 and 1000. If set to zero, pool is disabled, |
| 1191 |
# i.e. external connection is destroyed immediately after the use. |
| 1192 |
# |
| 1193 |
# Type: integer |
| 1194 |
# |
| 1195 |
#ExtConnPoolSize = 0 |
| 1196 |
|
| 1197 |
# Set the time before destroyng inactive external connection, seconds. |
| 1198 |
# Valid values are between 1 and 86400. |
| 1199 |
# |
| 1200 |
# Type: integer |
| 1201 |
# |
| 1202 |
#ExtConnPoolLifeTime = 7200 |