Should I use GDB or FDB extension?


Short answer: use FDB

Long answer:

On non-Windows platforms it does not matter much. GDB has historically been an extension for InterBase databases. Firebird is a fork of InterBase 6.0, so it inherited that. However, Windows systems since Windows XP have a System Restore feature, and GBD extension is included in extensions 'protected' by it:

http://msdn.microsoft.com/en-us/library/aa378870(VS.85).aspx

This means that database file will be backed up by Windows any time any write is done to it. Since Firebird writes information about each transaction in the file, this process will happen all the time. If you have a large database file, this can seriously affect performance.

This is the main reason. Beside that, Firebird is getting more and more different from InterBase and newer ODS versions (database file structure) and no longer compatible. So it is good to make it clear that database is no longer InterBase compatible file.

Firebird developers decided to use .fdb extension for new security database, so this is now a common extension to be used. Please note that there is nothing special about it, so you could use any extension and the database will work.


Do you find this FAQ incorrect or incomplete? Please e-mail us what needs to be changed. To ensure quality, each change is checked by our editors (and often tested on live Firebird databases), before it enters the main FAQ database. If you desire so, the changes will be credited to your name. To learn more, visit our add content page.

If you are a commercial tool maker and your tool features a great way to handle the issue written about in this FAQ, please check out our advertisement page.



All contents are copyright © 2007-2017 FirebirdFAQ.org unless otherwise stated in the text.


Links   Firebird   News   FlameRobin   Home Inventory powered by FB  
Add content   Advertise   About  

Categories
 Newbies
 SQL
 Installation and setup
 Backup and restore
 Performance
 Security
 Connectivity and API
 HOWTOs
 Errors and error codes
 Miscellaneous