<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ardarim</author_name>
  <author_url>https://blog.hatena.ne.jp/ardarim/</author_url>
  <blog_title>ardarimのブログ</blog_title>
  <blog_url>https://ardarim.hatenablog.com/</blog_url>
  <categories>
    <anon>Windows CE</anon>
    <anon>programming</anon>
  </categories>
  <description>またちょっといじりだしてる。 前回までのビューワ。 検索はおまけ程度しか実装してなくて、とても使い物になる速さじゃなかった。一回のクエリに一分近くかかるって、それは使い物とかそういう以前にダメでしょｗ 原因としてはバカ正直にカタロムのフルスペックのテーブルを使って検索かけてたからだけど、色々工夫してどうにか数秒までには収まるようになったので、これくらいなら許容範囲だろう。 やったこととしては、 ・検索用のサブテーブル（id、サークル名のみ）を分離 ・クエリの見直し（like+前方一致('ほげ%')より、substr+like+固定長の方が早かった） ・抽出カラムの限定（最初は面倒だから * に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fardarim.hatenablog.com%2Fentry%2F20100525%2F1274812221&quot; title=&quot; DB検索高速化 - ardarimのブログ&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>2010-05-25 03:30:21</published>
  <title> DB検索高速化</title>
  <type>rich</type>
  <url>https://ardarim.hatenablog.com/entry/20100525/1274812221</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
