Re: select ... where <column>='' does a seqscan [auf Viren geprueft]

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Silvio Matthes <silvio(dot)matthes(at)xcom(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: select ... where <column>='' does a seqscan [auf Viren geprueft]
Date: 2004-08-24 15:35:38
Message-ID: 4124.1093361738@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Silvio Matthes <silvio(dot)matthes(at)xcom(dot)de> writes:
> I try to select the rows of a table where the content of a varchar-column
> is empty ('') and PostgresQL is doing a seqscan.

If there are a very large number of rows with param_value='', it's
entirely possible that using an index to find them is counterproductive.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Thilina Gunasekara 2004-08-24 15:38:19 Re: [GENERAL] Dump and Restore
Previous Message Paul Thomas 2004-08-24 15:29:56 Re: [GENERAL] Dump and Restore