# Data view - number of Index timeout issue

**URL:** <https://discuss.elastic.co/t/data-view-number-of-index-timeout-issue/329769>\
**Category:** Elasticsearch\
**Created:** [April 11, 2023, 6:03pm UTC](https://discuss.elastic.co/t/data-view-number-of-index-timeout-issue/329769 "2023-04-11T18:03:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [April 11, 2023, 6:03pm UTC](https://discuss.elastic.co/t/data-view-number-of-index-timeout-issue/329769/1 "2023-04-11T18:03:14Z")

</div>

I have large index with high volume of data. one shard is 20gig,

Lets say  
two index per day from six month = 360 index with billions of record combine.

when I run following it timesout

```auto
select x,y,z from myidex-*  
where @timestamp > now() - interval 5 minutes

```

But if I run following it works

```auto
select x,y,z from mydex-2023.04*  
where @timestamp > now() - interval 5 minutes

```

is it because myindex-\* data view has 360 index  
and myindex-2023.04 only has handful of index for it ?

---

<div class="post-metadata">

**Author:** ![elasticforme](https://avatars.discourse-cdn.com/v4/letter/e/f05b48/32.png) [@elasticforme](https://discuss.elastic.co/u/elasticforme)\
**Post date:** [April 12, 2023, 2:58pm UTC](https://discuss.elastic.co/t/data-view-number-of-index-timeout-issue/329769/2 "2023-04-12T14:58:34Z")

</div>

anyone has experience with such issue? or any view on this matter.

---

<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:** [May 10, 2023, 2:58pm UTC](https://discuss.elastic.co/t/data-view-number-of-index-timeout-issue/329769/3 "2023-05-10T14:58:35Z")

</div>

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