What is the fastest way to insert data into an Oracle table?

前端 未结 8 2082
逝去的感伤
逝去的感伤 2020-12-30 07:22

I am writing a data conversion in PL/SQL that processes data and loads it into a table. According to the PL/SQL Profiler, one of the slowest parts of the conversion is the a

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-30 07:40

    Maybe one of your best option is to avoid Oracle as much as possible actually. I've been baffled by this myself, but very often a Java process can outperform many of the Oracle's utilities which either use OCI (read: SQL Plus) or will take up so much of your time to get right (read: SQL*Loader).

    This doesn't prevent you to use specific hints either (like /APPEND/).

    I've been pleasantly surprised each time I've turned to that kind of solution.

    Cheers,

    Rollo

提交回复
热议问题