Vertica笔记

时间:2023-03-09 18:10:22
Vertica笔记

1.Table不做存储,本质是一个视图,真正存储在 Projection 里。可以针对一个Table建多个Projection 。

查看表和 Projection 的个数:

select anchor_table_name ,count(1) from projections group by anchor_table_name having count(1) > 1;

2. 安全登录

使用命令: ssh-keygen

Vertica教程:file:///G:/Vertica%E5%9F%B9%E8%AE%AD/HP_vertica-user-doc_7.1.x/HTML/index.htm#Authoring/InstallationGuide/TroubleshootingTheInstall/EnableSecureShellSSHLogins.htm?Highlight=ssh-keygen

3. 安装集群

/opt/vertica/sbin/install_vertica --hosts vm1,vm2,vm3 --rpm vertica_7.1.2-0_amd64.deb --failure-threshold NONE

4.Console安装