---
title: "Release 2.4 | SurrealDB"
description: "SurrealDB 2.4.1 reports how much memory RocksDB is using, so you can watch its block cache, table readers and write buffers alongside the rest of your…"
url: https://surrealdb.com/releases/2.4
---

# SurrealDB 2.4

[Latest patch: 2.4.1](https://surrealdb.com/releases/2.4#release-2-4-1) [All releases](https://surrealdb.com/releases)

**Patches.** 2 patch releases on the 2.4 line.

**Latest.** 2.4.1, released Jan 8, 2026.

**Stable.** Ready for production, with every patch's notes below.

1. ![Babcock](https://surrealdb.com/assets/static/babcock.lo4rnVg1.svg)
2. ![ING](https://surrealdb.com/assets/static/ing.X3I6S3_V.svg)
3. ![British Airways](https://surrealdb.com/assets/static/british-airways.KEsZiwV-.svg)
4. ![Nvidia](https://surrealdb.com/assets/static/nvidia.DaIEuMil.svg)
5. ![Apple](https://surrealdb.com/assets/static/apple.D5pq4flY.svg)
6. ![SpaceX](https://surrealdb.com/assets/static/spacex.CQJEk-IL.svg)
7. ![Samsung](https://surrealdb.com/assets/static/samsung.CH-vQgnb.svg)
8. ![adidas](https://surrealdb.com/assets/static/adidas.DdTC5qhk.svg)
9. ![Tencent](https://surrealdb.com/assets/static/tencent.paQmLxyy.svg)
10. ![Alibaba](https://surrealdb.com/assets/static/alibaba.B16idgfM.svg)
11. ![PolyAI](https://surrealdb.com/assets/static/poly-ai.c3w_fAg6.svg)
12. ![Later](https://surrealdb.com/assets/static/later.Ds736jFO.svg)
13. ![Verizon](https://surrealdb.com/assets/static/verizon.BI7CajdX.svg)
14. ![Liberty Mutual](https://surrealdb.com/assets/static/liberty-mutual.B7qOU1pd.svg)
15. ![Walmart](https://surrealdb.com/assets/static/walmart.BjDg_Sr8.svg)
16. ![Carrier](https://surrealdb.com/assets/static/carrier.D21gC6NX.svg)
17. ![Saks Fifth Avenue](https://surrealdb.com/assets/static/saks-fifth-avenue.COIDpLSb.svg)
18. ![San Francisco Compute Company](https://surrealdb.com/assets/static/sfcc.B7jlImq4.svg)
19. ![Shield AI](https://surrealdb.com/assets/static/shield-ai.pINZ0KJr.svg)
20. ![Wix](https://surrealdb.com/assets/static/wix.DvHhmoBi.svg)

Back to top

[Version 2.4.1](https://surrealdb.com/releases/2.4#release-2-4-1)

[Version 2.4.0](https://surrealdb.com/releases/2.4#release-2-4-0)

[Home](https://surrealdb.com/)

[Releases](https://surrealdb.com/releases)

2.4

SurrealDB 2.4.1 reports how much memory RocksDB is using, so you can watch its block cache, table readers and write buffers alongside the rest of your…

[Newer release line available: 2.5 →](https://surrealdb.com/releases/2.5)

Released Jan 8, 2026

## 2.4.1

SurrealDB 2.4.1 reports how much memory RocksDB is using, so you can watch its block cache, table readers and write buffers alongside the rest of your telemetry.

A 2.4.0 datastore upgrades in place, and there are no SurrealQL changes.

## Improvements

- `[Storage]` **RocksDB memory usage is exported over OpenTelemetry.** With `SURREAL_TELEMETRY_PROVIDER=otlp`, a RocksDB instance now reports four gauges: `rocksdb.block_cache_usage`, `rocksdb.block_cache_pinned_usage`, `rocksdb.estimate_table_readers_mem` and `rocksdb.cur_size_all_mem_tables`.

Upgrade or install

## Get SurrealDB v2.4.1

Pick how you want to install or upgrade. SurrealDB Studio can update connected instances in place, or choose a platform below to copy a CLI command for v2.4.1.

SurrealDB Cloud

macOS

Linux

Windows

Docker

Already installed

You can upgrade your SurrealDB Cloud instance to v2.4.1 effortlessly through SurrealDB Studio.

1. Open the [SurrealDB Studio](https://studio.surrealdb.com/current/instances)
2. Select your organisation and instance
3. On the dashboard, click on the "Upgrade" button
4. Your instance will be updated and restarted automatically

[Full install guide](https://surrealdb.com/surrealdb/install)

Released Nov 24, 2025

## 2.4.0

Features:

- [Added CONTAINS/INSIDE planning consistent with substring semantics; use indexes only for flattened or set-based operators](https://github.com/surrealdb/surrealdb/pull/6264)
- [Made WebSocket limits configurable](https://github.com/surrealdb/surrealdb/pull/6478)
- [Added 32-bit floats by default for HNSW vector indexes](https://github.com/surrealdb/surrealdb/pull/6590)
- [Exposed and tune RocksDB BlobDB options via environment variables](https://github.com/surrealdb/surrealdb/pull/6457)
- [Aligned RocksDB blob defaults with upstream and make blob compression optional](https://github.com/surrealdb/surrealdb/pull/6464)
- [Added configurable slow-query logging with parameter allow/deny filtering and normalised single-line output](https://github.com/surrealdb/surrealdb/pull/6410)
- [Added disk space limits and read-only/deletion-only modes for RocksDB](https://github.com/surrealdb/surrealdb/pull/6530)
- [Added notification caller when a connection is dropped](https://github.com/surrealdb/surrealdb/pull/6387)
- [Added COUNT Index Support with Compaction System and Enable Concurrent Index Building for WASM](https://github.com/surrealdb/surrealdb/pull/6492)
- [Added minimal implementation for `2.0 → 3.0` migration tool](https://github.com/surrealdb/surrealdb/pull/6555)
- [Ensured reverse scan is used only with compatible datastore](https://github.com/surrealdb/surrealdb/pull/6466)

Bug fixes:

- [Fixed `SELECT` with `SPLIT` so `ORDER BY` and `START/LIMIT` apply after splitting](https://github.com/surrealdb/surrealdb/pull/6561)
- [Fixed OOM crash in `COUNT` index on large datasets by batching key retrieval](https://github.com/surrealdb/surrealdb/pull/6601)
- [Fixed insert ignore with unique index still creates a record when index violated](https://github.com/surrealdb/surrealdb/pull/6344)

Breaking changes:

- [CONTAINS/INSIDE planning made consistent with substring semantics](https://github.com/surrealdb/surrealdb/pull/6264) - see language test example [in this file](https://github.com/surrealdb/surrealdb/pull/6264/files#diff-a96a7db94b94e106ee5ec5c333b49d35430f5e9495c47b05c17584580d058856R51) with details on using the CONTAINSANY operator with indexes

Newer patch available

## Upgrade to 2.4.1

You are viewing the 2.4.0 changelog. A newer patch in this release line is available - we recommend running 2.4.1 for the latest fixes and improvements.

[View 2.4.1 release notes](https://surrealdb.com/releases/2.4#release-2-4-1)

Newer release line

### [2.5](https://surrealdb.com/releases/2.5)

Updated Jan 22, 2026

Older release line

### [2.3](https://surrealdb.com/releases/2.3)

Updated Sep 19, 2025

[All releases](https://surrealdb.com/releases)

GET STARTED

## Start building with SurrealDB. One data layer for AI, from object storage to agent memory.

[Start free with SurrealDB](https://studio.surrealdb.com/current/instances/deploy) [Learn more](https://surrealdb.com/docs/what-is-surrealdb)

![ISO 27001](https://surrealdb.com/assets/static/iso.BzQy4FFy.svg)

![AICPA SOC 2 Type 2](https://surrealdb.com/assets/static/aicpa-soc.CE_YjqhK.svg)

![Cyber Essentials](https://surrealdb.com/assets/static/cyber-essentials.CtbmbYfL.svg)

![GDPR](https://surrealdb.com/assets/static/gdpr.IadR7loS.svg)

![Cyber Essentials Plus](https://surrealdb.com/assets/static/cyber-essentials-plus.Cl5P05xe.svg)

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://surrealdb.com"},{"@type":"ListItem","position":2,"name":"Releases","item":"https://surrealdb.com/releases"},{"@type":"ListItem","position":3,"name":"2.4","item":"https://surrealdb.com/releases/2.4"}]}
```

```json
{"@context":"https://schema.org","@type":"TechArticle","headline":"SurrealDB 2.4 release notes","description":"SurrealDB 2.4.1 reports how much memory RocksDB is using, so you can watch its block cache, table readers and write buffers alongside the rest of your…","datePublished":"2026-01-08T00:00:00.000Z","dateModified":"2026-01-08T00:00:00.000Z","url":"https://surrealdb.com/releases/2.4","mainEntityOfPage":{"@type":"WebPage","@id":"https://surrealdb.com/releases/2.4"},"author":{"@type":"Organization","name":"SurrealDB","url":"https://surrealdb.com"},"publisher":{"@type":"Organization","name":"SurrealDB","logo":{"@type":"ImageObject","url":"https://surrealdb.com/assets/static/logo.BG7_TG2b.svg"}},"about":{"@type":"SoftwareApplication","name":"SurrealDB","applicationCategory":"DeveloperApplication","operatingSystem":"Linux, macOS, Windows","softwareVersion":"2.4"}}
```

```json
{"@context":"https://schema.org","@type":"Organization","@id":"https://surrealdb.com/#organization","name":"SurrealDB","url":"https://surrealdb.com","logo":"https://surrealdb.com/assets/static/logo.BG7_TG2b.svg","description":"SurrealDB is the context and memory layer for AI agents. A multi-model database for documents, graphs, vectors, and time-series.","foundingDate":"2022","legalName":"SurrealDB Ltd","identifier":{"@type":"PropertyValue","propertyID":"GB-COH","value":"13615201"},"address":{"@type":"PostalAddress","streetAddress":"3rd Floor, 1 Ashley Road","addressLocality":"Altrincham","addressRegion":"Cheshire","postalCode":"WA14 2DT","addressCountry":"GB"},"contactPoint":[{"@type":"ContactPoint","contactType":"customer support","email":"support@surrealdb.com","url":"https://surrealdb.com/contact","availableLanguage":"English"},{"@type":"ContactPoint","contactType":"sales","email":"info@surrealdb.com","url":"https://surrealdb.com/contact","availableLanguage":"English"},{"@type":"ContactPoint","contactType":"security","email":"security@surrealdb.com","url":"https://surrealdb.com/.well-known/security.txt","availableLanguage":"English"},{"@type":"ContactPoint","contactType":"legal","email":"legal@surrealdb.com","url":"https://surrealdb.com/legal","availableLanguage":"English"}],"hasCertification":[{"@type":"Certification","name":"SOC 2 Type 2"},{"@type":"Certification","name":"GDPR"},{"@type":"Certification","name":"Cyber Essentials Plus"},{"@type":"Certification","name":"ISO 27001"}],"owns":[{"@type":"SoftwareApplication","name":"SurrealDB","url":"https://surrealdb.com/surrealdb"},{"@type":"SoftwareApplication","name":"Agent Memory","url":"https://surrealdb.com/agent-memory"}],"knowsAbout":["multi-model databases","document databases","graph databases","vector search","time-series databases","SurrealQL","Agent Memory","real-time databases","embedded databases","context layer","graph ontology","distributed database","knowledge graphs","distributed transaction protocols","highly-scalable databases"],"sameAs":["https://www.wikidata.org/wiki/Q124316308","https://github.com/surrealdb/surrealdb","https://twitter.com/surrealdb","https://www.youtube.com/@surrealdb","https://www.linkedin.com/company/surrealdb","https://discord.gg/surrealdb","https://www.reddit.com/r/surrealdb","https://www.instagram.com/surrealdb","https://medium.com/surrealdb","https://dev.to/surrealdb"]}
```
