Seq scan

Поиск
Список
Период
Сортировка
От Diogo Biazus
Тема Seq scan
Дата
Msg-id 3D5C0277.6020506@ikono.com.br
обсуждение исходный текст
Ответы Re: Seq scan  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
Hi everybody.
Im trying to execute a simple UPDATE query on a table with 450000 rows
using an index in the where clause.

Example:
UPDATE table SET field = null WHERE field = 12345
( NOTICE: Field has an index )

But when I use the EXPLAIN command it always tells me that Postgres is
using Seq Scan, even if I disable Seq Scan in the postgresql.conf

The PostgreSQL is running on a Pentium III 900 Mhz, 512 MB RAM, HD SCSI
18 Gb with a RedHat Linux 7.3 installed.
Anyone can help me?
Thanks in advance,

Diogo Biazus
diogo@ikono.com.br
Ikono Sistemas & Automação
www.ikono.com.br



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

Предыдущее
От: Moritz Sinn
Дата:
Сообщение: writing own cast
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Seq scan