Benchmarking SurrealDB 3.x vs. Postgres, Mongo, Neo4j and Redis (With Fsync)

TL;DR

Recent benchmarks tested SurrealDB 3.x against major databases like Postgres, MongoDB, Neo4j, and Redis using identical hardware and configurations. SurrealDB 3.x shows substantial performance gains, especially in CRUD operations and full-table scans. The tests emphasize full durability, providing a realistic comparison for production use.

Recent comprehensive benchmarks demonstrate that SurrealDB 3.x outperforms Postgres, MongoDB, Neo4j, and Redis in various workloads when configured for full durability, running on identical hardware. These results highlight significant performance gains, especially in CRUD operations and full-table scans, marking a notable advancement for SurrealDB.

The benchmarks were conducted on an AMD Ryzen Threadripper 9970X system with 128 GiB of DDR5 RAM and NVMe storage, using the same open-source benchmarking harness across all databases. Each database was tuned for production-grade durability, enabling fsync and WAL flushes, to reflect real-world deployment conditions. The workloads involved 128 clients executing 48 concurrent queries against datasets with 5 to 15 million rows, including mixed data types and complex queries.

SurrealDB 3.x showed a 164-fold increase in full-table scan performance compared to its previous version, with the latest version reaching 11 ops/sec. CRUD throughput improved by 31% from SurrealDB 2.x, with mean operations per second rising from 107k to 141k. Latency reductions ranged from 27% to 99%, depending on the workload. When compared to other databases, SurrealDB demonstrated faster write operations than Postgres and MySQL, with 1.5× and 5-7× higher throughput respectively. In document-oriented workloads, SurrealDB was approximately 1.3× faster than MongoDB in reads and significantly outperformed in unindexed filter scans, being roughly 2.7× faster.

Why It Matters

This benchmarking effort provides a realistic, production-oriented comparison of SurrealDB 3.x against established databases, emphasizing its competitive performance in durability-focused environments. The substantial improvements in query speed and throughput suggest SurrealDB is a viable alternative for multi-model, transactional workloads, especially where full durability and high concurrency are required. These results could influence deployment decisions in enterprise and high-demand applications.

SQL Server 2025 Unveiled: The AI-Ready Enterprise Database with Microsoft Fabric Integration

SQL Server 2025 Unveiled: The AI-Ready Enterprise Database with Microsoft Fabric Integration

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Previous benchmarks with fsync disabled showed faster results but did not reflect typical production conditions. This latest round emphasizes full durability, aligning with real-world deployment scenarios where data integrity is critical. SurrealDB’s latest internal architecture overhaul—covering query parsing, storage, and indexing—has driven the performance gains. Historically, databases like Postgres and MongoDB have been benchmarks for relational and document models, respectively, but SurrealDB’s multi-model approach and recent optimizations position it as a competitive alternative.

“SurrealDB 3.x’s new query planner and storage engine eliminate per-row decoding overhead, enabling workloads that previously took minutes to complete in seconds.”

— SurrealDB development team

“Running all databases on the same hardware with production-grade configurations provides a fairer, more realistic comparison for enterprise deployments.”

— Benchmarking lead author

WD_Black SN7100 2TB NVMe SSD - Gen4 PCIe, M.2 2280, Up to 7,250 MB/s Read Speed, Up to 6,900 MB/s Write Speed, Next Gen TLC 3D NAND, for Laptops, Handheld Gaming Devices - WDS200T4X0E

WD_Black SN7100 2TB NVMe SSD – Gen4 PCIe, M.2 2280, Up to 7,250 MB/s Read Speed, Up to 6,900 MB/s Write Speed, Next Gen TLC 3D NAND, for Laptops, Handheld Gaming Devices – WDS200T4X0E

HIGH-OCTANE GAMING. Experience speeds up to 7,250MB/s read and 6,900MB/s write (1-2TB models), with up to 35% faster…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

While the benchmarks are comprehensive, the results are specific to the tested hardware and configurations. Performance may vary in different environments or with different workload mixes. Additionally, the long-term stability and scalability of SurrealDB 3.x under sustained high load remain to be validated through real-world deployment.

Amazon

durability optimized database hardware

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Further testing across diverse workloads and environments is expected, along with ongoing development to close remaining performance gaps with traditional databases like Postgres. SurrealDB’s team plans to release version 3.1, which aims to improve query planner capabilities and index efficiency. Industry adoption and real-world case studies will be critical to assess its practical performance and stability.

Microsoft Azure Cosmos DB Revealed: A Multi-Model Database Designed for the Cloud

Microsoft Azure Cosmos DB Revealed: A Multi-Model Database Designed for the Cloud

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

How does SurrealDB 3.x compare to Postgres in real-world scenarios?

Benchmarks show SurrealDB 3.x outperforms Postgres in write-heavy workloads under full durability settings, but real-world performance will depend on specific use cases and configurations.

What are the main improvements in SurrealDB 3.x?

The internal overhaul of the query parser, storage engine, and indexing layers has resulted in significant performance gains, especially in full-table scans and CRUD operations.

Is SurrealDB suitable for production environments?

Yes, the benchmarks used production-grade configurations with full durability enabled, indicating its readiness for high-demand, data-critical applications.

Will SurrealDB replace traditional databases?

It offers a compelling alternative, especially for multi-model, transactional workloads, but adoption will depend on further testing, stability, and ecosystem maturity.

Source: Hacker News

You May Also Like

Japan’s NEC seeks edge in undersea cable with high-capacity fiber

Japan’s NEC plans a $636 million investment over five years to advance high-capacity fiber optic submarine cables, aiming to secure a larger market share.

The app you need to clean up your computer

A new utility app has been launched claiming to help users identify and remove unnecessary files and processes to improve computer performance.

ISC Stormcast For Monday, May 11th, 2026 https://isc.sans.edu/podcastdetail/9926, (Mon, May 11th)

The ISC Stormcast for May 11, 2026, highlights recent cybersecurity threats, incidents, and advisories, providing essential updates for security professionals.

I’m Getting into Mesh Networks (Meshtastic, MeshCore, and Reticulum)

Exploring recent developments in mesh networking with Meshtastic, MeshCore, and Reticulum, highlighting confirmed features, potential, and future prospects.