Re: Slow Bulk Delete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 17, 2010 at 12:54 PM, Jon Nelson <jnelson+pgsql@xxxxxxxxxxx> wrote:
> On Mon, May 17, 2010 at 5:10 AM, Pierre C <lists@xxxxxxxxxx> 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);

-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux