Apache Phoenix Performance Result :: Fri Jun 20 12:35:06 PDT 2014

Test Suite: ORDER_BY

Queries by Category



Aggregation

select count(*) from ORDERBY_TABLE_5M
6.77s 3.0-HBASE-0.94.15-SECURITY

select count(*) from ORDERBY_TABLE_20M
27.64s 3.0-HBASE-0.94.15-SECURITY


Group by

select host, domain from ORDERBY_TABLE_5M order by HOST,DB,ACTIVE_VISITOR
170.86s 3.0-HBASE-0.94.15-SECURITY

select host, domain from ORDERBY_TABLE_20M order by HOST,DB,ACTIVE_VISITOR
SQL Exception - Check logs for 3.0-HBASE-0.94.15-SECURITY


Load Data

LOAD DATA ORDERBY_TABLE_5M [5000000 ROWS]
296.92s 3.0-HBASE-0.94.15-SECURITY

LOAD DATA ORDERBY_TABLE_20M [20000000 ROWS]
1172.26s 3.0-HBASE-0.94.15-SECURITY




Queries by Table



ORDERBY_TABLE_5M


Table used for various aggregation functions

ROWS 5000000 [5M]

DDL CREATE TABLE $TABLE (HOST CHAR(2) NOT NULL,DOMAIN VARCHAR NOT NULL,FEATURE VARCHAR NOT NULL,DATE DATE NOT NULL,USAGE.CORE BIGINT,USAGE.DB BIGINT,USAGE.ACTIVE_VISITOR INTEGER CONSTRAINT PK PRIMARY KEY (HOST, DOMAIN, FEATURE, DATE))

DATA GENERATOR
STRING :: Values: NA|CS|EU
STRING :: Values: Salesforce.com|Apple.com|Google.com|Yelp.com
STRING :: Values: Login|Report|Dashboard|Sales|UI
DATE :: Values: SEQUENTIAL
INTEGER :: Max. Value: 100 Values: RANDOM
INTEGER :: Max. Value: 2000 Values: RANDOM
INTEGER :: Max. Value: 10000 Values: RANDOM

select count(*) from ORDERBY_TABLE_5M
6.77s 3.0-HBASE-0.94.15-SECURITY

select host, domain from ORDERBY_TABLE_5M order by HOST,DB,ACTIVE_VISITOR
170.86s 3.0-HBASE-0.94.15-SECURITY

LOAD DATA ORDERBY_TABLE_5M [5000000 ROWS]
296.92s 3.0-HBASE-0.94.15-SECURITY


ORDERBY_TABLE_20M


Table used for various aggregation functions

ROWS 20000000 [20M]

DDL CREATE TABLE $TABLE (HOST CHAR(2) NOT NULL,DOMAIN VARCHAR NOT NULL,FEATURE VARCHAR NOT NULL,DATE DATE NOT NULL,USAGE.CORE BIGINT,USAGE.DB BIGINT,USAGE.ACTIVE_VISITOR INTEGER CONSTRAINT PK PRIMARY KEY (HOST, DOMAIN, FEATURE, DATE))

DATA GENERATOR
STRING :: Values: NA|CS|EU
STRING :: Values: Salesforce.com|Apple.com|Google.com|Yelp.com
STRING :: Values: Login|Report|Dashboard|Sales|UI
DATE :: Values: SEQUENTIAL
INTEGER :: Max. Value: 100 Values: RANDOM
INTEGER :: Max. Value: 2000 Values: RANDOM
INTEGER :: Max. Value: 10000 Values: RANDOM

select count(*) from ORDERBY_TABLE_20M
27.64s 3.0-HBASE-0.94.15-SECURITY

select host, domain from ORDERBY_TABLE_20M order by HOST,DB,ACTIVE_VISITOR
SQL Exception - Check logs for 3.0-HBASE-0.94.15-SECURITY

LOAD DATA ORDERBY_TABLE_20M [20000000 ROWS]
1172.26s 3.0-HBASE-0.94.15-SECURITY



Note: Hover over version label to see Phoenix Query Explain Plan.