Skip the navigation

Ill-informed haters go after MongoDB

NoSQL databases like MongoDB are great for some tasks but not for others. Is it MongoDB's fault if misguided developers use it to solve the wrong problem?

By Andrew Oliver
September 27, 2012 06:17 AM ET

Infoworld - With any new technology comes a wave of marketing happy talk, which in turn leads to inexperienced developers "jumping on the train" of a new fad. Inevitably, these newbies find themselves disappointed that the technology doesn't deliver on their inflated expectations.

A case in point is the NoSQL movement, which has been the darling of the software world for the past year. The backlash is already in full swing. Just this past week or so, the blogs have been abuzz with hate for MongoDB in particular. On the face of it, these critiques appear to be scathing indictments not only of MongoDB but also, possibly, the very idea of a document databases or even the whole NoSQL/big data movement.

[ Also check out "Flexing NoSQL: MongoDB in review." | Discover what's new in business applications with InfoWorld's Technology: Applications newsletter. | Keep up with the latest approaches to managing information overload and compliance in InfoWorld's Enterprise Data Explosion Digital Spotlight. ]

Dig deeper, however, and I'm not sure these self-appointed critics are holding the screwdriver from the right end. Here are some excerpts from several recent posts -- and my responses.

Repeating the same mistake only biggerIn "Why I migrated away from MongoDB," Siddharth Sharma felt MongoDB failed to live up to his expectations for his project, which he described thusly:

digiDoc is all about converting paper documents like receipts and business cards into searchable database, and so a document database seemed like a logical fit(!).

Document databases are not at all ideal for complicated big data analytics and gigantic map-reduce jobs. Yes, you can. Yes, people do. In general, no, you shouldn't.

MongoDB is not a search engine. While it offers search, if search really is your business, then maybe you need a search engine like Solr/Lucene. Sharma continues:

I completed a migration to Postgres yesterday. Very happy. Aggregation is a breeze, search is a breeze, and we've built some pretty powerful tag search and management features that do not even bear thinking about in MongoDB.

Wha? Exsqueeze me? PostgreSQL is a search engine? Sure, PostgreSQL offers search, but compare PostgreSQL search to something like Solr. It's hard to see why you'd drive that screw into a wall with a hammer.

In short, people are continuing to make the same mistakes they made with their RDBMSes, only in a bigger way. In an RDBMS, you should not seek to have "one holy schema" that is ideal for both your operational system and your analytical system. In the world of NoSQL, you shouldn't necessarily seek to have the same database for both your operational and analytical systems. Sharma wraps up with:

Originally published on www.infoworld.com. Click here to read the original story.
Reprinted with permission from InfoWorld. Story copyright 2012 InfoWorld Media Group, Inc. All rights reserved.