Re: How should we design our tables and indexes

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: veem v <veema0000(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How should we design our tables and indexes
Date: 2024-02-12 19:12:36
Message-ID: CAKAnmm+qd2NF0R6_m3AwDc9+OEPdiW96NY4p2CXbocAUSPQyhQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Is there any way to track those historical executions and be able to find
the exact root cause of the slow executions confidently?

https://www.postgresql.org/docs/current/auto-explain.html

auto_explain.log_min_duration = '5s' ## or large enough to capture your
quickest one

Do NOT enable auto_explain.log_analyze.

Cheers,
Greg

In response to

Browse pgsql-general by date

  From Date Subject
Next Message veem v 2024-02-12 20:23:25 Re: How to do faster DML
Previous Message veem v 2024-02-12 19:04:48 Re: How should we design our tables and indexes