问题:从拥有大约300,000,000行,约有90G数据的表里如何抽取大约30,000,000行数据到临时表,用什么方法?
方法一:
CTAS+parallel
create table xxx_temp nologging as select /*+ parallel(a 20) */ * from xxx a where a.id in (select id from id_temp);
方法二:exp/imp
问题:从拥有大约300,000,000行,约有90G数据的表里如何抽取大约30,000,000行数据到临时表,用什么方法?
方法一:
CTAS+parallel
create table xxx_temp nologging as select /*+ parallel(a 20) */ * from xxx a where a.id in (select id from id_temp);
方法二:exp/imp