€35
FBOpt is a command-line tool for migrating and optimizing Firebird databases. The tool addresses some aspects of the internal structure of databases that the Firebird engine itself cannot rectify, and some issues that survive even a backup and restore with gbak.
Beside optimization, FBOpt can be also used to upgrade or downgrade databases between Firebird versions (ODS structures), convert databases to new default character set, or to create regular gbak database backups with simultaneous restore.