回複:請教oracle db問題

來源: 2014-06-23 12:49:56 [博客] [舊帖] [給我悄悄話] 本文已被閱讀:

first step is index. You real need to think how to create index based on your query.
becareful of your transaction, try make it as small  as posible.
alter solution is dump data into temporary table, and working on temporary table. This way, usually you do not need cursor.