by jbellis · 15y ago · 0 comments
The point is that joins are slow _when you scale past one machine_ because the data you are joining will be on different nodes.
(Yes, I'm familiar with pk-based sharding or entity groups, or even more sophisticated partitioning like volt's. None of these can always always be made to fit your data; I'm talking about the general case here.)
More mature databases like Oracle or PostgreSQL can eat 4 or 5 way JOINs for breakfast.
That said, if you're doing N-way joins with N big you probably want bitmap index support too, which is another thing missing in MySQL, although I've written libraries that, for certain specialized cases, can fake it.
I would love to see an example of this, given the same data, schema, similar tuning params, etc.
Any time you comment out a WHERE clause on a big table while performing an aggregate report, Postgres chokes.
How is PG going to compete with mySQL in the basic webapp market when mySQL is download-and-run ready? Or does PG always want to be a niche player? I'd rather see it grow because if your app ever grows, you'll be happy to have a real full-featured relational database someday.