having indexes when clearing tables

Поиск
Список
Период
Сортировка
hi there.

i'm trying to clear data in a table but somehow it takes way too much
time than i once expected (i'm using the formal 'delete from xxx' type
of query.).

this table's got several foreign keys and i suspect that is why it
takes longer than expected.

my question is that
would having indexes increase query performance when clearing tables?
or could anyone suggest me any ways to increase performance of the
query in such cases?

thanks very much.

regards, nuno


В списке pgsql-general по дате отправления:

Предыдущее
От: "Leif B. Kristensen"
Дата:
Сообщение: Re: Problem with COPY
Следующее
От: "lynnsettle@yahoo.com"
Дата:
Сообщение: customizing pg_dump together with copy.c's DoCopy function