Take CentOS6.8 as an example, execute the following command in the root directory:
Yum install zlib-devel curl-devel openssl-devel httpd-devel apr-devel apr-util-devel
Innodb_ruby needs at least 1.9.3 version of the 1.8.X version of the Ruby,yum is too low, we need to compile and install Ruby
wget https://cache.ruby-china.org/pub/ruby/ruby-1.9.3-p551.tar.gz
Tar zxvf ruby-1.9.3-p551.tar.gz
CD ruby-1.9.3-p551
./configure
Make && make install
The default installation is in the/usr/local/bin directory.
git clone https://github.com/rubygems/rubygems.git
CD Rubygems/bin
./gem Install Innodb_ruby
Tool Author's blog:
Https://blog.jcole.us/2013/01/02/on-learning-innodb-a-journey-to-the-core/
Https://github.com/jeremycole/innodb_diagrams
Https://www.percona.com/live/mysql-conference-2013/sessions/innodb-journey-core
Innodb_ruby How to use: Https://github.com/jeremycole/innodb_ruby/wiki
Cd/var/lib/mysql---Use this tool to first change to the DataDir directory
To view the system tablespace:
Innodb_space-s ibdata1 system-spaces
Other commands can be see
Http://www.cnblogs.com/cnzeno/p/6322842.html
Http://www.cnblogs.com/cnzeno/p/6322842.html
Analyze InnoDB physical files using Innodb_ruby