Want to add to the database in smaller chunks, Need to design process
If I have 1000 records that I want to add to the database in smaller chunks, how should I design a process to accomplish this?
I have a few potential solutions, but I'm unsure about their performance implications:
- Implementing a loop: In each iteration, I would send data in manageable chunks.
- Utilizing an XLSX file: I could create an XLSX file and then use the Excel to Database smart service to transfer the data.
- Using a stored procedure.
However, I need clarification on the most suitable approach in terms of performance before implementing this functionality.
