Update taking forever

Поиск
Список
Период
Сортировка
От Graham Vickrage
Тема Update taking forever
Дата
Msg-id NDBBJABDILOPAOOMFJHOAEOECIAA.graham@digitalplanit.com
обсуждение исходный текст
Список pgsql-sql
I am trying to do an update on column in a table with 1.5 millions rows.

The SQL is as follows, I am also putting it in a transaction in case things
go wrong.

begin;
update statistics set parameters = NULL where parameters ='';

An explain produces the following: -
Seq Scan on statistics  (cost=0.00..56174.49 rows=14976 width=88)

Would anyone be able to tell me why it is seemingly infinite, i'm running
linux, postgres v7.0

Cheers

Graham

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Calling Java from psql (was Re: requesting help)
Следующее
От: Jeff Eckermann
Дата:
Сообщение: RE: serial type; race conditions