Delete then insert option
Posted: Wed Jan 24, 2018 11:19 am
Hi,
I am using "Delete then insert" option to load data in target Oracle table. Source is a .csv file. Every file is identified with an id and data needs to be replaced if we get the same file again even with different data.
I have defined the key as the file id and load option as "Delete then insert". So, ideally it should delete all the records in the table with the id and then insert. B
I had a file with around 3000 records and when i ran the job, the log says all 3000 has been inserted, but there were only 400 records in the table. I changed the option to insert only and it inserted 3000 records without any problem.
What could be causing the problem.
With 100 records there are no issues, but the problem started with loading more than 2000 records.
I am using "Delete then insert" option to load data in target Oracle table. Source is a .csv file. Every file is identified with an id and data needs to be replaced if we get the same file again even with different data.
I have defined the key as the file id and load option as "Delete then insert". So, ideally it should delete all the records in the table with the id and then insert. B
I had a file with around 3000 records and when i ran the job, the log says all 3000 has been inserted, but there were only 400 records in the table. I changed the option to insert only and it inserted 3000 records without any problem.
What could be causing the problem.
With 100 records there are no issues, but the problem started with loading more than 2000 records.