An-HyoJun / mongo-trim

Optimize MongoDB with TRIM command (published paper in EDB 2016)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mongo-trim

Optimize MongoDB with TRIM command (published paper in EDB 2016)

Author: Trong-Dat Nguyen (trauconnguyen@gmail.com)

Build from source code:

First, make the "build" directory in your MONGO_HOME

$ mkdir build

Next, to build only the server:

$ scons mongod -j40 

To build all core components

$ scons core -j40

See docs/building.md for more detail

Hardware requirements

  • Samsung 840 Pro - With the modified firmware supports Multi-streamed technique. OR
  • Samsung PM953 2.5" NVMe PCIe

Using Macros:

TDN_TRIM4: the TRIM command optimization. Save replaced ranges in the inner data structure. When the number of discard ranges reaches a threshold, invoke the __trim_ranges() thread.

TDN_TRIM4_2: similar with TDN_TRIM4, differences is saving discard ranges instead of replaced ranges

About

Optimize MongoDB with TRIM command (published paper in EDB 2016)

License:GNU Affero General Public License v3.0


Languages

Language:C++ 80.0%Language:JavaScript 16.5%Language:Python 2.7%Language:C 0.5%Language:Rich Text Format 0.1%Language:Shell 0.1%Language:HTML 0.0%