---
title: "Discussion on \"I built a tiny proxy that finds N+1 queries in any Postgres app\" | Hashnode"
description: "Discussion on \"I built a tiny proxy that finds N+1 queries in any Postgres app\". N+1 queries are the bug that never shows up in your slow query log. Each query is fast (0.2 ms, 0.3 ms), so auto_explain and log_min_duration_statement stay quiet. But your endpoint runs 50 of them in"
url: "https://hashnode.com/posts/i-built-a-tiny-proxy-that-finds-n-1-queries-in-any-postgres-app/6b0c047d9f541a97ca65d791"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [I built a tiny proxy that finds N+1 queries in any Postgres app](https://yourreferralcodes.hashnode.dev/i-built-a-tiny-proxy-that-finds-n-1-queries-in-any-postgres-app?utm_source=hashnode&utm_medium=feed)

N+1 queries are the bug that never shows up in your slow query log. Each query is fast (0.2 ms, 0.3 ms), so auto\_explain and log\_min\_duration\_statement stay quiet. But your endpoint runs 50 of them in

6d ago · 4 min read · yourreferralcodes.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#golang](https://hashnode.com/tag/golang)
-   [#opensource](https://hashnode.com/tag/opensource)

## Written by

[Alex](https://hashnode.com/@alex4315)

@alex4315 · Spain

  
[View profile](https://hashnode.com/@alex4315)

Building yourreferralcodes.com, a place to share and find referral codes and invite links, with each company’s reward and effort explained. Solo founder, building in public.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
