Re: Execution plan caching

Поиск
Список
Период
Сортировка
От Douglas McNaught
Тема Re: Execution plan caching
Дата
Msg-id 87d4vxwqst.fsf@suzuka.mcnaught.org
обсуждение исходный текст
Ответ на Execution plan caching  ("Philippe Lang" <philippe.lang@attiksystem.ch>)
Список pgsql-general
"Philippe Lang" <philippe.lang@attiksystem.ch> writes:

> Hi,
>
> I have recently used the MS SQL Server 2005 database, and found out that
> there is no mecanism where an execution plan can be reused between two
> successive calls to a view. This is only true with stored procedures.
>
> Is that also true with the Postgresql engine?

To the best of my knowledgle, if you PREPARE a query that uses a view,
either explicitly or implicitly via your database driver, the plan
will be cached.

-Doug

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Find min year and min value
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Strange discrepancy in query performance...