Software

Databases

CockroachDB adds command line tool as database hits version 22.1

The Register speaks to Jim Walker about maturity and super regions


Cockroach Labs has finally added a new command line tool with the release of version 22.1 of its eponymous database, out today.

Although it was possible to deploy CockroachDB using something like Terraform (for example, deployment on Oracle Cloud Infrastructure) the process is often not particularly elegant.

"Until this release we didn't have an API to control the database," Jim Walker, recovering developer and product evangelist at Cockroach Labs told The Register during 2022's EU Kubecon in Valencia, Spain.

"It's really around control of environment: it's removing nodes, it's adding nodes, it's starting the cluster, it's stopping the cluster, the basic stuff.

"And so it's really as simple as kind of building it out so that we can actually integrate with the workflows that people have, or the way that they're delivering software in their organization. Like how we work in the context of the CI/CD flow where you're provisioning hardware or TerraForm, you're setting up security over here, the database has got to get up and running.

"That step with the database [for CockroachDB at least] was kind of a manual thing for a while there. And so we have an API."

The update also includes Quality of Service prioritization and data domiciling features, which will be handy for a potentially massively distributed database with nodes that are not necessarily where lawmakers would like them

The arrival of the API marks a step toward maturity for the database. Having been designed with distribution in mind from the outset, to run across clouds and be pretty much unkillable has proven attractive for investors (the company recently took $278 million in Series F funding, giving it a $5 billion valuation.) However, as with much of the cloud native landscape, the next challenge is integrating seamlessly into automated workflows.

"It's been a matter of 'we had to build this awesome database' and now it's like 'how does it work with all the other things?'" said Walker.

As well as the command line tooling, Cockroach Labs has applied the API to its CockroachDB Serverless product, aimed at luring developers to its world via a horizontally scalable (Postgres-compatible SQL) relational database. Pricing is based on how much is stored and the work done by queries, although small loads and data sizes of less than 5GB won't attract a charge.

"I am fascinated by the serverless thing," said Walker, "I think it should be called Infrastructureless, eventually, I think that's really what this thing becomes… what we're doing it is we're preparing it so that it can actually work for huge massive applications."

Other updates in this release include support for time-to-live (TTL) data: "Customers had requested this," said Walker, "to both optimize the db but also for use cases where they do not want data to live forever because of risk and other concerns." The automated expiration has been a feature of other database, such as Oracle's, so its arrival in CockroachDB is a further sign of the product maturing.

The update also includes Quality of Service prioritization and data domiciling features, which will be handy for a potentially massively distributed database with nodes that are not necessarily where lawmakers would like them. Super Regions groups multiple cloud regions into a larger geographical area.

It has been possible to simply add something like a country code into a table and instruct CockroachDB to filter accordingly to dictate where data should physically reside. "In this release, as people have become more mature," said Walker, "and they're getting more comfortable with that type of capability they wanted another level. So we introduced the concept of a Super Region."

"So okay, there's Germany here. There's Ireland. There's the UK, there's Portugal… Maybe I just want data to just live on any European server. But certain tables I want in Germany. So we have this concept of a Super Region, which basically collapses up a bunch of different regions into one thing."

Good for data, but not so much for non-data workloads (which are currently not Cockroach Labs' problem. Not yet, anyway.)

Overall, the latest update is, as Walker suggests, more aimed at maturity than the whizzbang features of old. Tools were added to optimize query performance and integration with Datadog makes for "single pane of glass" monitoring. ®

Send us news
5 Comments

In-memory database Redis wants to dabble in disk

Aims to lower costs and broaden appeal of system popular with devs

TileDB secures $34M to reimagine databases, not just collect GitHub stars

System aims to clean mess of high-performance analytics cluttering the modern data stack

Analysts scratch heads over MariaDB's decision to ditch DBaaS crown jewels

'Their future is murky at the moment'

Ex-Navy IT manager gets 5 years in slammer for 2018 database heist

Seafaring cybercrim's wife faces similar sentence next month

MariaDB ditches products and staff in restructure, bags $26.5M loan to cushion fall

Strategic DBaaS and distributed back end jettisoned after years of promotion

In rare bout of generosity, Oracle extends free support for Database 19c

Big Red says it wants to give customers time to upgrade to 23c, which only exists in the cloud for now

Microsoft extends life support for aging Apache Cassandra 3.11 database

But only if you're ready to cozy up in Azure's abode

DuckDB shuns VC breadcrumbs so support isn't all it's quacked up to be

Company behind popular in-process OLAP system feels weight of success

MongoDB's SQL-to-NoSQL converter uses AI to smash the language barrier

Tell it what you want to do, and it spits out the relevant code

NTT will take those SAP licenses off your hands if it helps ease cloud migration

Bid to break impasse where boards only see costs

There are lots of ways to put a database in the cloud – here's what to consider

Choosing the right one for you means understanding the trade-off, says MySQL expert Peter Zaitsev

VCs lay $52.5M golden egg for MotherDuck's serverless analytics platform

Database service vendor based on open source DuckDB fattens up to $400M valuation