stardog-admin perf add Manual Page

NAME


stardog-admin perf add —Runs the add benchmark

SYNOPSIS


stardog-admin perf add {-d | --database} <Database> [ --ignore-errors ] [ --memory ] [ --mode <Mode> ] [ --pool <Pool> ] [ --random <Random> ] [ --remove ] [ {-s | --stats} ] [ --server-side ] [ {-t | --transactions} <Transactions> ] [ --thread <Threads> ] [ --wait <Wait> ] [--] [ <Files>... ]

OPTIONS


-d <Database>, --database <Database>
Stardog connection string. Embedded connection
--ignore-errors
Ignore errors encountered during commit
--memory
Print server memory usage
--mode <Mode>
Test mode (Append - Add to existing database, Clear - First clear the contents of existing database, Create - Create a new database, dropping it first if it already exists)
--pool <Pool>
Configure connection pooling. If set to 0 each transaction will open a new connection and close when it is done. If set to 1 a single connection will be reused for each thread. If set to greater than 1 a connection pool with that size will be used. Default value is 0.
--random <Random>
Enable random triple addition for the specified number of iterations.
--remove
Remove triples instead of adding them
-s, --stats
Enable auto statistics update (has effect only in create mode)
--server-side
Turn on server-side flag for additions
-t <Transactions>, --transactions <Transactions>
The transaction size which is an integer that might be optionally followed by a letter 'f', 'k', or 'm'. The suffix 'f' is used to specify the number of files to use in each transaction (regardless of the file size). Otherwise, this option specifies the number of triples that will be added in each transaction where 'k' specifies thousands and 'm' specifies millions.
--thread <Threads>
Number of concurrent threads.
--wait <Wait>
Approximate amount of time to wait between transactions. Exact wait time will be +/- %20 of this time. If there are are multiple threads then each thread waits independently so transactions may be more frequent. Duration time is an integer value followed by the time unit 'h', 'm', 's', or 'ms'.
--
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
<Files>
Files that will be added to the database or in random mode an integer that represents the number of triples in a transaction

DISCUSSION


Adds a set of files to an existing or newly created database and reports stastitics about each transactions .

EXAMPLES


Add each file in one transaction to an embedded server

    $ stardog-admin perf add -d http://local/lubm lubm/*.owl

Group 2 files into each transaction and add to a locally running server through http, clear the db first.

    $ stardog-admin perf add -t 2f -d http://localhost:5820/bsbm --mode clear bsbm10m/*.ttl.gz

Add 1 million triples in each transaction, recreate the database every time

    $ stardog-admin perf add -t 1m -d http://localhost:5820/perf --mode create bsbm100m/*.ttl.gz

Add 50K random triples in each transaction, do 100 total transactions

    $ stardog-admin perf add -t 50k -d http://localhost:5820/perf --random 100