select count(*) from INDEXED_TEST_TABLE
| select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(*) from INDEXED_TEST_TABLE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(*) from INDEXED_TEST_TABLE
|
select /*+NO_INDEX*/ count(*) from INDEXED_TEST_TABLE
|
select count(1) from INDEXED_TEST_TABLE group by HOST
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(1) from INDEXED_TEST_TABLE group by HOST
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(1) from INDEXED_TEST_TABLE group by HOST
|
select /*+NO_INDEX*/ count(1) from INDEXED_TEST_TABLE group by HOST
|
select MIN(CORE) from INDEXED_TEST_TABLE group by DOMAIN
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ MIN(CORE) from INDEXED_TEST_TABLE group by DOMAIN
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ MIN(CORE) from INDEXED_TEST_TABLE group by DOMAIN
|
select /*+NO_INDEX*/ MIN(CORE) from INDEXED_TEST_TABLE group by DOMAIN
|
select core, count(1) from INDEXED_TEST_TABLE group by CORE
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ core, count(1) from INDEXED_TEST_TABLE group by CORE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ core, count(1) from INDEXED_TEST_TABLE group by CORE
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ core, host, sum(ACTIVE_VISITOR) from INDEXED_TEST_TABLE group by core, host
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ core, host, sum(ACTIVE_VISITOR) from INDEXED_TEST_TABLE group by core, host
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ AVG(DB), MIN(CORE), MAX(ACTIVE_VISITOR) from INDEXED_TEST_TABLE where host='CS' and DOMAIN<>'Google.com'
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ AVG(DB), MIN(CORE), MAX(ACTIVE_VISITOR) from INDEXED_TEST_TABLE where host='CS' and DOMAIN<>'Google.com'
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ 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 /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ 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 /*+NO_INDEX*/ 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)
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ 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)
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ 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)
|
select /*+NO_INDEX*/ 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)
|
select count(active_visitor) count from INDEXED_TEST_TABLE
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(active_visitor) count from INDEXED_TEST_TABLE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(active_visitor) count from INDEXED_TEST_TABLE
|
select /*+NO_INDEX*/ count(active_visitor) count from INDEXED_TEST_TABLE
|
select count(distinct active_visitor) count from INDEXED_TEST_TABLE
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(distinct active_visitor) count from INDEXED_TEST_TABLE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(distinct active_visitor) count from INDEXED_TEST_TABLE
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ percentile_cont(0.9) within group (order by active_visitor asc) from INDEXED_TEST_TABLE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ percentile_cont(0.9) within group (order by active_visitor asc) from INDEXED_TEST_TABLE
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ percentile_cont(0.1) within group (order by active_visitor desc) from INDEXED_TEST_TABLE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ percentile_cont(0.1) within group (order by active_visitor desc) from INDEXED_TEST_TABLE
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core), count(db), count(active_visitor) from INDEXED_TEST_TABLE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core), count(db), count(active_visitor) from INDEXED_TEST_TABLE
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(distinct core), count(distinct db), count(distinct active_visitor) from INDEXED_TEST_TABLE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(distinct core), count(distinct db), count(distinct active_visitor) from INDEXED_TEST_TABLE
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ 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 /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ 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 /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ core, count(db) count from INDEXED_TEST_TABLE group by CORE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ core, count(db) count from INDEXED_TEST_TABLE group by CORE
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ core, count(distinct db) count from INDEXED_TEST_TABLE group by CORE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ core, count(distinct db) count from INDEXED_TEST_TABLE group by CORE
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ core, percentile_cont(0.9999) within group (order by db asc) from INDEXED_TEST_TABLE group by CORE
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ core, percentile_cont(0.9999) within group (order by db asc) from INDEXED_TEST_TABLE group by CORE
|
select /*+NO_INDEX*/ 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 IN (1,100)
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core IN (1,100)
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core IN (1,100)
|
select /*+NO_INDEX*/ count(core) from INDEXED_TEST_TABLE where core IN (1,100)
|
select count(core) from INDEXED_TEST_TABLE where core IN (1,25,50,75,100)
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core IN (1,25,50,75,100)
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core IN (1,25,50,75,100)
|
select /*+NO_INDEX*/ count(core) from INDEXED_TEST_TABLE where core IN (1,25,50,75,100)
|
select count(core) from INDEXED_TEST_TABLE where core < 10 and db < 200
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core < 10 and db < 200
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core < 10 and db < 200
|
select /*+NO_INDEX*/ count(core) from INDEXED_TEST_TABLE where core < 10 and db < 200
|
select count(core) from INDEXED_TEST_TABLE where core < 50 and db < 1000
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core < 50 and db < 1000
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core < 50 and db < 1000
|
select /*+NO_INDEX*/ count(core) from INDEXED_TEST_TABLE where core < 50 and db < 1000
|
select count(core) from INDEXED_TEST_TABLE where core < 100 and db < 2000
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core < 100 and db < 2000
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core < 100 and db < 2000
|
select /*+NO_INDEX*/ count(core) from INDEXED_TEST_TABLE where core < 100 and db < 2000
|
select count(core) from INDEXED_TEST_TABLE where core < 10 and active_visitor < 1000
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core < 10 and active_visitor < 1000
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core < 10 and active_visitor < 1000
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core < 50 and active_visitor < 5000
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core < 50 and active_visitor < 5000
|
select /*+NO_INDEX*/ 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 /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core < 100 and active_visitor < 10000
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core < 100 and active_visitor < 10000
|
select /*+NO_INDEX*/ count(core) from INDEXED_TEST_TABLE where core < 100 and active_visitor < 10000
|
select count(core) from INDEXED_TEST_TABLE where core > 90
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core > 90
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core > 90
|
select /*+NO_INDEX*/ count(core) from INDEXED_TEST_TABLE where core > 90
|
select count(core) from INDEXED_TEST_TABLE where core > 50
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core > 50
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core > 50
|
select /*+NO_INDEX*/ count(core) from INDEXED_TEST_TABLE where core > 50
|
select count(core) from INDEXED_TEST_TABLE where core > 0
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ count(core) from INDEXED_TEST_TABLE where core > 0
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ count(core) from INDEXED_TEST_TABLE where core > 0
|
select /*+NO_INDEX*/ count(core) from INDEXED_TEST_TABLE where core > 0
|
select db from INDEXED_TEST_TABLE where db >5 and db <10 order by db
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ db from INDEXED_TEST_TABLE where db >5 and db <10 order by db
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ db from INDEXED_TEST_TABLE where db >5 and db <10 order by db
|
select /*+NO_INDEX*/ db from INDEXED_TEST_TABLE where db >5 and db <10 order by db
|
select db from INDEXED_TEST_TABLE order by db limit 100
|
select /*+ INDEX(INDEXED_TEST_TABLE idx1 idx2 idx3 idx4) */ db from INDEXED_TEST_TABLE order by db limit 100
|
select /*+ INDEX(INDEXED_TEST_TABLE ids1 ids2 ids3 ids4) */ db from INDEXED_TEST_TABLE order by db limit 100
|
select /*+NO_INDEX*/ db from INDEXED_TEST_TABLE order by db limit 100
|
LOAD DATA [4000000 ROWS]
|