Skip to content
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

Parent-Child: Improve memory usage id cache #3028

Closed
martijnvg opened this Issue May 13, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@martijnvg
Copy link
Member

martijnvg commented May 13, 2013

The id cache loads the ids of all documents. If we only load the parent ids, then we can reduce the memory usage of the parent/child support.

Update: The amount of memory that will be reduced when upgrading to version 0.90.1 depends on the amount of child documents in an index. For example if you have one child doc for every parent doc, then it the memory usage of the id cache should be reduced by around half. The more child docs per parent doc the larger the difference.

martijnvg added a commit to martijnvg/elasticsearch that referenced this issue May 13, 2013

@martijnvg martijnvg closed this in 669cf90 May 14, 2013

martijnvg added a commit that referenced this issue May 14, 2013

martijnvg added a commit that referenced this issue May 14, 2013

martijnvg added a commit that referenced this issue May 14, 2013

martijnvg added a commit that referenced this issue May 15, 2013

martijnvg added a commit that referenced this issue May 15, 2013

@ghost ghost assigned martijnvg May 15, 2013

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.