# Bulk update The segment is too much ES5.4 version

**URL:** <https://discuss.elastic.co/t/bulk-update-the-segment-is-too-much-es5-4-version/96712>\
**Category:** Elasticsearch\
**Created:** [August 11, 2017, 7:06am UTC](https://discuss.elastic.co/t/bulk-update-the-segment-is-too-much-es5-4-version/96712 "2017-08-11T07:06:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![240475588](https://avatars.discourse-cdn.com/v4/letter/2/848f3c/32.png) [@240475588](https://discuss.elastic.co/u/240475588)\
**Post date:** [August 11, 2017, 7:06am UTC](https://discuss.elastic.co/t/bulk-update-the-segment-is-too-much-es5-4-version/96712/1 "2017-08-11T07:06:11Z")

</div>

Scenario is this: bulk update5000 data, have been running (per batch of 5000 continuously updated data)  
Found that segment produce dozens of hundreds of 10 KB per second (assuming I 10 MB per batch data, should not produce a few 2 MB segment?),  
Each batch bulk update dozens of seconds, even hundreds of seconds, too slow, I am not high concurrency of the single thread to run  
The following figure  
Environmental 8-core CPU 32 gb of memory hard disk 300 g, three machines,  
160 million document, a total of 60 g harddisk

 ![706dce4e4ec78bd3182bc58e7b39dc72](https://us1.discourse-cdn.com/elastic/original/3X/1/4/140483beef807e5da731e301d835aab18168e1a7.png)

---

<div class="post-metadata">

**Author:** ![240475588](https://avatars.discourse-cdn.com/v4/letter/2/848f3c/32.png) [@240475588](https://discuss.elastic.co/u/240475588)\
**Post date:** [August 11, 2017, 8:13am UTC](https://discuss.elastic.co/t/bulk-update-the-segment-is-too-much-es5-4-version/96712/2 "2017-08-11T08:13:47Z")

</div>

![a56e46cbfb92465eab84df8d12edafb7](https://us1.discourse-cdn.com/elastic/original/3X/1/c/1cd61b6ef8b6bc7496984956ae4449fc4d5d4bc8.png)

---

<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:** [September 8, 2017, 8:17am UTC](https://discuss.elastic.co/t/bulk-update-the-segment-is-too-much-es5-4-version/96712/3 "2017-09-08T08:17:51Z")

</div>

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