Re: DELETE SQL too slow.

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: DELETE SQL too slow.
Дата
Msg-id 20020903125241.L48266-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Re: DELETE SQL too slow.  (Diogo Biazus <diogo@ikono.com.br>)
Список 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 по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: Where can I find more information of XML support in
Следующее
От: SamPost
Дата:
Сообщение: Creating a Cursor / Returning multiple rows