I have like for example more then 20000 records . and data is something like this
data = [{'id': 1} , {'id':2} , {'id':3} .... 20000]
now I want to upload this data in chunks of 1000 . so what is best way to do this in 1000 chunk which will give least overhead .