Re: Troubleshooting a long running delete statement - Mailing list pgsql-performance

From Laurenz Albe
Subject Re: Troubleshooting a long running delete statement
Date
Msg-id c73a8eb00330ce5aa0d35e36d99e73fa5f1b6fc9.camel@cybertec.at
Whole thread Raw
In response to Troubleshooting a long running delete statement  ("Dirschel, Steve" <steve.dirschel@thomsonreuters.com>)
List pgsql-performance
On Wed, 2021-10-06 at 18:00 +0000, Dirschel, Steve wrote:
> Are there other statistics in Postgres I may have looked at to methodically come to the conclusion that the problem
wasthe missing index on the parent FK column?
 

You could use the query from my article to find the missing indexes:
https://www.cybertec-postgresql.com/en/index-your-foreign-key/

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com




pgsql-performance by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: Troubleshooting a long running delete statement
Next
From: "Dirschel, Steve"
Date:
Subject: RE: [EXT] Re: Troubleshooting a long running delete statement