Based on some performance tests, I have the recommend the following
mongo indexes
db.imdb.ensureIndex({ident:1});
db.registrar.ensureIndex({identity:1});
db.registrar.ensureIndex({identity:1, callId:1});
db.registrar.ensureIndex({identity:1, expirationTime:1});
db.registrar.ensureIndex({identity:1, contact:1});
Cristi/Joegen, Any recommendation on where in the code to create
these indexes? It would be great if we could consolidate on one place
where to create all the indexes, but it would probably mean that the
schema (one or more documents added first) before be create these. Not
100% sure on that though.
--
Join me to talk about sipXecs and the upcoming version 4.6 at
CoLab @ CSU March (5th & 6th).
http://www.sipfoundry.org/sipx-colab
Hack with me on at the CoLab Hackfest.
http://wiki.sipfoundry.org/display/sipXecs/2012+sipX-CoLab+Hackfest
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/