Cockroach Labs Delivers an Improved Developer Experience with CockroachDB 21.2

Cockroach Labs, the company behind CockroachDB, is releasing CockroachDB 21.2, delivering improvements that let developers integrate more seamlessly with event-driven data architecture, build against CockroachDB with more schema design and query optimization tools, and operate more easily at a massive scale.

“Most of our customers turn to CockroachDB for a scalable and resilient relational database—but they also value a familiar and comfortable developer experience, simple integrations with their preferred stack, and easy operations. CockroachDB was built by developers, for developers, and 21.2 builds upon these core principles,” said Spencer Kimball, CEO, and co-founder of Cockroach Labs. “With the help of our customers and their feedback, CockroachDB 21.2 is another step forward in our mission to make it easy to build world-changing applications.” 

CockroachDB 21.2 reduces operational complexity and makes it easy to deliver fast, reliable customer experiences by:

  • Integrating more seamlessly with event-driven data architectures: CockroachDB’s distributed Change Data Capture (CDC) lets developers support event-driven systems and deliver data to data warehouses by integrating with Kafka and cloud storage. Improvements in version 21.2 let developers integrate with more tools, more easily scale CDC capacity, and get improved visibility and easier troubleshooting.
  • Delivering a better developer experience: CockroachDB 21.2 puts more power into the hands of developers by making it easier to build against CockroachDB and get optimal performance. This update adds depth and breadth to CockroachDB’s SQL functionality, more query performance data, and additional integrations with popular developer tools.
  • Operating more easily at a massive scale: This release delivers improved monitoring and visibility, disaster preparedness, and recovery operations for large-scale users.

Additional details on the updates in CockroachDB 21.2 include:

  • A new general-purpose, webhook-style sink lets you stream CDC messages to any https endpoint
  • Enhanced CDC capacity lets your large-scale clusters and complex transactions send thousands of changefeed messages at once, especially during traffic spikes
  • New SQL functionality includes ON UPDATE, expression-based indexes, and more control over session settings—letting developers customize CockroachDB to their workload
  • The addition of index usage statistics and more troubleshooting metrics in the CLI lets developers better optimize queries
  • Support for Alembic, a schema migration tool for Python, and Sequelize, a Node.js ORM makes CockroachDB more compatible with developer stacks
  • Distributed backups are now faster in CockroachDB clusters that have frequent backups, a large number of nodes, or a large amount of data per node
  • You can now parallelize restore operations to get large-scale clusters back up and running ASAP in the event of a disaster

For more information about these updates, visit