select count(*) from T1K
| ||
select mypk from T1K
|
select count(*) from T5M where column1 in (?,?,?...)
| |
select count(*) from T5M JOIN T1K on T1K.mypk = T5M.column1
|
select count(*) from T5M
|
select count(*) from T5M where column2 in (?,?,?...)
| |
select count(*) from T5M JOIN T1K on T1K.mypk = T5M.column2
|
select count(*) from AGGREGATION_TABLE
| ||
select count(1) from AGGREGATION_TABLE group by HOST
| ||
select core, count(1) from AGGREGATION_TABLE group by CORE
| ||
select core, host, sum(ACTIVE_VISITOR) from AGGREGATION_TABLE group by core, host
| ||
select AVG(DB), MIN(CORE), MAX(ACTIVE_VISITOR) from AGGREGATION_TABLE where host='CS' and DOMAIN<>'Google.com'
| ||
select round(date, 'day',50), sum(core)+2 from AGGREGATION_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_TABLE where feature='Login' and (core<50 or db<20 or active_visitor > 200) group by trunc(date, 'hour', 1000)
| ||
select count(active_visitor) count from AGGREGATION_TABLE
| ||
select count(distinct active_visitor) count from AGGREGATION_TABLE
| ||
select count(core), count(db), count(active_visitor) from AGGREGATION_TABLE
| ||
select core, count(db) count from AGGREGATION_TABLE group by CORE
| ||
select count(core) from AGGREGATION_TABLE where core < 10 and db < 200
| ||
select count(core) from AGGREGATION_TABLE where core < 10 and active_visitor < 1000
| ||
select count(core) from AGGREGATION_TABLE where core > 90
|
select count(*) from WIDE_PK
|
select count(*) from TABLE_6CF where f < 10000
|
select count(*) from TABLE_1CF where f < 10000
|
select count(*) from WIDE_PK where column2<10
| ||
select count(*) from WIDE_PK where column2<50 and column3<50 and column4<50 and column5<50
|
select count(1) from TABLE_6CF where K1 in ('A', 'B', 'C', 'D')
| ||
select count(1) from TABLE_6CF where K1 in ('A', 'C')
| ||
select count(*) from TABLE_6CF where f < 1000
| ||
select a,b,c,d,e,f from TABLE_6CF where B>1000 and B<2000 and f>1000 and f<2000
| ||
select sum(a),sum(b),sum(c),sum(d) from TABLE_6CF group by K1
|
select count(1) from TABLE_1CF where K1 in ('A', 'B', 'C', 'D')
| ||
select count(1) from TABLE_1CF where K1 in ('A', 'C')
| ||
select count(*) from TABLE_1CF where f < 1000
| ||
select a,b,c,d,e,f from TABLE_1CF where B>1000 and B<2000 and f>1000 and f<2000
| ||
select sum(a),sum(b),sum(c),sum(d) from TABLE_1CF group by K1
|
select count(distinct core), count(distinct db), count(distinct active_visitor) from AGGREGATION_TABLE
| ||
select core, count(distinct db) count from AGGREGATION_TABLE group by CORE
|
select count(core) from AGGREGATION_TABLE where core IN (1,25,50,75,100)
|
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%')
|
select count(*) from INDEXED_TABLE
| ||
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(*) from INDEXED_TABLE
| ||
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(*) from INDEXED_TABLE
| ||
select /*+NO_INDEX*/ count(*) from INDEXED_TABLE
| ||
select round(date, 'day',50), sum(core)+2 from INDEXED_TABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host
| ||
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
| ||
select count(core) from INDEXED_TABLE where core IN (1,100)
| ||
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TABLE where core IN (1,100)
| ||
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TABLE where core IN (1,100)
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core IN (1,100)
| ||
select count(core) from INDEXED_TABLE where core IN (1,25,50,75,100)
| ||
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TABLE where core IN (1,25,50,75,100)
| ||
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TABLE where core IN (1,25,50,75,100)
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core IN (1,25,50,75,100)
| ||
select count(core) from INDEXED_TABLE where core < 10 and db < 200
| ||
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TABLE where core < 10 and db < 200
| ||
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TABLE where core < 10 and db < 200
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core < 10 and db < 200
| ||
select count(core) from INDEXED_TABLE where core < 100 and db < 2000
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core < 100 and db < 2000
| ||
select count(core) from INDEXED_TABLE where core > 90
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core > 90
| ||
select count(core) from INDEXED_TABLE where core > 0
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core > 0
| ||
select db from INDEXED_TABLE where db >5 and db <7 order by db
| ||
select /*+NO_INDEX*/ db from INDEXED_TABLE where db >5 and db <7 order by db
| ||
select db from INDEXED_TABLE order by db limit 10
| ||
select /*+NO_INDEX*/ db from INDEXED_TABLE order by db limit 10
|
select count(*) from INDEXED_TABLE_MUTABLE
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(*) from INDEXED_TABLE_MUTABLE
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(*) from INDEXED_TABLE_MUTABLE
| ||
select /*+NO_INDEX*/ count(*) from INDEXED_TABLE_MUTABLE
| ||
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
| ||
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
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100)
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100)
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100)
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100)
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100)
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100)
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100)
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100)
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core < 100 and db < 2000
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core < 100 and db < 2000
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core > 90
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core > 90
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core > 0
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core > 0
| ||
select db from INDEXED_TABLE_MUTABLE where db >5 and db <7 order by db
| ||
select /*+NO_INDEX*/ db from INDEXED_TABLE_MUTABLE where db >5 and db <7 order by db
| ||
select db from INDEXED_TABLE_MUTABLE order by db limit 10
| ||
select /*+NO_INDEX*/ db from INDEXED_TABLE_MUTABLE order by db limit 10
|
CREATE INDEX idx5 ON INDEXED_TABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR)
|
CREATE INDEX midx5 ON INDEXED_TABLE_MUTABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR)
|
select count(*) from TABLE_6CF group by A
| ||
select count(*) from TABLE_6CF group by B
|
select count(*) from TABLE_1CF group by A
| ||
select count(*) from TABLE_1CF group by B
|
LOAD DATA AGGREGATION_TABLE [200000 ROWS]
|
LOAD DATA IN_LIKE_TABLE [200000 ROWS]
|
LOAD DATA INDEXED_TABLE [200000 ROWS]
|
LOAD DATA INDEXED_TABLE_MUTABLE [200000 ROWS]
|
LOAD DATA TABLE_6CF [200000 ROWS]
|
LOAD DATA SALTED_TABLE [200000 ROWS]
|
LOAD DATA TABLE_1CF [200000 ROWS]
|
LOAD DATA T1K [1000 ROWS]
|
LOAD DATA T5M [200000 ROWS]
|
LOAD DATA WIDE_PK [200000 ROWS]
|
select percentile_cont(0.9) within group (order by active_visitor asc) from AGGREGATION_TABLE
| ||
select percentile_cont(0.1) within group (order by active_visitor desc) from AGGREGATION_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_TABLE
| ||
select core, percentile_cont(0.9999) within group (order by db asc) from AGGREGATION_TABLE group by CORE
|
select count(1) from SALTED_TABLE where K1 in ('A', 'B', 'C', 'D')
| ||
select count(*) from SALTED_TABLE where D < 1000
| ||
select avg(c),avg(d) from SALTED_TABLE group by K1
|
select count(*) from AGGREGATION_TABLE
| ||
select count(1) from AGGREGATION_TABLE group by HOST
| ||
select core, count(1) from AGGREGATION_TABLE group by CORE
| ||
select core, host, sum(ACTIVE_VISITOR) from AGGREGATION_TABLE group by core, host
| ||
select AVG(DB), MIN(CORE), MAX(ACTIVE_VISITOR) from AGGREGATION_TABLE where host='CS' and DOMAIN<>'Google.com'
| ||
select round(date, 'day',50), sum(core)+2 from AGGREGATION_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_TABLE where feature='Login' and (core<50 or db<20 or active_visitor > 200) group by trunc(date, 'hour', 1000)
| ||
select count(active_visitor) count from AGGREGATION_TABLE
| ||
select count(distinct active_visitor) count from AGGREGATION_TABLE
| ||
select percentile_cont(0.9) within group (order by active_visitor asc) from AGGREGATION_TABLE
| ||
select percentile_cont(0.1) within group (order by active_visitor desc) from AGGREGATION_TABLE
| ||
select count(core), count(db), count(active_visitor) from AGGREGATION_TABLE
| ||
select count(distinct core), count(distinct db), count(distinct active_visitor) from AGGREGATION_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_TABLE
| ||
select core, count(db) count from AGGREGATION_TABLE group by CORE
| ||
select core, count(distinct db) count from AGGREGATION_TABLE group by CORE
| ||
select core, percentile_cont(0.9999) within group (order by db asc) from AGGREGATION_TABLE group by CORE
| ||
select count(core) from AGGREGATION_TABLE where core IN (1,25,50,75,100)
| ||
select count(core) from AGGREGATION_TABLE where core < 10 and db < 200
| ||
select count(core) from AGGREGATION_TABLE where core < 10 and active_visitor < 1000
| ||
select count(core) from AGGREGATION_TABLE where core > 90
| ||
LOAD DATA AGGREGATION_TABLE [200000 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 IN_LIKE_TABLE [200000 ROWS]
|
select count(*) from INDEXED_TABLE
| ||
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(*) from INDEXED_TABLE
| ||
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(*) from INDEXED_TABLE
| ||
select /*+NO_INDEX*/ count(*) from INDEXED_TABLE
| ||
select round(date, 'day',50), sum(core)+2 from INDEXED_TABLE where (CORE<10 or CORE>90) group by round(date, 'day',50), host
| ||
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
| ||
select count(core) from INDEXED_TABLE where core IN (1,100)
| ||
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TABLE where core IN (1,100)
| ||
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TABLE where core IN (1,100)
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core IN (1,100)
| ||
select count(core) from INDEXED_TABLE where core IN (1,25,50,75,100)
| ||
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TABLE where core IN (1,25,50,75,100)
| ||
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TABLE where core IN (1,25,50,75,100)
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core IN (1,25,50,75,100)
| ||
select count(core) from INDEXED_TABLE where core < 10 and db < 200
| ||
select /*+ INDEX(INDEXED_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TABLE where core < 10 and db < 200
| ||
select /*+ INDEX(INDEXED_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TABLE where core < 10 and db < 200
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core < 10 and db < 200
| ||
select count(core) from INDEXED_TABLE where core < 100 and db < 2000
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core < 100 and db < 2000
| ||
select count(core) from INDEXED_TABLE where core > 90
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core > 90
| ||
select count(core) from INDEXED_TABLE where core > 0
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE where core > 0
| ||
select db from INDEXED_TABLE where db >5 and db <7 order by db
| ||
select /*+NO_INDEX*/ db from INDEXED_TABLE where db >5 and db <7 order by db
| ||
select db from INDEXED_TABLE order by db limit 10
| ||
select /*+NO_INDEX*/ db from INDEXED_TABLE order by db limit 10
| ||
CREATE INDEX idx5 ON INDEXED_TABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR)
| ||
LOAD DATA INDEXED_TABLE [200000 ROWS]
|
select count(*) from INDEXED_TABLE_MUTABLE
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(*) from INDEXED_TABLE_MUTABLE
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(*) from INDEXED_TABLE_MUTABLE
| ||
select /*+NO_INDEX*/ count(*) from INDEXED_TABLE_MUTABLE
| ||
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
| ||
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
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100)
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100)
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100)
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,100)
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100)
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100)
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100)
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core IN (1,25,50,75,100)
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE midx1 midx2 midx3 midx4) */ count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200
| ||
select /*+ INDEX(INDEXED_TABLE_MUTABLE mids1 mids2 mids3 mids4) */ count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core < 10 and db < 200
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core < 100 and db < 2000
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core < 100 and db < 2000
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core > 90
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core > 90
| ||
select count(core) from INDEXED_TABLE_MUTABLE where core > 0
| ||
select /*+NO_INDEX*/ count(core) from INDEXED_TABLE_MUTABLE where core > 0
| ||
select db from INDEXED_TABLE_MUTABLE where db >5 and db <7 order by db
| ||
select /*+NO_INDEX*/ db from INDEXED_TABLE_MUTABLE where db >5 and db <7 order by db
| ||
select db from INDEXED_TABLE_MUTABLE order by db limit 10
| ||
select /*+NO_INDEX*/ db from INDEXED_TABLE_MUTABLE order by db limit 10
| ||
CREATE INDEX midx5 ON INDEXED_TABLE_MUTABLE (CORE) INCLUDE (DB,ACTIVE_VISITOR)
| ||
LOAD DATA INDEXED_TABLE_MUTABLE [200000 ROWS]
|
select count(1) from TABLE_6CF where K1 in ('A', 'B', 'C', 'D')
| ||
select count(1) from TABLE_6CF where K1 in ('A', 'C')
| ||
select count(*) from TABLE_6CF where f < 1000
| ||
select a,b,c,d,e,f from TABLE_6CF where B>1000 and B<2000 and f>1000 and f<2000
| ||
select sum(a),sum(b),sum(c),sum(d) from TABLE_6CF group by K1
| ||
select count(*) from TABLE_6CF group by A
| ||
select count(*) from TABLE_6CF group by B
| ||
select count(*) from TABLE_6CF where f < 10000
| ||
LOAD DATA TABLE_6CF [200000 ROWS]
|
select count(1) from SALTED_TABLE where K1 in ('A', 'B', 'C', 'D')
| ||
select count(*) from SALTED_TABLE where D < 1000
| ||
select avg(c),avg(d) from SALTED_TABLE group by K1
| ||
LOAD DATA SALTED_TABLE [200000 ROWS]
|
select count(1) from TABLE_1CF where K1 in ('A', 'B', 'C', 'D')
| ||
select count(1) from TABLE_1CF where K1 in ('A', 'C')
| ||
select count(*) from TABLE_1CF where f < 1000
| ||
select a,b,c,d,e,f from TABLE_1CF where B>1000 and B<2000 and f>1000 and f<2000
| ||
select sum(a),sum(b),sum(c),sum(d) from TABLE_1CF group by K1
| ||
select count(*) from TABLE_1CF group by A
| ||
select count(*) from TABLE_1CF group by B
| ||
select count(*) from TABLE_1CF where f < 10000
| ||
LOAD DATA TABLE_1CF [200000 ROWS]
|
select count(*) from T1K
| ||
select mypk from T1K
| ||
select count(*) from T5M where column1 in (?,?,?...)
| ||
select count(*) from T5M where column2 in (?,?,?...)
| ||
select count(*) from T5M JOIN T1K on T1K.mypk = T5M.column1
| ||
select count(*) from T5M JOIN T1K on T1K.mypk = T5M.column2
| ||
LOAD DATA T1K [1000 ROWS]
|
select count(*) from T5M
| ||
LOAD DATA T5M [200000 ROWS]
|
select count(*) from WIDE_PK
| ||
select count(*) from WIDE_PK where column2<10
| ||
select count(*) from WIDE_PK where column2<50 and column3<50 and column4<50 and column5<50
| ||
LOAD DATA WIDE_PK [200000 ROWS]
|