CLSN-1868 : save data in batches