Shutdown Database

This is a NuoDB Manager command. See NuoDB Manager.

Description

Stop all processes for a database. If there are no connections or all connections are idle, the process proceeds to shut down. If there are active connections, the shutdown occurs after they have completed, or when the timeout (shutdownTimeout, softShudownTimeout) has expired.

Syntax

shutdown database database_name 
    [ timeout timeout_value ] 
    [ softTimeout soft_timeout_value ]

Parameters

Useful Properties

shutdownTimeout

softShutdownTimeout

See NuoDB Manager Properties.

Interactive Example

Shutdown a database called test:

nuodb [domain] > shutdown database test
Timeout (ms/s/m/h/d/w) (optional): 
Remote process shutdown timeout (ms/s/m/h/d/w) (optional): 
Shutdown database test

Scripting Example

The same shutdown database command can be executed with --command as follows:

nuodbmgr --broker host --password password \
    --command "shutdown database test"