Revision 7c80a6d7d189d4414da7c2126e111ea71cf1504e authored by Andrew Kryczka on 03 March 2017, 01:40:24 UTC, committed by Facebook Github Bot on 03 March 2017, 01:54:15 UTC
Summary: This is the metric I plan to use for adaptive rate limiting. The statistics are updated only if the rate limiter is drained by flush or compaction. I believe (but am not certain) that this is the normal case. The Statistics object is passed in RateLimiter::Request() to avoid requiring changes to client code, which would've been necessary if we passed it in the RateLimiter constructor. Closes https://github.com/facebook/rocksdb/pull/1946 Differential Revision: D4646489 Pulled By: ajkr fbshipit-source-id: d8e0161
1 parent 0ad5af4
2014-06-27-rocksdb-3-2-release.markdown
---
title: RocksDB 3.2 release
layout: post
author: leijin
category: blog
redirect_from:
- /blog/647/rocksdb-3-2-release/
---
Check out new RocksDB release onĀ [GitHub](https://github.com/facebook/rocksdb/releases/tag/rocksdb-3.2)!
New Features in RocksDB 3.2:
* PlainTable now supports a new key encoding: for keys of the same prefix, the prefix is only written once. It can be enabled through encoding_type paramter of NewPlainTableFactory()
* Add AdaptiveTableFactory, which is used to convert from a DB of PlainTable to BlockBasedTabe, or vise versa. It can be created using NewAdaptiveTableFactory()
<!--truncate-->
Public API changes:
* We removed seek compaction as a concept from RocksDB
* Add two paramters to NewHashLinkListRepFactory() for logging on too many entries in a hash bucket when flushing
* Added new option BlockBasedTableOptions::hash_index_allow_collision. When enabled, prefix hash index for block-based table will not store prefix and allow hash collision, reducing memory consumption
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...