Re: Is there a batch/bulk UPDATE syntax available?

From: pasman pasmański <pasman(dot)p(at)gmail(dot)com>
To: gnanam(at)zoniac(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Is there a batch/bulk UPDATE syntax available?
Date: 2011-02-03 20:30:33
Message-ID: AANLkTimp3h7u0FVWB4ub2Y0p5s84ApPgX2KW-EK1FJBf@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Show us explain analyze for this update.

2011/2/3, Gnanakumar <gnanam(at)zoniac(dot)com>:
> Hi,
>
> Is there a batch/bulk UPDATE query syntax available in PostgreSQL, similar
> to multirow VALUES syntax available for INSERT?
>
> INSERT Multirow VALUES syntax example:
> INSERT INTO films (code, title, did, date_prod, kind) VALUES
> ('B6717', 'Tampopo', 110, '1985-02-10', 'Comedy'),
> ('HG120', 'The Dinner Game', 140, DEFAULT, 'Comedy');
>
> There is a situation in my application, where I am performing lots and lots
> of updates on individual rows. I am trying to figure out how to make the
> updates faster.
>
> Any other ideas/ways to make updates faster are highly appreciated.
>
> Regards,
> Gnanam
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>

--
------------
pasman

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2011-02-03 23:13:04 Re: PostgreSQL 9.0
Previous Message Smith, Andy V 2011-02-03 13:10:12 PostgreSQL 9.0