I am doing some analysis where i have to update single field for fetched millions of records using Ni1QL query.
- To considering the performance issue , would not prefer single update at a time , hence thinking to perform bulk / batch update.
- Also thinking what if any CB exception occurred while updating the document ( Ex: If update would be perform on 5 records and exception occurred , do we need to re perform the operation or there is a way to handle it.
- Also would like to add one more scenario when insertion/update would happen at the same document by other process can we blocking the document …?
So far i am reading and found the below info but not sure about it.
Any suggestion / input would be really appreciated.