Re: Slow Bulk Delete

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Jon Nelson <jnelson+pgsql(at)jamponi(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow Bulk Delete
Date: 2010-05-17 12:15:52
Message-ID: AANLkTik2VPw7vSFvNZHAu8_TAXExqiTkhH4n4ylBvzlA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Mon, May 17, 2010 at 12:54 PM, Jon Nelson <jnelson+pgsql(at)jamponi(dot)net> wrote:
> On Mon, May 17, 2010 at 5:10 AM, Pierre C <lists(at)peufeu(dot)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?
>

I think he refers to the way you pass values in insert, and alike:
INSERT INTO foo(a,b) VALUES(1,2), (2,3), (3,4);

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message A. Kretschmer 2010-05-17 12:28:16 Re: Slow Bulk Delete
Previous Message Віталій Тимчишин 2010-05-17 12:07:17 Re: Slow Bulk Delete