Supercharging FirebirdSQL
Introduction
By default, Firebird does not fully utilize the available RAM. The steps below show how to adjust Firebird's page cache settings to:
- Make better use of available RAM (up to ~90% depending on database size and number of attached databases)
- Improve database performance
Requirement
- 64-bit Firebird Server
- Minimum 16 GB of RAM (recommended)
Important: Make sure the server has a reliable UPS and that you test changes in a non-production environment first. Adjusting cache settings can significantly increase memory use and may affect system stability if not tested.
Steps
-
Browse to Firebird folder (Normally in
C:\Program Files\Firebird\Firebird_3_0for Firebird 3). -
Look for firebird.conf file & copy to Desktop.
-
Open the firebird.conf at Desktop.
-
Look for #DefaultDbCachePages = 2048.
-
Remove the # .
-
Change the 2048 to 1000000 for 16 GB RAM. (will use 8GB RAM)
-
Save the file.
-
Copy the firebird.conf at Desktop.
-
Paste & Replace it in the Firebird folder firebird.conf file.
-
Restart the Server.