A Tool for Prefetching MySQL Slave Relay Logs, to make SQL Thread faster
C++ C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore In versions up to MySQL 5.1, libmysqlclient is not thread-safe Nov 6, 2011
CMakeLists.txt
COPYING
README
check_local.cc
options.cc
options.h Periodically store the current status information to a file so that Apr 17, 2012
prefetch_worker.cc Collect prefetch worker statistics whenever a query is popped by a Apr 17, 2012
replication_booster.cc
replication_booster.h Debug code fixes: use the `##' operator to delete the leading comma Apr 4, 2012
replication_booster.spec

README

Replication Booster -- A Tool for Prefetching MySQL Slave Relay Logs, to make SQL Thread faster

How to use:
* Install boost if not installed (recommended version is 1.39 or higher)
 (On RHEL/CentOS5, you can get boost 1.39+ from ATrpms repository)
* Install Binlog API (https://code.launchpad.net/mysql-replication-listener)
* cmake .
* make
* make install
* Run replication_booster

If you have a Replication Listener in a non-standard path (for
example, it is not installed), you can add a search prefix when
executing CMake in the following way:

  cmake . -DCMAKE_PREFIX_PATH=<path to replication listener>

This will find the library in the "lib" directory and the include
files in the "include" directory of the repository.

Limitations:
* This project has just been started and code quality and performance should be improved more.
* Replication Booster uses Binlog API. Binlog API is currently (Oct 2011) pre-alpha so make sure to intensively test by yourself, though Replication Booster uses limited features of Binlog API. For example, you may fail to build Replication Booster when Binlog API interface has been changed.

License: GNU General Public License version 2

Author: DeNA Co.,Ltd. <Yoshinori.Matsunobu@gmail.com>
Got contribution from Mats Kindahl <mats@kindahl.net> (supporting cmake)
Got contribution from Davi Arnaut (Twitter patches)