# Elastic Search Node Stats

**URL:** <https://discuss.elastic.co/t/elastic-search-node-stats/8586>\
**Category:** Elasticsearch\
**Created:** [July 31, 2012, 7:58pm UTC](https://discuss.elastic.co/t/elastic-search-node-stats/8586 "2012-07-31T19:58:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meeez](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Meeez](https://discuss.elastic.co/u/Meeez)\
**Post date:** [July 31, 2012, 7:58pm UTC](https://discuss.elastic.co/t/elastic-search-node-stats/8586/1 "2012-07-31T19:58:14Z")

</div>

"qpvNNHpcQ3i1Bz8BWvq4oA" : {  
"name" : "es\_node\_67",  
"transport\_address" : "inet[/172.29.181.67:9300]",  
"hostname" : "01hw400248",  
"attributes" : {  
"tag" : "es\_node\_67"  
},  
"indices" : {  
"store" : {  
"size" : "8gb",  
"size\_in\_bytes" : 8615814550  
},  
"docs" : {  
"count" : 1121886,  
"deleted" : 65007  
},

Can someone tell me what is this deleted docs count in the node status? And  
how to recover that space?

---

<div class="post-metadata">

**Author:** ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)\
**Post date:** [July 31, 2012, 8:11pm UTC](https://discuss.elastic.co/t/elastic-search-node-stats/8586/2 "2012-07-31T20:11:41Z")

</div>

Hi,

it is at the Lucene level (the IR library that ES is built on top of). You  
can read more about it here (see 'only\_expunge\_deletes'):

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Simple answer would be that in most cases you do not need to care about it,  
it is treated automatically under the hood.

Regards,  
Lukas

On Tue, Jul 31, 2012 at 9:58 PM, Mercy [mercyusha@gmail.com](mailto:mercyusha@gmail.com) wrote:

> "qpvNNHpcQ3i1Bz8BWvq4oA" : {  
> "name" : "es\_node\_67",  
> "transport\_address" : "inet[/172.29.181.67:9300]",  
> "hostname" : "01hw400248",  
> "attributes" : {  
> "tag" : "es\_node\_67"  
> },  
> "indices" : {  
> "store" : {  
> "size" : "8gb",  
> "size\_in\_bytes" : 8615814550  
> },  
> "docs" : {  
> "count" : 1121886,  
> "deleted" : 65007  
> },
> 
> Can someone tell me what is this deleted docs count in the node status?  
> And how to recover that space?

---

<div class="post-metadata">

**Author:** ![Meeez](https://avatars.discourse-cdn.com/v4/letter/m/ce73a5/32.png) [@Meeez](https://discuss.elastic.co/u/Meeez)\
**Post date:** [July 31, 2012, 8:22pm UTC](https://discuss.elastic.co/t/elastic-search-node-stats/8586/3 "2012-07-31T20:22:22Z")

</div>

Thanks for your quick response.

But in my case, the index size is too big than its supposed to be and  
throwing OOM while importing. That's when I figured out the deleted docs  
count which counts to more than 450K for all the nodes in the cluster.

Is there a way where we can get rid of those deleted ones and reclaim the  
space?

On Tuesday, July 31, 2012 1:11:41 PM UTC-7, Lukáš Vlček wrote:

> Hi,
> 
> it is at the Lucene level (the IR library that ES is built on top of). You  
> can read more about it here (see 'only\_expunge\_deletes'):
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/reference/api/admin-indices-optimize.html)
> 
> Simple answer would be that in most cases you do not need to care about  
> it, it is treated automatically under the hood.
> 
> Regards,  
> Lukas
> 
> On Tue, Jul 31, 2012 at 9:58 PM, Mercy [mercyusha@gmail.com](mailto:mercyusha@gmail.com) wrote:
> 
> > "qpvNNHpcQ3i1Bz8BWvq4oA" : {  
> > "name" : "es\_node\_67",  
> > "transport\_address" : "inet[/172.29.181.67:9300]",  
> > "hostname" : "01hw400248",  
> > "attributes" : {  
> > "tag" : "es\_node\_67"  
> > },  
> > "indices" : {  
> > "store" : {  
> > "size" : "8gb",  
> > "size\_in\_bytes" : 8615814550  
> > },  
> > "docs" : {  
> > "count" : 1121886,  
> > "deleted" : 65007  
> > },
> > 
> > Can someone tell me what is this deleted docs count in the node status?  
> > And how to recover that space?

---

<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, 3:18am UTC](https://discuss.elastic.co/t/elastic-search-node-stats/8586/4 "2017-07-06T03:18:14Z")

</div>


