Earlier quoted context omitted.
Agreed. SQL support is a big benefit. This post does a good job of explaining why, and I'm glad they delayed the beta to implement it. Looking forward to joins.
I'm not sure how useful SQL is without joins though... I can see that this might be interesting to test against, but don't think SQL is much simpler than a lot of the query engines for non-sql databases... Until you get to joins, and similar operations. Right now, I'm most interested in seeing RethinkDB see more traction... it seems to have most of the features I look for, and I, for one don't mind more programmatic…
CockroachDB Skitters into Beta
11–20 of 75 posts
Re: CockroachDB Skitters into Beta
#12Re: CockroachDB Skitters into Beta
#13This is one of the most exciting DB's coming into the world, and I've had a lot of fun watching progress from the sidelines! Keep kicking ass!
I'm going to have to disagree. The German HyPer DBMS has a lot more interesting ideas. Cockroach is just distributed MVCC from the 1980s on top of a key/value store.
MemSQL also has a new LLVM architecture written by the HipHop VM inventor that they poached from Facebook.
Re: CockroachDB Skitters into Beta
#14Honestly as a new yorker the name of your company and product and the title of this blog post make me cringe!
That's exactly the point. It triggers a reaction. Way better than "blahdb" IMO :)
Re: CockroachDB Skitters into Beta
#15Earlier quoted context omitted.
Agreed. SQL support is a big benefit. This post does a good job of explaining why, and I'm glad they delayed the beta to implement it. Looking forward to joins.
I'm not sure how useful SQL is without joins though... I can see that this might be interesting to test against, but don't think SQL is much simpler than a lot of the query engines for non-sql databases... Until you get to joins, and similar operations. Right now, I'm most interested in seeing RethinkDB see more traction... it seems to have most of the features I look for, and I, for one don't mind more programmatic…
Re: CockroachDB Skitters into Beta
#16I noticed this: CockroachDB is not suitable for use cases involving joins (yet)
Well guys, that's the kicker. If you've got joins, you've got SQL. The selection language isn't so important if you can't do set relations.
I'm sure you're going to rock this. Can't wait to see how you do it!
Re: CockroachDB Skitters into Beta
#17Super excited to hear about CockroachDB's progress - and their decision to add SQL support I think was smart.
However, I can't go without critiquing their marketing of "Scalable" and "Strongly Consistent", especially when they reference horizontal scaling. Strongly Consistent systems bottleneck around a centralized master, or around complex consensus algorithms like PAXOS or Raft. CockroachDB has previously written this off with "we're using Google's Spanner algorithm" but this makes them vulnerable to a Split-Brain failure (which contradicts their other goal of "Survivability"), for anybody interested in this line of research I recommend googling Kyle Kingsbury "Aphyr" "Call Me Maybe" Jepsen Tests. With that said, you can't just toss horizontally "Scalable" and "Strongly Consistent" into the same blog because they are fundamentally at odds with each other - the physics just don't work. To achieve this you only have two options... either (A) vertically scale the Master, or (B) make incredibly technical sharding decisions (where no two pieces of data that depend upon each other can be in separate shards). The first (A) is not the definition of being scalable, because a single machine can only scale so much (limits of the physical system). And (B) cannot be generalized, which would require every company building on top of CockroachDB to either have the expert knowledge of predicting the exact sharding schema in advance (maybe why they are moving to SQL?), or have to depend upon expensive consulting options (perhaps provided by CockroachDB, after a startup has already built itself around using the free open source product?). The third option is that they are over-generalizing their database trade-offs, and that you cannot actually get horizontal "Scalability" and "Strong Consistency".
That said, I know the CockroachDB guys are smart, so I'd love to hear the more nuanced/detailed explanation. I'm just trying to keep your guys' marketing and promises in check with the reality.
Re: CockroachDB Skitters into Beta
#18Oh, and the client drivers page should probably also list pgx (https://github.com/jackc/pgx), which is a nice, fast PostgreSQL client that doesn't use the not-as-nice database/sql package.
___
† The name being the only exception; I don't have bug phobia at all, but cockroaches are just icky.
Re: CockroachDB Skitters into Beta
#19Honestly as a new yorker the name of your company and product and the title of this blog post make me cringe!
Of course, literally the first time I ever saw a cockroach was when I visited New York a few years ago. I was riding the escalator down to the subway and the cockroach was riding the up escalator next to me! Off to its next great adventure, I'm sure.
Re: CockroachDB Skitters into Beta
#20Any chance we'll see something like functional indices or Pg-like UPSERT?