I am using elastic 1.7 (I know I should update, but it is currently not possible)
I have an index with the following setup:
- 4 shards
- 2 replica
- 1756260 documents
I have an ingestor, which inserts/updates ~25 documents/min - primarily updates.
When the ingestor is running queries takes ~5000ms, while they only take ~300ms when its not.
The refresh interval for the index is 30s.
It is only queries to the specific index (we have multiple other indices on the same nodes) which becomes slow.
My understanding of updates is, they delete and insert again, since documents are immutable.
But does it also do something else, which should influence the query time?
Like taking locks on shards or similar?
Hope someone can help, thanks.