Re: Simple query takes 5+ minutes

Поиск
Список
Период
Сортировка
От Howard Cole
Тема Re: Simple query takes 5+ minutes
Дата
Msg-id 422DC186.5090304@selestial.com
обсуждение исходный текст
Ответ на Simple query takes 5+ minutes  ("Jesse D." <jesse_dv2001@yahoo.com>)
Список pgsql-general
Have you tried a cross join with a where statement as an alternative?

e.g. select

select i.internalid, c.code
from local.internal i, country.ip c where i.ip between c.startip and c.endip;

Howard Cole
www.selestial.com

Jesse D. wrote:

>select i.internalid, c.code
>from local.internal i
>inner join country.ip c on
>(i.ip between c.startip and c.endip)
>
>
>


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

Предыдущее
От: Shelby Cain
Дата:
Сообщение: Re: postgresql vs mysql performance comparison
Следующее
От: "FERREIRA William (COFRAMI)"
Дата:
Сообщение: Move cursor