报错如下:
ERROR:
ORA-01062: 无法分配定义缓冲区所需的内存请高手解答 在线等!

解决方案 »

  1.   

    ORA-01062: unable to allocate memory for define buffer 
    Cause: Exceeded the maximum buffer size for current plaform
    Action: Use piecewise fetch with a smaller buffer size
      

  2.   


    ORA-01062: unable to allocate memory for define buffer 
    Cause: Exceeded the maximum buffer size for current plaform
     
    Action: Use piecewise fetch with a smaller buffer size
     
      

  3.   

    你的long撑死了buffer size
    试试加大buffer_cache_size
    alter system set buffer_cache_size=1000M
      

  4.   

    试试调整 arraysize 和 copycommit 变量设置如,每次复制 10 行并提交
    > set arraysize 10
    > set copycommit 1
      

  5.   

    create or replace procedure   testcopy  
    is 
    cursor   c   is   select   *   from   sourseTable; 
    begin 
      for   rec   in   c   loop 
           insert   into   targetTable(id,longColumn)  values(rec.id,rec.longColumn) ; 
      end   loop; 
    commit; 
    end   testcopy; 写存储过程,用游标来做