# ElasticSearch 6.0 The insert into index blocks when querying

**URL:** <https://discuss.elastic.co/t/elasticsearch-6-0-the-insert-into-index-blocks-when-querying/145806>\
**Category:** Elasticsearch\
**Created:** [August 23, 2018, 8:58pm UTC](https://discuss.elastic.co/t/elasticsearch-6-0-the-insert-into-index-blocks-when-querying/145806 "2018-08-23T20:58:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AltooFaltoo](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@AltooFaltoo](https://discuss.elastic.co/u/AltooFaltoo)\
**Post date:** [August 23, 2018, 8:58pm UTC](https://discuss.elastic.co/t/elasticsearch-6-0-the-insert-into-index-blocks-when-querying/145806/1 "2018-08-23T20:58:07Z")

</div>

I am doing a POC on elastic search. I notice that when I issue a big aggregation query (or multiple small queries against the index). the latency on the logstash job which is doing inserts goes sky high.

I am using separate ingestion, data and query nodes.

It seems that elastic can either answer a query OR do a ingestion but not both at the same time.

How can I tune my cluster?

---

<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:** [September 20, 2018, 9:09pm UTC](https://discuss.elastic.co/t/elasticsearch-6-0-the-insert-into-index-blocks-when-querying/145806/2 "2018-09-20T21:09:25Z")

</div>

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