Re: pgsql vs mysql

Поиск
Список
Период
Сортировка
От Guido Neitzer
Тема Re: pgsql vs mysql
Дата
Msg-id C8B64EF1-022B-43CE-AF66-5C6F33907D8B@pharmaline.de
обсуждение исходный текст
Ответ на Re: pgsql vs mysql  ("Merlin Moncure" <mmoncure@gmail.com>)
Ответы Re: pgsql vs mysql
Re: pgsql vs mysql
Список pgsql-general
On 11.07.2006, at 19:36 Uhr, Merlin Moncure wrote:

> As to preparing
> statements, I agree in principle although I don't know if that is a
> good argument not to make the non-paramaterized interface more
> powerful.

It is not, as prepared statements have the problem that they are only
optimized once and very generically and without actual knowledge of
the parameter content, this is just useless.

I had the problem a few months ago, where my app server plugin and
the jdbc driver used prepared statements for selecting stuff from the
database. Most of the time, indexes weren't used at all, so
PostgreSQL performance was the worst I've ever seen in this environment.

There are fixes for that, but it should be made easier ...

cug

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

Предыдущее
От: John DeSoi
Дата:
Сообщение: Re: SQL parsing suggestions?
Следующее
От: "Ed L."
Дата:
Сообщение: troubleshooting 8.1.2