1.使用mysql的union all可以同时查询出所有自己想要查询数据表的数据量. select 'user' as tablename, count(*) from user union all select 'teacher' as tablename, count(*) from teacher union all select 'person' as tablename, count(*) from person union all select 'student' as tablen
这里对查询计划的学习主要是对TPC-H中Query2的分析. 1.Query的查询语句 select s_acctbal, s_name, n_name, p_partkey, p_mfgr, s_address, s_phone, s_comment from part, supplier, partsupp, nation, region where p_partkey = ps_partkey and s_suppkey = ps_suppkey and p_size = and p_ty
1.greenplum数据库安装前期准备工作 1.1 安装Linux l 内存:最小1GB,推荐2GB或以上. l 交换空间: 内存大小是1-2GB时,交换空间是内存的1.5倍,内存大小2-16GB时,交换空间等于内存大小,内存大小16G以上时,交换空间为16GB. l 需要选择以下组件:GNOME桌面.编辑器.开发工具.开发库等,具体参照Linux标准文档. l 使用安装光盘安装CentOS-6.5-x86_64-bin l Greenplum 数据库版本 4.3.9.1 1.2 配