
If database’s ODS is less than main ODS of the server, the server may work with that database if it supports its ODS. This way XE7 will create databases (including restore) with the specified ODS (13, 15, 16) as default.Įach version of server always uses (except InterBase XE7) its main ODS number for the created or restored database. ODS 11.2 is incompatible with Firebird 2.0/2.1. ODS 11 of Firebird 2.0 is incompatible to InterBase 7.x
#Disk aid file transfer upgrade#
InterBase 7.5 will upgrade InterBase ODS 11.0/11.1 to 11.2, which is incompatible for previous versions (7.0/7.1) This is the only one known incompatibility of database format between 32/64bit versions. ODS 10.1 of 64bit Firebird 1.5 is incompatible to 32bit ODS 10.1. It is dangerous to work with ODS 9.x, because new InterBase and Firebird use new metadata format, which is not recognized by InterBase 5.x InterBase 5.x forcibly upgrades ODS 8.0 to 8.2 InterBase 4.2 forcibly upgrades ODS 8.0 to 8.2 Here you can see the table of ODS version, since InterBase 4.0 (1994). Sometimes you can get another kind of message, from the server (not from gstat) but with the same meaning.įor example, when Firebird 1.5 server tries to open Firebird 2.x database: unsupported on-disk structure for file. Wrong ODS version, expected 11, encountered 15 – Firebird 2.x tries to open InterBase XE/XE3 database Wrong ODS version, expected 11, encountered 11 – Firebird 2.x tries to open InterBase 7.x database

Wrong ODS version, expected 15, encountered 32779 – InterBase XE/XE3 tries to open Firebird 2.x database Wrong ODS version, expected 8, encountered 13? – InterBase 4.x tries to open IntrBase 2009 database Wrong ODS version, expected 8, encountered 32779? – InterBase 4.x tries to open Firebird 2.x database So, this means you have incorrect Firebird or InterBase installation, and need to fix that. It will show something like can't format message 21:3 - message file. The exception of getting an understandable message is when gstat can not find firebird.msg or interbase.msg. Here, you see ODS number 32779 – this is encoded 11, with the high bit added since Firebird 2.0 (in hex it will be 800B, where B = 11), to avoid confusion between InterBase and Firebird databases, because from some point they had equal ODS number, but very different database format. If gstat will not understand read information, it will show corresponding message – what it expected, and what it found.įor example, if we run gstat from InterBase 4 at database from Firebird 2, it will show Wrong ODS version, expected 8, encountered 32779?

#Disk aid file transfer password#
User and password here unnecessary, because gstat with –h option just read physical part of the database (header page, number 0). You can find out ODS of your database running the following command gstat –h database_file_name But there are some limitations, which will be described further. This allows the server to work with database files from previous versions and simplify the transition from the old server to a new one.

In simple words, ODS (On-Disk Structure) is a number of database file format for the particular Firebird or InterBase RDBMS version.Īlmost all versions use so-called “Y-valve” to support current ODS and some old ODS. All Firebird and InterBase On-Disk-Structure (ODS) versionsīy Dmitry Kuzmenko, 2 What is On-Disk Structure (ODS) Number
