# How to best use SSD & Spin Disk mixed machines?

**URL:** <https://discuss.elastic.co/t/how-to-best-use-ssd-spin-disk-mixed-machines/22425>\
**Category:** Elasticsearch\
**Created:** [February 27, 2015, 6:59am UTC](https://discuss.elastic.co/t/how-to-best-use-ssd-spin-disk-mixed-machines/22425 "2015-02-27T06:59:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![liu\_wei](https://avatars.discourse-cdn.com/v4/letter/l/cab0a1/32.png) [@liu\_wei](https://discuss.elastic.co/u/liu_wei)\
**Post date:** [February 27, 2015, 6:59am UTC](https://discuss.elastic.co/t/how-to-best-use-ssd-spin-disk-mixed-machines/22425/1 "2015-02-27T06:59:44Z")

</div>

Hi,

My machine has both SSD and HHD. SSD is small but HHD is very large. So i'm  
wondering if there's anyway to control allocate newer hot indexes to SSD  
and move them to HHD when they get older. Any suggestions?

Best Regards

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 27, 2015, 7:39am UTC](https://discuss.elastic.co/t/how-to-best-use-ssd-spin-disk-mixed-machines/22425/2 "2015-02-27T07:39:54Z")

</div>

It makes sense but in that case I think it will require to have two nodes on the same machine.  
One node using HHD and the other one using SSD.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)

> Le 27 févr. 2015 à 07:59, liu wei [liu.liuwei.wei@gmail.com](mailto:liu.liuwei.wei@gmail.com) a écrit :
> 
> Hi,
> 
> My machine has both SSD and HHD. SSD is small but HHD is very large. So i'm wondering if there's anyway to control allocate newer hot indexes to SSD and move them to HHD when they get older. Any suggestions?
> 
> Best Regards
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/0557236F-DF63-46CD-9C9A-578AF1B94E30%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/0557236F-DF63-46CD-9C9A-578AF1B94E30%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [February 27, 2015, 8:11am UTC](https://discuss.elastic.co/t/how-to-best-use-ssd-spin-disk-mixed-machines/22425/3 "2015-02-27T08:11:41Z")

</div>

ES uses RAM for search. This is 1000x faster than SSD. There is not much  
benefit to combine SSD and HDD within ES from the perspective of frequently  
used / rarely used indices. Rarely used indices can be moved to smaller  
machines with slower I/O and less RAM.

Optimal use of SSD is heavy bulk indexing. The SSDs should be large enough  
to hold all the data files of the indices. Copying indexes to HDD would add  
ony more load and costs on such machines.

Jörg

On Fri, Feb 27, 2015 at 7:59 AM, liu wei [liu.liuwei.wei@gmail.com](mailto:liu.liuwei.wei@gmail.com) wrote:

> Hi,
> 
> My machine has both SSD and HHD. SSD is small but HHD is very large. So  
> i'm wondering if there's anyway to control allocate newer hot indexes to  
> SSD and move them to HHD when they get older. Any suggestions?
> 
> Best Regards
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/7a7ac295-5dd1-4110-819b-4e9614fa58eb%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHagW%2B32BuZBTjwND2ojYVdo9NwcWUwTM66%3DT%3DfKbs5%3Dg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHagW%2B32BuZBTjwND2ojYVdo9NwcWUwTM66%3DT%3DfKbs5%3Dg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:29am UTC](https://discuss.elastic.co/t/how-to-best-use-ssd-spin-disk-mixed-machines/22425/4 "2017-07-06T00:29:36Z")

</div>


