From: Junaili Lie <junaili@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: slow deletes on pgsql 7.4
Date: Wed, 26 Apr 2006 07:27:13 -0700
Message-ID: <8d04ce990604260727r65d009d6pef436465701c4203@mail.gmail.com> (raw)
In-Reply-To: <10985.1146013474@sss.pgh.pa.us>
References: <8d04ce990604251441ya85c42evb47946272536cabe@mail.gmail.com>
<9147.1146006558@sss.pgh.pa.us>
<8d04ce990604251714g1f5d99bbn172ec554a49c8374@mail.gmail.com>
<10985.1146013474@sss.pgh.pa.us>
It was on my first email.
Here it is again:
MONSOON=# explain delete from scenario where id='1099';
QUERY PLAN
------------------------------------------------------------------------------
Index Scan using scenario_pkey on scenario (cost=0.00..3.14 rows=1
width=6)
Index Cond: (id = 1099::bigint)
(2 rows)
MONSOON=# explain delete from scenario where id='1023';
QUERY PLAN
------------------------------------------------------------------------------
Index Scan using scenario_pkey on scenario (cost=0.00..3.14 rows=1
width=6)
Index Cond: (id = 1023::bigint)
(2 rows)
Thanks,
J
On 4/25/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "Junaili Lie" <junaili@gmail.com> writes:
> > ie. delete from scenario where id=3D'1023' is very fast, but delete from
> > scenario where id=3D'1099' is running forever.
>
> What does EXPLAIN show for each of those cases?
>
> regards, tom lane
>
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: junaili@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: slow deletes on pgsql 7.4
In-Reply-To: <8d04ce990604260727r65d009d6pef436465701c4203@mail.gmail.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