<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>okamuuu</author_name>
  <author_url>https://blog.hatena.ne.jp/okamuuu/</author_url>
  <blog_title>Perl日誌</blog_title>
  <blog_url>https://okamuuu.hatenadiary.org/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>概要 MySQL、InnoDBのお話です。INSERT文を実行するとインデックスにエントリが追加されてリーフブロックがうんぬんな話です。 インデックスが存在するテーブルへのINSERTは、実レコード＋インデックスのリーフブロックにエントリが追加されます。今回の記事はランダムインサートよりも昇順インサートのほうが効率的というお話です。 リーフブロックの追加 ランダムインサートの場合 まずはランダムインサートについて考えます。 リーフブロックに保存されるデータは原則インデックスの値がソートされています。 たとえば次のようなリーフブロックがあるとします。 my $data = { # key =&gt; …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fokamuuu.hatenadiary.org%2Fentry%2F20100726%2F1280131551&quot; title=&quot;ランダムインサートと昇順インサート - Perl日誌&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>2010-07-26 17:05:51</published>
  <title>ランダムインサートと昇順インサート</title>
  <type>rich</type>
  <url>https://okamuuu.hatenadiary.org/entry/20100726/1280131551</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
