Re: Forcing Postgres to Execute a Specific Plan

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Forcing Postgres to Execute a Specific Plan
Дата
Msg-id dcc563d10806021424o59b6c061re72262c0146fcd35@mail.gmail.com
обсуждение исходный текст
Ответ на Forcing Postgres to Execute a Specific Plan  (John Cieslewicz <johnc@cs.columbia.edu>)
Ответы Re: Forcing Postgres to Execute a Specific Plan  (John Cieslewicz <johnc@cs.columbia.edu>)
Список pgsql-general
Not really.  It was decided long ago that in that way madness lies.

OTOH, there are ways to tune the behaviour through changes to
random_page_cose, cpu_xxx_cost and effective_cache_size settings.

Then there's the mallet to the forebrain that are the set
enable_nestloop=off type settings.  They work, but they shouldn't be
your first line of attack so much as a troubleshooting tool to figure
out what pgsql might be getting wrong.

On Mon, Jun 2, 2008 at 1:43 PM, John Cieslewicz <johnc@cs.columbia.edu> wrote:
> I'm doing some performance experiments with postgres (8.3.1) and would like
> to force postgres to execute a particular query plan. Is there a
> straightforward way to specify a query plan to postgres either interactively
> or programatically?
>
> Thanks.
>
> John Cieslewicz.
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

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

Предыдущее
От: "JD Wong"
Дата:
Сообщение: could not connect error
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: could not connect error