3 ms·
The real shame is that this is still something the programmer has to worry about in first place. When you're a database in 2011 then you should have a damn goo
by moe 15y ago
The real shame is that this is still something the programmer has to worry about in first place.
When you're a database in 2011 then you should have a damn good reason for asking programmers to space-optimize their identifiers. I can't see such a reason in Mongo really.
- schmichael 15y agoEveryone should be upvoting this. I vaguely remember 10gen brainstorming some ideas for fixing this, but it's a pretty poor design decision for a database you're advertising for use in "Big Data" scenarios. (Not that our measly 120 GB db constitutes big data... but even at Medium Data something as silly as key sizes can have a significant performance impact).
- bdarfler 15y agoSome/M=most Mongodb client libraries can do this for you. I can see arguments both ways to keep it in the server or keep it in the client library. 10gen does a hell of a job supporting a wide variety of very good client libraries.
- dolinsky 15y agoHow is this related only to MongoDB?