<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>DBパフォーマンス</anon>
  </categories>
  <description>■ 遅いSQL * 遅いSQLは、以下の2種類 【１】 SQL文の１回の実行が遅い 【２】 SQL文の１回の実行は許容範囲だが、その実行文が多数実行されている ■ 遅くなっていく理由 【１】 データ量の変化 １－１） データ数の増加 １ー２） 統計情報が変化せずに、実状に合ってない ■ 遅いSQLのパターン 【１】 インデックスを使ってない 又は うまく使えていない =&gt; key が null になっているものをなくす 【２】 不要なデータを取得している 【３】 不要な処理を実行している 【４】 I/O効率の悪い読み書きをしている 【５】 デッドロックしている 関連記事 自己相関サブクエリ で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F37734856&quot; title=&quot;【SQL】SQL の パフォーマンス について - プログラム の超個人的なメモ&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>2018-09-16 02:15:10</published>
  <title>【SQL】SQL の パフォーマンス について</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/37734856</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
