RE: [HACKERS] Postgres Speed or lack thereof

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема RE: [HACKERS] Postgres Speed or lack thereof
Дата
Msg-id 215896B6B5E1CF11BC5600805FFEA821012A31E3@sirius.edu.sollentuna.se
обсуждение исходный текст
Список pgsql-hackers
> Magnus Hagander <mha@sollentuna.net> writes:
> > I don't know, maybe recv() is more expensive than fgetc()?
> 
> Vastly.
Ok. That pretty much says it all :-)
<snip>

> What we need to do here is to re-introduce the buffering ability of
> stdio into backend libpq.  If you compare the current frontend libpq,
> you'll notice that it reads or writes the socket a bufferload 
> at a time,
> not a character at a time.

Ok. I'll take a look at that as soon as I get the time (shouldn't be long).

//Magnus


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: KPGsql
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] KPGsql