Re: DELETE SQL too slow. - Mailing list pgsql-general

From Stephan Szabo
Subject Re: DELETE SQL too slow.
Date
Msg-id 20020903125241.L48266-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Re: DELETE SQL too slow.  (Diogo Biazus <diogo@ikono.com.br>)
List pgsql-general
On Tue, 3 Sep 2002, Diogo Biazus wrote:

> I already have ran VACUUM ANALYSE
> And I used the REINDEX too.
>
> Here is the explain:
>
> NOTICE: QUERY PLAN:
>
> Index Scan using palavrasbusca_codbusca_ix on palavrasbusca
> (cost=0.00..333.43 rows=443 width=6)
>
> My SQL is still running, it been more than one hour.
>
> The table has a reference to one other table and it has an index.

I'd guess it's related to foreign keys, but it'd be helpful to
see the statements used to create the tables and constraints/indexes
(or at least a pg_dump of those with the create index/create constraint
trigger).

Also, are there any other triggers on the table?


pgsql-general by date:

Previous
From: Justin Clift
Date:
Subject: Re: Where can I find more information of XML support in
Next
From: SamPost
Date:
Subject: Creating a Cursor / Returning multiple rows