Re: High COMMIT times

From: Don Seiler <don(at)seiler(dot)us>
To: Craig Jackson <craig(dot)jackson(at)broadcom(dot)com>
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: High COMMIT times
Date: 2021-01-07 18:03:08
Message-ID: CAHJZqBD-4mCuvweCwpOcM7g12-xeyCgGUujkFQUP+9XcXcV7wA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Thu, Jan 7, 2021 at 11:50 AM Craig Jackson <craig(dot)jackson(at)broadcom(dot)com>
wrote:

> We had a similar situation recently and saw high commit times that were
> caused by having unindexed foreign key columns when deleting data with
> large tables involved. You might check to see if any new foreign key
> constraints have been added recently or if any foreign key indexes may have
> inadvertently been removed. Indexing the foreign keys resolved our issue.
>

Interesting, I'll run a check for any. Thanks!

Don.

--
Don Seiler
www.seiler.us

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Pavel Stehule 2021-01-08 06:20:50 Re: proposal: schema variables
Previous Message Craig Jackson 2021-01-07 17:49:58 Re: High COMMIT times