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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: select ... where ='' does a seqscan [auf Viren geprueft]
Дата
Msg-id 4124.1093361738@sss.pgh.pa.us
обсуждение исходный текст
Ответ на select ... where ='' does a seqscan [auf Viren geprueft]  (Silvio Matthes <silvio.matthes@xcom.de>)
Ответы Re: select ... where ='' does a seqscan [auf Viren  (Silvio Matthes <silvio.matthes@xcom.de>)
Список pgsql-general
Silvio Matthes <silvio.matthes@xcom.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

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

Предыдущее
От: Paul Thomas
Дата:
Сообщение: Re: Dump and Restore
Следующее
От: "Thilina Gunasekara"
Дата:
Сообщение: Re: [ADMIN] Dump and Restore