Re: read-only Fuseki TDB2

2023-09-19 Thread Andy Seaborne
While in TDB2, read-transactions never write, there is a case where a read-only setup needs to do writes. It happens only at start-up and only the first time after the database is written during setup. If there is a journal file with outstanding changes, these are completed before the

Re: read-only Fuseki TDB2

2023-09-18 Thread Jim Balhoff
> On Sep 18, 2023, at 11:09 AM, Andy Seaborne wrote: > > > > On 18/09/2023 15:35, Jim Balhoff wrote: >> Thanks, I think that’s basically what I’ve got. The only operation I have >> enabled is 'fuseki:query’. But Fuseki still complains if the filesystem is >> read-only. > > The database is

Re: read-only Fuseki TDB2

2023-09-18 Thread Andy Seaborne
On 18/09/2023 15:35, Jim Balhoff wrote: Thanks, I think that’s basically what I’ve got. The only operation I have enabled is 'fuseki:query’. But Fuseki still complains if the filesystem is read-only. The database is opened before the configuration is processed. Also, there is only one

Re: read-only Fuseki TDB2

2023-09-18 Thread Jim Balhoff
Thanks, I think that’s basically what I’ve got. The only operation I have enabled is 'fuseki:query’. But Fuseki still complains if the filesystem is read-only. > On Sep 18, 2023, at 10:03 AM, Martynas Jusevičius > wrote: > > This looks like the configuration that you need: >

Re: read-only Fuseki TDB2

2023-09-18 Thread Martynas Jusevičius
This looks like the configuration that you need: https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html#read-only-service On Mon, Sep 18, 2023 at 2:43 PM Jim Balhoff wrote: > > Hi, > > Is it possible to run a Fuseki server using a read-only TDB2 directory? I’d > like to run a

Re: read-only Fuseki TDB2

2023-09-18 Thread Andy Seaborne
The TDB2 database is open for general use (i.e. write). You can get read-only by restricting the operations on the dataset to only query and the read functions of the Graph Store Protocol. Being SPARQL, query operations and write (update) operations are separate by syntax and there are

Re: read-only Fuseki TDB2

2023-09-18 Thread Pedro
I think it depends more on query than with the back end, but don't have detailed comparisons. Perhaps others do. On Mon, 18 Sept 2023, 14:43 Jim Balhoff, wrote: > Thanks, maybe that would be a good fit. Do you know how query performance > compares running over HDT compared to TDB2? Or is that

Re: read-only Fuseki TDB2

2023-09-18 Thread Jim Balhoff
Thanks, maybe that would be a good fit. Do you know how query performance compares running over HDT compared to TDB2? Or is that question is too dependent on the particular queries to answer? > On Sep 18, 2023, at 8:51 AM, Pedro > wrote: > > Jim > Perhaps

Re: read-only Fuseki TDB2

2023-09-18 Thread Pedro
Jim Perhaps https://www.rdfhdt.org/manual-of-hdt-integration-with-jena/ will suit your need. Cheers Peter On Mon, 18 Sept 2023, 13:43 Jim Balhoff, wrote: > Hi, > > Is it possible to run a Fuseki server using a read-only TDB2 directory? > I’d like to run a query-only SPARQL endpoint, no updates.

read-only Fuseki TDB2

2023-09-18 Thread Jim Balhoff
Hi, Is it possible to run a Fuseki server using a read-only TDB2 directory? I’d like to run a query-only SPARQL endpoint, no updates. However I get an exception at startup if the filesystem is read-only. Does Fuseki need to acquire the lock even if updates are turned off? Thank you, Jim