Last active
July 31, 2018 10:30
-
-
Save ondrej-kvasnovsky/7ed2f8ada2522fea7612 to your computer and use it in GitHub Desktop.
Vertica commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- login to vsql | |
vsql -Ulogin -wpassword | |
-- number of running processes | |
ps -ef | grep -i vertica-udx-R | wc -l | |
-- list all nodes thet are UP | |
admintools -t list_allnodes | grep UP | |
-- restart a node | |
admintools -t restart_node --hosts 10.1.1.111 -dMY_DB_NAME --force | |
-- stop a node | |
admintools -t stop_node --hosts 10.1.1.111 | |
-- start a node | |
admintools -t start_node --hosts 10.1.1.111 | |
-- start database | |
admintools -t start_db --database VPA_TEST | |
-- see cluster state | |
admintools -t view_cluster | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment