[root@host1 ~]# yum install dialog ... Complete! [root@host1 ~]#
The Vertica Community Edition is free allowing the setup of up to 3 nodes and 1 Terabyte of data Create an user login to connect on "Vertica Community Edition (CE)" Choose the correct OS under "Local Server (Linux OS)"
[root@host1 Download]# rpm -Uvh vertica-9.1.1-0.x86_64.RHEL6.rpm ... 1:vertica-9.1.1-0 ################################# [100%] View the latest Vertica documentation at https://my.vertica.com/docs/ [root@host1 Download]#
[root@host1 Download]# /opt/vertica/sbin/install_vertica --hosts host1 ...>> Validating node and cluster prerequisites... Prerequisites not fully met during local (OS) configuration for verify-192.168.25.16.xml: HINT (S0305): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=S0305 TZ is unset for dbadmin. Consider updating .profile or .bashrc HINT (S0041): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=S0041 Could not find the following tools normally provided by the mcelog package: mcelog WARN (S0160): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=S0160 These disks do not have 'ext3' or 'ext4' filesystems: '/dev/mapper/ol- root' = 'xfs' WARN (N0010): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=N0010 Linux iptables (firewall) has some non-trivial rules in tables: mangle, filter WARN (S0112): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=S0112 vm.swappiness is higher than recommended: your 30 > 1 System prerequisites failed. Threshold = WARN Hint: Fix above failures or use --failure-threshold Installation FAILED with errors. 5. During the installation, the hints and warnings below were fixed following the URL instructions provided by Vertica.
HINT (S0305): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=S0305 TZ is unset for dbadmin. Consider updating .profile or .bashrc HINT (S0041): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=S0041 Could not find the following tools normally provided by the mcelog package: mcelog WARN (S0112): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=S0112 vm.swappiness is higher than recommended: your 30 > 1
[root@host1 Download]# /opt/vertica/sbin/install_vertica --hosts host1 -r vertica-9.1.1-0.x86_64.RHEL6.rpm -u dbadmin -g verticadba -d /home/dbadmin --failure-threshold HALT ...Prerequisites not fully met during local (OS) configuration for verify-192.168.25.16.xml: WARN (S0160): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=S0160 These disks do not have 'ext3' or 'ext4' filesystems: '/dev/mapper/ol- root' = 'xfs' WARN (N0010): https://my.vertica.com/docs/9.1.x/HTML/index.htm#cshid=N0010 Linux iptables (firewall) has some non-trivial rules in tables: mangle, filter System prerequisites passed. Threshold = HALT
... >> Completing installation...
[dbadmin@host1 database]$ admintools -t create_db -c /home/dbadmin/database/ -D /home/dbadmin/database/ -s host1 -d vdb --skip-fs-checks
Enter ACCEPT to accept license terms & conditions, or REJECT to not accept the license and quit: ACCEPT ... Database vdb created successfully. [dbadmin@host1 database]$
[dbadmin@host1 database]$ vsql -U dbadmin Welcome to vsql, the Vertica Analytic Database interactive terminal. Type: \h or \? for help with vsql commands \g or terminate with semicolon to execute query \q to quit dbadmin=> SELECT node_name, node_state FROM nodes ORDER BY 1; node_name | node_state ----------------+------------ v_vdb_node0001 | UP
dbadmin=> SELECT dbadmin-> node_name , dbadmin-> user_name , dbadmin-> client_os dbadmin-> FROM dbadmin-> v_monitor.sessions; node_name | user_name | client_os ----------------+-----------+-------------------------------------------- v_vdb_node0001 | dbadmin | Linux 4.1.12-124.21.1.el7uek.x86_64 x86_64 (1 row) dbadmin=> dbadmin=> select GET_COMPLIANCE_STATUS(); GET_COMPLIANCE_STATUS --------------------------------------------------------------------------------- Raw Data Size: 0.00TB +/- 0.00TB License Size : 1.00TB Utilization : 0% Audit Time : 2019-10-24 14:43:15.030145-04 Node count : 1 License Node limit : 3 Compliance Status : The database is in compliance with respect to raw data size. No expiration date for a Perpetual license dbadmin=>
$ /opt/vertica/bin/adminTools
Vertica_AdminTools 10. VMart Example Database Vertica ships with a sample multi-schema database called the VMart Example Database, which represents a database that might be used by a large supermarket (VMart) to access information about its products, customers, employees, and online and physical stores. Using this example, you can create, run, optimize, and test a multi-schema database for learning purposes. Further information in VMart Example Database 11. Other posts related Vertica: https://blog.pythian.com/d-vertica/ https://blog.pythian.com/log-buffer-62-a-carnival-of-the-vanities-for-dbas/
Ready to future-proof your SQL Server investment?