# Configuration file for Firebird databases, optimized by IBSurgeon, released 23 March 2020
# It is optimized for 16-32Gb RAM. Apply firebird_30_superserver_64bit_ram16gb.conf with this configuration!

## In this example, we assume you have 1 big and loaded database main.fdb, 
## and 2 less loaded second.fdb and third.fdb 

## Rename aliases and change paths according your databases names

## The recommended total page buffers size is 25-30% for all databases!
## If you have more databases on the same server, increase RAM, or reduce page buffers even more,
## or consider to use SuperClassic/Classic (use appropariate conf files)
## If you have only 1 database, you may increase DefaultDbCachePages up to 350K.

########## Any questions? Contact us: support@ib-aid.com


main.fdb=C:\Databases\main.fdb
{
	DefaultDbCachePages = 250K  #2Gb of RAM for page buffers for 8K pagesize, 4Gb for 16k pagesize
}


second.fdb=C:\Databases\second.fdb
{
	DefaultDbCachePages = 50K #400Mb of RAM for page buffers for 8k pagesize, 800Mb for 16k pagesize
}


third.fdb=C:\Databases\third.fdb
{
	DefaultDbCachePages = 50K #400Mb of RAM for page buffers for 8k pagesize, 800Mb for 16k pagesize
}


### from the original databases.conf

employee.fdb = $(dir_sampleDb)/employee.fdb
employee = $(dir_sampleDb)/employee.fdb

# Master security database specific setup.
# Do not remove it until you understand well what are you doing!
#
security.db = $(dir_secDb)/security3.fdb
{
	RemoteAccess = false
	DefaultDbCachePages = 250
}
