Skip to content

Be more precise about in-memory sorting limit #2010

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

Closed
wants to merge 1 commit into from

Conversation

drmirror
Copy link
Contributor

I asked kernel engineering what exactly the size limit for in-memory sort was, and it turns out it's the size of all sorted documents combined.

I asked kernel engineering what exactly the size limit for in-memory sort was, and it turns out it's the size of all sorted documents combined.
@tychoish
Copy link
Contributor

I think "the sort operation uses x megs" and "the size of all documents plus overhead" are equivalently precise.

@drmirror
Copy link
Contributor Author

Beg to differ. My customer (and myself) wondered whether it was only the
sum of all sort keys that counted. That's quite a logical idea and would
make a vast difference. Talking to Hari, I believe that the overhead is
small, so we could make it a little more precise by saying "the size of all
documents plus a small overhead" :)

On Tue, Sep 23, 2014 at 10:09 AM, Sam Kleinman [email protected]
wrote:

I think "the sort operation uses x megs" and "the size of all documents
plus overhead" are equivalently precise.


Reply to this email directly or view it on GitHub
#2010 (comment).

@tychoish
Copy link
Contributor

merged with an edit as discussed.

@tychoish tychoish closed this Sep 23, 2014
mongo-cr-bot pushed a commit that referenced this pull request Oct 14, 2022
* Add Atlas Search alternative to Index Intersection page

* copy review feedback

* copy review 2
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
mongodb-server-docs-sync-bot bot pushed a commit that referenced this pull request Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants