<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ariteku</author_name>
  <author_url>https://blog.hatena.ne.jp/ariteku/</author_url>
  <blog_title>ぶろぐ</blog_title>
  <blog_url>https://takuan.hateblo.jp/</blog_url>
  <categories>
    <anon>MySQL</anon>
  </categories>
  <description>件数が多くなると、データの取り出しが非常に遅くなる． テーブルにインデックスを付けることで、データの検索を爆速にする． 弱点として、データの更新はインデックスを更新する必要があるので遅くなる． やり方と速度検証は、後ほど…。 メモメモ indexを設けつつ、データの登録が膨大な場合のパフォーマンスの問題解決Tipsとして、新規登録のデータは一時保管テーブルに保存し、本番テーブルには誰も使わない夜に更新をかける．という方法もあるみたい．本番テーブルに最新の登録情報が反映されない、という問題はあるが、まぁ、一つの手としてメモ． 夜間のバッチ処理、とかってそういうことしているのかなー？と妄想． 誰か…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuan.hateblo.jp%2Fentry%2F20110307%2F1299487859&quot; title=&quot;selectを爆速にするために、indexを設ける - ぶろぐ&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>2011-03-07 17:50:59</published>
  <title>selectを爆速にするために、indexを設ける</title>
  <type>rich</type>
  <url>https://takuan.hateblo.jp/entry/20110307/1299487859</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
