Hi,
I have to solve a problem relating to insertion/updation of millions of
rows to DB (Oracle).
The current implementation of the problem is described as follows:
A C++ application receives data from many sources and after processing
it inserts this data to DB. There are various procedures to handle the insert
requests corresponding to various tables. The problem is that for each
row's insertion , the C++ application has to call the procedure. I can buffer
multiple insertion requests and send to the DB server as a bulk. But I dont know how to process this bulk data in DB . Data which I sent from C++ to
DB is either "insertion" or "updation" data.
Please advise me in the following matters:
1) When we want to insert huge data to DB from a back end applicaton , what is the best way?
2) Is there a way to accept a buffer(which contains multiple rows) into a procedure and process each row one by one?
etc ..etc.