slow update query

Поиск
Список
Период
Сортировка
От Patrick Hatcher
Тема slow update query
Дата
Msg-id OFE3BD824D.BC1545CB-ON88257054.005C70A4-88257054.005D02FB@fds.com
обсуждение исходный текст
Список pgsql-general



Pg 7.4.5
I'm running an update statement on about 2 million records using the
following query:
Update table_A
set F1 = b.new_data
from table_B b
where b.keyfield = table_A.keyfield

both keyfields are indexed, yet this job has been running over 3 hours.  Is
this normal?

thanks

Patrick Hatcher
Macys.Com


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

Предыдущее
От: Yudie Pg
Дата:
Сообщение: How to join function with a table?
Следующее
От: "Thomas F. O'Connell"
Дата:
Сообщение: Re: initskript after db start; locks on transactions