问题:
SQL> insert into log_ select level lv,rownum rn from dual connect by level<=10000000;
insert into log_ select level lv,rownum rn from dual connect by level<=10000000
*
第 1 行出现错误:
ORA-30009: CONNECT BY 操作内存不足
解决第一步:
SQL> insert /*+append*/ into log_ select level lv,rownum rn from xmltable('1 to 10000000');
insert /*+append*/ into log_ select level lv,rownum rn from xmltable('1 to 10000000')
*
第 1 行出现错误:
ORA-01788: 此查询块中要求 CONNECT BY 子句
解决第二步:
SQL> conn /as sysdba
已连接。
SQL> alter system set "_allow_level_without_connect_by"=true;
系统已更改。
解决第三步:
SQL> conn hr/hr
已连接。
SQL> insert into log_ select level lv,rownum rn from xmltable('1 to 10000000');
已创建10000000行。
ORA-39001 ORA-39071ORA-00936ORA-39165ORA-39168ORA-31655ORA-31617 ORA-19505 ORA-2703 ORA-39005
nohup expdp system/oracle DIRECTORY=dir_20121212 DUMPFILE=lhjt_%U.dmp LOGFILE=lhjt20121212.log parfile=/u01/app/oracle/bak20121212/par.par parallel=4 job_name=20121212a &