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
|
LOAD DATA T1K [1000 ROWS]
|
LOAD DATA T5M [5000000 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 [5000000 ROWS]
|