# Aggregate derived Index requirement and populating data

**URL:** <https://discuss.elastic.co/t/aggregate-derived-index-requirement-and-populating-data/71156>\
**Category:** Elasticsearch\
**Created:** [January 10, 2017, 9:33pm UTC](https://discuss.elastic.co/t/aggregate-derived-index-requirement-and-populating-data/71156 "2017-01-10T21:33:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![uraees](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/uraees/32/12600_2.png) [@uraees](https://discuss.elastic.co/u/uraees)\
**Post date:** [January 10, 2017, 9:33pm UTC](https://discuss.elastic.co/t/aggregate-derived-index-requirement-and-populating-data/71156/1 "2017-01-10T21:33:31Z")

</div>

I have a 5 % scenario that I need to run an aggregate query across all my records in the index and that query is taking good amount of time for that request. We were thinking of creating a derived Index of the aggregate information that we are looking, is there a good way to populate this aggregate index based on the data changes in the main index ?

Any idea ; advice is welcome

Thanks  
Raees

---

<div class="post-metadata">

**Author:** ![uraees](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/uraees/32/12600_2.png) [@uraees](https://discuss.elastic.co/u/uraees)\
**Post date:** [January 17, 2017, 3:26pm UTC](https://discuss.elastic.co/t/aggregate-derived-index-requirement-and-populating-data/71156/2 "2017-01-17T15:26:32Z")

</div>

Please help

---

<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:** [February 14, 2017, 3:27pm UTC](https://discuss.elastic.co/t/aggregate-derived-index-requirement-and-populating-data/71156/3 "2017-02-14T15:27:09Z")

</div>

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