<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>denzow</author_name>
  <author_url>https://blog.hatena.ne.jp/denzow/</author_url>
  <blog_title>[Dd]enzow(ill)? with DB and Python</blog_title>
  <blog_url>https://www.denzow.me/</blog_url>
  <categories>
    <anon>PostgreSQL</anon>
  </categories>
  <description>今回はPostgreSQLでpg_bigmを試してみます。 SQLで全文検索を考えたとき、とりあえずデータ量が多くなければLIKE検索でできます。 select data from small_table where data like '%りんご%'; %りんご%の指定により、文中のどこかでりんごが含まれるデータを検索することができます。%は正規表現でいうところの*+に相当し、0文字以上の何かに相当します。 しかし、この方法ではほとんどのRDBMSではINDEXが使えないためTABLEすべてにアクセスする必要があり、パフォーマンスが出ません。なお、りんご%といった前方一致であればINDEXが…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.denzow.me%2Fentry%2F2017%2F09%2F09%2F093548&quot; title=&quot;PostgreSQLで全文検索(pg_bigmを試してみた) - [Dd]enzow(ill)? with DB and Python&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>2017-09-09 09:35:48</published>
  <title>PostgreSQLで全文検索(pg_bigmを試してみた)</title>
  <type>rich</type>
  <url>https://www.denzow.me/entry/2017/09/09/093548</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
