You are here: Database Administration > Managing Database Operations > Stopping and Restarting Databases

Stopping and Restarting Databases

Stopping a database means shutting it down. The database will be completely recoverable by restarting it again. Generally, no interaction with the database is allowed when the database is stopped.

For Managed Databases:

Simply use the NuoDB Manager shutdown database and start database commands:

From NuoDB Manager run the following command:

nuodb [domain] > shutdown database <database_name>

After the database is down, run the following command:

nuodb [domain] > start database <database_name>

To stop a database in NuoDB Manager, use the shutdown database command.

Note: It is no longer necessary to take a snapshot of your database to stop and restart it.

See:

Start a Database in a Managed Environment

Shutdown Database

For Unmanaged Databases:

For each database that you want to restart, you will need to run the NuoDB Manager capture database command. This command writes the configuration of the database's hosts, storage managers and transaction engines to a file that you specify.

From NuoDB Manager run the following command:

nuodb [domain] > capture database <database_name> dbFile <file_name>:

After you save the database configuration you can shutdown the database

nuodb [domain] > shutdown database <database_name>

To start the database, execute the NuoDB Manager restart database command and specify the database capture file for that database:

nuodb [domain] > restart database dbFile <file_name>

See also:

Restart Database

Shutdown Database