X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 0D95B30E670 for ; Fri, 20 Jun 2003 16:06:01 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 61593-08 for ; Fri, 20 Jun 2003 13:05:50 -0300 (ADT) Received: from mailav.tor1.inquent.com (mail.inquent.com [216.208.117.106]) by svr1.postgresql.org (Postfix) with ESMTP id 3AF9330E64F for ; Fri, 20 Jun 2003 13:05:50 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 9317710258; Fri, 20 Jun 2003 11:59:32 -0400 (EDT) Received: from [10.0.2.11] (unknown [10.0.2.11]) by mailav.tor1.inquent.com (Postfix) with ESMTP id 83BF510248; Fri, 20 Jun 2003 11:59:30 -0400 (EDT) Subject: Re: Deleting one record from a table taking 17s. From: Rod Taylor To: Yusuf Cc: pgsql-performance In-Reply-To: <3EF32DF8.3060900@netscape.net> References: <3EF32DF8.3060900@netscape.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-OuR3Jl2Wc/42gfZbc0pR" Message-Id: <1056125163.41752.31.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 20 Jun 2003 16:06:03 +0000 X-Virus-Scanned: by AMaViS perl-11 X-Archive-Number: 200306/130 X-Sequence-Number: 2214 --=-OuR3Jl2Wc/42gfZbc0pR Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2003-06-20 at 15:53, Yusuf wrote: > Why would the following query take soo long to run? What does 28.12 msec = represent, since the total running time is=20 > 16801.86 ms. I'd hazard to guess that you have a whole slew of foreign keys cascading to delete, update, or check many rows from other tables. Those are not represented in the explains at the moment. --=20 Rod Taylor PGP Key: http://www.rbt.ca/rbtpub.asc --=-OuR3Jl2Wc/42gfZbc0pR Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+8zDq6DETLow6vwwRAvudAJ94LcnXh/4xlLvrr6F6ZQ0lpeOizQCfbYYO Osy++ZWtod4D4kyWOF4+64s= =yeRL -----END PGP SIGNATURE----- --=-OuR3Jl2Wc/42gfZbc0pR--