# Slow scroll after big query

**URL:** <https://discuss.elastic.co/t/slow-scroll-after-big-query/80292>\
**Category:** Elasticsearch\
**Created:** [March 28, 2017, 11:52am UTC](https://discuss.elastic.co/t/slow-scroll-after-big-query/80292 "2017-03-28T11:52:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LiorY89](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@LiorY89](https://discuss.elastic.co/u/LiorY89)\
**Post date:** [March 28, 2017, 11:52am UTC](https://discuss.elastic.co/t/slow-scroll-after-big-query/80292/1 "2017-03-28T11:52:25Z")

</div>

I'm doing an ids query with 1,000,000 ids which takes about a minute to return (page size = 10,000)  
I'm using scroll API to fetch all those ids, but for some reason each page is taking me about a minute to return from Elastic. is it reasonable? I thought that I'm "paying the price" on the first query and than each scroll is cheap, no?

---

<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:** [April 25, 2017, 11:52am UTC](https://discuss.elastic.co/t/slow-scroll-after-big-query/80292/2 "2017-04-25T11:52:47Z")

</div>

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