【组件】Phoenix 介绍

今天介绍一个大数据框架 Phoenix。还是按照之前的学习方式,首先看看官网对这个框架的介绍。

1.简介

OLTP and operational analytics for Apache Hadoop

Phoenix 是 Apache Hadoop 的 OLTP(联机事务处理) 和运营分析。

Overview
Apache Phoenix enables OLTP and operational analytics in Hadoop for low latency applications by combining the best of both worlds:

  • the power of standard SQL and JDBC APIs with full ACID transaction capabilities and
  • the flexibility of late-bound, schema-on-read capabilities from the NoSQL world by leveraging HBase as its backing store

Apache Phoenix is fully integrated with other Hadoop products such as Spark, Hive, Pig, Flume, and Map Reduce.

概述

Apache Phoenix 在 Hadoop 上同时做到了低延迟的 OLTP 和运营分析:

  • 具有完整 ACID 事务功能的标准 SQL 和 JDBC API
  • 基于 HBase 作为后备存储,实现了 NoSQL 数据库才拥有灵活性,包括后期绑定、模式读取功能

Apache Phoenix 与 Spark、Hive、Pig、Flume 和 Map Reduce 等其他 Hadoop 产品完全集成。

Mission
Become the trusted data platform for OLTP and operational analytics for Hadoop through well-defined, industry standard APIs.

使命

通过定义明确的行业标准 API,成为 Hadoop 之上可信的 OLTP 和运营分析的数据平台。

总结

Phoenix 最早是 saleforce 的一个开源项目,后来成为 Apache 的顶级项目。

Phoenix 构建在 HBase 之上的开源 SQL 层。能够让我们使用标准的 JDBC API 去建表,插入数据和查询 HBase 中的数据,从而可以避免使用 HBase 的客户端 API。

在我们的应用和 HBase 之间添加了 Phoenix,并不会降低性能,而且我们也少写了很多代码。

2.特点
  1. 将 SQL 查询编译为 HBase 扫描
  2. 确定扫描 Rowkey 的最佳开始和结束位置
  3. 扫描并行执行
  4. 将 where 子句推送到服务器端的过滤器
  5. 通过协处理器进行聚合操作
  6. 完美支持 HBase 二级索引创建
  7. DML 命令以及通过 DDL 命令创建和操作表和版本化增量更改。
  8. 容易集成:如Spark,Hive,Pig,Flume 和 Map Reduce。

欢迎关注公众号,每天分享大数据面试。
在这里插入图片描述

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值