<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fen_hasebe</author_name>
  <author_url>https://blog.hatena.ne.jp/fen_hasebe/</author_url>
  <blog_title>Fenrir Engineers</blog_title>
  <blog_url>https://engineers.fenrir-inc.com/</blog_url>
  <categories>
    <anon>Web エンジニアなら知っておきたい</anon>
  </categories>
  <description>こんにちは。バックエンド担当の長谷部です。 本記事では、「Webエンジニアなら知っておきたい」と題して、最近知ったDBのパフォーマンスの向上につながるJOINの方法について解説していきます。 開発において、ダッシュボードやレポート機能のAPIが「最初は速かったのに、データが増えるにつれてどんどん重くなる」という現象に遭遇したことはありませんか？ 私も、とある案件でSQLを作成していた際に、当初は標準的な結合のSQLの書き方を使用していました。しかし、データ件数が想定を上回る規模に膨らんだことで、パフォーマンスが急激に悪化するということが起きました。 親テーブルに対して条件をつけた子テーブルを結…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fengineers.fenrir-inc.com%2Fentry%2F2026%2F03%2F10%2F091714&quot; title=&quot;【PostgreSQL】集計クエリを速くするLEFT JOIN LATERAL - Fenrir Engineers&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-03-10 09:17:14</published>
  <title>【PostgreSQL】集計クエリを速くするLEFT JOIN LATERAL</title>
  <type>rich</type>
  <url>https://engineers.fenrir-inc.com/entry/2026/03/10/091714</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
