Re: Performance of update

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Performance of update
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C201ED1B78@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Performance of update  (sam <sam.mahindrakar@gmail.com>)
Список pgsql-general
sam wrote:
> 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???

Could you post the functions and the EXPLAIN output
for the SQL statements in the functions?

Yours,
Laurenz Albe

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Survey: renaming/removing script binaries (createdb, createuser...)
Следующее
От: "Richard Broersma"
Дата:
Сообщение: Re: casting from integer to boolean