In nitrite db , I have a collection where key is non - unique and my dataset has lots of values which belongs to same key - so like key k1 has different 1000s of values
I have created a non-unique index on the collection .. As I am inserting more and more key of k1 then time taken by insert method is increasing due to linear k1 - [v1,v2,v3.....vn]
I saw the behaviour where insert time is keep on increasing instead of remaining constant ( kind of logN) ..
In nitrite db , I have a collection where key is
non - uniqueand my dataset has lots of values which belongs to same key - so like keyk1has different 1000s of valuesI have created a non-unique index on the collection .. As I am inserting more and more key of k1 then time taken by insert method is increasing due to linear k1 - [v1,v2,v3.....vn]
I saw the behaviour where insert time is keep on increasing instead of remaining constant ( kind of logN) ..