Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

Versions available for this page: CUBRID 8.3.1 |  CUBRID 8.4.0 |  CUBRID 8.4.1 |  CUBRID 8.4.3 |  CUBRID 9.0.0 | 

Starting and Stopping Database Server

Starting the Database Server

Enter the following to run the demodb server.

% cubrid server start demodb

@ cubrid server start: demodb

 

This may take a long time depending on the amount of recovery works to do.

 

CUBRID 2008 R4.0

 

++ cubrid server start: success

If you start the demodb server when the master process stops, the master process runs and then the specified database starts automatically.

% cubrid server start demodb

@ cubrid master start

++ cubrid master start: success

@ cubrid server start: demodb

 

This may take a long time depending on the amount of recovery works to do.

 

CUBRID 2008 R4.0

 

++ cubrid server start: success

The following message appears if the demodb server is already running.

% cubrid server start demodb

@ cubrid server start: demodb

++ cubrid server 'demodb' is running.

cubrid server start only starts cub_server process of the database, regardless of HA mode configuration. If you want to start all HA related processes, you can execute cubrid heartbeat start.

Stopping the Database Server

Enter the following to stop the demodb server.

% cubrid server stop demodb

@ cubrid server stop: demodb

Server demodb notified of shutdown.

This may take several minutes. Please wait.

++ cubrid server stop: success

The following message appears if the demodb server has already been stopped.

% cubrid server stop demodb

@ cubrid server stop: demodb

++ cubrid server 'demodb' is not running.

cubrid server stop only stops cub_server process of the database, regardless of HA mode configuration. The database does not restart, and failover does not occur. If you want to stop all HA related processes, you can execute cubrid heartbeat stop.

Restarting the Database Server

Enter the following to restart the demodb server. You can see that the currently running demodb server is stopped and then restarted.

% cubrid server restart demodb

@ cubrid server stop: demodb

Server demodb notified of shutdown.

This may take several minutes. Please wait.

++ cubrid server stop: success

@ cubrid server start: demodb

 

This may take a long time depending on the amount of recovery works to do.

 

CUBRID 2008 R4.0

 

++ cubrid server start: success