13
10 Comments

Mastering Postgres indexes in 10 minutes

submitted this link to Icon for group Developers
Developers
on December 15, 2020
  1. 3

    As a fellow online teacher, I gotta say you did a great job with this one! It's concise, accurate and links to more in-depth resources. 👍

    1. 1

      I really appreciate it thank you so much 😊

      I was thinking about doing something about Docker/Kubernetes next time. Maybe you'd have topic ideas?

  2. 2

    Good quality post. As someone doing a bunch of Postgresql now where I think index posts are lacking is where, IMO, the common usage is: I want to go from a query that is slow to the indexes I need to make it faster. I've found out that I've added indices that actually don't impact the performance of the query so are just wasting space.

    1. 1

      Thanks for the input, I think you're right. I'll try to write something focusing on usage in the future 👌

      Was also thinking about doing a "index cheat sheet" as a table. With the different indexes, their main usecases and how to use them. More focused on how to use them then how they work.

  3. 1

    Very detailed and easy to understand. Thanks!

  4. 1

    Nice explanations, also went down a rabbit whole of looking at partitions which are very interesting.

    1. 1

      I never used partitions so far I think, should I? 😄
      It's a relatively new feature isn't it, like Postgres 10?

      1. 1

        Not too sure. But looks very useful for my use case.

Trending on Indie Hackers
How I built an AI workflow with preview, approval, and monitoring User Avatar 63 comments Show IH: I'm building a lead gen + CRM tool for web designers targeting local businesses without websites — starting with Spain User Avatar 62 comments I built a URL indexing SaaS in 40 days — here's the honest story User Avatar 52 comments After 4 landing page rewrites, I finally figured out why my analytics SaaS wasn't converting User Avatar 21 comments We witnessed a sharp spike in our traffic. So much happiness after a long time. User Avatar 15 comments Creative Generator — create product-focused visuals and ad concepts faster User Avatar 10 comments