# Streamingbulk vs parallel bulk

**URL:** <https://discuss.elastic.co/t/streamingbulk-vs-parallel-bulk/338895>\
**Category:** Elasticsearch\
**Created:** [July 20, 2023, 3:02pm UTC](https://discuss.elastic.co/t/streamingbulk-vs-parallel-bulk/338895 "2023-07-20T15:02:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vivek\_Burman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vivek_burman/32/118310_2.png) [@Vivek\_Burman](https://discuss.elastic.co/u/Vivek_Burman)\
**Post date:** [July 20, 2023, 3:02pm UTC](https://discuss.elastic.co/t/streamingbulk-vs-parallel-bulk/338895/1 "2023-07-20T15:02:44Z")

</div>

Hi, I've stumbled upon a case where I see one of my index goes to RED state and taking ES down with it.  
Here are the JVM options I've set it to.  
-Xms10g  
-Xmx10g

In my case I need to migrate around 6lakh of data from Postgres to Elastic. But during the process I see elastic going down. I'm using parallelbulk to get more control over acknowledgement of data getting entered.

Any help on optimizing this process?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 17, 2023, 3:02pm UTC](https://discuss.elastic.co/t/streamingbulk-vs-parallel-bulk/338895/2 "2023-08-17T15:02:48Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
