-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple update of one document in one _bulk too slow #24172
Comments
In 5.x the global ordinals are built during the refresh: |
My previous comment is not entirely true. The refresh is triggered by the updates itself so disabling the refresh would not solve your problem. In 5.x we rely on refresh to update a document that is not flushed yet: |
Thanks for answer I create thread for this https://discuss.elastic.co/t/multiple-update-of-one-document-in-one--bulk-too-slow/82885 |
Hi,
Multiple update of one document in one _bulk is too slow
Example:
Elasticsearch version: 5.3, 5.2
Plugins installed: []
JVM version: 1.8.0_121-b13
OS version:Ubuntu 16.04.2 LTS
bulk request with 75 updates takes near 6 seconds on our test index that runs on c3.xlarge (4 CPU, 8 GB, documents in inex 14860619, index size 20GB) .
bulk request with 150 updates takes near 12 seconds.
bulk index with 75 documents takes 0.2 seconds
On ES 2.4 - we haven't this problem
Profiler info:
If it helps, I may open profiling port to cluster where this problem is reproduced
The text was updated successfully, but these errors were encountered: