pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christophe Pettus <xof@thebuild.com>
To: Ping Yao <ping@optigo.net>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Help understand why DELETE is so slow
Date: Fri, 1 Dec 2023 09:50:49 -0800
Message-ID: <0402AB48-55B3-44F2-A8B0-45DB3821602A@thebuild.com> (raw)
In-Reply-To: <CAEBRQitRxHA-1D30FOm9XYoofcTncSnAuXho2ijxAa9E8+bJbQ@mail.gmail.com>
References: <CAEBRQitRxHA-1D30FOm9XYoofcTncSnAuXho2ijxAa9E8+bJbQ@mail.gmail.com>



> On Dec 1, 2023, at 09:47, Ping Yao <ping@optigo.net> wrote:
> Can someone help me understand why my simple DELETE query is so slow to run?

Based on the plan, you're running PostgreSQL with the Citus extension, and the delay is in Citus-related code.  This is probably a question best directed to either the open-source Citus community, or Microsoft.




view thread (6+ messages)  latest in thread

Message-ID: <0402AB48-55B3-44F2-A8B0-45DB3821602A@thebuild.com>
Permalink:  ../0402AB48-55B3-44F2-A8B0-45DB3821602A@thebuild.com/
Also on:    postgresql.org/message-id/0402AB48-55B3-44F2-A8B0-45DB3821602A@thebuild.com

 · 

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: xof@thebuild.com, ping@optigo.net
  Subject: Re: Help understand why DELETE is so slow
  In-Reply-To: <0402AB48-55B3-44F2-A8B0-45DB3821602A@thebuild.com>
  References: <CAEBRQitRxHA-1D30FOm9XYoofcTncSnAuXho2ijxAa9E8+bJbQ@mail.gmail.com> <0402AB48-55B3-44F2-A8B0-45DB3821602A@thebuild.com>

* 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