# What is the impact of aggregated queries on performance

**URL:** <https://discuss.elastic.co/t/what-is-the-impact-of-aggregated-queries-on-performance/341525>\
**Category:** Elasticsearch\
**Created:** [August 24, 2023, 2:43am UTC](https://discuss.elastic.co/t/what-is-the-impact-of-aggregated-queries-on-performance/341525 "2023-08-24T02:43:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fangyan](https://avatars.discourse-cdn.com/v4/letter/f/3ab097/32.png) [@fangyan](https://discuss.elastic.co/u/fangyan)\
**Post date:** [August 24, 2023, 2:43am UTC](https://discuss.elastic.co/t/what-is-the-impact-of-aggregated-queries-on-performance/341525/1 "2023-08-24T02:43:28Z")

</div>

What is the impact of aggregated queries on performance, with a data volume of 300000, requiring 2-3 layers of aggregation 😀

---

<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:** [August 24, 2023, 3:43am UTC](https://discuss.elastic.co/t/what-is-the-impact-of-aggregated-queries-on-performance/341525/2 "2023-08-24T03:43:44Z")

</div>

In my experience, it's blazing fast...

---

<div class="post-metadata">

**Author:** ![fangyan](https://avatars.discourse-cdn.com/v4/letter/f/3ab097/32.png) [@fangyan](https://discuss.elastic.co/u/fangyan)\
**Post date:** [August 24, 2023, 3:48am UTC](https://discuss.elastic.co/t/what-is-the-impact-of-aggregated-queries-on-performance/341525/3 "2023-08-24T03:48:49Z")

</div>

Can you be more specific and provide examples of data to illustrate

---

<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:** [August 24, 2023, 4:59pm UTC](https://discuss.elastic.co/t/what-is-the-impact-of-aggregated-queries-on-performance/341525/4 "2023-08-24T16:59:46Z")

</div>

I'm running 3 levels of aggs on a 1m dataset in less than 100ms.

---

<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:** [September 21, 2023, 5:00pm UTC](https://discuss.elastic.co/t/what-is-the-impact-of-aggregated-queries-on-performance/341525/5 "2023-09-21T17:00:34Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
