# Aggregation query performance issue

**URL:** <https://discuss.elastic.co/t/aggregation-query-performance-issue/169804>\
**Category:** Elasticsearch\
**Created:** [February 25, 2019, 11:00am UTC](https://discuss.elastic.co/t/aggregation-query-performance-issue/169804 "2019-02-25T11:00:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhinaw](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Abhinaw](https://discuss.elastic.co/u/Abhinaw)\
**Post date:** [February 25, 2019, 11:00am UTC](https://discuss.elastic.co/t/aggregation-query-performance-issue/169804/1 "2019-02-25T11:00:33Z")

</div>

HI,

I am trying to make an aggregation query and want to bring 10,000 records in bucket from 30000000. When i run query to fetch this information my elasticsearch hangs and sometimes it gets crashed.

Many thanks

---

<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:** [March 25, 2019, 11:02am UTC](https://discuss.elastic.co/t/aggregation-query-performance-issue/169804/2 "2019-03-25T11:02:58Z")

</div>

Closed on March 25, 2019, 11:02am UTC

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