News for hackers. Stuff that matters.
Re:12 Months with MongoDB by megaman821 on Monday October 25, 2010 @07:24PM (#1832092)
It is kind of odd that speed is the main motivation to switch from MySQL. Horizontal scaling is the usually given reason. From what I have seen Mongo achieves most of its speed by not using fsync by default. There were some slides floating around a while ago that showed Postgres at about the same speed by turning off fsync.
Re:12 Months with MongoDB by wsongk on Monday October 25, 2010 @11:29PM (#1832811)
I think you referred to this slide from PGCon 2010 http://www.pgcon.org/2010/schedule/attachments/141_PostgreSQ...
Re:12 Months with MongoDB by danudey on Monday October 25, 2010 @08:13PM (#1832244)
I remember reading that when the developer of Sphinx was benchmarking MySQL's fulltext searches at Craigslist, most of the time spent performing a query was spent in locks and mutexes. The actual query time was very fast, but the overhead was what killed performance.

From what I understand, Postgres doesn't (necessarily) have those kinds of locking issues, but MongoDB does let you fetch documents (especially hierarchies) in a much more simple manner, rather than fetching them via potentially complicated join queries.

Re:12 Months with MongoDB by j_baker on Monday October 25, 2010 @09:15PM (#1832457)
Surely those locking issues go away if you use READ COMMITTED mode though, right?
Re:12 Months with MongoDB by kchodorow on Monday October 25, 2010 @07:45PM (#1832157)
A lot of people find MongoDB is faster for queries because they avoid a lot of joins.
Re:12 Months with MongoDB by fehguy on Monday October 25, 2010 @08:06PM (#1832225)
You could run mysql with the memory storage engine and with our schema--which would require multiple outer joins OR subqueries--mongodb will still be much faster. So I think it's much more than an fsync issue.
Re:12 Months with MongoDB by Devilboy on Monday October 25, 2010 @09:01PM (#1832398)
If the multiple outer joins or subqueries are too slow you can always denormalise a bit, you don't have to give up on your SQL database if you don't want to.
Re:12 Months with MongoDB by megaman821 on Monday October 25, 2010 @09:42PM (#1832541)
I still think it is amazing the the free SQL databases don't have materialized views yet.

MySQL's deficiencies aren't inherent to SQL databases. Other databases have faster query parsers and better query planners. It seems that with all the time and money invested into NoSQL solutions, Postgres could be improved to the level of Oracle or DB2.

Re:12 Months with MongoDB by saurik on Tuesday October 26, 2010 @08:56AM (#1833980)
This comment, which I completely agree with, really depresses me. People really like competing with each other rather than working together to build awesome solutions (and users often even /encourage/ this behavior with a pro-competition bias). The idea that we now have a million "sort of crummy" storage solutions rather than a couple, or even one, really good one--and mostly due to superficial differences in syntax of usage or specification of deployment--makes me want to cry.
Re:12 Months with MongoDB by Devilboy on Wednesday October 27, 2010 @04:31AM (#1837789)
I suddenly hope that by 2015 PostgreSQL ends up as the winner of the database wars, having embraced and outgrown every feature from every other data store out there.