---
title: "Discussion on \"When a database query is unexpectedly slow\" | Hashnode"
description: "Discussion on \"When a database query is unexpectedly slow\". I have recently encountered an issue that my PostgreSQL database query was surprisingly slow. I would like to show how to tackle this issue"
url: "https://hashnode.com/posts/when-a-database-query-is-unexpectedly-slow/62f35b57408d676b1b58c21f"
---

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

Discussion

# [When a database query is unexpectedly slow](https://jorzel.hashnode.dev/when-a-database-query-is-unexpectedly-slow?utm_source=hashnode&utm_medium=feed)

I have recently encountered an issue that my PostgreSQL database query was surprisingly slow. I would like to show how to tackle this issue

Aug 10, 2022 · 3 min read · jorzel.hashnode.dev  
Read the article

-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#databases](https://hashnode.com/tag/databases)
-   [#performance](https://hashnode.com/tag/performance)

## Written by

[jorzel](https://hashnode.com/@jorzel)

@jorzel · Warsaw, Poland

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

Software Engineer at SauceLabs

Backend developer with special interest in software design, architecture and system modelling. Trying to stay in a continuous learning mindset. Enjoy refactoring, clean code, DDD philosophy and TDD approach.

## Responses 2

Markdown supported · ⌘↵ to post

[Shady ElDawy](https://hashnode.com/@shadyeldawy)

[Nov 11, 2022](https://hashnode.com/posts/when-a-database-query-is-unexpectedly-slow/62f35b57408d676b1b58c21f/comment/636ebfc073a5a31bac2610ba)

Great. Thank you sharing your experience.
