Upgrades and version compatibility

Friday, 12 December 2014 · 2 messages
PH
Pascal Heus12 Dec 2014 11:54 #
Is there any documentation available around database compatibility across BaseX versions? For example, can I use a 7.6 database with 7.7 / 7.8 / 7.9 / 8.0 etc.? If I opena 7.6 database with 7.9, it may work may can the database still be used with 7.6 if I make any change? I we want to convert a 7.6 database to 7.9 or 8.0, what would be the easiest approach (besides a full reload of the source document, which in some case is not possible)? We have a couple projects running on 7.2 and 7.6 and trying to find a good upgrade strategy. Also, some users have opened these databases with more recent releases and experiencing stability issue so trying to determine if this could be a source of the problems. thanks *P
CG
Christian Grün12 Dec 2014 18:22 #
Hi Pascal,
Quoted text · Pascal Heus · 2 lines
> Is there any documentation available around database compatibility > across BaseX versions?
The database layout has been changed with Version 7.1 and 7.8 of BaseX (see the history of the DataText class, and the STORAGE variable, for more information [1]). for quite a long time now, we have been ensuring the backward compatibility of databases. This means that you shouldn't encounter any problems when opening databases that have been created with older versions of BaseX. This does not hold for the other direction, though. Christian [1] https://github.com/BaseXdb/basex/blob/master/basex-core/src/main/java/org/basex/data/DataText.java

⚡Generated with XQuery