Deleting orphaned records (not exists is very slow)

Поиск
Список
Период
Сортировка
От Tim Uckun
Тема Deleting orphaned records (not exists is very slow)
Дата
Msg-id AANLkTikEksN_eWqgS1+A9bzT6Duazy2KA1RztwGy1aid@mail.gmail.com
обсуждение исходный текст
Ответы Re: Deleting orphaned records (not exists is very slow)  (Grzegorz Jaśkiewicz <gryzman@gmail.com>)
Re: Deleting orphaned records (not exists is very slow)  (Michael Glaesemann <grzm@seespotcode.net>)
Список pgsql-general
What is the best strategy for deleting orphaned records from a large table.

The usual NOT IN is very slow so there must be a better way in
postgres for dealing with these.

I know it's best not to have the orphans in the first place but in
this case it happened and I need to clean up before I can put in some
referential integrity.

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

Предыдущее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: pg_filedump binary for CentOS
Следующее
От: Devrim GÜNDÜZ
Дата:
Сообщение: Re: pg_filedump binary for CentOS