yoshinorim / replication-booster-for-mysql Goto Github PK
View Code? Open in Web Editor NEWA Tool for Prefetching MySQL Slave Relay Logs, to make SQL Thread faster
License: GNU General Public License v2.0
A Tool for Prefetching MySQL Slave Relay Logs, to make SQL Thread faster
License: GNU General Public License v2.0
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. <[email protected]> Got contribution from Mats Kindahl <[email protected]> (supporting cmake) Got contribution from Davi Arnaut (Twitter patches)
Is SQL thread running: true
2014-12-03 16:30:32: Reading relay log file: /var/lib/relaylog/mysqld3306/mysql-relay-bin.000250 from relay log pos: 252205526
2014-12-03 16:30:32: Replication Booster started.
terminate called after throwing an instance of 'std::ios_base::failure'
what(): basic_ios::clear
Aborted
When mysql has finished reading its relay log file, it deletes it, replication booster fails on this and does not try to ask mysql for the new relaylog file.
I have read blog and got Replication Booster.
I am getting Special Characters and facing error while running it please check below lines
2014-10-31 14:03:19: Reading relay log file: /relaylog/relay.012290 from relay log pos: 113512241
2014-10-31 14:03:19: Replication Booster started.
2014-10-31 14:03:19: ERROR: Got error on query. Error code:1064 message:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Îù' at line 1. query:select * from [TABLENAME] WHERE [COLUMNNAME] = '(null)'Îù
2014-10-31 14:03:19: ERROR: Got error on query. Error code:1064 message:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ÒÊÅ' at line 1. query:select isnull(coalesce( [COLUMNNAME] = [COLUMNNAME] + 0.013000)) from [TABLENAME] where [COLUMNNAME] = "11"ÒÊÅ
Please help me as i want to use this feature on my production servers.
Waiting for your positive reply.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.