Apache Phoenix Performance Result :: Mon Feb 10 12:07:35 PST 2014
Queries by Category
JOIN
select count(column1) from LHS20M
|
select count(column1) from LHS5M
|
select count(*) from RHS10K
| select count(*) from LHS5M JOIN RHS10K on RHS10K.mypk = LHS5M.column1
|
select count(*) from LHS20M JOIN RHS10K on RHS10K.mypk = LHS20M.column1
|
select count(*) from RHS1K
| select count(*) from LHS5M JOIN RHS1K on RHS1K.mypk = LHS5M.column1
|
select count(*) from LHS20M JOIN RHS1K on RHS1K.mypk = LHS20M.column1
|
Load Data
LOAD DATA LHS20M [20000000 ROWS]
|
LOAD DATA LHS5M [5000000 ROWS]
|
LOAD DATA RHS1K [1000 ROWS]
|
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
| LOAD DATA LHS20M [20000000 ROWS]
|
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=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(column1) from LHS5M
| LOAD DATA LHS5M [5000000 ROWS]
|
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
| select count(*) from LHS5M JOIN RHS100K on RHS100K.mypk = LHS5M.column1
|
select count(*) from LHS20M JOIN RHS100K on RHS100K.mypk = LHS20M.column1
|
LOAD DATA RHS100K [100000 ROWS]
|
RHS10K
ROWS 10000 [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 RHS10K
| select count(*) from LHS5M JOIN RHS10K on RHS10K.mypk = LHS5M.column1
|
select count(*) from LHS20M JOIN RHS10K on RHS10K.mypk = LHS20M.column1
|
LOAD DATA RHS10K [10000 ROWS]
|
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
| select count(*) from LHS5M JOIN RHS1K on RHS1K.mypk = LHS5M.column1
|
select count(*) from LHS20M JOIN RHS1K on RHS1K.mypk = LHS20M.column1
|
LOAD DATA RHS1K [1000 ROWS]
|
Note: Hover over version label to see Phoenix Query Explain Plan.