摘要:
【LevelDB 整体架构】 从图中可以看出,构成LevelDb静态结构的包括六个主要部分:内存中的MemTable和Immutable MemTable以及磁盘上的几种主要文件:Current文件,Manifest文件,log文件以及SSTable文件。当然,LevelDb除了这六个主要部... 阅读全文
posted @ 2015-10-13 21:46
Tekkaman
阅读(621)
评论(0)
推荐(0)
摘要:
【磁盘】 磁盘是一个扁平的圆盘(与电唱机的唱片类似)。盘面上有许多称为磁道的圆圈,数据就记录在这些磁道上。磁盘可以是单片的,也可以是由若干盘片组成的盘组,每一盘片上有两个面。 如下图11.3中所示的6片盘组为例,除去最顶端和最底端的外侧面不存储数据之外,一共有10个面可以用来保存信息。 ... 阅读全文
posted @ 2015-10-13 14:27
Tekkaman
阅读(653)
评论(0)
推荐(1)
摘要:
【LevelDB Filters】 Because of the wayleveldbdata is organized on disk, a singleGet()call may involve multiple reads from disk. The optionalFilterPolic... 阅读全文
posted @ 2015-10-13 11:04
Tekkaman
阅读(254)
评论(0)
推荐(0)
摘要:
【LevelDB Cache】 The contents of the database are stored in a set of files in the filesystem and each file stores a sequence of compressed blocks. Ifo... 阅读全文
posted @ 2015-10-13 10:37
Tekkaman
阅读(379)
评论(0)
推荐(0)
浙公网安备 33010602011771号