Hi Everyone, What should be maximum `batch_size` v...
# community-help
a
Hi Everyone, What should be maximum
batch_size
value for inserting a million number of data ? I need a number that will not effect the performance.
j
@Ahmad Raza I'd recommend just leaving it at its default value and instead use client-size batching and send say 5000 documents per import API call
a
and what if i run multiple api calls inserting 5000 documents each ?
j
Yeah that should be fine. You want to keep an eye on CPU usage to make sure it's not saturated
a
its 48%.
👌 1