8 ms·
You generally have to partition your data horizontally and thus give up many of the features that SQL has to offer There are plenty of databases that will part
by wmf 17y ago
You generally have to partition your data horizontally and thus give up many of the features that SQL has to offer
There are plenty of databases that will partition data without giving up any SQL features, but they cost money.
- barrkel 17y agoConsistency, Availability, Partition tolerance. NoSQL stores usually sacrifice consistency, and instead settle for eventual consistency. SQL (i.e. RDBMS) stores, with their usual emphasis on transactions, must necessarily sacrifice something else. SQL that doesn't hew to a hard line on consistency and transactions doesn't really have all the features of SQL. This is the distinction that matters most, IMHO, in the NoSQL strand of thinking.
- wmf 17y agoI admit that the SQL vendors (besides MySQL) made a mistake by putting ACID above scalability; that's clearly not always the right choice. However, CAP still allows a SQL database that is scalable, consistent, and available.
- pashields 17y agoNo, that's exactly what CAP doesn't allow. Unless by scalable you mean non-horizontal scaling. In which case yes, but we already knew that big machines make things fast.
- evgen 17y ago> CAP still allows a SQL database that is scalable, consistent, and available Name one please. It seems you are either fundamentally mistaken about what CAP implies or are constraining the "solution" to a clustered system that is effectively a single RDBMS hiding behind lots of tightly-coupled components.
- freetard 17y agoExcept for postgresql.
- wmf 17y agoDoes Postgres partition across a cluster? That's what we're talking about here.
- akvadrako 17y agoYes. This is what Skype does.
- wanderr 17y agoIt certainly seems that the NoSQL movement is largely fueled by two facts: 1. MySQL sucks 2. Oracle is expensive I'd love to see Postgresql get more attention, as I feel that they have scaling up and scaling out handled fairly well, whereas MySQL/InnoDB has a hard time even scaling up (which is why the Drizzle project even exists).
- jbellis 17y ago> There are plenty of databases that will partition data without giving up any SQL features, but they cost money. They also either rely on a single huge SAN for storage (single point of failure + expensive as hell) like Oracle RAC, or they require specialized gear like infiniband to reduce intra-node latency like Exadata (starting price: seven figures) or they're analytics databases that are designed for huge queries with latencies to match like Vertica, ParAccel, etc. (Think minutes between data being loaded and being available to query.) I'll take NoSQL, thanks.
- neilc 17y agoWould would the need for "specialized gear like infiniband to reduce intra-node latency" be limited to parallel databases? (I assume you mean "inter-node"...)
- wmf 17y agoThis whole discussion is about parallel databases since that's the only way to scale beyond the performance of one machine.
- neilc 17y agoWell, replace "parallel databases" with your favorite term for the parallel databases that fall outside NoSQL (VoltDB, Exadata, shared MySQL, etc). My point being that the alleged need for high-speed interconnects is orthogonal to SQL vs. NoSQL.
- wmf 17y agoOh, I see what you're saying. Yes, the interconnect is orthogonal (although you could argue that strong consistency requires more complex protocols like 2PC so interconnect latency becomes critical).
- jbellis 17y agoBut it's not. Because SQL databases (strictly speaking any requiring strong consistency... which is mostly RDBMSes) are highly latency sensitive, where NoSQL databases like Cassandra design around that by saying "hey, you could not see the most recent write for a few ms, unless you request a higher consistency level." And most apps are fine with that. As a bonus you get multi-datacenter replication with basically the same code, another place most RDBMSes are weak. It's a classic design hack -- redefining your goal as an easier problem.