select count(*) from AGGREGATION_TEST_TABLE
| select count(1) from AGGREGATION_TEST_TABLE group by HOST
|
select MIN(CORE) from AGGREGATION_TEST_TABLE group by DOMAIN
|
select core, count(1) from AGGREGATION_TEST_TABLE group by CORE
|
select core, host, sum(ACTIVE_VISITOR) from AGGREGATION_TEST_TABLE group by core, host
|
select AVG(DB), MIN(CORE), MAX(ACTIVE_VISITOR) from AGGREGATION_TEST_TABLE where host='CS' and DOMAIN<>'Google.com'
|
select round(date, 'day',50), sum(core)+2 from AGGREGATION_TEST_TABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host
|
select trunc(date, 'hour', 1000), count(DB), count(ACTIVE_VISITOR) from AGGREGATION_TEST_TABLE where feature='Login' and (core<50 or db<20 or active_visitor > 200) group by trunc(date, 'hour', 1000) | 2.62s 200))
SERVER AGGREGATE INTO DISTINCT ROWS BY [ROUND(DATE)]
CLIENT MERGE SORT'>CURRENT-SNAPSHOT |
| 2.54s 200))
SERVER AGGREGATE INTO DISTINCT ROWS BY [ROUND(DATE)]
CLIENT MERGE SORT'>LAST-SNAPSHOT |
| 3.45s 200))
SERVER AGGREGATE INTO DISTINCT ROWS BY [ROUND(DATE)]
CLIENT MERGE SORT'>PHOENIX-1.1 |
| 2.46s 200))
SERVER AGGREGATE INTO DISTINCT ROWS BY [ROUND(DATE)]
CLIENT MERGE SORT'>PHOENIX-1.2.0 |
|
select count(active_visitor) count from AGGREGATION_TEST_TABLE
|
select count(distinct active_visitor) count from AGGREGATION_TEST_TABLE
|
select percentile_cont(0.9) within group (order by active_visitor asc) from AGGREGATION_TEST_TABLE
|
select percentile_cont(0.1) within group (order by active_visitor desc) from AGGREGATION_TEST_TABLE
|
select count(core), count(db), count(active_visitor) from AGGREGATION_TEST_TABLE
|
select count(distinct core), count(distinct db), count(distinct active_visitor) from AGGREGATION_TEST_TABLE
|
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_TEST_TABLE
|
select core, count(db) count from AGGREGATION_TEST_TABLE group by CORE
|
select core, count(distinct db) count from AGGREGATION_TEST_TABLE group by CORE
|
select core, percentile_cont(0.9999) within group (order by db asc) from AGGREGATION_TEST_TABLE group by CORE
|
select count(core) from AGGREGATION_TEST_TABLE where core < 10 and active_visitor < 1000
|
select count(core) from AGGREGATION_TEST_TABLE where core < 50 and active_visitor < 5000
|
select count(core) from AGGREGATION_TEST_TABLE where core < 100 and active_visitor < 10000
|
select count(core) from AGGREGATION_TEST_TABLE where core > 90
|
select count(core) from AGGREGATION_TEST_TABLE where core > 50
|
select count(core) from AGGREGATION_TEST_TABLE where core > 0
|
LOAD DATA [4000000 ROWS]
|
select count(1) from IN_LIKE_TABLE where K1 in ('Z', 'D', 'F', 'X')
| select * from IN_LIKE_TABLE where K1 in ('A','B') and K2 in ('xxx1000000','xxx2000000','xxx2000001')
|
select * from IN_LIKE_TABLE where K1 in ('A', 'C', 'E', 'F', 'H') and K2 like 'xxxxxx1%'
|
select count(*) from IN_LIKE_TABLE where K1 in ('X','A','B','C','D','E','F','G','H','I','Z') and K2 like '%1%'
|
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%')
|
LOAD DATA [4000000 ROWS]
|
select count(*) from INDEXED_TEST_TABLE
| select count(1) from INDEXED_TEST_TABLE group by HOST
|
select MIN(CORE) from INDEXED_TEST_TABLE group by DOMAIN
|
select core, count(1) from INDEXED_TEST_TABLE group by CORE
|
select core, host, sum(ACTIVE_VISITOR) from INDEXED_TEST_TABLE group by core, host
|
select AVG(DB), MIN(CORE), MAX(ACTIVE_VISITOR) from INDEXED_TEST_TABLE where host='CS' and DOMAIN<>'Google.com'
|
select round(date, 'day',50), sum(core)+2 from INDEXED_TEST_TABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host
|
select trunc(date, 'hour', 1000), count(DB), count(ACTIVE_VISITOR) from INDEXED_TEST_TABLE where feature='Login' and (core<50 or db<20 or active_visitor > 200) group by trunc(date, 'hour', 1000) | 1.23s 200))
SERVER AGGREGATE INTO DISTINCT ROWS BY [ROUND(DATE)]
CLIENT MERGE SORT'>CURRENT-SNAPSHOT |
| 1.23s 200))
SERVER AGGREGATE INTO DISTINCT ROWS BY [ROUND(DATE)]
CLIENT MERGE SORT'>LAST-SNAPSHOT |
| 1.74s 200))
SERVER AGGREGATE INTO DISTINCT ROWS BY [ROUND(DATE)]
CLIENT MERGE SORT'>PHOENIX-1.1 |
| 1.27s 200))
SERVER AGGREGATE INTO DISTINCT ROWS BY [ROUND(DATE)]
CLIENT MERGE SORT'>PHOENIX-1.2.0 |
|
select count(active_visitor) count from INDEXED_TEST_TABLE
|
select count(distinct active_visitor) count from INDEXED_TEST_TABLE
|
select percentile_cont(0.9) within group (order by active_visitor asc) from INDEXED_TEST_TABLE
|
select percentile_cont(0.1) within group (order by active_visitor desc) from INDEXED_TEST_TABLE
|
select count(core), count(db), count(active_visitor) from INDEXED_TEST_TABLE
|
select count(distinct core), count(distinct db), count(distinct active_visitor) from INDEXED_TEST_TABLE
|
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 INDEXED_TEST_TABLE
|
select core, count(db) count from INDEXED_TEST_TABLE group by CORE
|
select core, count(distinct db) count from INDEXED_TEST_TABLE group by CORE
|
select core, percentile_cont(0.9999) within group (order by db asc) from INDEXED_TEST_TABLE group by CORE
|
select count(core) from INDEXED_TEST_TABLE where core < 10 and active_visitor < 1000
|
select count(core) from INDEXED_TEST_TABLE where core < 50 and active_visitor < 5000
|
select count(core) from INDEXED_TEST_TABLE where core < 100 and active_visitor < 10000
|
select count(core) from INDEXED_TEST_TABLE where core > 90
|
select count(core) from INDEXED_TEST_TABLE where core > 50
|
select count(core) from INDEXED_TEST_TABLE where core > 0
|
LOAD DATA [2000000 ROWS]
|
select count(1) from CF_TABLE_14CF where K1 in ('A', 'B', 'C', 'D')
| select count(1) from CF_TABLE_14CF where K1 in ('A', 'C')
|
select count(*) from CF_TABLE_14CF where N < 1000
|
select a,b,c,d,e,f,g,h,i,j,k,l,m,n from CF_TABLE_14CF where (B>1000 and B<2000) and (M>1000 and M<2000)
|
select sum(a),sum(e),sum(j),sum(n) from CF_TABLE_14CF group by K1
|
LOAD DATA [4000000 ROWS]
|
select count(1) from CF_TABLE_1CF where K1 in ('A', 'B', 'C', 'D')
| select count(1) from CF_TABLE_1CF where K1 in ('A', 'C')
|
select count(*) from CF_TABLE_1CF where N < 1000
|
select a,b,c,d,e,f,g,h,i,j,k,l,m,n from CF_TABLE_1CF where B>1000 and B<2000 and M>1000 and M<2000
|
select sum(a),sum(e),sum(j),sum(n) from CF_TABLE_1CF group by K1
|
LOAD DATA [4000000 ROWS]
|