Find a file
Yueh-Hsuan Chiang 7d7ee2b654 Add Memory Insight support to utilities
Summary:
This patch introduces utilities/memory, which currently includes
GetApproximateMemoryUsageByType that reports different types of
rocksdb memory usage given a list of input DBs.

The API also take care of the case where Cache could be shared
across multiple column families / multiple db instances.

Currently, it reports memory usage of memtable, table-readers
and cache.

Test Plan: utilities/memory/memory_test.cc

Reviewers: igor, anthony, IslamAbdelRahman, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D49257
2015-11-03 17:52:17 -08:00
arcanist_util Don't spew warnings when flint doesn't exist 2015-10-19 18:47:59 -07:00
build_tools Add LITE tests to Legocastle 2015-10-26 11:50:29 -07:00
coverage
db Add Memory Insight support to utilities 2015-11-03 17:52:17 -08:00
doc
examples
hdfs
include/rocksdb Add Memory Insight support to utilities 2015-11-03 17:52:17 -08:00
java options: add recycle_log_file_num option 2015-10-18 21:21:24 -04:00
memtable Moving memtable related files from util to a new directory memtable 2015-10-16 14:10:33 -07:00
port "make format" in some recent commits 2015-10-29 17:11:14 -07:00
table Merge pull request #803 from SherlockNoMad/SkipFlush 2015-11-02 14:56:11 -08:00
third-party
tools Fix compilation problem on Windows. 2015-10-29 11:29:18 -07:00
util Merge pull request #803 from SherlockNoMad/SkipFlush 2015-11-02 14:56:11 -08:00
utilities Add Memory Insight support to utilities 2015-11-03 17:52:17 -08:00
.arcconfig
.clang-format
.gitignore
.travis.yml
appveyor.yml Do not build test only code and unit tests in Release builds 2015-10-20 13:35:08 -07:00
appveyordailytests.yml Do not build test only code and unit tests in Release builds 2015-10-20 13:35:08 -07:00
AUTHORS
CMakeLists.txt Add Memory Insight support to utilities 2015-11-03 17:52:17 -08:00
CONTRIBUTING.md
DUMP_FORMAT.md
HISTORY.md Add Memory Insight support to utilities 2015-11-03 17:52:17 -08:00
INSTALL.md
LICENSE
Makefile Add Memory Insight support to utilities 2015-11-03 17:52:17 -08:00
PATENTS
README.md
ROCKSDB_LITE.md
src.mk Add Memory Insight support to utilities 2015-11-03 17:52:17 -08:00
thirdparty.inc
USERS.md
Vagrantfile
WINDOWS_PORT.md

RocksDB: A Persistent Key-Value Store for Flash and RAM Storage

Build Status

RocksDB is developed and maintained by Facebook Database Engineering Team. It is built on earlier work on LevelDB by Sanjay Ghemawat (sanjay@google.com) and Jeff Dean (jeff@google.com)

This code is a library that forms the core building block for a fast key value server, especially suited for storing data on flash drives. It has a Log-Structured-Merge-Database (LSM) design with flexible tradeoffs between Write-Amplification-Factor (WAF), Read-Amplification-Factor (RAF) and Space-Amplification-Factor (SAF). It has multi-threaded compactions, making it specially suitable for storing multiple terabytes of data in a single database.

Start with example usage here: https://github.com/facebook/rocksdb/tree/master/examples

See the github wiki for more explanation.

The public interface is in include/. Callers should not include or rely on the details of any other header files in this package. Those internal APIs may be changed without warning.

Design discussions are conducted in https://www.facebook.com/groups/rocksdb.dev/