2015-03-30 05:50:13 +00:00
|
|
|
Quick installation instructions
|
|
|
|
-------------------------------
|
|
|
|
|
|
|
|
Register on my.vertica.com
|
|
|
|
https://my.vertica.com/download-community-edition/
|
|
|
|
Download HP Vertica 7.1.1 Analytic Database Server, Debian or Ubuntu 14.04 version.
|
|
|
|
|
|
|
|
sudo apt-get install sysstat pstack mcelog
|
|
|
|
sudo dpkg -i vertica_7.1.1-0_amd64.deb
|
|
|
|
sudo sh -c "echo 'export TZ=Europe/Moscow' >> /home/dbadmin/.bash_profile"
|
2015-06-30 18:48:55 +00:00
|
|
|
# Don't specify localhost due to poor support of IPv6.
|
2015-03-30 05:50:13 +00:00
|
|
|
sudo /opt/vertica/sbin/install_vertica --hosts=127.0.0.1 --failure-threshold=NONE
|
|
|
|
sudo mkdir /opt/vertica-data/
|
|
|
|
sudo chown dbadmin /opt/vertica-data/
|
|
|
|
|
|
|
|
sudo su dbadmin
|
|
|
|
/opt/vertica/bin/adminTools
|
|
|
|
|
|
|
|
configuration menu
|
|
|
|
create database
|
|
|
|
name: default
|
|
|
|
empty password
|
|
|
|
both directories: /opt/vertica-data/
|
|
|
|
main menu
|
|
|
|
exit
|
|
|
|
|
|
|
|
How to prepare data
|
|
|
|
-------------------
|
|
|
|
|
2015-03-30 11:27:22 +00:00
|
|
|
Prepare dumps with script create_dump.sh for tables hits_10m, hits_100m, hits_1000m. It takes about 5 hours (1m41.882s, 25m11.103s, 276m36.388s).
|
2015-03-30 05:50:13 +00:00
|
|
|
Start vsql command line client.
|
2015-03-30 23:31:14 +00:00
|
|
|
/opt/vertica/bin/vsql -U dbadmin
|
2015-03-30 05:50:13 +00:00
|
|
|
Create tables with queries from hits_define_schema.sql.
|
|
|
|
|
|
|
|
Time to insert data:
|
|
|
|
hits_10m: 91 sec.
|
|
|
|
hits_100m: 774 sec.
|
2015-03-30 23:28:49 +00:00
|
|
|
hits_1000m: 13769 sec.
|
2015-03-30 05:50:13 +00:00
|
|
|
|
|
|
|
You need to validate number of rows with SELECT count(*).
|