Update table_A set name = 'abcd' where name is not null;
Commit;
Update table_A set tel = '1234' where tel is not null;
Commit;
Update table_B set mail = '123@com' where mail is not null;
Commit;
Update table_B set fax = '123-123' where fax is not null;
Commit;
.......
列舉以上兩個表的更新文,類似更新文還有幾千行,想要提高執行速度,之前執行完三個檔案,大約三千條更新,需要14小時.。
有人說用并行執行,但是查過之后沒看懂,parallel的寫法。
哪位好心人會的話,根據上面的例子寫一下讓我作為參考。
萬分感激!
uj5u.com熱心網友回復:
3K條記錄14個小時?怎么會這么慢啊。這與并行沒啥關系。執行陳述句的程序中,select * from v$session_wait,看看有什么等待事件
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/93546.html
標籤:開發
上一篇:oracle聯合查詢
