提交 7d63e540 authored 作者: Erich Schubert's avatar Erich Schubert

Typo in mvstore file format example.

Also switching 5 and tree, assuming that effectively, page 2 is replaced with a link to page 5, my understanding of log structured storage.
上级 7a407204
...@@ -495,7 +495,7 @@ for (int i = 0; i < 400; i++) { ...@@ -495,7 +495,7 @@ for (int i = 0; i < 400; i++) {
} }
s.commit(); s.commit();
for (int i = 0; i < 100; i++) { for (int i = 0; i < 100; i++) {
map.put(0, "Hi"); map.put(i, "Hi");
} }
s.commit(); s.commit();
s.close(); s.close();
...@@ -511,7 +511,7 @@ will result in the following two chunks (excluding metadata): ...@@ -511,7 +511,7 @@ will result in the following two chunks (excluding metadata):
</p> </p>
<p> <p>
<b>Chunk 2:</b><br /> <b>Chunk 2:</b><br />
- Page 4: (root) node with 2 entries pointing to page 3 and 5<br /> - Page 4: (root) node with 2 entries pointing to page 5 and 3<br />
- Page 5: leaf with 140 entries (keys 0 - 139)<br /> - Page 5: leaf with 140 entries (keys 0 - 139)<br />
</p> </p>
<p> <p>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论