Skip to content

Commit

Permalink
Release 1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
neoremind committed Jul 20, 2020
1 parent 58d7c86 commit 8f8dad1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 15 deletions.
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![javadoc](https://javadoc.io/badge2/com.alibaba.database/innodb-java-reader/javadoc.svg)](https://javadoc.io/doc/com.alibaba.database/innodb-java-reader)
[![Hex.pm](https://img.shields.io/hexpm/l/plug.svg)](http://www.apache.org/licenses/LICENSE-2.0)

innodb-java-reader is a java implementation to access MySQL InnoDB storage engine file directly. With the library or command-line tool, it provides read-only features like examining pages, looking up record by primary key, secondary key and generating page heatmap by LSN or filling rate. Innodb-java-reader can be a tool to dump/query table by offloading from MySQL process under some conditions. Moreover, this project is useful for prototyping and learning MySQL.
innodb-java-reader is a java implementation to access MySQL InnoDB storage engine file directly. With the library or command-line tool, it provides read-only features like examining pages, looking up record by primary key, secondary key and generating page heatmap by LSN or filling rate. Innodb-java-reader can be a tool to dump/query table by offloading from MySQL server. Moreover, this project is useful for prototyping and learning MySQL.

[1. Background](#1-background)

Expand All @@ -29,9 +29,7 @@ innodb-java-reader is a java implementation to access MySQL InnoDB storage engin

## 1. Background

InnoDB is a general-purpose storage engine that balances high reliability and high performance in MySQL, since 5.6 InnoDB has become the default MySQL storage engine.

Everybody knows MySQL is a row oriented OLTP database with B+ tree clustered index to store records. In Alibaba, I encountered one performance issue related to MySQL, and this led me to deep dive into InnoDB internal mechanism. To better understand how InnoDB stores data, I introduce this project, and I choose Java language to implement because it is widely used and more understandable. Some of the works are inspired by [Jeremy Cole](https://blog.jcole.us/)'s blog about InnoDB, which helps me a lot.
InnoDB is a general-purpose storage engine that balances high reliability and high performance in MySQL, since 5.6 InnoDB has become the default MySQL storage engine. In Alibaba, I encountered one performance issue related to MySQL, and this led me to deep dive into InnoDB internal mechanism. To better understand how InnoDB stores data, I introduce this project, and I choose Java language to implement because it is widely used and more understandable. Some of the works are inspired by [Jeremy Cole](https://blog.jcole.us/)'s blog about InnoDB, which helps me a lot.

Currently this project is production-ready and is able to work in real environment.

Expand Down Expand Up @@ -67,7 +65,7 @@ Supported column types are listed below. Java type mapping refer to [docs](docs/
<dependency>
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader</artifactId>
<version>1.0.8</version>
<version>1.0.10</version>
</dependency>
```

Expand Down Expand Up @@ -821,4 +819,3 @@ TPC-H `LINEITEM` table scan result is as below.
* Support MySQL 8.0 newly introduced LOB page.
* Load table metadata from system tablespace.
* Support compressed table.
* Support fulltext and spatial indexes.
4 changes: 2 additions & 2 deletions innodb-heatmap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0.9</version>
<version>1.0.10</version>
</parent>

<groupId>com.alibaba.database</groupId>
<artifactId>innodb-heatmap</artifactId>
<version>1.0.9</version>
<version>1.0.10</version>
<packaging>jar</packaging>
<name>innodb-heatmap</name>
<description>innodb-heatmap</description>
Expand Down
4 changes: 2 additions & 2 deletions innodb-java-reader-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0.9</version>
<version>1.0.10</version>
</parent>

<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-cli</artifactId>
<version>1.0.9</version>
<version>1.0.10</version>
<packaging>jar</packaging>
<name>innodb-java-reader-cli</name>
<description>innodb-java-reader-cli</description>
Expand Down
4 changes: 2 additions & 2 deletions innodb-java-reader-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0.9</version>
<version>1.0.10</version>
</parent>

<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-demo</artifactId>
<version>1.0.9</version>
<version>1.0.10</version>
<packaging>jar</packaging>
<name>innodb-java-reader-demo</name>
<description>innodb-java-reader-demo</description>
Expand Down
4 changes: 2 additions & 2 deletions innodb-java-reader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.0.9</version>
<version>1.0.10</version>
</parent>

<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader</artifactId>
<version>1.0.9</version>
<version>1.0.10</version>
<packaging>jar</packaging>
<name>innodb-java-reader</name>
<description>innodb-java-reader</description>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.alibaba.database</groupId>
<artifactId>innodb-java-reader-parent</artifactId>
<version>1.0.9</version>
<version>1.0.10</version>
<name>innodb-java-reader-parent</name>
<packaging>pom</packaging>
<description>A library and command-line tool to access MySQL InnoDB data file directly in Java</description>
Expand Down

0 comments on commit 8f8dad1

Please sign in to comment.