Oracle 11g - How to optimize slow parallel insert select?

前端 未结 3 1745
栀梦
栀梦 2020-12-31 17:32

we want to speed up the run of the parallel insert statement below. We are expecting to insert around 80M records and it is taking around 2 hours to finish.

         


        
3条回答
  •  北荒
    北荒 (楼主)
    2020-12-31 17:58

    I can see 2 big problems:

    1 - hint parallel (in select) NO NOT work, beacuse it should be like this +PARALLEL(T1,16)

    2 - SELECT DO NOT optimal, it would be better if avoid expression NOT IN

提交回复
热议问题