LogoLogo
Back to Speedb.io⭐ GitHubDiscord
  • 👋About
    • Speedb Use Cases
    • Speedb Communication Channels
    • Release Cadence
    • Releases
    • Roadmap
  • 💻Getting started
    • Speedb Quick Start Example
    • Dependencies
    • How to Compile Speedb
    • Drop-in Replacement
    • Use prebuilt binaries
    • How to contribute
      • Contribute code
      • Feature request process
      • Submit a pull request
      • Add or update documentation
      • Report bugs and other issues
      • Help with new and ongoing feature development
    • Kafka Streams: How to use Speedb instead of RocksDB?
  • ✨Speedb Features
    • Memory Tracking
    • Speedb Tuning Function
    • Table Pinning Policy
    • Snapshot Optimization
    • On Thread Start Callback
    • Write Flow
    • Global Delayed write
    • Live Configuration Changes
    • Report Index Size per Column Family
    • Proactive Flushing
    • Sorted Hash Memtable
    • Paired Bloom Filter
  • ➕Enhancements
    • Range Delete Improvement
    • Dynamic Delayed Writes
    • Reduce switch memtable latency
  • 🛠️Tools
    • Log Parser
    • DB_bench: Groups
    • Beezcli Tool
  • 🔦RocksDB Basics
  • 📈Performance testing
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. About

Releases

This page summarize information about the Speedb releases.

PreviousRelease CadenceNextRoadmap

Last updated 1 year ago

Was this helpful?

Find out what's new in Speedb!

This page summarize information about new features, bugs fixes and enhancements per release.

Speedb 2.8.0 (31-January-2024)

The following release is based on RocksDB 8.6.7

New Features

  • Memory Tracking: provides insights about the memory consumption per component. This works in debug mode only. by in

Enhancements

  • Add JAVA and C Interface for EnableSpeedbFeatures by in

  • LOG Enhancement:Have a separate LOG entry per CF Stats by in

  • Export GetFlushReasonString/GetCompactionReasonString in listener.h by in

Bug Fixes

  • stress test: Fixed TestIterateAgainstExpected not supporting 0 iterations by in

  • Fixed conflicts between db_bench flags and enable speedb features flag by in

  • stress test: Disable IsDone assertion which fails with tracing sometimes by in

  • Refresh exist iterator isnot supported in hash spdb and vector memtablerep should avoid that () by in

  • 812 stress test error initiateflushesthread assertion fail num running flushes 0 by in

Miscellaneous

  • Options: Set compaction_readahead_size default to 0 by in

  • Options: Set level_compaction_dynamic_level_bytes as false by default by in

  • stress test: Add the ability to trace all operations by in

  • zlib: Update ci and Makefile using a different link by in

  • Remove some db stress non existence parameters by in

  • Revert "added exit 0 to the license check" by in

  • Compaction: Restore SetupForCompaction functionality by in

  • Add more checks for db_stress enable speedb features by in

Known Issue

  • With this release, user-defined timestamps are not supported.

Full Changelog:

v2.7.0

Release date: 25-October-2023

The following release is based on RocksDB 8.1.1

New Features

  • Support Non-Blocking Manual Compactions (CompactRange) () by in

Enhancements

  • Logger: Add reporting capabilities to the WBM by in

  • Report static pinning options to the log () by in

  • Add the offset and size to the dump SST footer details by in

  • 653: Support hash spdb as part of enable Speedb features by in

  • Enable-Speedb-Feature: Use Scoped Pinning Policy instead of Default Policy by in Note: We recommend only using Enable-Speedb-feature in POC with this release, since the configuration set by Enable-Speedb-feature might not be saved after recovery.

  • Make a static pinning decision based on the last level with data (not bottommost level) () by in

  • db bench: usability of the pinning policy parameter by in

  • Static Pinning: Set the default for last-level-with-data to 70 by in

Bug Fixes

  • Fixed repeatable threads not working with on thread start feature by in

  • Fixed a JAVA build issue introduced by () by in

  • db_bench: Fixed a conflict between the enable_speedb_features and pinning_policy flags by in

Miscellaneous

  • db_bench: fix SeekRandomWriteRandom valid check by in

  • Fixed unused variable warnings in db_bench_tool.cc by in

  • Add MacOS support for thread affinity tests by in

  • Fixed some build issues by in

  • Fixed build errors by in

  • Fixed Java Samples by in

  • Add support for ASAN builds on Mac by in .

  • Fixed a compilation error in scoped_pinning_policy.cc by in

  • Change Configurable::SerializeOptions method to return a map by in

Thanks to the new contributor! 💙

  • made their first contribution in

v2.6.0

Release date: 22-August-2023 | Based on RocksDB 8.1.1

New Features

  • Introduce a TablePinningPolicy to control how and when memory is pinned by in

  • Snapshot Optimization () by in

  • Added Speedb tuning function that optimizes configuration for single and multi databases by in

  • Support Speedb sorted hash memtable in Java and C by in

  • Add on thread start callback by in

Miscellaneous

  • Redo of Index/Filter/Data blocks sizes in Block (LRU) Block Cache per CF after rebase on RocksDB 8.1 () by in

  • Move to zlib 1.3 (Makefile) by in

  • 639: move hashSpdb memtable from plugin to main code by in

Bug Fixes

  • WriteController: move it to public interface by in

  • Fixed log trace of Block Cache (Entry) Stats dump () by in

  • Added consideration to flushes that were not initiated by the write buffer manager by in

  • 606 stuck switch with plug by in

  • 570 spdb memtable use seek paralel threshold mishandled by in

Full Changelog:

v2.5.0

Release date: 14-June-2023 | Based on RocksDB 8.1.1

New Features

  • Dirty memory: connect wbm to global delay : Delay writes gradually based on memory usage of the WriteBufferManager (WBM) in order to gain stability. To use this feature, pass allow_stall = true to the ctor of WBM and the db needs to be opened with options.use_dynamic_delay = true. by in

  • , if the key has a match key in the delete range table and this record has no snapshot related to it, we still write it with its value to the SST file. This feature keeps only the delete record and reduces SST size for later compaction. by in ()

Enhancements

  • Log: Add the CF name and job ID to all compaction job traces by in

  • Log: Display cf names in rolled logs with their options by in

  • Log: Report the name of cf-s whose options are skipped in the log by in

  • db_stress: Add cost_write_buffer_to_cache flag by in

Bug Fixes

  • Fixed sorted hash memtable use after free bug by in

  • Sanitize max_num_parallel_flushes in WBM if 0 by in

  • WriteController: fix for stop while shutting down. Also switch to waiting a sec on the CV each time. This is required since a bg error * doesn't signal the CV in the WriteController. by in

  • Fixed UnlockWALStallCleared test in utilities/transactions/transaction_test.cc by in

  • Always assume optimize_filters_for_memory=false when creating a paired bloom filter by in

  • db_bench and stress: fixed WBM initiation by in

  • db_bench: Create a WBM once for all db-s regardless of their use in different groups by in

  • Fixed Tombstone test failure as a result of not clear local variable by in

  • Makefile: Remove pycache artifacts after running gtest-parallel

  • AVX512: fix disabling other optimizations by in

Miscellaneous

  • Print optimize_filters_for_memory option to the log by in

Full Changelog:

v2.4.1

Release date: 19-April-2023 | Based on RocksDB 7.7.8

Enhancement

  • Add the ability to create any Filter Policy in java (including ribbon filter and the Speedb paired bloom filter)

Bug Fix

  • Write Flow: Reduce debug log size. Note: the write flow is still experimental in this release

v2.4.0

Release date: 5-April-2023 | Based on RocksDB 7.7.8

New Features

Enhancements

Bug Fixes

Miscellaneous

v2.3.0

Release date: 15-February-2023 | Based on RocksDB 7.7.8

New Feature

Enhancements

Bug Fixes

Miscellaneous

v2.2.1

Release date: 30-January-2023 | Based on RocksDB 7.7.8

Bug Fixes

Miscellaneous

v2.2.0

Release date: 22-December-2022 | Based on RocksDB 7.7.3

New Features

Enhancements

Bug Fixes

Miscellaneous

v2.1.1

Release date: 15-November-2022 | Based on RocksDB 7.2.2

Bug Fixes

  • Update README.md

  • docs: fix instructions for building Speedb in README.md and INSTALL.md

v2.1.0

Release date: 26-October-2022 | Based on RocksDB 7.2.2

New Features

Enhancements

Miscellaneous

v2.0.0

Release date: 04-August-2022 | Based on RocksDB 7.2.2

New Features

  • Added ability to create MemTableFactory from URI/string to tools

Bug Fixes

  • Avoid comparing Status using == as it compares only status codes. The comparison breaks when comparing against status::NoSpace() since it has a status code of Code::kIOError and only a subcode of SubCode::kNoSpace

  • Fixed snapshots leak in optimistic_transaction_example: whenever the example is run under ASan, snapshots are acquired but not released, resulting in a memory leak error.

  • ldb: fix get to print the entire value

  • db_bench: fix Rocksdb bug of last_ref assertion. Test fails to delete multi-dbs correctly.

  • db_bench: fix SeekRandom and ReadRandomWriteRandom to work on all CFs instead of the default

  • db_bench to report accurate response time when using rate limit

  • CMake: use the old plugin infra and add support for *_FUNC registration

Miscellaneous

  • LOG: Print write_buffer_manager size to LOG

  • LOG: change log header to SpeeDB

  • LOG & db_bench: metadata_cache_options - print to LOG and support its configuration in db_bench

  • db_impl: use unique_ptr in DBImpl::Open for nicer memory management

  • Explicitly compare the SuperVersion pointer in column_family

  • Rename rocksdb threads to speedb

  • Add a version number to Speedb builds

  • Clang-Format: Do not include third-party code as any changes are either version updates or fixes.

  • Git: add clangd cache to .gitignore

Interactive CLI that offers data access and admin commands

: manage the delayed write rate across multiple CFs/databases

: Major improvement of writing while reading. Note: This feature is experimental and it consumes slightly more memory in this release

Skip expired object while using DBWithTtl

Dynamic delay writes: fix pending bytes rate calculation

Global delay write: check again credits under mutex

Add back accidental revert in DropRandomUnsyncedData

Add speedb licenses to code

Enforce writing licenses inside a source file

Makefile: Use speedb libs in build_size target

Replace uint with unsinged int (Windows Build Failure)

crashtest: dont reroll skip_list or HashSpdRepFactory

options: Forward declare WriteBufferManager

support changing immutable options on the fly

Improved performance while using the sorted-hash memtable

Added prints and query option of Index size per CF - LRU Cache Only

Add F_BARRIERFSYNC for Sync operations on MacOS (addresses the issue raised in )

Paired-Bloom-Filter: Balancing rounding to batches between the bottom-most level and other levels

db_bench: recreate only specified DBs in a group of benchmarks

Use a NoSyncFileSystem to skip Sync/FSync to reduce test times ( based on RocksDB PR )

Delayed Writes: fix L0 calc bug

util: Fixed compilation failure on Fedora 35 with gcc 11.2.1 and gflag 2.2.2

Fixed compilation failure on windows

Fixed compilation issues on Mac by

Use the Test Name for the dbname when running unit tests

add Speedb is awesome example to the getting started section

unit tests: fix CompactionServiceTest.RemoteEventListener ()

artifacts check tool - readme file was updated

don't use AVX512 with asan

Delayed Writes: fixed L0 calculation bug

Added WBM's cache info to the log

db_bench: set db_bench defaults to Speedb

build: remove the dependency on GNU Parallel for running unit tests

for better resources utilization

mechanism for consistent performance

Paired block bloom: Removed the bits-per-key limitation for better results

: Allow running multiple benchmark, each with its own configuration

db_bench: Support '--groups' in addition to '-groups'

db_stress enhancement: Support control over WBM's allow_stall

generic memtable

db_bench: bug fix inserted

db_bench: ErrorExit from static func bug

Proactive Flushes: compilation warnings fix

Added info to the log file for artifact testing

Disable LoadCustomizableTest.LoadMemTableRepFactoryTest

Shorten latency while switch memtable ()

Fixed a crash that occurred when using the hash memtable. ()

memtable_list: avoid rolling back memtable flush on CF drop ()

crashtest: fix 0 value of data_block_hash_table_util_ratio ()

deletefile_test: fix breakage caused by the compaction threads change ()

cmake: clean up on successful runs and randomise test scheduling ()

build: add a version build-tag for non-release builds ()

build: support ccache and sccache in the Makefile build ()

readme typo fix by ()

build_version: apply the build tag to the Speedb version string ()

build: correctly handle merge commits when calculating a build tag ()

db_test2: fix BackgroundPurgeTest ()

Update HISTORY.md ()

db_bench: Fix a bug when destructing a Benchmark with multiple db-s ()

db_bench: add benchmark - seektodeletedranges ()

Added new that reduces false positive rate with the same performance and memory. In some configurations, the memory consumption is even reduced by up to 30%. Note: Paired bloom filter is recommended to use when the number of bits per key is larger than 10. ()

Added Plugin Tests to builds ()

The default value for the number of compaction threads has changed to 8 ()

An infrastructure addition for a future feature: added API to retrieve the amount of immutable memory that can be freed. ()

cmake: allow running the tests in parallel like in the Makefile ()

build: fix the java test target dependencies ()

flush_job: do not roll back memtable flush on CF drop and DB shutdown ()

When background purges are used, set their priority to low instead of high, ()

Added db_bench option to change the parameter: avoid_unnecessary_blocking_io ()

Allow construction of Filter Policy from uri to the tools ()

Remove the GPL as an alternative license ()

Fix shell tab-completions in makefile ()

Added Speedb change-log to the HISTORY.md file ()

makefile: rework the dependency graph for faster test runs startup ()

Change the name of the output artifacts to Speedb ()

Added a new that supports concurrent reads and writes

db_test: add test for - forward the incomplete status on no_io ()

👋
v2.8.0
@ofriedma
#757
@udi-speedb
#772
@udi-speedb
#801
@git-hulk
#785
@Yuval-Ariel
#796
@ofriedma
#765
@Yuval-Ariel
#816
#802
@ayulas
#811
@udi-speedb
#817
@Yuval-Ariel
#792
@Yuval-Ariel
#791
@Yuval-Ariel
#797
@Yuval-Ariel
#820
@ofriedma
#814
@Yuval-Ariel
#790
@Yuval-Ariel
#788
@ofriedma
#803
https://github.com/speedb-io/speedb/commits/speedb/v2.8.0
#597
@udi-speedb
#656
@Yuval-Ariel
#556
#691
@udi-speedb
#707
@git-hulk
#679
@ayulas
#655
@udi-speedb
#715
#626
@udi-speedb
#684
@udi-speedb
#720
@udi-speedb
#727
@ofriedma
#667
#597
#680
@udi-speedb
#681
@udi-speedb
#730
@Yuval-Ariel
#652
@git-hulk
#671
@ofriedma
#661
@mrambacher
#664
@ofriedma
#717
@mrambacher
#721
@mrambacher
#608
@udi-speedb
#725
@mrambacher
#619
@git-hulk
#671
@mrambacher
#459
#35
@ofriedma
#547
@RoyBenMoshe
#543
@ayulas
#612
@ofriedma
#629
#516
@udi-speedb
#620
@ayulas
#646
@ayulas
#640
@Yuval-Ariel
#579
#577
@udi-speedb
#578
@udi-speedb
#632
@ayulas
#610
@ayulas
#603
speedb/v2.5.0...speedb/v2.6.0
@Yuval-Ariel
#423
Prevent flush entry followed delete operations currently during memtable flush
@ayulas
#418
#411
@udi-speedb
#511
@udi-speedb
#518
@udi-speedb
#520
@udi-speedb
#513
@ayulas
#553
#501
@udi-speedb
#515
@Yuval-Ariel
#499
@Yuval-Ariel
#514
@udi-speedb
#528
@udi-speedb
#510
@udi-speedb
#551
@ayulas
#561
#495
@Yuval-Ariel
#489
#489
@udi-speedb
#537
https://github.com/speedb-io/speedb/commits/speedb/v2.5.0
#387
#472
New beezcli:
#427
Global delayed write rate
#392
New write flow
#445
#403
#451
#438
#402
#409
#410
#399
#421
#452
#433
New Live configuration changes:
#294
#299
#368
rocksdb#11035
#319
#371
#370
9545
#380
#311
#396
#384
#393
#353
#382
#314
#354
#293
#398
#311
#313
#322
#243
Proactive flushes
#185
Dynamic delayed write
#2
#163
DB-bench groups support
#250
#295
#289
Shorten latency while switch
#297
#265
#278
#307
#286
#305
#14
#98
#144
#214
#218
#202
#156
#170
@azmisaquib
#223
#231
#207
#236
#239
#234
#201
Paired bloom filter
#54
#143
#194
#113
#103
#129
#127
#151
#184
#83
#119
#148
#189
#175
#66
hash based memtable
facebook/rocksdb#8485