Apache Phoenix Performance Result :: Mon Feb 10 13:42:48 PST 2014

Queries by Category


JOIN

select count(column1) from LHS20M
6.58s PHOENIX-SNAPSHOT

select count(column1) from LHS5M
1.79s PHOENIX-SNAPSHOT

select count(*) from RHS100K
0.11s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS100K on RHS100K.mypk = LHS5M.column1
2.42s PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS100K on RHS100K.mypk = LHS20M.column1
7.53s PHOENIX-SNAPSHOT

select count(*) from RHS1K
0.06s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS1K on RHS1K.mypk = LHS5M.column1
1.78s PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS1K on RHS1K.mypk = LHS20M.column1
6.75s PHOENIX-SNAPSHOT

select count(*) from RHS200K
0.16s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS200K on RHS200K.mypk = LHS5M.column1
2.68s PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS200K on RHS200K.mypk = LHS20M.column1
8.25s PHOENIX-SNAPSHOT

select count(*) from RHS300K
0.21s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS300K on RHS300K.mypk = LHS5M.column1
4.01s PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS300K on RHS300K.mypk = LHS20M.column1
9.09s PHOENIX-SNAPSHOT

select count(*) from RHS500K
0.34s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS500K on RHS500K.mypk = LHS5M.column1
SQL Exception - Check logs for PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS500K on RHS500K.mypk = LHS20M.column1
SQL Exception - Check logs for PHOENIX-SNAPSHOT

select count(*) from RHS750K
0.48s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS750K on RHS750K.mypk = LHS5M.column1
SQL Exception - Check logs for PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS750K on RHS750K.mypk = LHS20M.column1
SQL Exception - Check logs for PHOENIX-SNAPSHOT


Load Data

LOAD DATA LHS20M [20000000 ROWS]
787.44s PHOENIX-SNAPSHOT

LOAD DATA LHS5M [5000000 ROWS]
203.78s PHOENIX-SNAPSHOT

LOAD DATA RHS100K [100000 ROWS]
3.78s PHOENIX-SNAPSHOT

LOAD DATA RHS1K [1000 ROWS]
0.08s PHOENIX-SNAPSHOT

LOAD DATA RHS200K [200000 ROWS]
7.5s PHOENIX-SNAPSHOT

LOAD DATA RHS300K [300000 ROWS]
11.55s PHOENIX-SNAPSHOT

LOAD DATA RHS500K [500000 ROWS]
19.91s PHOENIX-SNAPSHOT

LOAD DATA RHS750K [750000 ROWS]
29.42s PHOENIX-SNAPSHOT




Queries by Table



LHS20M




ROWS 20000000 [20M]

DDL CREATE TABLE IF NOT EXISTS $TABLE (mypk CHAR(10) NOT NULL PRIMARY KEY,CF.column1 char(10),CF.column2 char(10),CF.column3 char(10)) SALT_BUCKETS=16;

DATA GENERATOR
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Max. Value: 1000 Values: RANDOM
STRING :: Length: 10 Max. Value: 10000 Values: RANDOM

select count(column1) from LHS20M
6.58s PHOENIX-SNAPSHOT

LOAD DATA LHS20M [20000000 ROWS]
787.44s PHOENIX-SNAPSHOT


LHS5M




ROWS 5000000 [5M]

DDL CREATE TABLE IF NOT EXISTS $TABLE (mypk CHAR(10) NOT NULL PRIMARY KEY,CF.column1 char(10),CF.column2 char(10),CF.column3 char(10)) SALT_BUCKETS=16;

DATA GENERATOR
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Max. Value: 1000 Values: RANDOM
STRING :: Length: 10 Max. Value: 10000 Values: RANDOM

select count(column1) from LHS5M
1.79s PHOENIX-SNAPSHOT

LOAD DATA LHS5M [5000000 ROWS]
203.78s PHOENIX-SNAPSHOT


RHS100K




ROWS 100000 [0M]

DDL CREATE TABLE IF NOT EXISTS $TABLE (mypk CHAR(10) NOT NULL PRIMARY KEY,CF.column1 char(10),CF.column2 char(10),CF.column3 char(10)) SALT_BUCKETS=4;

DATA GENERATOR
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Max. Value: 1000 Values: RANDOM
STRING :: Length: 10 Max. Value: 10000 Values: RANDOM

select count(*) from RHS100K
0.11s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS100K on RHS100K.mypk = LHS5M.column1
2.42s PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS100K on RHS100K.mypk = LHS20M.column1
7.53s PHOENIX-SNAPSHOT

LOAD DATA RHS100K [100000 ROWS]
3.78s PHOENIX-SNAPSHOT


RHS1K




ROWS 1000 [0M]

DDL CREATE TABLE IF NOT EXISTS $TABLE (mypk CHAR(10) NOT NULL PRIMARY KEY,CF.column1 char(10),CF.column2 char(10),CF.column3 char(10)) SALT_BUCKETS=4;

DATA GENERATOR
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Max. Value: 1000 Values: RANDOM
STRING :: Length: 10 Max. Value: 10000 Values: RANDOM

select count(*) from RHS1K
0.06s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS1K on RHS1K.mypk = LHS5M.column1
1.78s PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS1K on RHS1K.mypk = LHS20M.column1
6.75s PHOENIX-SNAPSHOT

LOAD DATA RHS1K [1000 ROWS]
0.08s PHOENIX-SNAPSHOT


RHS200K




ROWS 200000 [0M]

DDL CREATE TABLE IF NOT EXISTS $TABLE (mypk CHAR(10) NOT NULL PRIMARY KEY,CF.column1 char(10),CF.column2 char(10),CF.column3 char(10)) SALT_BUCKETS=4;

DATA GENERATOR
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Max. Value: 1000 Values: RANDOM
STRING :: Length: 10 Max. Value: 10000 Values: RANDOM

select count(*) from RHS200K
0.16s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS200K on RHS200K.mypk = LHS5M.column1
2.68s PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS200K on RHS200K.mypk = LHS20M.column1
8.25s PHOENIX-SNAPSHOT

LOAD DATA RHS200K [200000 ROWS]
7.5s PHOENIX-SNAPSHOT


RHS300K




ROWS 300000 [0M]

DDL CREATE TABLE IF NOT EXISTS $TABLE (mypk CHAR(10) NOT NULL PRIMARY KEY,CF.column1 char(10),CF.column2 char(10),CF.column3 char(10)) SALT_BUCKETS=4;

DATA GENERATOR
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Max. Value: 1000 Values: RANDOM
STRING :: Length: 10 Max. Value: 10000 Values: RANDOM

select count(*) from RHS300K
0.21s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS300K on RHS300K.mypk = LHS5M.column1
4.01s PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS300K on RHS300K.mypk = LHS20M.column1
9.09s PHOENIX-SNAPSHOT

LOAD DATA RHS300K [300000 ROWS]
11.55s PHOENIX-SNAPSHOT


RHS500K




ROWS 500000 [0M]

DDL CREATE TABLE IF NOT EXISTS $TABLE (mypk CHAR(10) NOT NULL PRIMARY KEY,CF.column1 char(10),CF.column2 char(10),CF.column3 char(10)) SALT_BUCKETS=4;

DATA GENERATOR
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Max. Value: 1000 Values: RANDOM
STRING :: Length: 10 Max. Value: 10000 Values: RANDOM

select count(*) from RHS500K
0.34s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS500K on RHS500K.mypk = LHS5M.column1
SQL Exception - Check logs for PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS500K on RHS500K.mypk = LHS20M.column1
SQL Exception - Check logs for PHOENIX-SNAPSHOT

LOAD DATA RHS500K [500000 ROWS]
19.91s PHOENIX-SNAPSHOT


RHS750K




ROWS 750000 [0M]

DDL CREATE TABLE IF NOT EXISTS $TABLE (mypk CHAR(10) NOT NULL PRIMARY KEY,CF.column1 char(10),CF.column2 char(10),CF.column3 char(10)) SALT_BUCKETS=4;

DATA GENERATOR
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Values: SEQUENTIAL
STRING :: Length: 10 Max. Value: 1000 Values: RANDOM
STRING :: Length: 10 Max. Value: 10000 Values: RANDOM

select count(*) from RHS750K
0.48s PHOENIX-SNAPSHOT

select count(*) from LHS5M JOIN RHS750K on RHS750K.mypk = LHS5M.column1
SQL Exception - Check logs for PHOENIX-SNAPSHOT

select count(*) from LHS20M JOIN RHS750K on RHS750K.mypk = LHS20M.column1
SQL Exception - Check logs for PHOENIX-SNAPSHOT

LOAD DATA RHS750K [750000 ROWS]
29.42s PHOENIX-SNAPSHOT



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