# Search query memory usage metrics

**URL:** https://discuss.elastic.co/t/search-query-memory-usage-metrics/18753
**Category:** Elasticsearch
**Created:** [July 20, 2014, 6:02pm UTC](https://discuss.elastic.co/t/search-query-memory-usage-metrics/18753 "2014-07-20T18:02:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![kmoore\_cce](https://avatars.discourse-cdn.com/v4/letter/k/dfb087/32.png) [@kmoore\_cce](https://discuss.elastic.co/u/kmoore_cce)
#### Post date: [July 20, 2014, 6:02pm UTC](https://discuss.elastic.co/t/search-query-memory-usage-metrics/18753/1 "2014-07-20T18:02:22Z")

</div>

Hi,

I was wondering if there was a means to gather search performance metrics  
for particular queries. Something similar to the field "took" in standard  
queries which provides the duration of a search query, I was looking to  
better understand the memory impact of my searches in particular when the  
duration is similar.

Is there a way to measure this using logging or search parameters?

Thanks in advance.

--  
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/8f83cf25-0c33-4112-bd81-56e2f82202cf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8f83cf25-0c33-4112-bd81-56e2f82202cf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)
#### Post date: [July 21, 2014, 2:54am UTC](https://discuss.elastic.co/t/search-query-memory-usage-metrics/18753/2 "2014-07-21T02:54:09Z")

</div>

Hi,

As far as I know, not doable on a per-query level.

## Otis

Performance Monitoring \* Log Analytics \* Search Analytics  
Solr & Elasticsearch Support \* [http://sematext.com/](http://sematext.com/)

On Sunday, July 20, 2014 2:02:22 PM UTC-4, kmoore.cce wrote:

> Hi,
> 
> I was wondering if there was a means to gather search performance metrics  
> for particular queries. Something similar to the field "took" in standard  
> queries which provides the duration of a search query, I was looking to  
> better understand the memory impact of my searches in particular when the  
> duration is similar.
> 
> Is there a way to measure this using logging or search parameters?
> 
> Thanks in advance.

--  
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/cba2e1b5-b69a-407e-b4c0-2f6f2b0fd1ee%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cba2e1b5-b69a-407e-b4c0-2f6f2b0fd1ee%40googlegroups.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, 1:14am UTC](https://discuss.elastic.co/t/search-query-memory-usage-metrics/18753/3 "2017-07-06T01:14:40Z")

</div>


