Re: Execution plan caching

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Execution plan caching
Дата
Msg-id 47024B92.7070209@archonet.com
обсуждение исходный текст
Ответ на Execution plan caching  ("Philippe Lang" <philippe.lang@attiksystem.ch>)
Список pgsql-general
Philippe Lang wrote:
> 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?

Well, if you prepare "SELECT * FROM my_view" then the plan for that will
be cached. In general though, the query will be planned each time.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Find min year and min value
Следующее
От: Stefan Schwarzer
Дата:
Сообщение: Re: Find min year and min value