stardog-admin rocks ldbLow-Level Administration and Data Access Tool<br>
stardog-admin rocks ldb [ --home <home> ] [ -s <encryption passphrase> ] [ {-v | --verbose} ] [--] [ <mArgs>... ]
| Name, shorthand | Description |
|---|---|
--home <home> | Stardog home directory location. |
-s <encryption passphrase> | passphrase to access encrypted databases |
-v, --verbose | Flag that can cause more detailed information to be printed such as errors and status. Exact output depends upon the command and options used. |
-- | This option can be used to separate command-line options from the list of argument(s). (Useful when an argument might be mistaken for a command-line option) |
<mArgs> | Remaining LDB options |
The ldb command line tool offers multiple data access and database admin commands see https://github.com/facebook/rocksdb/wiki/Administration-and-Data-Access-Tool
Print detailed help
$ stardog-admin rocks ldb --help
List the column families
$ stardog-admin rocks ldb --home /stardog_home/ list_column_families
Dump the manifest file contents
$ stardog-admin rocks ldb --home /stardog_home/ manifest_dump
Compact the database
$ stardog-admin rocks ldb --home /stardog_home/ compact
Get a key
$ stardog-admin rocks ldb --home /stardog_home/ get <key>