Thanks for your replies!
On 2023/01/21 10:34:30 Andy Seaborne wrote: > > > On 20/01/2023 20:35, Bruno Kinoshita wrote: > > Hi Christian, > > > > I never had to use these settings.... > > > > Does this document also apply to TBD2 > > It should do. > Great! > >> > > > > I searched for the first setting, block_read_cache_size, in > > github.com/apache/jena, and found these settings in this TDB2 class: > > https://github.com/apache/jena/blob/162f0ddfa2764ce926a2a00f59f6261657f29c5f/jena-tdb2/src/main/java/org/apache/jena/tdb2/params/StoreParamsConst.java#L29-L87 > > > > Doesn't mean 100% they are used, but it could be a starting point if you > > want to start debugging until others reply here. > > Christian - could you say a little about what you are trying to > configure for? > Jena performance is actually very good for our scenarios, but it is always interesting to optimize performance, as this saves time for the users of our application. Our database files typically take up around 4-5 GB of disk space, so I was wondering if we can configure Java/Jena to hold the whole database in-memory. I did read about memory mapped files in https://jena.apache.org/documentation/tdb/architecture.html, so I guess much is left to the OS, which in our case is Windows. > > > > or is there a similar document for > >> TDB2 somewhere? > >> > > > > I searched for some of the keys in that TDB2 class in the > > github.com/apache/jena-site, but only found the page that you linked. So my > > guess is that that page is missing for TDB2 (assuming the cache settings > > are indeed used). > > Almost all the documentation applied to both. > Good to know. > (and time to make TDB2 the "default" in the documentation) > > Andy > > > > > Cheers > > > > Bruno > > > > > > On Fri, 20 Jan 2023 at 11:37, Christian Clausen > > <ch...@stati-cal.com.invalid> wrote: > > > >> I have been looking for information about cache configuration of TDB2 and > >> found the following document: > >> https://jena.apache.org/documentation/tdb/store-parameters.html > >> > >> Does this document also apply to TBD2 or is there a similar document for > >> TDB2 somewhere? > >> > >> /Christian Clausen > >> > > >