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:

OperationWhat it doesWhen to use it
Vacuum Firebird 2.5Rebuilds a Firebird 2.5 databaseThe database file has grown large or the database has become slow
Vacuum Firebird 5.xRebuilds a Firebird 5.x databaseThe database file has grown large or the database has become slow
Migrate from Firebird 2.5 to 5.xConverts a Firebird 2.5 database to the Firebird 5 formatThe 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:

  1. Run the GTR Firebird setup on every computer with a GTR program and on the database server. See Installation.
  2. 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.
  3. 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.
  4. Check that the GTR programs work with the migrated database.
  5. 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:

  1. The tool backs up the database with the Firebird backup service.
  2. 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.

Chapters