|
|
|
|
|
by elvinyung
2436 days ago
|
|
(Disclaimer: I work at Square, but not on Books.) >Preventing inconsistencies by enforcing constraints is a key point of an RDBMS. This is literally why people use SQL DBs. This comment is not specific or related to the work at hand, but note that this is only true for a single-machine database or a sharded setup in which you never have to perform transactions across shards. That is, the ACID guarantees are only enforceable in most RDBMS if all your data is on the same machine. |
|
From the Cockroach documentation (source: https://www.cockroachlabs.com/docs/stable/transactions.html )
> CockroachDB supports bundling multiple SQL statements into a single all-or-nothing transaction. Each transaction guarantees ACID semantics spanning arbitrary tables and rows, even when data is distributed.