Insert Vs Upsert performance

Hi,
This is what we are doing right now:

  • Insert documents with ID. (i.e. we assign ID to each document)

I want to change insert to Upsert() because once in a while we may get documents which will map to same ID (and in that case we want to merge those). What are the performance implications assuming that most of the time (>99%) we are going to create new document, and very rarely (i.e. <1%) we will actually be merging document.

Is there a way for me to know average insertion/usertion time of ES ?

Thanks,
..... Amol

Test, and track the response times is really the only way.

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