Insert Vs Upsert performance

(Amol Patil) #1

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 ?

..... Amol

(Mark Walkom) #2

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

(system) #3

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