<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>masasuz</author_name>
  <author_url>https://blog.hatena.ne.jp/masasuz/</author_url>
  <blog_title>ふり返る暇なんて無いね</blog_title>
  <blog_url>https://diary.masasuzu.net/</blog_url>
  <categories>
    <anon>tech</anon>
  </categories>
  <description>プライマリーキー(id)でSELECTしてるのにSlowlogに出てくる不思議なクエリがあるからなんでだろうなと調べてみると、なんと全パーティションを検索していて遅かったという現象がありました。ちょっとテスト環境で再現してみます。 環境 Ubuntu 12.04のdebで入るmysql-server-5.5で見てます。 &gt; show variables like 'version'; +---------------+-----------------------------+ | Variable_name | Value | +---------------+---------------…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdiary.masasuzu.net%2Fentry%2F2015%2F06%2F25%2F143342&quot; title=&quot;MySQLのLINEAR KEY パーティションでPKで検索しても遅い場合 - ふり返る暇なんて無いね&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>2015-06-25 14:33:42</published>
  <title>MySQLのLINEAR KEY パーティションでPKで検索しても遅い場合</title>
  <type>rich</type>
  <url>https://diary.masasuzu.net/entry/2015/06/25/143342</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
