Skip to content

MySQL sort_buffer_size problem #819

Closed
@bistline

Description

@bistline

I'm having an issue with large indices and sort_buffer_size. I work in a controlled distributed environment where I don't have the option of setting this configuration parameter for MySQL on a shared server, and I'm unable to index my database because it keeps running out of memory. Is there a way to pass this as a parameter when trying to run rake ts:index in a production environment? I tried setting the mem_limit option in thinking_sphinx.yml and it had no effect. I got around the issue in development because I can up the limit on my machine, but the production MySQL server is shared amongst multiple groups and the DBAs refused to up the limit for performance reasons.

I'm using MySQL 5.6 and InnoDB.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions