arvindnsn
5 years agoContributor
How to Chunk data for REST PUT
Hello,
I am trying to source data from Oracle table to send the documents to REST PUT Snap. Typically the Oracle Fetch would return 1.7 million rows and by the time it sends all the 1.7 million for REST PUT, it times out for Authorization failure as the API has a maximum of 15 min thresh hold.
I am trying to find a solution where I can break the data into smaller chunks (may be 25K per batch and that would give around 70 batches) and send each batch one after the other in a loop to REST PUT.
Please advise if this is feasible and also a better solution,
Thanks in advance
Aravind N