Hacker Newsnew | past | comments | ask | show | jobs | submit | irfansharif's commentslogin

If you're just using the pre-compiled binaries, this Go patch is baked in. If you're building the CockroachDB binary from source, and are just following our usual build steps using Bazel, you'll get this stuff as is. There's no need to compile a custom Go first.


Thanks! Also there'll be less need for custom builds now that ARM64 binaries are being offered


(crdb eng) I'm not sure what "document DB" means here, mind elaborating?


he is probably referring to the docdb document store in yugabyte: https://docs.yugabyte.com/latest/architecture/layered-archit...


Indeed I was referring to yugabyte, apologies for the clumsy phrasing, I havent used crdb but I guess it is a postgres frontend layered on a KV store instead of a document store?


Yugabyte uses actual Postgres code for the query layer, on top of data persistence (distribution/replication) handled by DocDB document store, which itself is a layer on top of RocksDB: https://blog.yugabyte.com/how-we-built-a-high-performance-do...

CockroachDB (aka CRDB) is completely custom and compatible with Postgres wire/datatype protocols, which operates directly on its own key/value store called Pebble (but originally was also RocksDB): https://www.cockroachlabs.com/blog/distributed-sql-key-value...

Both systems are foundationally the same SQL-on-KV but implement it very differently.


As opposed to? Postgres is “just” a Postgres front end on top of a kv store.


I don't think that's really true. Which part of postgres would you describe as a KV store, compared to what cockroach does with RocksDB?


Yes, the distributed backup/restore functionality was folded into the free version in our last release. See https://www.cockroachlabs.com/blog/distributed-backup-restor....


(crdb eng here) I'll shamelessly call out that distributed backup/restore, which was previously in our enterprise offering, was moved into the free one. Internally a large part of that decisions was driven by the "suggestions" made here on HN, so keep 'em coming.


Seeing backup and restore part of enterprise only was putting me off.

That's a great decision.


I've been following cockroachdb for a long time, and it irked me that distributed backup was something you had to pay for. Hat tip to the CRDB team for moving it into the open source product. It seems you listened to the criticism of folks on HN and took it to heart.

Why was it in the enterprise version to begin with?


(PM at Cockroach here)

There's a little blurb in this blog post about the decision we made at the time https://www.cockroachlabs.com/blog/how-were-building-a-busin... (Note: The blog mentions APL but we've since moved to BSL)

Quote: “The first [of the CCL features] is a fully-distributed, incremental capability for quickly and consistently backing up and restoring large databases using configurable storage sinks (e.g. S3 or GCS). The same functionality, but non-distributed, will be available for free to all users.”

I can't speak to what exactly the thinking was at the time (I wasn't around yet) but as you mentioned, the community told us that the non-distributed functionality (DUMP) wasn't good enough for the scale people wanted to run at. Makes sense, so we made the change.

If I had to take a guess DUMP was performant enough at the time for most of our CockroachDB Core users and their scale, but adoption has picked up since then, as have data sizes.


Click around through the rest of their blog if you're interested in what those tradeoffs are. Let's not spread FUD unnecessarily.


> Let's not spread FUD unnecessarily

Ok. sorry that was an over reaction on my part.


Do you, like, work for Materlize? You're awful connected to many of the folks there and this is a pretty plant-like statement to make in the comments section for a piece by the company.


"Please don't post insinuations about astroturfing, shilling, brigading, foreign agents and the like. It degrades discussion and is usually mistaken. If you're worried about abuse, email hn@ycombinator.com and we'll look at the data."

https://news.ycombinator.com/newsguidelines.html

https://hn.algolia.com/?sort=byDate&dateRange=all&type=comme...


They're at Cockroach according to their about page.


It's not, not at all. We've actually gone as far as replacing RocksDB with https://github.com/cockroachdb/pebble/ by default now (and it's written in Go).


Oh very cool. What was the main motivation for moving away from RocksDB?


what "data warehousing"/"data management" tools are missing?


In case of OLAP queries is performance[1] which is not surprising since it's an OLTP database AFAIK.

I don't know what he means by "data management"

[1]https://www.cockroachlabs.com/docs/stable/frequently-asked-q...


What I mean is - and I get that these are somewhat different technologies - snowflake offers a more seemingly comprehensive platform for data by aggregating it and focusing the product on that aggregation for future use.

Compared to Cockroach DB which seems like a niche SQL replacement?


> Note that neither CockroachDB [...] use Golang for their actual storage engine

We do, now. We're looking to move away from RocksDB to https://github.com/cockroachdb/pebble/.


Woah, that's big news. Thanks for sharing.


Congrats on the launch! If you're looking at CockroachDB (looking at some other comment on this thread), you should reach out to us if you haven't already. Your design here seems like the exact kind of thing we're hoping to push towards.


(Linked in the post but) github repo: https://github.com/MaterializeInc/materialize


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: