<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=LSM_tree</id>
	<title>LSM tree - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.riguz.com/index.php?action=history&amp;feed=atom&amp;title=LSM_tree"/>
	<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=LSM_tree&amp;action=history"/>
	<updated>2026-06-02T18:41:29Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=4025&amp;oldid=prev</id>
		<title>Riguz：​Riguz移动页面树:LSM树至LSM tree，不留重定向</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=4025&amp;oldid=prev"/>
		<updated>2024-01-18T09:19:39Z</updated>

		<summary type="html">&lt;p&gt;Riguz移动页面&lt;a href=&quot;/index.php?title=%E6%A0%91:LSM%E6%A0%91&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;树:LSM树（页面不存在）&quot;&gt;树:LSM树&lt;/a&gt;至&lt;a href=&quot;/LSM_tree&quot; title=&quot;LSM tree&quot;&gt;LSM tree&lt;/a&gt;，不留重定向&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024年1月18日 (四) 09:19的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki_db:diff:1.41:old-1593:rev-4025 --&gt;
&lt;/table&gt;</summary>
		<author><name>Riguz</name></author>
	</entry>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=1593&amp;oldid=prev</id>
		<title>imported&gt;Soleverlee：​Soleverlee移动页面LSM树至树:LSM树，不留重定向</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=1593&amp;oldid=prev"/>
		<updated>2016-11-08T15:05:40Z</updated>

		<summary type="html">&lt;p&gt;Soleverlee移动页面&lt;a href=&quot;/index.php?title=LSM%E6%A0%91&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;LSM树（页面不存在）&quot;&gt;LSM树&lt;/a&gt;至&lt;a href=&quot;/index.php?title=%E6%A0%91:LSM%E6%A0%91&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;树:LSM树（页面不存在）&quot;&gt;树:LSM树&lt;/a&gt;，不留重定向&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2016年11月8日 (二) 15:05的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki_db:diff:1.41:old-1592:rev-1593 --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Soleverlee</name></author>
	</entry>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=1592&amp;oldid=prev</id>
		<title>imported&gt;Soleverlee：​Soleverlee移动页面树:LSM树至LSM树，不留重定向：恢复</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=1592&amp;oldid=prev"/>
		<updated>2016-11-08T15:05:20Z</updated>

		<summary type="html">&lt;p&gt;Soleverlee移动页面&lt;a href=&quot;/index.php?title=%E6%A0%91:LSM%E6%A0%91&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;树:LSM树（页面不存在）&quot;&gt;树:LSM树&lt;/a&gt;至&lt;a href=&quot;/index.php?title=LSM%E6%A0%91&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;LSM树（页面不存在）&quot;&gt;LSM树&lt;/a&gt;，不留重定向：恢复&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2016年11月8日 (二) 15:05的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki_db:diff:1.41:old-1591:rev-1592 --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Soleverlee</name></author>
	</entry>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=1591&amp;oldid=prev</id>
		<title>imported&gt;Soleverlee：​Soleverlee移动页面LSM树至树:LSM树</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=1591&amp;oldid=prev"/>
		<updated>2016-11-08T15:04:18Z</updated>

		<summary type="html">&lt;p&gt;Soleverlee移动页面&lt;a href=&quot;/index.php?title=LSM%E6%A0%91&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;LSM树（页面不存在）&quot;&gt;LSM树&lt;/a&gt;至&lt;a href=&quot;/index.php?title=%E6%A0%91:LSM%E6%A0%91&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;树:LSM树（页面不存在）&quot;&gt;树:LSM树&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2016年11月8日 (二) 15:04的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wiki_db:diff:1.41:old-1590:rev-1591 --&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Soleverlee</name></author>
	</entry>
	<entry>
		<id>https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=1590&amp;oldid=prev</id>
		<title>imported&gt;Soleverlee：​以“LSM树的设计思想非常朴素：将对数据的修改增量保持在内存中，达到指定的大小限制后将这些修改操作批量写入磁盘，不过读...”为内容创建页面</title>
		<link rel="alternate" type="text/html" href="https://wiki.riguz.com/index.php?title=LSM_tree&amp;diff=1590&amp;oldid=prev"/>
		<updated>2016-06-03T14:58:56Z</updated>

		<summary type="html">&lt;p&gt;以“LSM树的设计思想非常朴素：将对数据的修改增量保持在内存中，达到指定的大小限制后将这些修改操作批量写入磁盘，不过读...”为内容创建页面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;LSM树的设计思想非常朴素：将对数据的修改增量保持在内存中，达到指定的大小限制后将这些修改操作批量写入磁盘，不过读取的时候稍微麻烦，需要合并磁盘中历史数据和内存中最近修改操作，所以写入性能大大提升，读取时可能需要先看是否命中内存，否则需要访问较多的磁盘文件。极端的说，基于LSM树实现的HBase的写性能比Mysql高了一个数量级，读性能低了一个数量级。&lt;br /&gt;
&lt;br /&gt;
LSM树原理把一棵大树拆分成N棵小树，它首先写入内存中，随着小树越来越大，内存中的小树会flush到磁盘中，磁盘中的树定期可以做merge操作，合并成一棵大树，以优化读性能。&lt;br /&gt;
&lt;br /&gt;
参考：&lt;br /&gt;
[[http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.44.2782&amp;amp;rep=rep1&amp;amp;type=pdf 论文]]&lt;br /&gt;
[[http://www.cnblogs.com/yanghuahui/p/3483754.html]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Algorithm]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Soleverlee</name></author>
	</entry>
</feed>