After-Adding-Index Write Performance on MongoDB 2.6.7
15 views
Skip to first unread message
data...@gmail.com
unread,
Jun 30, 2015, 9:45:45 AM6/30/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongod...@googlegroups.com
Hi All,
I am using mongodb 2.6.7 on sharded cluster. I am using it for write-intensive purpose. However, some use cases need secondary indexes.
My questions is. How much write performance would be impacted if I add secondary indexes on mongodb 2.6.7?
Answer of this question might be practical (based on your exp) or theoritical (esp who also involved in mongodb development).
I have done some research on this matter, some article says that (old, 2011 & 2012) version of mongodb showed poor performance after indexes are added. Is it still the case? Please see reference below.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to mongodb-user
No one will be able to tell you exactly, because it depends on multiple factors.
Will adding this index take your MongoDB RAM needs beyond what it has
available? If that's the case, expect a huge drop in performance
overall.
If there is sufficient RAM for this index, and the write throughput of
the current setup is *not* at the max, it's possible that you will see
barely any change in performance.
There you go - two extremely different scenarios give you the full
range of possible outputs.