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

Add per index path.data setting #2025

Closed
ntherning opened this issue Jun 15, 2012 · 3 comments
Closed

Add per index path.data setting #2025

ntherning opened this issue Jun 15, 2012 · 3 comments
Labels

Comments

@ntherning
Copy link

It would be great to be able to store data files for different indices in different paths. My use case is that I have servers with both fast SSDs and slow HDDs. I'd like to have one of my indices stored on the SSD while the others would be stored on the HDD.

It would also be cool if this setting could be changed at runtime. Then I could move a "hot" index to the SSD and swap out less hotter ones using cron. We use rolling indices based on date and the two most recent ones are the targets of almost all search/index requests.

@spinscale
Copy link
Contributor

You could solve this by using multiple nodes on one host and shard allocation, see http://www.elasticsearch.org/guide/reference/modules/cluster/

@xinuc
Copy link

xinuc commented Jun 13, 2014

👍 this

I think this is a pretty common use case.
Some indices need the speed of ssd, while the others need the capacity.

@clintongormley
Copy link

This gets really complicated with the disk aware shard allocation decider. Best solution is to use shard allocation filtering to assign busy indices to stronger boxes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants