Re: PREPARE / EXECUTE

Поиск
Список
Период
Сортировка
Искать
От
Bruno Wolff III
Тема
Re: PREPARE / EXECUTE
Дата
Msg-id
20021023162042.GA7032@wolff.to
Ответ на
Re: PREPARE / EXECUTE (Hans-Jürgen Schönig)
Список
Дерево обсуждения
Re: PREPARE / EXECUTE "Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>
Re: PREPARE / EXECUTE Neil Conway <neilc@samurai.com>
On Wed, Oct 23, 2002 at 18:04:01 +0200, Hans-Jürgen Schönig  wrote:
> 
> An example:
> I have a join across 10 tables  + 2 subselects across 4 tables
> on the machine I use for testing:
>    planner: 12 seconds
>    executor: 1 second
> 
> The application will stay the same forever.
> I could be 10 times faster if there was a way to load the execution plan 
> into the backend.

One option you have is to explicitly give the join order. You can look at
explain to see what order the joins are done in and then rewrite the sql
to force them to be done in that order. This should keep things simple
for the planner.

В списке pgsql-hackers по дате отправления
От: Nicolae Mihalache
Дата:
От: Tom Lane
Дата:
Сообщение: Re: PREPARE / EXECUTE
FAQ