1 |
####################################### |
2 |
# |
3 |
# Firebird 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, a number of the values are specified in **Bytes** (Not KB). |
23 |
# Accordingly, we have provided some simple conversion tables at the bottom |
24 |
# of this file. |
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 |
# |
35 |
# Boolean |
36 |
# ------- |
37 |
# Boolean is expressed as integer values with 0 (zero) being "false" and |
38 |
# non-zero is taken to mean "true". For consistency we recommend you |
39 |
# only use 0/1. |
40 |
# |
41 |
# String |
42 |
# ------ |
43 |
# Strings are also what they sound like, strings. Examples: |
44 |
# RootDirectory = /opt/firebird |
45 |
# RemotePipeName = pipe47 |
46 |
# |
47 |
# |
48 |
# Portions of this file have been reproduced/made available with the |
49 |
# permission of Ann Harrison @ IBPhoenix. |
50 |
# |
51 |
####################################### |
52 |
|
53 |
# ================================== |
54 |
# Settings for all platforms/engines |
55 |
# ================================== |
56 |
# |
57 |
# ---------------------------- |
58 |
# Specify the root directory under which Firebird is installed. |
59 |
# Can be used to override the OS-specifically determined one. |
60 |
# |
61 |
# Type: string |
62 |
# |
63 |
#RootDirectory = |
64 |
|
65 |
|
66 |
# ---------------------------- |
67 |
# Database Paths/Directories |
68 |
# |
69 |
# DatabaseAccess may be None, Full or Restrict. If you choose Restrict, |
70 |
# provide ';'-separated trees list, where database files are stored. |
71 |
# Relative paths are treated relative to RootDirectory entry |
72 |
# (see above). Default value 'Full' gives full access to all files |
73 |
# on your site. To specify access to specific trees, enum all required |
74 |
# paths (for Win32 this may be something like 'C:\DataBase;D:\Mirror', |
75 |
# for unix - '/db;/mnt/mirrordb'). If you choose 'None', then only |
76 |
# databases listed in aliases.conf can be attached. |
77 |
# |
78 |
# Note: simple quotation marks shown above should *NOT* be used when |
79 |
# specifying values and directory path names. Examples: |
80 |
# |
81 |
# DatabaseAccess = None |
82 |
# DatabaseAccess = Restrict C:\DataBase |
83 |
# DatabaseAccess = Restrict C:\DataBase;D:\Mirror |
84 |
# DatabaseAccess = Restrict /db |
85 |
# DatabaseAccess = Restrict /db;/mnt/mirrordb |
86 |
# DatabaseAccess = Full |
87 |
# |
88 |
# UNCONTROLLED DATABASE ACCESS MAY COMPROMISE YOUR SYSTEM! |
89 |
# IT IS STRONGLY RECOMMENDED THAT THIS SETTING BE USED TO LIMIT |
90 |
# DATABASE LOCATIONS! |
91 |
# |
92 |
# Type: string (special format) |
93 |
# |
94 |
#DatabaseAccess = Full |
95 |
|
96 |
|
97 |
# ---------------------------- |
98 |
# External File Paths/Directories |
99 |
# |
100 |
# ExternalFileAccess may be None, Full or Restrict. If you choose |
101 |
# Restrict, provide ';'-separated trees list, where external files |
102 |
# are stored. Relative paths are treated relative to RootDirectory entry |
103 |
# (see above). Default value 'None' disables any use of external files |
104 |
# on your site. To specify access to specific trees, enum all required |
105 |
# paths (for Win32 this may be something like 'C:\ExternalTables', |
106 |
# for unix - '/db/extern;/mnt/extern'). |
107 |
# |
108 |
# NOTE: THE EXTERNAL TABLE ENGINE FEATURE COULD BE USED TO COMPROMISE |
109 |
# THE SERVER/HOST AS WELL AS DATABASE SECURITY!! |
110 |
# |
111 |
# IT IS STRONGLY RECOMMENDED THAT THIS SETTING BE USED TO LIMIT |
112 |
# EXTERNAL TABLE LOCATIONS! |
113 |
# |
114 |
# Type: string (special format) |
115 |
# |
116 |
#ExternalFileAccess = None |
117 |
|
118 |
|
119 |
# ---------------------------- |
120 |
# External Function (UDF) Paths/Directories |
121 |
# |
122 |
# UdfAccess may be None, Full or Restrict. If you choose |
123 |
# Restrict, provide ';'-separated trees list, where UDF libraries |
124 |
# are stored. Relative paths are treated relative to RootDirectory entry |
125 |
# (see above). |
126 |
# |
127 |
# Default value 'Restrict UDF' provides the same restrictions |
128 |
# as in FB 1.0. To specify access to specific trees, enum all required |
129 |
# paths (for Win32 this may be something like 'C:\ExternalFunctions', |
130 |
# for unix - '/db/extern;/mnt/extern'). |
131 |
# |
132 |
# NOTE: THE EXTERNAL FUNCTION ENGINE FEATURE COULD BE USED TO COMPROMISE |
133 |
# THE SERVER/HOST AS WELL AS DATABASE SECURITY!! |
134 |
# |
135 |
# IT IS STRONGLY RECOMMENDED THAT THIS SETTING BE USED TO LIMIT |
136 |
# EXTERNAL FUNCTION LOCATIONS! |
137 |
# |
138 |
# Type: string (special format) |
139 |
# |
140 |
#UdfAccess = Restrict UDF |
141 |
|
142 |
|
143 |
# ---------------------------- |
144 |
# Temporary directories |
145 |
# |
146 |
# Provide ';'-separated trees list, where temporary files are stored. |
147 |
# Relative paths are treated relative to RootDirectory entry |
148 |
# (see above). Default value is determined using FIREBIRD_TMP, |
149 |
# TEMP or TMP environment options. Once the first specified |
150 |
# directory has no available space, the engine will switch to the |
151 |
# next one, and so on. |
152 |
# |
153 |
# E.g.: |
154 |
# TempDirectories = c:\temp |
155 |
# or |
156 |
# TempDirectories = c:\temp;d:\temp |
157 |
# |
158 |
# Type: string (special format) |
159 |
# |
160 |
#TempDirectories = |
161 |
|
162 |
|
163 |
# ---------------------------- |
164 |
# Legacy hash makes possible use of old security.fdb |
165 |
# after running misc/upgrade/security_database.sql. |
166 |
# If you want to disable logons with old passwords |
167 |
# after users' migration, set it to 0 (false). |
168 |
# Makes no difference when used with original |
169 |
# security2.fdb - it can't contain DES hash. |
170 |
# |
171 |
# Type: boolean |
172 |
# |
173 |
#LegacyHash = 1 |
174 |
|
175 |
# ---------------------------- |
176 |
# Which authentication method(s) should be used. |
177 |
# "native" means use of only traditional interbase/firebird |
178 |
# authentication with security database. |
179 |
# "trusted" (Windows Only) makes use of window trusted authentication, |
180 |
# and in some aspects this is the most secure way to authenticate. |
181 |
# "mixed" means both methods may be used. |
182 |
# |
183 |
# Type: string |
184 |
# |
185 |
#Authentication = native |
186 |
|
187 |
|
188 |
# ---------------------------- |
189 |
# Trace configuration file for system audit |
190 |
# |
191 |
# Empty value means that system audit is turned off. |
192 |
# |
193 |
# Type: string |
194 |
# |
195 |
#AuditTraceConfigFile = |
196 |
|
197 |
# ---------------------------- |
198 |
# Maximum summary size of each user trace session's log files in MB. |
199 |
# When log files size reach this limit, trace session automatically |
200 |
# suspends until interactive user service read and delete some log files. |
201 |
# |
202 |
# Type: integer |
203 |
# |
204 |
#MaxUserTraceLogSize = 10 |
205 |
|
206 |
|
207 |
# ---------------------------- |
208 |
# Number of cached database pages |
209 |
# |
210 |
# This sets the number of pages from any one database that can be held |
211 |
# in cache at once. If you increase this value, the engine will |
212 |
# allocate more pages to the cache for every database. By default |
213 |
# SuperServer allocates 2048 pages for each database whilst Classic |
214 |
# and SuperClassic allocate 75 pages per client connection per database. |
215 |
# |
216 |
# Type: integer |
217 |
# |
218 |
#DefaultDbCachePages = 2048 |
219 |
|
220 |
# ---------------------------- |
221 |
# Disk space preallocation |
222 |
# |
223 |
# Sets the amount of preallocated disk space in bytes. Disk space |
224 |
# preallocation allows to reduce physical file fragmentation and to make |
225 |
# database work in out of disk space condition. With preallocation enabled, |
226 |
# engine allocates 1/16nth of already allocated disk space at a time but |
227 |
# not less than 128KB and no more than DatabaseGrowthIncrement (128MB by |
228 |
# default). To disable preallocation set DatabaseGrowthIncrement to zero. |
229 |
# Shadow database files are not preallocated. |
230 |
# |
231 |
# Type: integer |
232 |
# |
233 |
#DatabaseGrowthIncrement = 134217728 |
234 |
|
235 |
# ---------------------------- |
236 |
# File system cache threshold |
237 |
# |
238 |
# The threshold value that determines whether Firebird will use file system |
239 |
# cache or not. File system caching is used if database cache size in pages |
240 |
# (configured explicitly in database header or via DefaultDbCachePages setting) |
241 |
# is less than FileSystemCacheThreshold value. |
242 |
# |
243 |
# To use file system cache always set FileSystemCacheThreshold to a large value. |
244 |
# To bypass file system cache for all databases set FileSystemCacheThreshold to |
245 |
# zero. |
246 |
# |
247 |
# Type: integer, measured in database pages |
248 |
# |
249 |
#FileSystemCacheThreshold = 65536 |
250 |
|
251 |
# ---------------------------- |
252 |
# File system cache size |
253 |
# |
254 |
# This setting controls the maximum amount of RAM used by Windows file system |
255 |
# cache on 64-bit Windows XP, Windows Server 2003 SP1 or later host. It has no |
256 |
# effect for Unix hosts in this release yet. |
257 |
# |
258 |
# Note that the lowest number presently supported is 10%, and the highest number |
259 |
# is 95%; numbers outside these limits will be set to the default of 30%. |
260 |
# |
261 |
# If the cache size has already been selected when the engine starts the host |
262 |
# setting will not be changed. Thus you may need to reboot the host for the |
263 |
# change of this setting to have effect. |
264 |
# |
265 |
# To leave host caching settings unchanged set this parameter to 0. This is |
266 |
# the default parameter value. |
267 |
# |
268 |
# Security note |
269 |
# To adjust the setting engine needs SeIncreaseQuotaPrivilege right. Built-in |
270 |
# service accounts and administrators have it by default. Installer grants this |
271 |
# right to Firebird service account. If the engine fails to adjust the cache |
272 |
# size setting it will log warning message to the firebird.log and continue. |
273 |
# |
274 |
# Type: integer, measured in % of total physical RAM |
275 |
# |
276 |
#FileSystemCacheSize = 0 |
277 |
|
278 |
# ---------------------------- |
279 |
# Remove protection against opening databases on NFS mounted volumes on |
280 |
# Linux/Unix and SMB/CIFS volumes on Windows. |
281 |
# |
282 |
# This also permits creating database shadows on mounted network volumes. |
283 |
# |
284 |
# ***WARNING*** ***WARNING*** ***WARNING*** ***WARNING*** |
285 |
# |
286 |
# This option removes an important safety feature of Firebird and can |
287 |
# cause irrecoverable database corruption. Do not use this option unless |
288 |
# you understand the risks and are prepared to accept the loss of the |
289 |
# contents of your database. |
290 |
# Unless this configuration option is changed from 0 to 1, Firebird can |
291 |
# open a database only if the database is stored on a drive physically |
292 |
# attached to the local computer - the computer running that copy of |
293 |
# Firebird. Requests for connections to databases stored on NFS mounted |
294 |
# drives are redirected to a Firebird server running on the computer that |
295 |
# "owns" the disk. |
296 |
# This restriction prevents two different copies of Firebird from opening |
297 |
# the same database without coordinating their activities. Uncoordinated |
298 |
# access by multiple copies of Firebird will corrupt a database. On a local |
299 |
# system, the system-level file locking prevents uncoordinated access to |
300 |
# the database file. |
301 |
# |
302 |
# NFS does not provide a reliable way to detect multiple users of a file on |
303 |
# an NFS mounted disk. If a second copy of Firebird connects to a database on |
304 |
# an NFS mounted disk, it will corrupt the database. |
305 |
# Under some circumstances, running a Firebird server on the computer that |
306 |
# owns NFS mounted volumes is inconvenient or impossible. Applications that |
307 |
# use the "embedded" variant of Firebird and never share access to a database |
308 |
# can use this option to permit direct access to databases on NFS mounted |
309 |
# volumes. |
310 |
# |
311 |
# The situation for SMB/CIFS is quite similar to NFS with not all configurations |
312 |
# providing file locking mechanisms needed for safe operation. Using SuperServer |
313 |
# engine with the database on NT file server may be considered relatively safe |
314 |
# as file locking protects the database from being used by the several engines. |
315 |
# Network stack can still change order of writes so you may get a corrupted |
316 |
# database in case of network errors or power outage. |
317 |
# |
318 |
# The useful and safe case is working with a shared database marked read-only. |
319 |
# |
320 |
# DO NOT ENABLE THIS OPTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING. |
321 |
# |
322 |
# Type: boolean |
323 |
# |
324 |
#RemoteFileOpenAbility = 0 |
325 |
|
326 |
# ---------------------------- |
327 |
# Temporary space management |
328 |
# |
329 |
# Temporary storage is used by the sorting module, it's also |
330 |
# intended to store temporary datasets etc. |
331 |
# |
332 |
# The parameters below handle the allocation and caching policy |
333 |
# for the temporary space manager. In previous Firebird versions, |
334 |
# they were prefixed with "SortMem" instead of current "Temp". |
335 |
# |
336 |
# The smallest block size being allocated in the temporary storage. |
337 |
# This value reflects the allocation granularity. |
338 |
# |
339 |
# Type: integer |
340 |
# |
341 |
#TempBlockSize = 1048576 |
342 |
|
343 |
# |
344 |
# The maximum amount of the temporary space that can be cached |
345 |
# in memory. |
346 |
# |
347 |
# For Classic servers, this setting is defaulted to 8 MB. |
348 |
# Although it can be increased, the value applies to each client |
349 |
# connection/server instance and thus consumes a lot of memory. |
350 |
# |
351 |
# Type: integer |
352 |
# |
353 |
#TempCacheLimit = 67108864 |
354 |
|
355 |
|
356 |
# ---------------------------- |
357 |
# Boolean evaluation method (complete or shortcut) |
358 |
# |
359 |
# If your SQL code depends on side-effects of full evaluation of OR |
360 |
# and AND statements (right-hand-side terms), even if the expressions |
361 |
# final result could be determined by just examining the value of the |
362 |
# first term, you might need to turn this on. |
363 |
# |
364 |
# Type: boolean |
365 |
# |
366 |
#CompleteBooleanEvaluation = 0 |
367 |
|
368 |
|
369 |
# ---------------------------- |
370 |
# |
371 |
# Determines the number of seconds that the lock manager will wait after a |
372 |
# conflict has been encountered before purging locks from dead processes |
373 |
# and doing extra deadlock scan cycle. Engine detects deadlocks instantly |
374 |
# in all normal cases, so this value affects things only if something goes |
375 |
# wrong. Setting it too low may degrade system performance. |
376 |
# |
377 |
# Type: integer |
378 |
# |
379 |
#DeadlockTimeout = 10 |
380 |
|
381 |
|
382 |
# ---------------------------- |
383 |
# |
384 |
# How often the pages are flushed on disk |
385 |
# (for databases with ForcedWrites=Off only) |
386 |
# |
387 |
# Number of unflushed writes which will accumulate before they are |
388 |
# flushed, at the next transaction commit. For non-Win32 ports, |
389 |
# the default value is -1 (Disabled) |
390 |
# |
391 |
# Type: integer |
392 |
# |
393 |
#MaxUnflushedWrites = 100 |
394 |
|
395 |
# |
396 |
# Number of seconds during which unflushed writes will accumulate |
397 |
# before they are flushed, at the next transaction commit. For non-Win32 |
398 |
# ports, the default value is -1 (Disabled) |
399 |
# |
400 |
# Type: integer |
401 |
# |
402 |
#MaxUnflushedWriteTime = 5 |
403 |
|
404 |
|
405 |
# ---------------------------- |
406 |
# |
407 |
# This option controls whether to call abort() when internal error or BUGCHECK |
408 |
# is encountered thus invoke post-mortem debugger which can dump core suitable |
409 |
# for off-line analysis. When disabled engine tries to minimize damage and |
410 |
# continue execution. |
411 |
# |
412 |
# Note that setting this option to 1 makes engine produce traceable coredumps |
413 |
# when something nasty like SIGSEGV happens inside UDF. On Windows enabling |
414 |
# this option makes engine invoke JIT debugger facilities when errors happen. |
415 |
# |
416 |
# For debugging builds (DEV_BUILD), default value is 1 (Enabled) |
417 |
# |
418 |
# Type: boolean |
419 |
# |
420 |
#BugcheckAbort = 0 |
421 |
|
422 |
|
423 |
# Prior to Firebird 1.5 various SELECT expressions generated unnamed |
424 |
# columns. This did not conform to the SQL standard. Fb 1.5 saw the |
425 |
# introduction of default aliases for these unnamed columns. In some |
426 |
# cases, particularly if string concatenation is used (via the || |
427 |
# operator) this breaks existing scripts. |
428 |
# |
429 |
# This setting will affect aliases generated via CONCATENATION, |
430 |
# CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP and EXTRACT. Setting |
431 |
# the value to true will disable the alias generation. It is only |
432 |
# recommended to be used where legacy scripts need to be supported. |
433 |
# It will be marked deprecated in Firebird 2.0 and removed in |
434 |
# Firebird 3.0. |
435 |
# |
436 |
# Type: boolean |
437 |
# |
438 |
#OldColumnNaming = 0 |
439 |
|
440 |
|
441 |
# Prior to Firebird 2.5 the SET clause of the UPDATE statement assigned |
442 |
# columns in the user-defined order with the NEW column values being |
443 |
# immediately accessible to the subsequent assignments. This did not |
444 |
# conform to the SQL standard. Starting with Firebird 2.5, only OLD column |
445 |
# values are accessible to all the assignments of the SET clause. |
446 |
# |
447 |
# Example of the old vs new behaviour: |
448 |
# |
449 |
# UPDATE T SET A = B, B = A |
450 |
# old result: A gets equal to B, B doesn't change |
451 |
# new result: A and B get their values exchanged |
452 |
# |
453 |
# Change this configuration option to 1 (true) only if your SQL code relies |
454 |
# on the legacy semantics of the SET clause. It's provided as a temporary |
455 |
# solution for backward compatibility issues and will be deprecated in |
456 |
# future Firebird versions. |
457 |
# |
458 |
# Type: boolean |
459 |
# |
460 |
#OldSetClauseSemantics = 0 |
461 |
|
462 |
|
463 |
# ---------------------------- |
464 |
# Relaxing relation alias checking rules in SQL |
465 |
# |
466 |
# Since Firebird 2.0, strict alias checking rules were implemented in the SQL |
467 |
# parser to accord with the SQL standard requirements. This setting allows |
468 |
# these rules to be relaxed in order to allow legacy applications to run on |
469 |
# Firebird 2.0. |
470 |
# A setting of 1 (true) allows the parser to resolve a qualified column reference |
471 |
# using the relation name, where an alias has been specified for that relation. |
472 |
# |
473 |
# For example, it allows a query such as: |
474 |
# SELECT TABLE.X FROM TABLE A |
475 |
# |
476 |
# It is not recommended to enable this setting. It should be regarded as an |
477 |
# interim workaround for porting untidy legacy code, until it is practicable to |
478 |
# revise such code. |
479 |
# |
480 |
# CAUTION! |
481 |
# There is no guarantee that this setting will be available in future Firebird |
482 |
# versions. |
483 |
# |
484 |
# Type: boolean |
485 |
# |
486 |
#RelaxedAliasChecking = 0 |
487 |
|
488 |
|
489 |
# ---------------------------- |
490 |
# Client Connection Settings (Basic) |
491 |
# |
492 |
# Seconds to wait before concluding an attempt to connect has failed. |
493 |
# |
494 |
# Type: integer |
495 |
# |
496 |
#ConnectionTimeout = 180 |
497 |
|
498 |
# |
499 |
# Seconds to wait on a silent client connection before the server sends |
500 |
# dummy packets to request acknowledgment. |
501 |
# |
502 |
# NOTE. This option may hang or crash Windows NT4 or Windows 2000 pre SP3 |
503 |
# on the client side as explained here: |
504 |
# http://support.microsoft.com/default.aspx?kbid=296265. |
505 |
# or may not prevent eventual inactive client disconnection for other OS. |
506 |
# |
507 |
# Normally, Firebird uses SO_KEEPALIVE socket option to keep track of |
508 |
# active connections. If you do not like default 2-hour keepalive timeout |
509 |
# then adjust your server OS settings appropriately. On UNIX-like OS's, |
510 |
# modify contents of /proc/sys/net/ipv4/tcp_keepalive_*. On Windows, |
511 |
# follow instrutions of this article: |
512 |
# http://support.microsoft.com/default.aspx?kbid=140325 |
513 |
# |
514 |
# Type: integer |
515 |
# |
516 |
#DummyPacketInterval = 0 |
517 |
|
518 |
|
519 |
# ---------------------------- |
520 |
# TCP Protocol Settings |
521 |
# |
522 |
# The TCP Service name/Port number to be used for client database |
523 |
# connections. |
524 |
# |
525 |
# It is only necessary to change one of the entries, not both. The |
526 |
# order of precendence is the 'RemoteServiceName' (if an entry is |
527 |
# found in the 'services.' file) then the 'RemoteServicePort'. |
528 |
# |
529 |
# Type: string, integer |
530 |
# |
531 |
#RemoteServiceName = gds_db |
532 |
#RemoteServicePort = 3050 |
533 |
|
534 |
# |
535 |
# The TCP Port Number to be used for server Event Notification |
536 |
# messages. The value of 0 (Zero) means that the server will choose |
537 |
# a port number randomly. |
538 |
# |
539 |
# Type: integer |
540 |
# |
541 |
#RemoteAuxPort = 0 |
542 |
|
543 |
# |
544 |
# TCP/IP buffer size for send and receive buffers of both the client |
545 |
# and server. The engine reads ahead of the client and can send |
546 |
# several rows of data in a single packet. The larger the packet size, |
547 |
# the more data is sent per transfer. Range is 1448 to 32767 (MAX_SSHORT). |
548 |
# |
549 |
# Type: integer |
550 |
# |
551 |
#TcpRemoteBufferSize = 8192 |
552 |
|
553 |
# |
554 |
# Either enables or disables Nagle algorithm (TCP_NODELAY option of |
555 |
# socket) of the socket connection. |
556 |
# |
557 |
# Note: Currently is a default for classic and super servers. |
558 |
# |
559 |
# Type: boolean |
560 |
# |
561 |
#TcpNoNagle = 1 |
562 |
|
563 |
# |
564 |
# Allows incoming connections to be bound to the IP address of a |
565 |
# specific network card. It enables rejection of incoming connections |
566 |
# through any other network interface except this one. By default, |
567 |
# connections from any available network interface are allowed. |
568 |
# If you are using Classic Server, this setting is for Windows only. |
569 |
# Under Linux, BSD or Mac OS X, with Classic server use xinetd or launchd |
570 |
# configuration file (bind parameter). |
571 |
# |
572 |
# Type: string |
573 |
# |
574 |
#RemoteBindAddress = |
575 |
|
576 |
|
577 |
# ---------------------------- |
578 |
# Locking and shared memory parameters |
579 |
# |
580 |
# Bytes of shared memory allocated for lock manager. |
581 |
# In Classic mode, the size given is used for the initial allocation. The |
582 |
# table expands dynamically up to the limit of memory. In SuperServer, the |
583 |
# initial size is also the final size. |
584 |
# |
585 |
# Type: integer |
586 |
# |
587 |
#LockMemSize = 1048576 |
588 |
|
589 |
# |
590 |
# When a connection wants to lock an object, it gets a lock request |
591 |
# block which specifies the object and the lock level requested. Each |
592 |
# locked object has a lock block. Request blocks are connected to those |
593 |
# lock blocks either as requests that have been granted, or as pending |
594 |
# requests. |
595 |
# |
596 |
# The settings: |
597 |
# 1 means locks are granted first come, first served. |
598 |
# 0 means emulate InterBase v3.3 behavior, where locks are granted |
599 |
# as soon as they are available; can result in lock request |
600 |
# starvation. |
601 |
# |
602 |
# Type: integer/boolean |
603 |
# |
604 |
#LockGrantOrder = 1 |
605 |
|
606 |
# |
607 |
# In Classic, only one client process may access the lock table at any |
608 |
# time. Access to the lock table is governed by a mutex. The mutex can |
609 |
# be requested conditionally - a wait is a failure and the request must |
610 |
# be retried - or unconditionally - the request will wait until it is |
611 |
# satisfied. This parameter establishes the number of attempts that |
612 |
# will be made conditionally. Zero value means unconditional mode. |
613 |
# Relevant only on SMP machines. |
614 |
# |
615 |
# Type: integer |
616 |
# |
617 |
#LockAcquireSpins = 0 |
618 |
|
619 |
# |
620 |
# Tune lock hash list; more hash slots mean shorter hash chains. Only |
621 |
# necessary under very high load. Prime number values are recommended. |
622 |
# |
623 |
# Type: integer |
624 |
# |
625 |
#LockHashSlots = 1009 |
626 |
|
627 |
# ---------------------------- |
628 |
# |
629 |
# Bytes of shared memory allocated for event manager. |
630 |
# |
631 |
# Type: integer |
632 |
# |
633 |
#EventMemSize = 65536 |
634 |
|
635 |
|
636 |
# =========================== |
637 |
# SuperServer Engine Settings |
638 |
# =========================== |
639 |
# |
640 |
# ---------------------------- |
641 |
# Which CPUs should be used (Windows Only) |
642 |
# |
643 |
# In an SMP system, sets which processors can be used by the server. |
644 |
# The value is taken from a bit map in which each bit represents a CPU. |
645 |
# Thus, to use only the first processor, the value is 1. To use both |
646 |
# CPU 1 and CPU 2, the value is 3. To use CPU 2 and CPU 3, the value |
647 |
# is 6. The default value is 1. |
648 |
# |
649 |
# Type: integer |
650 |
# |
651 |
#CpuAffinityMask = 1 |
652 |
|
653 |
|
654 |
# ---------------------------- |
655 |
# Settings for the thread scheduler (Windows Only) |
656 |
# |
657 |
# If you have problems with computer response time, running firebird |
658 |
# on workstation, turn off thread scheduler. |
659 |
# |
660 |
# Type: boolean |
661 |
# |
662 |
#UsePriorityScheduler = 1 |
663 |
|
664 |
# |
665 |
# The wait time, in milli-seconds (ms), before the priority of: |
666 |
# - an active thread is reduced to 'Low', or |
667 |
# - an inactive thread is increased to 'High' |
668 |
# |
669 |
# Note: The default value was chosen based on experiments on Intel |
670 |
# PIII/P4 processors. It should be increased for using in the computer |
671 |
# with lower speed processors. |
672 |
# |
673 |
# Type: integer |
674 |
# |
675 |
#PrioritySwitchDelay = 100 |
676 |
|
677 |
# |
678 |
# Number of additional 'intervals' given to a 'High' priority thread. |
679 |
# |
680 |
# Type: integer |
681 |
# |
682 |
#PriorityBoost = 5 |
683 |
|
684 |
# ---------------------------- |
685 |
# Garbage collection policy |
686 |
# |
687 |
# Defines how engine does garbage collection. Valid values are : |
688 |
# cooperative |
689 |
# background |
690 |
# combined |
691 |
# |
692 |
# Note: this setting affects SuperServer only. |
693 |
# |
694 |
# ClassicServer (and SuperClassic) implements "cooperative" only, therefore it |
695 |
# uses "cooperative" policy regardless of the value. |
696 |
# |
697 |
# SuperServer implements all three policies and uses "combined" by default. |
698 |
# |
699 |
# Type: string (special format) |
700 |
# |
701 |
#GCPolicy = combined |
702 |
|
703 |
|
704 |
# ============================== |
705 |
# Classic Server Engine Settings |
706 |
# ============================== |
707 |
# |
708 |
|
709 |
|
710 |
# ============================== |
711 |
# Settings for Windows platforms |
712 |
# ============================== |
713 |
# |
714 |
# ---------------------------- |
715 |
# Does the guardian restart the server every time it crashes? |
716 |
# 0 - only start the engine/service once |
717 |
# 1 - always restart the engine/service if it terminates |
718 |
# |
719 |
# Type: integer/boolean |
720 |
# |
721 |
#GuardianOption = 1 |
722 |
|
723 |
|
724 |
# |
725 |
# ---------------------------- |
726 |
# Priority level/class for the server process. |
727 |
# |
728 |
# The values are: |
729 |
# 0 (Zero) - normal priority, |
730 |
# positive value - high priority (same as -B command line option) |
731 |
# negative value - low priority. |
732 |
# |
733 |
# Note: All changes to this value should be carefully tested to ensure |
734 |
# that engine is more responsive to requests. |
735 |
# |
736 |
# Type: integer |
737 |
# |
738 |
#ProcessPriorityLevel = 0 |
739 |
|
740 |
|
741 |
# ---------------------------- |
742 |
# Local Connection Settings |
743 |
# |
744 |
# The name of the shared memory area used as a transport channel in local protocol. |
745 |
# Note that the local protocol in v2.0 is not compatible with any previous version |
746 |
# if Firebird or InterBase. |
747 |
# |
748 |
# Please note that the server can register objects in Global\ kernel namespace |
749 |
# only if it runs under the account with SE_CREATE_GLOBAL_NAME privilege. |
750 |
# This means that if you run the server under a restricted account under |
751 |
# Windows Vista/XP SP2/2000 SP4 it will not be accessible using the |
752 |
# local protocol from other sessions. |
753 |
# |
754 |
# Type: string |
755 |
# |
756 |
#IpcName = FIREBIRD |
757 |
|
758 |
# |
759 |
# The name of the pipe used as a transport channel in NetBEUI protocol. |
760 |
# Has the same meaning as a port number for TCP/IP. The default value is |
761 |
# compatible with IB/FB1. |
762 |
# |
763 |
# Type: string |
764 |
# |
765 |
#RemotePipeName = interbas |
766 |
|
767 |
|
768 |
# ============================ |
769 |
# Settings for Unix/Linux platforms |
770 |
# ============================ |
771 |
|
772 |
# ---------------------------- |
773 |
# Remove protection against redirecting requests to other servers |
774 |
# |
775 |
# ***WARNING*** ***WARNING*** ***WARNING*** ***WARNING*** |
776 |
# |
777 |
# Ability to redirect requests to other servers was initially present |
778 |
# in Interbase, but was broken by Borland in Interbase 6.0, when |
779 |
# they added SQL dialects. Request redirection was fixed in firebird 2.0, |
780 |
# but today such behaviour (proxy) seems to be dangerous from security |
781 |
# point of view. Imagine, you have one carefully protected firebird server, |
782 |
# access to which is possible from global net. But in case when this server |
783 |
# has access to your internal LAN (may and should be restricted, |
784 |
# but often possible), it will work as a gateway for incoming requests like: |
785 |
# firebird.your.domain.com:internal_server:/private/database.fdb |
786 |
# It's enough to know name/IP of some internal server on your LAN, and for |
787 |
# this connection one even need not know login/password on external server. |
788 |
# Such gateway easily overrides firewall, installed to protect your LAN |
789 |
# from outside attack. |
790 |
# |
791 |
# DO NOT ENABLE THIS OPTION UNLESS YOU REALLY KNOW WHAT YOU ARE DOING. |
792 |
# |
793 |
# Type: boolean |
794 |
# |
795 |
#Redirection = 0 |
796 |
|
797 |
####################################### |
798 |
# |
799 |
# KB to Bytes Conversion table |
800 |
# |
801 |
####################################### |
802 |
# |
803 |
# KB Bytes KB Bytes |
804 |
# ---- --------- ---- --------- |
805 |
# 1 1024 32 32768 |
806 |
# 2 2048 64 65536 |
807 |
# 4 4096 128 131072 |
808 |
# 8 8192 256 262144 |
809 |
# 16 16384 512 524288 |
810 |
# |
811 |
####################################### |
812 |
# |
813 |
# MB to Bytes Conversion table |
814 |
# |
815 |
####################################### |
816 |
# |
817 |
# MB Bytes MB Bytes MB Bytes |
818 |
# --- --------- --- ----------- --- ----------- |
819 |
# 1 1048576 64 67108864 448 469762048 |
820 |
# 2 2097152 128 134217728 512 536870912 |
821 |
# 4 4194304 192 201326592 640 671088640 |
822 |
# 8 8388608 256 268435456 768 805306368 |
823 |
# 16 16777216 320 335544320 896 939524096 |
824 |
# 32 33554432 384 402653184 1024 1073741824 |
825 |
# |