Starting and Stopping the Database
Starting a Vertica Database
- Use View Database Cluster State to make sure that all nodes are down and that no other database is running. If not all nodes are down, see Shutdown Problems.
- Use Start Database to start the database.
- Check the log files to make sure that no startup problems occurred, as described in Monitoring the Database.
- If the startup fails, see Startup Problems.
Stopping a Vertica Database
- Use View Database Cluster State to make sure that all nodes are up. If not all nodes are up, see Restarting a Node.
- Make sure that there are no open connections to the database. On each host:
$ netstat | grep 5433
tcp 0 0 host01:5433 host01:33558 ESTABLISHED
tcp 0 0 host01:33558 host01:5433 ESTABLISHED
- Use Stop Database to stop the database.
- If the shutdown fails, see Shutdown Problems.