Home / Companies / Cockroach Labs / Blog / Post Details
Content Deep Dive

Nested Transactions in CockroachDB 20.1

Blog post from Cockroach Labs

Post Details
Company
Date Published
Author
Raphael 'kena' Poss
Word Count
4,865
Company Posts That Month
8
Language
English
Hacker News Points
100
Post removed?
No
Summary

CockroachDB 20.1 introduces support for nested transactions, a SQL feature that simplifies the work of programmers of certain client applications. Nested transactions are additional transactions that occur within a regular transaction or other nested transactions, like Russian dolls. They are invisible to concurrent clients due to the atomicity and isolation of their surrounding, "outermost" transaction. Nested transactions have been invented for the benefit of software engineers of client applications in component-based design. CockroachDB's support for nested transactions is limited in three noticeable ways: locking semantics, canceling schema changes, and recovering from serializability conflicts.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.