RocksDB-Sharp

Advanced topics

These pages cover the features you probably won't reach for on day one — but they unlock significantly more powerful patterns once you do.

TTL Database

Auto-expire old keys with OpenWithTtl — useful for caches and ephemeral state.

Read-only & Secondary

Open a DB without taking the writer lock; attach a live follower that can catch up.

Compaction Control

Manual compaction, range compaction, disabling auto-compactions, file deletion fences.

WAL Replication

Stream the Write-Ahead Log to followers for sub-second multi-node replication.

Native Interop

How AutoNativeImport finds and loads the native binary; calling raw C API functions.

© 2026 RocksDB-Sharp. All rights reserved.