
Phoenix
寞逍遥
不积跬步,无以至千里
展开
-
Phoenix基本命令及语法汇总
基本命令:首先sqlline.py lyy1,lyy2,lyy3,lyy4:2181登录到Phoenix的shell中,可以使用正常的SQL语句进行操作。!table查看表信息!describe tablename可以查看表字段信息!history可以查看执行的历史SQL!dbinfo!index tb;查看tb的索引help查看其他操作导入数据: 在phoenix 目录下执行...转载 2019-11-26 00:20:31 · 2634 阅读 · 0 评论 -
[Phoenix基础]-- 二级索引应该使用local Index还是global Index?
2018年11月29日 22:49:06highfei2011阅读数 255版权声明:尊重原创,转载请标明,本文转自 https://blog.youkuaiyun.com/high2011/article/details/84641466版本:phoenix 4.12.0说明:1、一个global index表对应着一个hbase 表,local index是在主表上新增一列存储索引数...转载 2019-06-20 09:27:48 · 327 阅读 · 0 评论 -
Phoenix二级索引使用
JPblog发布于 2018/08/28 16:06Apache HBasePhoenix冲击年薪50W,助你进阶Python工程师>>>1.添加二级索引配置 为使用Phoenix二级索引,需要开启HBase regionServer相关参数配置<property><name>hbase.regionserver...转载 2019-06-20 09:29:23 · 436 阅读 · 0 评论 -
phoenix_二级索引创建及索引优化
索引最常用的三个类型:覆盖索引、全局索引、本地索引。1)覆盖索引Covered Index如果创建的是覆盖索引,那么查询语句中的条件字段、返回字段都必须创建过索引,否则就会触发full table scan。如:create index coverindex user_index on user (name) include (cellphone);因此它的特点是:只需要通...转载 2019-06-20 16:17:07 · 2643 阅读 · 0 评论