# Cluster taking lot of time while Indexing and Updation

**URL:** https://discuss.elastic.co/t/cluster-taking-lot-of-time-while-indexing-and-updation/98989
**Category:** Elasticsearch
**Created:** [August 31, 2017, 11:29am UTC](https://discuss.elastic.co/t/cluster-taking-lot-of-time-while-indexing-and-updation/98989 "2017-08-31T11:29:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![bharatbhushan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bharatbhushan/32/10960_2.png) [@bharatbhushan](https://discuss.elastic.co/u/bharatbhushan)
#### Post date: [August 31, 2017, 11:29am UTC](https://discuss.elastic.co/t/cluster-taking-lot-of-time-while-indexing-and-updation/98989/1 "2017-08-31T11:29:28Z")

</div>

Hi All,

When i tried to indexing document or update document into ES, It takes lot of time. But search performance is good.

Its takes around 30 seconds to put/update document.  
I am using only bulk update and bulk index on production environment but it got stuck.

```
PUT /test/_bulk
{"index":{"_id":"1503987207_1","_index":"test","_type":"event","routing":"1","parent":"1","_retry_on_conflict":5}}
{"event_name":"signup","event_date":{"day":"29","month":"08","year":"2017","day_month":"29-08","year_month_day":"2017-08-29","timestamp":"2017-08-29T06:13:27","weekday":"tuesday"},"userId":"1","point":1,"country":["india"]}

```

And get response of this hit is

```
{
  "took": 39734,
  "errors": false,
  "items": [
     {
        "index": {
           "_index": "test",
           "_type": "event",
           "_id": "1503987207_1",
           "_version": 7,
           "result": "updated",
           "_shards": {
              "total": 2,
              "successful": 2,
              "failed": 0
           },
           "created": false,
           "status": 200
        }
     }
  ]
}

```

I am using Elasticsearch 5.5  
I have one cluster with 3 data node and 1 master node

Data node, each have config.  
8 core cpu  
27GB RAM

And

Master have config  
8 core cpu  
27GB RAM

and we assign 13GB RAM to Heap of each node.

/etc/elasticsearch/elasticsearch.yml

indices.memory.index\_buffer\_size: 40%  
thread\_pool.bulk.queue\_size: 3000

* * *

/etc/elasticsearch/jvm.options  
-Xms13g  
-Xmx13g

All node have load around 2.

Please help me to search query with children on cluster1.

Thanks in advance

---

<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 28, 2017, 11:29am UTC](https://discuss.elastic.co/t/cluster-taking-lot-of-time-while-indexing-and-updation/98989/2 "2017-09-28T11:29:39Z")

</div>

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