<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tgk</author_name>
  <author_url>https://blog.hatena.ne.jp/tgk/</author_url>
  <blog_title>極北データモデリング</blog_title>
  <blog_url>https://tgk.hatenadiary.org/</blog_url>
  <categories>
    <anon>MySQL</anon>
    <anon>よくわからないこと</anon>
  </categories>
  <description>縁あって仕事でMySQLを使いそうなので、いまのMySQLがどうなっているのか少しずつ調べている。 で、現在のデフォルトストレージエンジンであるInnoDBの設計思想に困惑している。 InnoDBは主キーを強制的にclustered indexにするとのことだが、それって何の役に立つのだろうか？ 何のためのclustered indexか？ clustered indexの利点は 一般のb-tree indexに比べて、range scanが圧倒的に速い*1 大量データ同士を最速で結合する「ソートなしMerge Join」が使える の2点だ*2。 これらの利点の代償として 行長を拡大するような…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftgk.hatenadiary.org%2Fentry%2F20120104%2F1325693193&quot; title=&quot;InnoDBのclustered indexはあまり役に立ってないんじゃないのか - 極北データモデリング&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>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tgk/20120104/20120104234548.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-04 01:06:33</published>
  <title>InnoDBのclustered indexはあまり役に立ってないんじゃないのか</title>
  <type>rich</type>
  <url>https://tgk.hatenadiary.org/entry/20120104/1325693193</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
