<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>atsuizo</author_name>
  <author_url>https://blog.hatena.ne.jp/atsuizo/</author_url>
  <blog_title>なからなLife</blog_title>
  <blog_url>https://atsuizo.hatenadiary.jp/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>何言っているかわかんねえよ。 と思うので、事例で語る。なお、この事象が出たのは、MySQL5.6.23です。 実験1：PK列が1つのケース 準備 こんな感じでテーブルとデータを用意します。 mysql &gt; create table test_in_exp_tbl( -&gt; col1 int(11) not null, -&gt; col2 int(11) not null, -&gt; col3 char(128), -&gt; PRIMARY KEY (col1) -&gt; ); Query OK, 0 rows affected (0.07 sec) mysql &gt; insert into test_in_exp…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatsuizo.hatenadiary.jp%2Fentry%2F2016%2F11%2F02%2F121500&quot; title=&quot;MySQLで複合列PKなテーブルに対するWHERE条件でINを使うと、実行計画が変わる？ - なからなLife&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>http://ecx.images-amazon.com/images/I/51riVcDvAcL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-11-02 12:15:00</published>
  <title>MySQLで複合列PKなテーブルに対するWHERE条件でINを使うと、実行計画が変わる？</title>
  <type>rich</type>
  <url>https://atsuizo.hatenadiary.jp/entry/2016/11/02/121500</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
