INSERT of 10 million queries under 10 minutes in Oracle?

前端 未结 4 1752
伪装坚强ぢ
伪装坚强ぢ 2020-12-15 09:08

I am working on a file loader program.

The purpose of this program is to take an input file, do some conversions on its data and then upload the data into the databa

4条回答
  •  一个人的身影
    2020-12-15 09:33

    If you have a text file you should try SQL LOADER with direct path. It is really fast and it is designed for this kind of massive data loads. Have a look at this options that can improve the performance.

    As a secondary advantage for ETL, your file in clear text will be smaller and easier to audit than 10^7 inserts.

    If you need to make some transformation you can do it afterwards with oracle.

提交回复
热议问题