Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On Mon, 2013-07-08 at 15:19 +0100, Andrzej J. R. Hunt wrote:

It might be possible to do all of this within the driver itself, and then write the complete fdb
from external storage into the .odb as appropriate (transaction committed, etc.), all controlled
by the driver, which seems most sensible to me. (The Storage object is accessible from the driver,
the HSQLDB does so.)


W.r.t. to the location of the extracted firebird db: would an appropriate naming scheme be to have
e.g. ~foo.odb.fdb#  for a foo.odb (in the same directory) similarly to the lock files that are
created? (This could also allow for better recovery should we end up with similar corruption
as is apparently happening with HSQLDB if there is a complete separate db.)

On further thought this seems best and is what I'll try to implement -- for versioning information
and other db properties I'll use the same database/properties file which hsqldb based .odb files
use, and store the db itself as database/database.fdb (hsqldb seems to use multiple files all of
which are stored under database/. It shouldn't be too hard to have the same driver load an
external fdb file and configure this using the properties file (some users are requesting this) --
the main difficulty here would be having the gui to set this up, so initially I'll stick with a
completely internal file.

I assume we'd want to store any icu related information in the same properties file to be able to
detect whether we need to do any special stuff related to the indexes?


Cheers,

        Andrzej



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.