Re: Slow Bulk Delete

Поиск
Список
Период
Сортировка
От Віталій Тимчишин
Тема Re: Slow Bulk Delete
Дата
Msg-id AANLkTinamss2q5gUWJEuMfzXVK3_43hyraPYkMWF4j46@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Slow Bulk Delete  (Jon Nelson <jnelson+pgsql@jamponi.net>)
Ответы Re: Slow Bulk Delete  (Jon Nelson <jnelson+pgsql@jamponi.net>)
Список pgsql-performance


2010/5/17 Jon Nelson <jnelson+pgsql@jamponi.net>
On Mon, May 17, 2010 at 5:10 AM, Pierre C <lists@peufeu.com> wrote:
> - or use a JOIN delete with a virtual VALUES table
> - or fill a temp table with ids and use a JOIN DELETE

What is a virtual VALUES table? Can you give me an example of using a
virtual table with selects, joins, and also deletes?



delete from a using (values (1),(2),(5),(8)) b(x) where a.id=b.x


--
Best regards,
Vitalii Tymchyshyn

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

Предыдущее
От: Jon Nelson
Дата:
Сообщение: Re: Slow Bulk Delete
Следующее
От: Grzegorz Jaśkiewicz
Дата:
Сообщение: Re: Slow Bulk Delete