<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ky_yk_d</author_name>
  <author_url>https://blog.hatena.ne.jp/ky_yk_d/</author_url>
  <blog_title>こまぶろ</blog_title>
  <blog_url>https://ky-yk-d.hatenablog.com/</blog_url>
  <categories>
    <anon>データベース</anon>
  </categories>
  <description>実行計画での typeカラムに index_mergeが出たら MySQLで、WHERE句で複数の条件をANDやORで繋いでいるクエリの実行計画をとると、 type カラムに index_merge というのが出ることがある。これはインデックスマージ最適化というものが使われるということを示している。 dev.mysql.com インデックスマージ最適化とは インデックスマージ最適化とは、本来は単一のクエリではインデックスが1つしか利用できないところ、複数のインデックスを使ってそれらをマージすることで最終的な結果を得るというアルゴリズムを使う最適化だ。 これに対し、MySQL 5.0 以降のバー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fky-yk-d.hatenablog.com%2Fentry%2F2022%2F09%2F09%2F170000&quot; title=&quot;MySQLの実行計画で Using intersect (...)な index_merge には要注意 - こまぶろ&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://m.media-amazon.com/images/I/51li6EcTU+L._SL500_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-09-09 23:30:00</published>
  <title>MySQLの実行計画で Using intersect (...)な index_merge には要注意</title>
  <type>rich</type>
  <url>https://ky-yk-d.hatenablog.com/entry/2022/09/09/170000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
