# Using scroll for very large indices

**URL:** <https://discuss.elastic.co/t/using-scroll-for-very-large-indices/315776>\
**Category:** Elasticsearch\
**Created:** [October 4, 2022, 1:20pm UTC](https://discuss.elastic.co/t/using-scroll-for-very-large-indices/315776 "2022-10-04T13:20:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SFarhanizade](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sfarhanizade/32/111644_2.png) [@SFarhanizade](https://discuss.elastic.co/u/SFarhanizade)\
**Post date:** [October 4, 2022, 1:20pm UTC](https://discuss.elastic.co/t/using-scroll-for-very-large-indices/315776/1 "2022-10-04T13:20:25Z")

</div>

Hi. There is an index having arround 200 million documents. I want to scroll over all its documents, so I prefered to use sliced scroll to do so, but every time I use scroll for this index, after some minutes of getting responses, I can't get responses anymore, and it keeps waiting till the scroll time is over. I have tried this for indices with 50 and 100 million documents, and it works well, but when it comes to indices having about 200 million documents, it freezes.

What should I do?

Thank you for any help you can offer.

---

<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:** [November 1, 2022, 1:20pm UTC](https://discuss.elastic.co/t/using-scroll-for-very-large-indices/315776/2 "2022-11-01T13:20:52Z")

</div>

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