Sharing a read-only database between multiple BaseX instances

Thursday, 17 March 2016 · 2 messages
CM
Christophe Marchand17 Mar 2016 13:55 #
Hello, I have a collection which is read-only. This collection is used as source for multiple XQuery update operations, operations which do not modify this read-only collection. For performance questions, I want to parallelize my XQuery operations. So I want to have multiple BaseX instances - say 8 - sharing exactly the same read-only collection, each instance performing a XQuery update on a small amount of data As this collection is read-only, may I physically copy files (after import) from an instance to another, if instances are on different hosts, and may I symlink collection files from an instance to another if instances are on the same hosts ? When I import data in the "read-only" collection to initialize it, only one instance is started... Best, Christophe
-- Christophe MARCHAND Consultant Formateur cmarchand at oxiane.com <mailto:cmarchand at oxiane.com> LD : (+33)1 84 19 19 76 GSM : +33 (0)6 23 41 09 17 oxiane 98, avenue du Général Leclerc 92100 Boulogne-Billancourt Standard : (+33)1 55 60 76 72 Fax : (+33)1 55 60 76 73 www.oxiane.com <http://www.oxiane.com> Notre catalogue formations 2016 Notre catalogue formations 2015 <http://www.oxiane.com/wp-content/uploads/2015/11/OXiane_Catalogue_2016.pdf>
DK
Dirk Kirsten17 Mar 2016 14:30 #
Hello Christophe, that should be absolutely fine. Cheers Dirk
Quoted text · Christophe Marchand · 44 lines
On 03/17/2016 01:55 PM, Christophe Marchand wrote: > Hello, > > I have a collection which is read-only. This collection is used as > source for multiple XQuery update operations, operations which do not > modify this read-only collection. > For performance questions, I want to parallelize my XQuery operations. > So I want to have multiple BaseX instances - say 8 - sharing exactly > the same read-only collection, each instance performing a XQuery > update on a small amount of data > > As this collection is read-only, may I physically copy files (after > import) from an instance to another, if instances are on different > hosts, and may I symlink collection files from an instance to another > if instances are on the same hosts ? > When I import data in the "read-only" collection to initialize it, > only one instance is started... > > Best, > Christophe > -- > > > Christophe MARCHAND > > Consultant Formateur > cmarchand at oxiane.com <mailto:cmarchand at oxiane.com> > LD : (+33)1 84 19 19 76 > GSM : +33 (0)6 23 41 09 17 > > oxiane > > 98, avenue du Général Leclerc > 92100 Boulogne-Billancourt > Standard : (+33)1 55 60 76 72 > Fax : (+33)1 55 60 76 73 > www.oxiane.com <http://www.oxiane.com> > > > Notre catalogue formations 2016 > > Notre catalogue formations 2015 > <http://www.oxiane.com/wp-content/uploads/2015/11/OXiane_Catalogue_2016.pdf> >
-- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 91 68 276, Fax: 0049 7531 20 05 22

⚡Generated with XQuery