Fuseki compact through java code
See original GitHub issueI’m on version 4.3.2 through docker secoresearch/fuseki and have a dataset with name ‘/fedora’. The database is growing like crazy after deletes and posts of the same element.
So I have understood I need to proactively compact the database, like described here: https://jena.apache.org/documentation/tdb2/tdb2_admin.html#compaction
DatabaseMgr.compact(dataSet.asDatasetGraph(), true);
But how to I get to the first parameter, dataSet
?
I have a RDFConnection object initialized with username/password.
Issue Analytics
- State:
- Created a year ago
- Comments:33 (14 by maintainers)
Top Results From Across the Web
jena/TestFusekiMainCmd.java at main · apache/jena · GitHub
jena /jena-fuseki2/jena-fuseki-main/src/test/java/org/apache/jena/fuseki/main/TestFusekiMainCmd.java · Go to file T · Go to line L · Copy path · Copy permalink.
Read more >Configuring Fuseki - Apache Jena
A Fuseki server is configured by defining the data services (data and actions available ... The command line, using --conf to provide a...
Read more >org.apache.jena.fuseki.main.FusekiServer java code examples
Embedded Fuseki server. This is a Fuseki server running with a pre-configured set of datasets and services. There is no admin UI and...
Read more >Fuseki compact through java code - Issues Antenna
Fuseki compact through java code. I'm on version 4.3.2 through docker secoresearch/fuseki and have a dataset with name '/fedora'.
Read more >[GitHub] [jena] kdejaeger commented on issue #1252: Fuseki ...
... kdejaeger commented on issue #1252: Fuseki compact through java code ... So yes, other part of our code that read or write...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think I have identified the problem - an update during the compaction can cause the transaction coordinator to block. It is a deadlock - no amount of waiting will cause the system to unblock.
I don’t know unfortunately. We’ll add a backup command before the compact command, to be safe.