Slow update

Поиск
Список
Период
Сортировка
От Bendik R.Johansen
Тема Slow update
Дата
Msg-id 0201deb23790cee173bdd2d3f0e96642@gmail.com
обсуждение исходный текст
Ответы Re: Slow update  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
Hello,
I am having a bit of trouble updating a single integer column.
My table has around 10 columns and 260 000 records.


update no.records set uid = 2;
(uid is an integer. It has a btree index)

This update takes more than 20 minutes to execute. Is this normal? This
will be totally unacceptable when my table grows.
Any ideas?



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: profiling postgresql queries?
Следующее
От: Alex Turner
Дата:
Сообщение: Re: profiling postgresql queries?