Featured Blog Texture

Blog

View all

crl-blog-bubbles

Product

Bubbles and sparkles: refreshing our SQL shell

We’re giving CockroachDB’s interactive SQL shell a face lift in v23.1! The SQL shell is the interactive read-eval-print loop (REPL) bundled inside CockroachDB under the command cockroach sql. It is also available as the standalone and more modestly sized cockroach-sql downloadable program, as well as our development tool cockroach demo.

Raphael Kena Poss

May 22, 2023

blog4

System

What are user-defined functions (UDFs) in SQL, and why should you care?

When people think about improving application performance, they’re often thinking of cleaning up the code in the application layer. However, the database layer can also be optimized to improve application performance, and so can the ways in which these two layers – application and database – interact with each other.

charlie

Charlie Custer

May 18, 2023

video-glitch-media-blog-entertainment-streaming-1

Product

How Netflix engineers choose their tech stack

Large enterprises with hundreds of developers building thousands of applications and services have a suite of database options to choose from. They also typically have a full team dedicated to maintaining these offerings. The saying “use the best tool for the job” is why they offer so many options, since different workloads have different requirements. Over the past few years, the “best tools” have changed because of the increasing demand on infrastructure generated by business-critical, high-volume, workloads.

Cassie McAllister

Cassie McAllister

May 18, 2023

data-residency-featured-image

Product

The Art of Data Residency and Application Architecture

In this post Rob and I explain how we built Silo, a fully functioning multi-region Next.js application combining CockroachDB multi-region serverless and a multi-region Node.js (Lambda) API backed by a Geographically aware Route 53 Hosted Zone. Both the API and CockroachDB have been deployed to AWS. The Next.js app has been deployed using Vercel. There are a number of reasons why you’d want to choose a multi-region strategy; to optimize latency, maintain high availability and, in some cases, to comply with regional regulations. But, rather than tell you about the benefits, I’d like to show you.

robreid

Rob Reid

May 17, 2023

crl-sprint2023-blog-post-1

Product

Introducing CockroachDB dedicated on Azure, on-demand global clusters, & more

Today we released a series of exciting updates to give you even more flexibility to run CockroachDB how you want, where you want, more efficiently than ever before. Customers often tell us they want the benefits of the cloud (elastic scale, consumption-based costs, operational ease of managed services, etc.), without the drawbacks of being locked-in to a single provider’s platform or proprietary services. We built CockroachDB from the beginning to maximize flexibility and control while still delivering the automation and efficiency we have all come to expect from cloud-native tools. The new capabilities we’ve made available today strengthen those values.

Meagan Goldman

Meagan Goldman

May 16, 2023

dachtera-camp-roach-2023-176

Culture

Inc. Magazine honors Cockroach Labs on Best Workplaces List 2023

The last year has been a year of growth for Cockroach Labs for many different reasons. We grew in size, maturity, and knowledge. The strength and resilience of our community continue to be the bond that keeps our fire ignited and propels us forward.

Lindsay Grenawal

Lindsay Grenawalt

May 9, 2023

multi-region-how-by-rebekka-dunlap-1

Product

REGIONAL BY ROW: Let the database home the data

When building a multi-region application, one of the first things to consider is how and where data will be placed. For example, when building a gambling application deployed across the country, you want to make sure users have quick access to their data no matter their location. Gamblers and the platforms they use both need low latency access to real-time data. It can make or break the user experience. This is an easy example because money is won and lost, but the requirement for applications to deliver low latency experiences to a global user base is obviously applicable to every other industry as well.

Peyton Walters

May 8, 2023

anonymous case-study-1

Product

Upsert in SQL: What is an upsert, and when should you use one?

Upserts are useful for anyone who works with a database to know, but the term “upsert” might not even appear in your DBMS’s documentation! So what is an upsert, anyway? And why might it not be mentioned in your docs?

charlie

Charlie Custer

May 8, 2023

foreign-key-2

Engineering

What is a foreign key? (with SQL examples)

A foreign key is a column or columns in a database that (e.g. table_1.column_a) that are linked to a column in a different table (table_2.column_b). The existence of a foreign key column establishes a foreign key constraint – a database rule that ensures that a value can be added or updated in column_a only if the same value already exists in column_b.

charlie

Charlie Custer

May 4, 2023

Page 19 of 77

Get started for free

bg callout one