Re: Re: php as stored procedures

Поиск
Список
Период
Сортировка
От Adam Lang
Тема Re: Re: php as stored procedures
Дата
Msg-id 00c101c08bb4$c8510160$330a0a0a@rutgersinsurance.com
обсуждение исходный текст
Ответ на php as stored procedures  (mwaples@waples.net)
Список pgsql-general
Stored procedures put LESS strain on a database.

When you send a query to postgres via PHP, postgres runs the query.

If you have a stored procedure on postgres and have PHP use that to execute
the query, you get better performance since stored procedures are (should
be) precompiled.

In both situations the db server does the work.

Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Mike Sears" <matrix@quadrent.net>
To: <pgsql-general@postgresql.org>; "Doug McNaught" <doug@wireboard.com>
Sent: Wednesday, January 31, 2001 12:43 PM
Subject: [GENERAL] Re: php as stored procedures

> what would the over all benifit be to using stored procedures instead of
> just going about php normaly?
>
> would that not put a bit of stress on the db server as well?
>
> Mike


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

Предыдущее
От: "Adam Lang"
Дата:
Сообщение: Re: php as stored procedures
Следующее
От: "Gregory Wood"
Дата:
Сообщение: Re: php as stored procedures