select count(*) from AGGREGATION_TABLE | 1.1s PHOENIX-REVSCAN-HBASE-REVSCAN |
| select count(1) from AGGREGATION_TABLE group by HOST | 1.05s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select core, count(1) from AGGREGATION_TABLE group by CORE | 1.27s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select core, host, sum(ACTIVE_VISITOR) from AGGREGATION_TABLE group by core, host | 2.08s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select AVG(DB), MIN(CORE), MAX(ACTIVE_VISITOR) from AGGREGATION_TABLE where host='CS' and DOMAIN<>'Google.com' | 2.58s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select round(date, 'day',50), sum(core)+2 from AGGREGATION_TABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host | 1.09s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select trunc(date, 'hour', 1000), count(DB), count(ACTIVE_VISITOR) from AGGREGATION_TABLE where feature='Login' and (core<50 or db<20 or active_visitor > 200) group by trunc(date, 'hour', 1000) | 1.35s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(active_visitor) count from AGGREGATION_TABLE | 1.69s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(distinct active_visitor) count from AGGREGATION_TABLE | 1.99s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select percentile_cont(0.9) within group (order by active_visitor asc) from AGGREGATION_TABLE | 1.96s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select percentile_cont(0.1) within group (order by active_visitor desc) from AGGREGATION_TABLE | 1.96s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core), count(db), count(active_visitor) from AGGREGATION_TABLE | 2.22s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(distinct core), count(distinct db), count(distinct active_visitor) from AGGREGATION_TABLE | 2.74s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select percentile_cont(0.5) within group (order by core asc), percentile_cont(0.5) within group (order by db asc), percentile_cont(0.5) within group (order by active_visitor asc) from AGGREGATION_TABLE | 2.74s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select core, count(db) count from AGGREGATION_TABLE group by CORE | 1.82s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select core, count(distinct db) count from AGGREGATION_TABLE group by CORE | 2.97s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select core, percentile_cont(0.9999) within group (order by db asc) from AGGREGATION_TABLE group by CORE | 3.03s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from AGGREGATION_TABLE where core IN (1,25,50,75,100) | 0.76s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from AGGREGATION_TABLE where core < 10 and db < 200 | 0.97s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from AGGREGATION_TABLE where core < 10 and active_visitor < 1000 | 0.82s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from AGGREGATION_TABLE where core > 90 | 0.82s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
LOAD DATA AGGREGATION_TABLE [2000000 ROWS] | 108.72s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(1) from IN_LIKE_TABLE where K1 in ('Z', 'D', 'F', 'X') | 0.71s PHOENIX-REVSCAN-HBASE-REVSCAN |
| select * from IN_LIKE_TABLE where K1 in ('A','B') and K2 in ('xxx1000000','xxx2000000','xxx2000001') | 0.01s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select * from IN_LIKE_TABLE where K1 in ('A', 'C', 'E', 'F', 'H') and K2 like 'xxxxxx1%' | 0.01s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from IN_LIKE_TABLE where K1 in ('X','A','B','C','D','E','F','G','H','I','Z') and K2 like '%1%' | 1.29s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from IN_LIKE_TABLE where (K1 in ('A','E','F','G','H','I','Z') or K1 like 'E%') and (K2 like '%xx1%' or K2 like '%xxxxxx2%') | 1.31s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
LOAD DATA IN_LIKE_TABLE [2000000 ROWS] | 91.36s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from INDEXED_TABLE | 0.9s PHOENIX-REVSCAN-HBASE-REVSCAN |
| select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(*) from INDEXED_TABLE | 2.3s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(*) from INDEXED_TABLE | 0.81s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(*) from INDEXED_TABLE | 1.53s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select round(date, 'day',50), sum(core)+2 from INDEXED_TABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host | 0.28s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ round(date, 'day',50), sum(core)+2 from INDEXED_TABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host | 1.55s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE where core IN (1,100) | 0.12s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TABLE where core IN (1,100) | 0.08s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TABLE where core IN (1,100) | 0.07s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core IN (1,100) | 1.08s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE where core IN (1,25,50,75,100) | 0.14s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TABLE where core IN (1,25,50,75,100) | 0.16s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TABLE where core IN (1,25,50,75,100) | 0.12s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core IN (1,25,50,75,100) | 1.1s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE where core < 10 and db < 200 | 0.2s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TABLE where core < 10 and db < 200 | 0.74s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TABLE where core < 10 and db < 200 | 0.21s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core < 10 and db < 200 | 1.4s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE where core < 100 and db < 2000 | 1.29s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core < 100 and db < 2000 | 3.2s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE where core > 90 | 0.18s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core > 90 | 1.25s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE where core > 0 | 1.06s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core > 0 | 2.09s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select db from INDEXED_TABLE where db >5 and db <7 order by db | 0.06s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ db from INDEXED_TABLE where db >5 and db <7 order by db | 1.96s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select db from INDEXED_TABLE order by db limit 10 | 0.07s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ db from INDEXED_TABLE order by db limit 10 | 2.68s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
CREATE INDEX idx5 ON INDEXED_TABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR) | 38.81s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
LOAD DATA INDEXED_TABLE [2000000 ROWS] | 447.77s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from INDEXED_TABLE_MUTABLE | 1.03s PHOENIX-REVSCAN-HBASE-REVSCAN |
| select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(*) from INDEXED_TABLE_MUTABLE | 1.72s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(*) from INDEXED_TABLE_MUTABLE | 0.79s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(*) from INDEXED_TABLE_MUTABLE | 1.44s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select round(date, 'day',50), sum(core)+2 from INDEXED_TABLE_MUTABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host | 0.44s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ round(date, 'day',50), sum(core)+2 from INDEXED_TABLE_MUTABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host | 1.62s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100) | 0.14s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100) | 0.08s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100) | 0.12s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100) | 1.02s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100) | 0.16s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100) | 0.11s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100) | 0.14s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100) | 1.04s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200 | 0.4s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200 | 0.44s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200 | 0.38s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200 | 1.38s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE_MUTABLE where core < 100 and db < 2000 | 1.32s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core < 100 and db < 2000 | 3.1s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE_MUTABLE where core > 90 | 0.21s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core > 90 | 1.17s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(core) from INDEXED_TABLE_MUTABLE where core > 0 | 0.92s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core > 0 | 1.92s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select db from INDEXED_TABLE_MUTABLE where db >5 and db <7 order by db | 0.13s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ db from INDEXED_TABLE_MUTABLE where db >5 and db <7 order by db | 1.89s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select db from INDEXED_TABLE_MUTABLE order by db limit 10 | 0.78s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select /*+NO_INDEX*/ db from INDEXED_TABLE_MUTABLE order by db limit 10 | 2.48s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
CREATE INDEX midx5 ON INDEXED_TABLE_MUTABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR) | 39.62s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
LOAD DATA INDEXED_TABLE_MUTABLE [2000000 ROWS] | 696.2s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(1) from TABLE_6CF where K1 in ('A', 'B', 'C', 'D') | 1.7s PHOENIX-REVSCAN-HBASE-REVSCAN |
| select count(1) from TABLE_6CF where K1 in ('A', 'C') | 1.52s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from TABLE_6CF where f < 1000 | 1.37s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select a,b,c,d,e,f from TABLE_6CF where B>1000 and B<2000 and f>1000 and f<2000 | 1.4s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select sum(a),sum(b),sum(c),sum(d) from TABLE_6CF group by K1 | 5.03s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from TABLE_6CF group by A | 1.91s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from TABLE_6CF group by B | 2.9s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from TABLE_6CF where f < 10000 | 2.46s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
LOAD DATA TABLE_6CF [2000000 ROWS] | 106.98s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(1) from TABLE_1CF where K1 in ('A', 'B', 'C', 'D') | 1.85s PHOENIX-REVSCAN-HBASE-REVSCAN |
| select count(1) from TABLE_1CF where K1 in ('A', 'C') | 1.69s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from TABLE_1CF where f < 1000 | 2.05s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select a,b,c,d,e,f from TABLE_1CF where B>1000 and B<2000 and f>1000 and f<2000 | 2.48s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select sum(a),sum(b),sum(c),sum(d) from TABLE_1CF group by K1 | 4.19s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from TABLE_1CF group by A | 2.12s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from TABLE_1CF group by B | 2.84s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
select count(*) from TABLE_1CF where f < 10000 | 2.44s PHOENIX-REVSCAN-HBASE-REVSCAN |
|
LOAD DATA TABLE_1CF [2000000 ROWS] | 98.46s PHOENIX-REVSCAN-HBASE-REVSCAN |
|