`
gaojingsong
  • 浏览: 1202976 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
文章分类
社区版块
存档分类
最新评论

【Apache Phoenix 介绍】

阅读更多

Apache Phoenix takes your SQL query, compiles it into a series of HBase scans, and orchestrates the running of those scans to produce regular JDBC result sets. Direct use of the HBase API, along with coprocessors and custom filters, results in performance on the order of milliseconds for small queries, or seconds for tens of millions of rows.

To see a complete list of what is supported, go to our language reference. All standard SQL query constructs are supported, including SELECT, FROM, WHERE, GROUP BY, HAVING, ORDER BY, etc. It also supports a full set of DML commands as well as table creation and versioned incremental alterations through our DDL commands.



 

Here’s a list of what is currently not supported:

 

Relational operators. Intersect, Minus.

Miscellaneous built-in functions.

These are easy to add - read this blog for step by step instructions.

 

Salesforce.com has open sourced Phoenix, a Java layer enabling developers to run SQL queries on Apache HBase. Update: An interview on Phoenix with James Taylor, Lead Developer at Salesforce.com, has been appended.

In addition to myriads of SQL, NoSQL and NewSQL databases, Salesforce.com has announcedproject Phoenix, an SQL layer on top of Apache HBase, a column-oriented Big Data store. Entirely written in Java, the code is available on GitHub, and provides a client-embeddable JDBC driver.

Phoenix is used internally by Salesforce.com for low latency queries in the order of milliseconds for simple queries or seconds when tens of millions of rows are processed, according to the project’s description. Phoenix it is not used for map-reduce jobs as HBase is made for, but rather for accessing HBase data through a standardized language.

According to project creators,  Phoenix beats Hive for a simple query spanning 10M-100M rows. It is also much faster than Impala and OpenTSDB for similar queries using HBase’s API, co-processors and custom filters:

The Phoenix query engine transforms your SQL query into one or more HBase scans, and orchestrates their execution to produce standard JDBC result sets. Direct use of the HBase API, along with coprocessors and custom filters, results in performance on the order of milliseconds for small queries, or seconds for tens of millions of rows.

Some of the most interesting features are:

Embedded JDBC driver implements the majority of java.sql interfaces, including the metadata APIs.

Allows columns to be modeled as a multi-part row key or key/value cells.

Full query support with predicate push down and optimal scan key formation.

DDL support: CREATE TABLE, DROP TABLE, and ALTER TABLE for adding/removing columns.

Versioned schema repository. Snapshot queries use the schema that was in place when data was written.

DML support: UPSERT VALUES for row-by-row insertion, UPSERT SELECT for mass data transfer between the same or different tables, and DELETE for deleting rows.

Limited transaction support through client-side batching.

Single table only - no joins yet and secondary indexes are a work in progress.

Follows ANSI SQL standards whenever possible

  • 大小: 168.7 KB
0
2
分享到:
评论

相关推荐

    Using Apache Phoenix 4.8

    根据官网整理。Using Apache Phoenix Using Apache Phoenix Using Apache Phoenix Using Apache Phoenix Using Apache Phoenix Using Apache Phoenix Using Apache Phoenix。

    apache-phoenix-4.13.1安装包

    Apache Phoenix 是一个开源的SQL查询引擎,用于在Apache HBase之上提供高性能的关系型数据库功能。它将SQL查询转换为HBase的原生操作,从而提高了数据处理的速度和效率。Phoenix 4.13.1是该项目的某个稳定版本,特别...

    apache-phoenix-4.14.0-cdh5.14.2-bin.tar.gz安装包

    Apache Phoenix 是一个开源的SQL引擎,它为Apache HBase提供了高性能的关系型数据库查询能力。Phoenix 使用JDBC接口,使得开发者可以使用SQL语句来操作HBase数据,极大地简化了对大数据存储系统的操作。Apache ...

    apache-phoenix-5.0.0-HBase-2.0-bin.tar.gz

    Apache Phoenix是构建在HBase之上的关系型数据库层,作为内嵌的客户端JDBC驱动用以对HBase中的数据进行低延迟访问。Apache Phoenix会将用户编写的sql查询编译为一系列的scan操作,最终产生通用的JDBC结果集返回给...

    apache-phoenix-4.8.1-HBase-1.2-bin.tar.gz

    Apache Phoenix 是一个开源的SQL-on-HBase框架,它允许用户通过标准的JDBC接口与HBase进行交互,极大地简化了对大数据存储系统的SQL查询。在标题"apache-phoenix-4.8.1-HBase-1.2-bin.tar.gz"中,我们可以看到这是...

    Apache-Phoenix使用文档-英文1

    Apache Phoenix 是一个高性能的关系型数据库层,专门为Apache HBase设计,允许用户通过SQL查询和管理HBase中的数据。Phoenix利用JDBC驱动程序将SQL查询转换为HBase的原生操作,提高了查询性能,尤其适用于大数据分析...

    apache-phoenix-4.14.3-HBase-1.3-bin.tar.gz

    Apache Phoenix 是一个开源的SQL-on-HBase框架,它允许用户通过使用JDBC接口来查询和操作HBase数据库。Phoenix将SQL语句转换为HBase的原生操作,从而提高了对大数据集的查询性能。这个"apache-phoenix-4.14.3-HBase-...

    apache-phoenix-4.14.0-cdh5.14.2-bin.tar.gz

    Apache Phoenix 是一个开源的、基于 Apache HBase 的关系型数据库层,它允许用户通过 SQL 查询在 HBase 上的数据。此压缩包"apache-phoenix-4.14.0-cdh5.14.2-bin.tar.gz"是 Phoenix 的特定版本,针对 Cloudera Data...

    apache-phoenix-4.14.0-HBase-1.2-src.tar.gz

    Apache Phoenix 是一个开源的SQL引擎,它为Apache HBase提供了高性能的关系型数据库查询能力。Phoenix将SQL查询转换为HBase的原生操作,使得开发者能够使用SQL语法与HBase进行交互,而无需深入理解HBase的Java API。...

    Pro Apache Phoenix(Apress,2016)

    Pro Apache Phoenix covers the nuances of setting up a distributed HBase cluster with Phoenix libraries, running performance benchmarks, configuring parameters for production scenarios, and viewing the...

    apache-phoenix-4.10.0-HBase-1.1-bin.tar.gz

    Apache Phoenix是一个开源的SQL层,它为Apache HBase这样的NoSQL数据库提供了高性能的关系型查询能力。这个名为"apache-phoenix-4.10.0-HBase-1.1-bin.tar.gz"的压缩包包含了Phoenix 4.10.0版本,专为运行在HBase ...

    apache-phoenix-4.8.1-HBase-0.98-bin.tar

    Apache Phoenix 是一个开源的 JDBC 驱动程序,它允许用户使用 SQL 查询语言与 HBase 数据存储进行交互。Phoenix 将 SQL 转换为低级的 HBase 扫描,从而提高了数据处理的性能。在您提供的压缩包 "apache-phoenix-...

    Apache Phoenix:We put the SQL back in NoSQL

    ### Apache Phoenix:将SQL带回NoSQL #### 一、HBase简介 Apache HBase是一个分布式、版本化的键值存储系统,作为Apache Hadoop项目的一部分而开发。它在Hadoop Distributed File System (HDFS)之上运行,提供了一...

    apache-phoenix.zip

    实现sql查询Hbase,Phoenix 基于Hbase给面向业务的开发人员提供了以标准SQL的方式对Hbase进行查询操作,并支持标准SQL中大部分特性:条件运算,分组,分页,等高级查询语法...apache-phoenix-4.14.1-HBase-1.2-bin.tar.gz

    docker-apache-phoenix:基于高山的Apache Phoenix Docker映像

    docker-apache-phoenix 基于高山的Apache Phoenix Docker映像小型安装# load default env as neededeval $(docker-machine env default)# network docker network create vnet# hbase+phoenix startupdocker-compose...

    藏经阁-Apache Phoenix and HBase_ Past, Present and Future of SQL ov

    "Apache Phoenix 和 HBase: Past, Present and Future of SQL over HBase" Apache Phoenix 是一个基于 HBase 的关系型数据库层,它提供了 SQL 接口来访问 HBase 数据。Phoenix 的出现解决了 HBase 的一些限制,如...

    Apache Phoenix and HBase Past, Present and Future of SQL over HBase

    通过以上介绍可以看出,Apache Phoenix 作为 HBase 上的一个重要项目,不仅在过去几年取得了显著的发展成果,而且未来也有着明确的发展方向和技术路线图。对于那些希望在 HBase 上实现高效 SQL 查询的应用场景来说,...

    apache-phoenix-4.8.1-HBase-0.98-src.tar.gz

    Apache Phoenix是一个开源的SQL层,它允许用户通过标准的JDBC接口来查询和操作存储在Apache HBase数据库中的数据。Apache Phoenix将SQL查询转换为低级的HBase扫描,从而提高了大数据查询的性能。"apache-phoenix-...

    phoenix:Apache Phoenix Hbase Spring Boot微服务

    Apache Phoenix 是一个开源的SQL引擎,它为Apache HBase提供了高性能的关系型数据库查询能力。Phoenix将SQL查询转换为HBase的原生操作,使得开发者能够使用SQL语法来操作分布式NoSQL存储,极大地简化了HBase的数据...

    cdh6.3.2 集成 Phoenix

    在大数据处理领域,CDH(Cloudera Distribution Including Apache Hadoop)是一款广泛使用的开源大数据平台,它包含了Hadoop生态系统中的多个组件,如HDFS、YARN、MapReduce、Hive等。而Phoenix是一个针对HBase的SQL...

Global site tag (gtag.js) - Google Analytics