Re: Dealing with complex queries

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Dealing with complex queries
Дата
Msg-id 20030204125954.GA3239@wolff.to
обсуждение исходный текст
Ответ на Dealing with complex queries  (Francisco Reyes <lists@natserv.com>)
Ответы Re: Dealing with complex queries
Список pgsql-general
On Mon, Feb 03, 2003 at 16:32:10 -0500,
  Francisco Reyes <lists@natserv.com> wrote:
> Any hints suggestions on dealing with complex queries.

>         substring(ppl.carried_as from 1 for 3)
>                 = substring(jc.last from 1 for 3) and

Joining on substrings is a good sign that your design needs rethinking.
This indicates that your data isn't normalized and it isn't going to
be particularly fast test (though I didn't check to see if it is a bottleneck
for the particular query you are doing).

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

Предыдущее
От: mjoseph@inautix.com
Дата:
Сообщение: Large objects - SOS
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Postgres server output logfile