Hello Friends,
In mongodb collection I've one field which is a combination of uuid+string and I've indexed this field first in ascending order. I found search is a bit faster than without indexing this field. But same
test case when i executed in oracle then i found in this case oracle is faster than mongodb. I changed the indexing of this field in mongodb from ascending to hashed and still no difference.
I was reading one of the article where it was mentioned as indexing in mongodb is same as in oracle but oracle is faster than mongodb.
Did anyone tried this? Any idea about why it is slow? Or am i doing anything wrong or some sort of tuning is required at mongodb before using index.
Regards,
Vikas