Probably writing a client that does single partition inserts will be
fastest. We generate built-in insert procedures for partitioned tables
with pkeys defined - but we don't generate loaders or expose an
optimal bulk loading interface.
Ryan.
Once it's loaded for the first time, save the database to a snapshot and use the "recover" action to load it on subsequent start up will be the fastest. To use the "recover" action, just replace "create" or "start" in your start server script.
--
Ning
--
Ning
Do I also need to specify the snapshot name ? If I simply use recover option
$VOLTDB recover catalog $APPNAME.jar deployment deployment.xml \
license $LICENSE leader $LEADER
Then I get the following:
VoltDB has encountered an unrecoverable error and is exiting.
The log may contain additional information.FATAL 03:04:40,333 [Thread-16] HOST: Nothing to recover from
I was able to restore it using the SnapshotRestore procedure via the client call.