Analyze InnoDB physical files using Innodb_ruby

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.