RE: Two tdb instances using same data files

2013-08-20 Thread Shapiro, Alexander
...@apache.org] Sent: Monday, August 19, 2013 16:06 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files On 19/08/13 13:21, Shapiro, Alexander wrote: Hi, A while ago I've asked a question about two tdb instances using same data files (see below). Now I'm using

Re: Two tdb instances using same data files

2013-08-20 Thread Andy Seaborne
(Location) Andy Thank you, Alex -Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: Monday, August 19, 2013 16:06 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files On 19/08/13 13:21, Shapiro, Alexander wrote: Hi, A while ago I've asked

RE: Two tdb instances using same data files

2013-08-20 Thread Shapiro, Alexander
] Sent: Tuesday, August 20, 2013 15:26 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files On 20/08/13 12:49, Shapiro, Alexander wrote: Andy, Thank you for your answer. We have about 10,000,000 triples in the data files. We will work on architecture changes. Meanwhile

Re: Two tdb instances using same data files

2013-08-20 Thread Andy Seaborne
the model? StoreConnection.release(Location) Andy Thank you, Alex -Original Message- From: Andy Seaborne [mailto:a...@apache.org] Sent: Monday, August 19, 2013 16:06 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files On 19/08/13 13:21, Shapiro

RE: Two tdb instances using same data files

2013-03-11 Thread Alex Shapiro
: Sunday, March 10, 2013 20:15 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files On 10/03/13 17:05, Marco Neumann wrote: Ok yes so this is a very bad idea as mentioned earlier. I would consider to replace the file access with an endpoint and execute select and update via

Re: Two tdb instances using same data files

2013-03-11 Thread Andy Seaborne
On 11/03/13 11:29, Alex Shapiro wrote: Thank you Marco and Andy! I perfectly understand that changes made in one JVM will not update the model in second JVM and that this is in general a bad idea :-). We are working on changing the architecture of our application. Meanwhile, let's say I know

Re: Two tdb instances using same data files

2013-03-10 Thread Marco Neumann
how do you access the tdb databases? in general it's a bad idea to grant access to the files to more than one client. On Sun, Mar 10, 2013 at 9:12 AM, Alex Shapiro alex.shap...@dbmotion.com wrote: Hi, We have 2 tdb instances (2 JVMs on separate machines) that access the same data files on

RE: Two tdb instances using same data files

2013-03-10 Thread Alex Shapiro
-Original Message- From: Marco Neumann [mailto:marco.neum...@gmail.com] Sent: Sunday, March 10, 2013 15:20 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files how do you access the tdb databases? in general it's a bad idea to grant access to the files to more than one

RE: Two tdb instances using same data files

2013-03-10 Thread Alex Shapiro
@jena.apache.org Subject: Re: Two tdb instances using same data files how do you guarantee that there are no concurrent read/writes on the files in the current setup? On Sun, Mar 10, 2013 at 9:33 AM, Alex Shapiro alex.shap...@dbmotion.com wrote: Generally there is a web services on each machine that passes

Re: Two tdb instances using same data files

2013-03-10 Thread Marco Neumann
Message- From: Marco Neumann [mailto:marco.neum...@gmail.com] Sent: Sunday, March 10, 2013 16:01 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files how do you guarantee that there are no concurrent read/writes on the files in the current setup? On Sun, Mar 10

RE: Two tdb instances using same data files

2013-03-10 Thread Alex Shapiro
Neumann [mailto:marco.neum...@gmail.com] Sent: Sunday, March 10, 2013 17:42 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files they are non static connections? On Sun, Mar 10, 2013 at 11:40 AM, Alex Shapiro alex.shap...@dbmotion.com wrote: There is an external lock

RE: Two tdb instances using same data files

2013-03-10 Thread Alex Shapiro
It keeps the reference to model in memory. Alex -Original Message- From: Marco Neumann [mailto:marco.neum...@gmail.com] Sent: Sunday, March 10, 2013 18:25 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files does the app terminate after each connection or do

Re: Two tdb instances using same data files

2013-03-10 Thread Marco Neumann
-Original Message- From: Marco Neumann [mailto:marco.neum...@gmail.com] Sent: Sunday, March 10, 2013 18:25 To: users@jena.apache.org Subject: Re: Two tdb instances using same data files does the app terminate after each connection or do they constantly hold a reference in memory

Re: Two tdb instances using same data files

2013-03-10 Thread Andy Seaborne
On 10/03/13 17:05, Marco Neumann wrote: Ok yes so this is a very bad idea as mentioned earlier. I would consider to replace the file access with an endpoint and execute select and update via SPARQL. Yes, use an endpoint - use Fuseki as a shared database server. It will go wrong otherwise.