Optimizations | Problem Solved | Business Benefit |
Active GC Based on Garbage Ratio | The native RocksDB GC selects files based solely on "age", potentially leaving valid data in old files. | More precise reclamation and more efficient disk space usage |
GC Priority Metadata | Active GC requires persisting the "which blobs need more urgent garbage collection" marker, which is absent in the native BlobDB. | GC progress is preserved after restart, and DBAs can intervene with urgent blobs. |
Small Blob File Merging | Frequent Compaction generates a large number of fragmented small Blob files. | Reduced number of files and lower metadata overhead |
Direct Copy for Blob GC | The default GC requires decompressing and then recompressing Blob data. | GC CPU overhead is significantly reduced (benchmark shows approximately 1.5x speedup for 5KB values and 1.4x for 10KB values). |
Optimization of Blob Write Sync | RocksDB's default behavior of forcing a RangeSync every 1MB becomes a bottleneck on modern SSDs. | Blob write IOPS is increased and tail latency is reduced. |
Lazy Loading of Blob Values | During range scans, the iterator preloads Blobs even if the Value is ultimately not read. | Improved range scan performance (for example, SELECT COUNT(*), uniqueness verification) |
DeleteRange Acceleration | Bulk range deletion updates Blob reference counts one by one. | Faster bulk deletion |
Shared Blob Cache | By default, there is no Blob Cache, so every Blob read is a disk I/O. | Reduced latency for hot Blob reads (requires restart) |
Starting Level for Blob | Data in the upper levels (L0/L1) is short-lived, and separating it actually increases GC pressure. | Separation starts from L1 by default for a more balanced state. |
Setting Compression Algorithm by Level | Data at different levels has varying hot/cold characteristics, making uniform compression inflexible. | Cold data can be strongly compressed using ZSTD to save space. |

Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários