Re: libpq performance

Поиск
Список
Период
Сортировка
От Chris
Тема Re: libpq performance
Дата
Msg-id 4AA0A937.20505@gmail.com
обсуждение исходный текст
Ответ на Re: libpq performance  (Juan Backson <juanbackson@gmail.com>)
Список pgsql-general
Juan Backson wrote:
> Hi,
>
> For this problem, what if I use prepared statement?  if I use prepared
> statement directly from libpq, would it help?

It will possibly change the way postgres plans the query, so you may get
a different execution time.

http://www.postgresql.org/docs/current/static/sql-prepare.html

See the "Notes" section.

--
Postgresql & php tutorials
http://www.designmagick.com/


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

Предыдущее
От: Juan Backson
Дата:
Сообщение: Re: libpq performance
Следующее
От: gabriel munteanu
Дата:
Сообщение: custom datatype - rgb color