# Optimizing Readonly Indices

**URL:** <https://discuss.elastic.co/t/optimizing-readonly-indices/22569>\
**Category:** Elasticsearch\
**Created:** [March 7, 2015, 3:22am UTC](https://discuss.elastic.co/t/optimizing-readonly-indices/22569 "2015-03-07T03:22:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbaranick](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@jbaranick](https://discuss.elastic.co/u/jbaranick)\
**Post date:** [March 7, 2015, 3:22am UTC](https://discuss.elastic.co/t/optimizing-readonly-indices/22569/1 "2015-03-07T03:22:47Z")

</div>

Is there a recommended process for optimizing indices which have transitioned to a readonly state? For instance should we optimize indices to a single segment? Any other best practices to reduce searching time and decrease node restore time?

--  
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/37d75447-f050-4826-bde5-a908778ad1c2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/37d75447-f050-4826-bde5-a908778ad1c2%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [March 7, 2015, 1:05pm UTC](https://discuss.elastic.co/t/optimizing-readonly-indices/22569/2 "2015-03-07T13:05:16Z")

</div>

Have a look at what curator does. I believe it optimizes but I'm not sure  
how.  
On Mar 6, 2015 10:22 PM, "Kadaan" [jbaranick@gmail.com](mailto:jbaranick@gmail.com) wrote:

> Is there a recommended process for optimizing indices which have  
> transitioned to a readonly state? For instance should we optimize indices  
> to a single segment? Any other best practices to reduce searching time and  
> decrease node restore time?
> 
> --  
> 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/37d75447-f050-4826-bde5-a908778ad1c2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/37d75447-f050-4826-bde5-a908778ad1c2%40googlegroups.com)  
> .  
> 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/CAPmjWd3DNfo%2BFboBO5PrL893Vu6TOHwQ4uDukdr1nXKa6fe5Ew%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd3DNfo%2BFboBO5PrL893Vu6TOHwQ4uDukdr1nXKa6fe5Ew%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 7, 2015, 3:40pm UTC](https://discuss.elastic.co/t/optimizing-readonly-indices/22569/3 "2015-03-07T15:40:33Z")

</div>

Single segment is good, but beware the overhead in getting there.  
On 07/03/2015 5:05 am, "Nikolas Everett" [nik9000@gmail.com](mailto:nik9000@gmail.com) wrote:

> Have a look at what curator does. I believe it optimizes but I'm not sure  
> how.  
> On Mar 6, 2015 10:22 PM, "Kadaan" [jbaranick@gmail.com](mailto:jbaranick@gmail.com) wrote:
> 
> > Is there a recommended process for optimizing indices which have  
> > transitioned to a readonly state? For instance should we optimize indices  
> > to a single segment? Any other best practices to reduce searching time and  
> > decrease node restore time?
> > 
> > --  
> > 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/37d75447-f050-4826-bde5-a908778ad1c2%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/37d75447-f050-4826-bde5-a908778ad1c2%40googlegroups.com)  
> > .  
> > 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/CAPmjWd3DNfo%2BFboBO5PrL893Vu6TOHwQ4uDukdr1nXKa6fe5Ew%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd3DNfo%2BFboBO5PrL893Vu6TOHwQ4uDukdr1nXKa6fe5Ew%40mail.gmail.com)  
> [https://groups.google.com/d/msgid/elasticsearch/CAPmjWd3DNfo%2BFboBO5PrL893Vu6TOHwQ4uDukdr1nXKa6fe5Ew%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAPmjWd3DNfo%2BFboBO5PrL893Vu6TOHwQ4uDukdr1nXKa6fe5Ew%40mail.gmail.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/CAEYi1X8L78afZb9sD9JdU4n1U5K0H1tPM02kqxPWeRmZ7wV5zA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAEYi1X8L78afZb9sD9JdU4n1U5K0H1tPM02kqxPWeRmZ7wV5zA%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:27am UTC](https://discuss.elastic.co/t/optimizing-readonly-indices/22569/4 "2017-07-06T00:27:53Z")

</div>


