Seq scan

From: Diogo Biazus <diogo(at)ikono(dot)com(dot)br>
To: pgsql-general(at)postgresql(dot)org
Subject: Seq scan
Date: 2002-08-15 19:35:19
Message-ID: 3D5C0277.6020506@ikono.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)ikono(dot)com(dot)br
Ikono Sistemas & Automação
www.ikono.com.br

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Luc Lachance 2002-08-15 19:44:22 OID with %ROWTYPE in PLPGSQL
Previous Message Stephan Szabo 2002-08-15 19:33:53 Re: Seq scan