The GTR Firebird Database Management Tool maintains and upgrades Firebird databases. It consists of two programs:
- GUI application (
firebird-gui.exe): a window with tabs and buttons. Use it for daily work. - Command line application (
firebird_manage.exe): a console program for scripts and advanced users.
Both programs run the same database operations and read the same settings file (.env).
What the tool does
The tool runs three operations:
| Operation | What it does | When to use it |
|---|---|---|
| Vacuum Firebird 2.5 | Rebuilds a Firebird 2.5 database | The database file has grown large or the database has become slow |
| Vacuum Firebird 5.x | Rebuilds a Firebird 5.x database | The database file has grown large or the database has become slow |
| Migrate from Firebird 2.5 to 5.x | Converts a Firebird 2.5 database to the Firebird 5 format | The database moves to a Firebird 5 server |
The GUI application reaches the database in three ways:
- as a file on this computer
- as a file on a network share
- over TCP/IP through the Firebird port, also on a Firebird server on another computer
After a migration, the GTR DB Config tab switches the database settings of a GTR program to Firebird 5. Examples are NCPro_db.ini of ProfDia and Nestcut_db.ini of NestCut. See Migrating the database configuration.
Moving from Firebird 2.5 to Firebird 5
If Firebird, the database and the GTR program are on one computer, follow Migration step by step.
In all other cases, run these steps in this order:
- Run the GTR Firebird setup on every computer with a GTR program and on the database server. See Installation.
- Migrate the database. If the database is on a server, run the migration directly on the server and not from a client. See Remote databases.
- Switch the database configuration on every computer with a GTR program. The INI files are stored locally on each computer. See Migrating the database configuration.
- Check that the GTR programs work with the migrated database.
- Uninstall Firebird 2.5. See Removing Firebird 2.5.
What “vacuum” means
Firebird does not release the space of deleted records right away. Over time the database file grows larger than its data needs. A vacuum rebuilds the database in two steps:
- The tool backs up the database with the Firebird backup service.
- It restores the backup over the original database file.
The restored database contains no unused space. The result is a smaller file and usually a faster database.
How the operations work describes each step and the safety copy in detail.