Re: PostgreSQL client api

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: PostgreSQL client api
Дата
Msg-id 20060329010613.GD561@pervasive.com
обсуждение исходный текст
Ответ на PostgreSQL client api  ("Antimon" <antimon@gmail.com>)
Список pgsql-general
On Tue, Mar 28, 2006 at 05:01:45PM -0800, Antimon wrote:
> $pdo = new PDO('pgsql:host=localhost;dbname=test', "testacc", "pw");
> for ($i = 0; $i < 10000; $i++)
> {
>     $result = $pdo->query("Select "+$i);
> }
> output is:
> 2.7696590423584

Ok, so that tells me that on this plain-vanilla hardware, you can
'only' do 3600 queries per second from PHP.

Who cares?

If you're actually trying to run that kind of volume on that kind of
hardware, you need to reconsider what you're doing.
--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461

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

Предыдущее
От: "Antimon"
Дата:
Сообщение: PostgreSQL client api
Следующее
От: "paul rivers"
Дата:
Сообщение: Re: PostgreSQL client api