Git Product home page Git Product logo

ibd_viewer's Introduction

ibd_viewer

mysql innodb .ibd文件解析器

示例

CREATE TABLE `test_index_1` (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
  `a` int NOT NULL,
  `str1` varchar(255) DEFAULT NULL COMMENT 'str1',
  `str2` varchar(255) NOT NULL COMMENT 'str2',
  PRIMARY KEY (`id`),
  UNIQUE KEY `str2_key` (`str2`),
  KEY `a_key` (`a`),
  KEY `str1_key` (`str1`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci

查看所有页的页号和类型

图片

查看索引根

图片

查看具体页的数据,可以看到行记录

图片

编译

  1. 安装rust环境 https://www.rust-lang.org/zh-CN/tools/install
  2. 到项目目录下执行 cargo build

支持

  1. MySQL 8.0
  2. 行格式为Compact、Dynamic 和 Compressed
  3. B+树节点、FilPageTypeFspHdr

ibd_viewer's People

Contributors

lbl8603 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kenuoseclab

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.