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
Labels
Comments
martijnvg
added a commit
to martijnvg/elasticsearch
that referenced
this issue
May 13, 2013
martijnvg
added a commit
that referenced
this issue
May 14, 2013
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
… encountered. Relates to elastic#3028
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
Relates to elastic#3028
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.The text was updated successfully, but these errors were encountered: