ScalarDB Schema Loader
ScalarDB Schema Loader creates and deletes ScalarDB schemas (namespaces and tables) on the basis of a provided schema file.
Also, it automatically adds the ScalarDB transaction metadata (used in the Consensus Commit protocol) to the tables when you set the transaction
parameter to true
in the schema file.
There are two ways to specify general CLI options in Schema Loader:
- Pass a ScalarDB configuration file and database/storage-specific options additionally.
- Pass the options without a ScalarDB configuration (Deprecated).
Note that this tool supports only basic options to create/delete a table. If you want to use advanced features of the database, please alter your tables after creating them with this tool.
Usage
Install
The release versions of schema-loader
can be downloaded from releases page of ScalarDB.