Re: update problem?

Поиск
Список
Период
Сортировка
Искать
От
Stephan Szabo
Тема
Re: update problem?
Дата
Msg-id
20020710091347.R51645-100000@megazone23.bigpanda.com
Ответ на
Re: update problem? (Jörg Schulz)
Список
Дерево обсуждения
Re: update problem? Vivek Khera <khera@kcilink.com>
On Wed, 10 Jul 2002, [ISO-8859-1] J�rg Schulz wrote:

> Before the column was added explain said:
>
>  > explain update test set a='x';
>  > Seq Scan on test2  (cost=0.00..20.00 rows=1000 width=6)
>
> (btw: why rows=1000? there are 100.000 rows in the table)

Because you haven't vacuum analyzed since loading the data.
If you're doing an update of every row of a table, you almost
certainly want to at least do a normal vacuum (and possibly
a vacuum analyze) of the table afterwards.

В списке pgsql-general по дате отправления
От: Oleg Bartunov
Дата:
От: Oliver Elphick
Дата:
Сообщение: Re: abuse of inheritance?
FAQ