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:

  1. Create an archive object
  2. Create a database object
  3. Start an SM on the archive object created in the first step.
  4. Start a TE

Note: 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).

See the following topics: