Re: speed of server side languages

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: speed of server side languages
Дата
Msg-id 3DA1C016.42A202E0@Yahoo.com
обсуждение исходный текст
Ответ на speed of server side languages  (darkcity@houston.rr.com (Val Ventura))
Список pgsql-general
Tom Lane wrote:
>
> darkcity@houston.rr.com (Val Ventura) writes:
> > I am new to PostgreSQL and I'm looking to port a MSSQL database. I am
> > currently working on the stored procedures, and I'm trying to
> > understand when and why I should choose SQL vs. PL/pgSQL vs. all the
> > others, as far as performance goes.
>
> For stuff that involves database accesses, plpgsql will almost always
> win, because it's the only one we have that caches query plans.

It's the only one that does the caching automatically. PL/Tcl has
separate commands for preparing and executing plans, and the programmer
has to put all the logic into his procedure.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #

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

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: Efficient date range search?
Следующее
От: Vincent Stoessel
Дата:
Сообщение: Postgresql's jdbc driver: 2.0 compliant?