<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>udzura</author_name>
  <author_url>https://blog.hatena.ne.jp/udzura/</author_url>
  <blog_title>ローファイ日記</blog_title>
  <blog_url>https://udzura.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>Log-Structured Merge Tree というデータ構造があって、データ指向アプリケーションデザインを読んでいるとかなり最初の方に出てくる。Wikipediaの記事の通りLevelDBを始めきょうびのさまざまなデータベース製品で使われている。 特徴はめちゃくちゃざっくり*1 追記型のログを使うことで書き込みの性能を保つ インデックスはキー名とログ内のオフセットzを持っておき、読み出しも速度を出す ログを SSTable というデータ構造に退避することで、インデックスはある程度疎にしつつ（めちゃくちゃキーが多くなってインデックスの時点でデカくなるなどを防ぐ）速度を保ってアクセスできる…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fudzura.hatenablog.jp%2Fentry%2F2023%2F04%2F18%2F212635&quot; title=&quot;自作 LSM-Tree その1 - ローファイ日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-18 21:26:35</published>
  <title>自作 LSM-Tree その1</title>
  <type>rich</type>
  <url>https://udzura.hatenablog.jp/entry/2023/04/18/212635</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
