Performance of update

From: sam <sam(dot)mahindrakar(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Performance of update
Date: 2008-03-26 20:26:03
Message-ID: ed36ac6f-032f-400f-b814-c90738d9aeda@m34g2000hsc.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi
Iam trying to update a database table with approx 45000 rows. Iam not
updating all rows at a time. Iam updating 60 rows at a given time for
example. and this is happening in a FOR LOOP. A function that has the
update statements is called within the loop.

The updates take too long.....is postgres slow in doing updates on
large tables or is it because of the function call within the loop???

Thanks
Sam

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Zdenek Kotala 2008-03-26 20:35:14 Re: Survey: renaming/removing script binaries (createdb, createuser...)
Previous Message Chris Browne 2008-03-26 20:23:42 Re: Survey: renaming/removing script binaries (createdb, createuser...)