CockroachDB documentation
Transactions and concurrency Schema and performance- SQL performance best practices
- Hash-sharded indexes
- DECIMAL data type
- SQL feature support
- Row-Level TTL
- Triggers
Standards
- ISO 4217: currency codes, used for the
currencycolumn throughout the guide. - ISO 20022: open standard for financial messaging (payments, securities, cards, trade). Relevant where an order system exchanges payment and remittance data with banks and payment networks. See Representing money.
Related tools
- FabMQ: a queue built on CockroachDB that implements sharded, parallel claim semantics, an alternative to a hand-rolled poller for a high-volume outbox. See External integration.
Companion materials in the Cockroach Cookbook repository
- Reference implementation (
reference/): the canonical schema, transaction handlers, regression tests, and accounting checks the guide is written against. Start with itsREADME.md. - Order management agent (
agent-demo/): a small local app to connect a CockroachDB cluster and run the correctness scenarios live. - Agent skill (
SKILL.md): the instructions to hand to a coding agent to build and verify against a cluster.

