Storage ToolThe Storage Tool is a small app for scanning & repairing a GraphDB repository. the output is the man page for the tool set: Usage: java -jar ... StorageTool --help ==> prints this message java -jar ... StorageTool <options> ==> executes the command from the options Options:-command=<operation to be executed, MANDATORY> -storage=<absoluth path to repo storage dir, MANDATORY> -esize=<size of entity pool IDs: 32 or 40 bits, DEFAULT 32> -statusPrintInterval=<interval between status message printing, DEFAULT 30, means 30 seconds> -pageCacheSize=<size of the page cache, DEFAULT 10, means 10K elements> -sortBufferSize=<size of the external sort buffer, DEFAULT 100, means 100M elements> -srcIndex=<one of pso, pos, pcso, pcos> -destIndex=<one of pso, pos, pcso, pcos, predicates> -origURI=<original existing URI in the repo> -replURI=<new non-existing URI in the repo> -destFile=<path to file used to store exported data> Supported commands:
Examples:
-command=scan -storage=/repo/storage
-command=scan -storage=/repo/storage -srcIndex=pso -esize=40 -statusPrintInterval=60
-command=rebuild -storage=/repo/storage -esize=40 -srcIndex=pso -destIndex=pso
-command=rebuild -storage=/repo/storage -esize=40 -srcIndex=pso -destIndex=pos
-command=rebuild -storage=/repo/storage -esize=40 -destIndex=predicates
-command=replace -storage=/repo/storage -origURI=<http://onto.com#e1> -replURI=<http://onto.com#e2>
-command=check -storage=/repo/storage -srcIndex=pos
-command=export -storage=/repo/storage -srcIndex=pos -destFile=/repo/storage/f.trig |
Labels:
None