Start and stop composite databases
Composite databases are managed using Cypher® administrative commands.
Start composite databases
You can start composite databases using the command START DATABASE
.
Query
START DATABASE inventory
Both standard databases and composite databases can be started using this command. |
To see the status of the started database, run the command SHOW DATABASE name
:
Query
SHOW DATABASE inventory YIELD name, requestedStatus, currentStatus
Result
+-----------------------------------------------+ | name | requestedStatus | currentStatus | +-----------------------------------------------+ | "inventory" | "online" | "online" | +-----------------------------------------------+
Stop composite databases
You can stop composite databases using the command STOP DATABASE
.
Query
STOP DATABASE inventory
Both standard databases and composite databases can be stopped using this command. |
To see the status of the stopped database, run the command SHOW DATABASE name
:
Query
SHOW DATABASE inventory YIELD name, requestedStatus, currentStatus
Result
+-----------------------------------------------+ | name | requestedStatus | currentStatus | +-----------------------------------------------+ | "inventory" | "offline" | "offline" | +-----------------------------------------------+