{"id":19448545,"url":"https://github.com/vnt-dev/ibd_viewer","last_synced_at":"2025-04-25T02:31:22.954Z","repository":{"id":249340477,"uuid":"624430495","full_name":"vnt-dev/ibd_viewer","owner":"vnt-dev","description":"mysql innodb .ibd文件解析器","archived":false,"fork":false,"pushed_at":"2023-04-07T11:47:00.000Z","size":36,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-03T15:05:06.423Z","etag":null,"topics":["ibd","innodb","mysql","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vnt-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-06T13:00:34.000Z","updated_at":"2024-10-27T19:20:01.000Z","dependencies_parsed_at":"2024-07-20T05:14:12.063Z","dependency_job_id":null,"html_url":"https://github.com/vnt-dev/ibd_viewer","commit_stats":null,"previous_names":["vnt-dev/ibd_viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnt-dev%2Fibd_viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnt-dev%2Fibd_viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnt-dev%2Fibd_viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vnt-dev%2Fibd_viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vnt-dev","download_url":"https://codeload.github.com/vnt-dev/ibd_viewer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250741936,"owners_count":21479703,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ibd","innodb","mysql","rust"],"created_at":"2024-11-10T16:27:28.674Z","updated_at":"2025-04-25T02:31:22.719Z","avatar_url":"https://github.com/vnt-dev.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ibd_viewer\nmysql innodb .ibd文件解析器\n\n### 示例\n```\nCREATE TABLE `test_index_1` (\n  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',\n  `a` int NOT NULL,\n  `str1` varchar(255) DEFAULT NULL COMMENT 'str1',\n  `str2` varchar(255) NOT NULL COMMENT 'str2',\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `str2_key` (`str2`),\n  KEY `a_key` (`a`),\n  KEY `str1_key` (`str1`)\n) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci\n```\n#### 查看所有页的页号和类型\n![图片](https://user-images.githubusercontent.com/49143209/230388154-dd95f714-c10a-40fe-824d-19fbc5c0a6ee.png)\n#### 查看索引根\n![图片](https://user-images.githubusercontent.com/49143209/230390654-4fd85882-2afc-4728-860b-bb4ba8ba47cf.png)\n#### 查看具体页的数据,可以看到行记录\n![图片](https://user-images.githubusercontent.com/49143209/230541089-fbbbc614-a846-4807-87f7-3536c3336880.png)\n\n### 编译\n\n1. 安装rust环境 https://www.rust-lang.org/zh-CN/tools/install\n2. 到项目目录下执行 cargo build\n\n### 支持\n\n1. MySQL 8.0\n2. 行格式为Compact、Dynamic 和 Compressed\n3. B+树节点、FilPageTypeFspHdr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnt-dev%2Fibd_viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvnt-dev%2Fibd_viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvnt-dev%2Fibd_viewer/lists"}