Re: Geoserver-PostGIS performance problems

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Geoserver-PostGIS performance problems
Дата
Msg-id CAHyXU0zoh6kcfxLwkyiQPwpc6Gz5sfaGgyiZTKuQaR7ohWq8DA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Geoserver-PostGIS performance problems  (Maciek Sakrejda <m.sakrejda@gmail.com>)
Список pgsql-performance
On Thu, Jul 26, 2012 at 1:34 AM, Maciek Sakrejda <m.sakrejda@gmail.com> wrote:
>> unfortunately postgres jdbc is bugged and does not honor the above for
>> transaction control commands (begin, commit, etc).  This patch
>> http://treehou.se/~omar/postgresql-jdbc-8.4-701-pgbouncer_txn.patch
>> will fix it, assuming it hasn't been fixed in recent postgres jdbc.
>
> Looks like it's still an issue:
> https://github.com/pgjdbc/pgjdbc/blob/master/org/postgresql/core/v3/QueryExecutorImpl.java#L426
>
> Although I don't quite follow why it's an issue in the first
> place--isn't the point to avoid creating a plan with parameter markers
> but not actual parameter information? BEGIN, COMMIT, et al never have
> markers in the first place. What am I missing?

This causes problems for connection poolers.  (see;
http://pgbouncer.projects.postgresql.org/doc/faq.html#_disabling_prepared_statements_in_jdbc).

merlin

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

Предыдущее
От: Maciek Sakrejda
Дата:
Сообщение: Re: Geoserver-PostGIS performance problems
Следующее
От: Marcus Engene
Дата:
Сообщение: planner, *_collapse_limit