key-value 存儲系統,RocksDB 4.0 發布

jopen 9年前發布 | 5K 次閱讀 RocksDB

RocksDB 是一個來自 非死book 的可嵌入式的支持持久化的 key-value 存儲系統,也可作為 C/S 模式下的存儲數據庫,但主要目的還是嵌入式。RocksDB 基于 LevelDB 構建。關于 RocksDB 的性能說明

key-value 存儲系統,RocksDB 4.0 發布

RocksDB 4.0 發布,更新內容如下:

新特性

  • Added support for transactions.  See include/rocksdb/utilities/transaction.h for more info.

    </li>

  • DB::GetProperty() now accepts "rocksdb.aggregated-table-properties" and "rocksdb.aggregated-table-properties-at-levelN", in which case it returns aggregated table properties of the target column family, or the aggregated table properties of the specified level N if the "at-level" version is used.

    </li>

  • Add compression option kZSTDNotFinalCompression for people to experiment ZSTD although its format is not finalized.

    </li>

  • We removed the need for LATEST_BACKUP file in BackupEngine. We still keep writing it when we create new backups (because of backward compatibility), but we don't read it anymore.

    </li> </ul>

    公共 API 變化

    • Removed class Env::RandomRWFile and Env::NewRandomRWFile().

      </li>

    • Renamed DBOptions.num_subcompactions to DBOptions.max_subcompactions to make the name better match the actual functionality of the option.

      </li>

    • Added Equal() method to the Comparator interface that can optionally be overwritten in cases where equality comparisons can be done more efficiently than three-way comparisons.

      </li>

    • Previous 'experimental' OptimisticTransaction class has been replaced by Transaction class.

      </li> </ul>

      下載頁面:RocksDB 4.0


       本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
       轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
       本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!