Re: Prepared statements

Поиск
Список
Период
Сортировка
От Rakesh Kumar
Тема Re: Prepared statements
Дата
Msg-id 1624a6bfb0c-c8d-9692@webjas-vac241.srv.aolmail.net
обсуждение исходный текст
Ответ на Prepared statements  (Tim Cross <theophilusx@gmail.com>)
Ответы Re: Prepared statements
Список pgsql-general
> For example, the planner may be able to
> more easily recognise a statement and reuse an existing plan rather than
> re-planning the query.

This is a double edged sword.  Reuse an existing plan can be bad in those
cases where the data distribution is not suitable for the current plan. This has
been the achilles heel of many RDBMS.  Only in Oracle 12c there are 
options to let the planner change existing plan by peeking into the parameter
values (supplied in ? of prepare) and checking it against the distribution.


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: JDBC connectivity issue
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: found xmin from before relfrozenxid on pg_catalog.pg_authid