stardog-admin perf load Manual Page
NAME
stardog-admin perf load —Runs the loading performance benchmark
SYNOPSIS
stardog-admin perf load [ {-d | --directory} <directory> ] [ {-g | --graph} <namedGraph> ] [ {-i | --index-strategy} <indexStrategy> ] [ {-o | --options} <options>... ] [ -s ] [ {-t | --task} <taskName> ] [--] [ <files>... ]
OPTIONS
-d <directory>, --directory <directory>
The directory where Stardog data files will be created. This directory will be deleted completely if it exists.
-g <namedGraph>, --graph <namedGraph>
Named graph where data will be loaded (overrides any named graph info in the data).
-i <indexStrategy>, --index-strategy <indexStrategy>
Index strategy that will be used (for index and stats commands)
-o <options>, --options <options>
Database configuration options. Each option is a 'key=value' pair; multiple options are separated by whitespaces, e.g., '-o "option1=value1 option2=value2"'. When used as the last option, values should be followed by '--' if a list of files for bulk load is also specified.
If strict parsing will be used
-t <taskName>, --task <taskName>
The task that will be executed. One of [PARSE, DICT, INDEX, STATS].
PARSE: Only parses the files, nothing loaded into Stardog.
DICT: Parses the files, and loads into a Stardog dictionary but index is not created.
INDEX: Parses the files, loads into a Stardog dictionary, and creates the index but stats is not computed.
STATS: Parses the files, loads into a Stardog dictionary, creates the index, and computes the stats.
This option can be used to separate command-line options from the list of argument, (useful when arguments might be mistaken for command-line options
RDF files to load, OR the directory of an existing Stardog index (for only loading index data, no dictionary is created) OR 'lubmN' where N is the number of universities if LUBM generator will be used directly instead of files
DISCUSSION
Benchmarks bulk loading performance either as a whole by creating a database or running each step individually (parsing, dictionary creation, index creation, stats computation).
EXAMPLES
Execute the benchmark against an embedded server
$ stardog-admin perf run -d embed://lubm1m test/data/eval/lubm/queries/*.sparql
Execute the benchmark with a given number of warm-ups and trial runs plus reasoning on a locally running server.
$ stardog-admin perf run --warmups 25 --trials 100 -d http://localhost:8080/lubm1m;reasoning=SL test/data/eval/lubm/queries/query?.sparql
Execute the benchmark against an index directly, skipping some queries
$ stardog-admin perf sp2b --skip q4 q5a -d file:/stardog_home_path/sp2b5m profiler/queries/sp2m/*.sparql