<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Edwardlee</author_name>
  <author_url>https://blog.hatena.ne.jp/Edwardlee/</author_url>
  <blog_title>インゲージ開発者ブログ</blog_title>
  <blog_url>https://blog.ingage.jp/</blog_url>
  <categories>
  </categories>
  <description>ある日、こんなエラーが出ました。 ActiveRecord::QueryCanceled: PG::QueryCanceled:ERROR: canceling statement due to statement timeout エラーの発生源となったメソッドは、月間の対話数をカウントしてリミットに達したかチェックするだけのもの。データ量も多くないはずなのに、なぜ timeout に? 本記事ではこのケースを題材に、EXPLAIN ANALYZEの読み方を実践的に紹介します。 ステップ 1: 実行されている SQL を取得 APM ツール（Datadog 等）で normalize された …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.ingage.jp%2Fentry%2F2026%2F05%2F28%2F200922&quot; title=&quot;8409ms → 15ms: PostgreSQL の EXPLAIN ANALYZE で 555倍の高速化を見つけた話 - インゲージ開発者ブログ&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>2026-05-28 20:09:22</published>
  <title>8409ms → 15ms: PostgreSQL の EXPLAIN ANALYZE で 555倍の高速化を見つけた話</title>
  <type>rich</type>
  <url>https://blog.ingage.jp/entry/2026/05/28/200922</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
