# Know status of optimize on indices

**URL:** <https://discuss.elastic.co/t/know-status-of-optimize-on-indices/12566>\
**Category:** Elasticsearch\
**Created:** [June 27, 2013, 3:43pm UTC](https://discuss.elastic.co/t/know-status-of-optimize-on-indices/12566 "2013-06-27T15:43:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadyabhi](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@shadyabhi](https://discuss.elastic.co/u/shadyabhi)\
**Post date:** [June 27, 2013, 3:43pm UTC](https://discuss.elastic.co/t/know-status-of-optimize-on-indices/12566/1 "2013-06-27T15:43:06Z")

</div>

Hi all,

Is there a way to get the status of an ongoing optimize on a index?

The reason I'm asking is that I've a cluster of 2 nodes which has about 7  
indices and a total of 3 trillion docs.  
I started the optimize query (to make max segments to 1) on all of them in  
parallel & it's been around 12 hours and only in 3 of the 7 indices, I can  
see total segments as 1.

One way, I can guess it seeing the hot\_threads output where merge thread  
for the index will take some CPU time but other than that, is there a  
better way? Also, how can I make this optimize fast? I'm guessing, by  
increasing number of merge threads, is that right?

--  
Regards,  
Abhijeet Rastogi (shadyabhi)

> **[Abhijeet's Blog](https://blog.abhijeetr.com/)**
>
> I write about problems that I solve

--  
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).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:29am UTC](https://discuss.elastic.co/t/know-status-of-optimize-on-indices/12566/2 "2017-07-06T02:29:12Z")

</div>

Closed on July 6, 2017, 2:29am UTC


