pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jim Vanns <jvanns@ilm.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Tips on troubleshooting slow DELETE (suspect cascades)
Date: Thu, 18 Jan 2024 12:01:20 -0500
Message-ID: <2279939.1705597280@sss.pgh.pa.us> (raw)
In-Reply-To: <CAH7vdhPTt9ZQ5y9rmsw3PAQc+E86DN2TPZfZ0FerXLytEbUwjw@mail.gmail.com>
References: <CAH7vdhPg+8+dcp2uCibr2MFPU7LWPJtdvjTY1DOpj0Z3WOhiAw@mail.gmail.com>
	<566a6359-940c-457e-b4c6-02cdf00f54f0@aklaver.com>
	<1905752.1705443374@sss.pgh.pa.us>
	<CAH7vdhPTt9ZQ5y9rmsw3PAQc+E86DN2TPZfZ0FerXLytEbUwjw@mail.gmail.com>

Jim Vanns <jvanns@ilm.com> writes:
> I should have already stated I did begin with EXPLAIN but given they
> don't easily work with (the internals) stored/procedures, it wasn't
> useful in this case.

auto_explain with nested statements enabled might help?

			regards, tom lane





view thread (9+ messages)  latest in thread

Message-ID: <2279939.1705597280@sss.pgh.pa.us>
Permalink:  ../2279939.1705597280@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2279939.1705597280@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jvanns@ilm.com, adrian.klaver@aklaver.com
  Subject: Re: Tips on troubleshooting slow DELETE (suspect cascades)
  In-Reply-To: <2279939.1705597280@sss.pgh.pa.us>
  References: <CAH7vdhPg+8+dcp2uCibr2MFPU7LWPJtdvjTY1DOpj0Z3WOhiAw@mail.gmail.com> <566a6359-940c-457e-b4c6-02cdf00f54f0@aklaver.com> <1905752.1705443374@sss.pgh.pa.us> <CAH7vdhPTt9ZQ5y9rmsw3PAQc+E86DN2TPZfZ0FerXLytEbUwjw@mail.gmail.com> <2279939.1705597280@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox