Creating Databases
A NuoDB database is comprised (at minimum) of one Storage Manager (SM) and one Transaction Engine (TE) on one or more hosts in a NuoDB domain. Whether creating a simple database on a single laptop or creating a database for scale-out across multiple data centers, the process is the same.
The steps for creating a minimal database consisting of one SM and one TE are as follows:
-
Create an archive object
-
Create a database object
-
Start an SM on the archive object created in the first step.
-
Start a TE
Steps 3 and 4 do not require explicit invocation of NuoDB’s start process command. For more information, see Creating a Database.
|
This section provides guidelines on the components of database creation using NuoDB Command. For information on using the REST API, see REST API Reference (NuoDB Admin).