1

I'm setting up a demo with a database that contains around 150 million triples and wanted to confirm with you what repo settings I should change to maximize the performance of read queries. The only two things I have changed in the attached template so far were:

  owlim:entity-index-size "155000000" ;
  owlim:entity-id-size  "32" ;

Any recommendations for updates, as well? Please find the config template below. Thanks.

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix rep: <http://www.openrdf.org/config/repository#>.
@prefix sr: <http://www.openrdf.org/config/repository/sail#>.
@prefix sail: <http://www.openrdf.org/config/sail#>.
@prefix owlim: <http://www.ontotext.com/trree/owlim#>.

[] a rep:Repository ;
    rep:repositoryID "Northwind" ;
    rdfs:label "Northwind sample database" ;
    rep:repositoryImpl [
        rep:repositoryType "graphdb:FreeSailRepository" ;
        sr:sailImpl [
            sail:sailType "graphdb:FreeSail" ;

            owlim:owlim-license "" ;

            owlim:base-URL "http://example.org/graphdb#" ;
            owlim:defaultNS "" ;
            owlim:entity-index-size "155000000" ;
            owlim:entity-id-size  "32" ;
            owlim:imports "" ;
            owlim:repository-type "file-repository" ;
            owlim:ruleset "owl-horst-optimized" ;
            owlim:storage-folder "storage" ;

            owlim:enable-context-index "false" ;
            owlim:cache-memory "80m" ;
            owlim:tuple-index-memory "80m" ;

            owlim:enablePredicateList "false" ;
            owlim:predicate-memory "0%" ;

            owlim:fts-memory "0%" ;
            owlim:ftsIndexPolicy "never" ;
            owlim:ftsLiteralsOnly "true" ;

            owlim:in-memory-literal-properties "false" ;
            owlim:enable-literal-index "true" ;
            owlim:index-compression-ratio "-1" ;

            owlim:check-for-inconsistencies "false" ;
            owlim:disable-sameAs  "false" ;
            owlim:enable-optimization  "true" ;
            owlim:transaction-mode "safe" ;
            owlim:transaction-isolation "true" ;
            owlim:query-timeout  "1800" ;
            owlim:query-limit-results  "0" ;
            owlim:throw-QueryEvaluationException-on-timeout "false" ;
            owlim:useShutdownHooks  "true" ;
            owlim:read-only "false" ;
            owlim:nonInterpretablePredicates "http://www.w3.org/2000/01/rdf-schema#label;http://www.w3.org/1999/02/22-rdf-syntax-ns#type;http://www.ontotext.com/owlim/ces#gazetteerConfig;http://www.ontotext.com/owlim/ces#metadataConfig" ;
        ]
    ].
M Barbieri
  • 21
  • 1

0 Answers0