Version Information
- Release Date: August 27, 2026
- Version: V1.4.0
- RPM Version: seekdb-1.4.0-100000172026082615
Version Overview
seekdb V1.4.0 focuses on making the system more lightweight. Through systematic optimization and refactoring, this release significantly reduces resource consumption, enhances the embedded access architecture to support multiple applications sharing the same instance, and improves stability on macOS. It also introduces the Rust stack and Bazel build support (as a Preview) for the first time, further strengthening the developer ecosystem.
Key Improvements
Significant Reduction in Resource Overhead
V1.4.0 streamlines the engine to significantly reduce resource consumption in embedded, edge, and low-spec environments.
Binary and Package Size
| Metric | V1.3.0 | V1.4.0 | Reduction |
|---|---|---|---|
| Binary | 366.2 MiB | 132.4 MiB | 63.9% |
| Python package | 160.0 MiB | 50.0 MiB | 68.8% |
Steady-State Runtime Resources
| Metric | V1.3.0 | V1.4.0 | Reduction |
|---|---|---|---|
| Steady-state CPU (avg.) | 0.05 cores | 0.01 cores | 70.3% |
| Steady-state memory (avg.) | 630.6 MiB | 166.3 MiB | 73.6% |
Build Time (macOS / M4)
| Metric | V1.3.0 | V1.4.0 | Reduction |
|---|---|---|---|
| Elapsed build time | 16:31.7 | 6:16.4 | 62.0% |
| Build CPU time | 7080.5s | 2482.9s | 64.9% |
Key optimization areas:
- Allocator optimization: Integrates jemalloc to reduce memory fragmentation.
- Idle-state resident memory reduction: Reclaims idle memory from components such as memstore, plan cache, and KV cache, significantly lowering resident memory usage.
- Thread and stack overhead reduction: Reduces redundant background threads and lowers the default thread stack size.
- Code size reduction: Removes redundant code and dependencies to shrink the code segment.
macOS Stability Improvement
V1.4.0 delivers systematic improvements to runtime quality on macOS. It corrects macOS-specific behavioral inconsistencies in GIS computation, sorting, numeric type conversion, floating-point operations, and PL, while also improving log timestamp formatting performance.
New Features
Embedded Access Architecture Upgrade
V1.4.0 upgrades the embedded mode from in-process execution within the host process to running as an independent background process communicating via the MySQL protocol.
- Unified multi-language access: Language bindings no longer need to build their own kernel artifacts. Access is unified through the shared substrate provided by seekdb-bindings.
- Shared instance across multiple applications: Multiple embedded applications can now access the same database instance concurrently, enabling data sharing across applications.
Feature Enhancements
PL Execution Framework Refactor
V1.4.0 refactors the PL execution framework from LLVM JIT-based just-in-time compilation to a tree-walking interpreter, reducing build dependencies and runtime overhead while improving cross-platform consistency. In most scenarios, execution performance is preserved, balancing a lighter footprint with practical performance.
Developer Ecosystem
Rust Stack Introduction
V1.4.0 introduces Rust into the seekdb development stack for the first time. The MySQL protocol stack and network I/O layer have been rewritten entirely in Rust, moving seekdb from a pure C++ stack to a hybrid C++ and Rust stack. Rust's memory safety and type system provide a more robust foundation for the long-term evolution of low-level modules and broaden the developer ecosystem: developers familiar with Rust can now contribute directly to core modules without first crossing the barrier of a large pure C++ project.
Bazel Build Support (Preview)
V1.4.0 introduces native Bazel modules (Bzlmod) as a preview build-system option for developers and community contributors. Bazel provides incremental compilation and build result caching, while also supporting dependency-boundary constraints and visualization in large C++ projects, reducing the build and maintenance costs caused by cross-module coupling. This capability is currently in Preview and will continue to evolve as part of our long-term build and dependency governance work.
Bug Fixes
Vector Index Fixes
- Fixed SINDI snapshot deserialization failure (d08a76bc)
- Fixed HGRAPH snapshot key prefix issue (1e6936f8)
- Fixed vector index schema manager GC and VSAG parameter validation (4d1da7fb)
- Fixed vector APPROXIMATE search returning error -4016 when the filter column has a prefix-length index (23c3a554)
- Fixed semantic index incorrectly using semantic_distance in a generated column (6e53dd10)
- Fixed index refresh timeout in embedded mode (ae46c8b6)
- Fixed error 5703 when creating a vector index
- Fixed Change Stream slice index normalization for negative primary keys
SQL and Execution Fixes
- Fixed plan cache accounting error in a CAS scenario (8b956047)
- Fixed has_lob_header not being passed in LOB comparisons (82e16c1e)
- Fixed schema stats retry after tablet replacement (c0674a30)
- Fixed transient tablet autoincrement failure retry (296e1d0b)
- Fixed crash on ALTER TABLE ADD for generated timestamp column
Platform Fixes
- Fixed sstable crash on Windows when exceeding 2 GiB (68c7338d)
- Fixed PL handler compatibility on Windows (fb611ec2)
Transaction Fixes
- Fixed GTS acquisition not being retried when GTS was not ready (868d86c4)
- Fixed log callback allocation and commit retry task management (1ec25a04)
- Fixed PL memory leak in long-running SQL (752f5950)
Primary/Standby Fixes
- Fixed unstable identifier used in standby promotion cycle detection (switched to process UUID) (d6aa37f1)
- Fixed primary-standby HA DAG scheduling and merged HA_MID/HA_LOW into HA_HIGH (453a5636)
- Fixed physical standby recovery (8d0cc2fa)
- Fixed promotion-fence race caused by re-checking local_append_enabled_ in the append critical section during standby promotion
Other Fixes
- Fixed invalid reload after observer startup failure (e1b1821d)
- Fixed deb package build error (256b9028)
- Fixed worker double-free and memory hold rollback blocked by limit check (32825396)
Upgrade Notes
- In-place upgrades from V1.0.x, V1.1.0, V1.2.0, or V1.3.0 to V1.4.0 are not supported. To upgrade, perform a logical migration using OBDUMPER/OBLOADER or mysqldump.
For detailed instructions, see Upgrading seekdb via mysqldump.
Related Components
| Category | Component | Compatible Version | Notes |
|---|---|---|---|
| SDK | pyseekdb | V1.3.0 | Same compatible version as for seekdb V1.3.0 |
| SDK | seekdb-js | V1.3.0 | Same compatible version as for seekdb V1.3.0 |
| Import/export | ob-loader-dumper | V4.3.5 | Same compatible version as for seekdb V1.3.0 |