RE: [HACKERS] Postgres Speed or lack thereof

From: Magnus Hagander <mha(at)sollentuna(dot)net>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: RE: [HACKERS] Postgres Speed or lack thereof
Date: 1999-01-18 18:33:05
Message-ID: 215896B6B5E1CF11BC5600805FFEA821012A31E3@sirius.edu.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Magnus Hagander <mha(at)sollentuna(dot)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

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1999-01-18 19:04:46 Re: [HACKERS] KPGsql
Previous Message Bruce Momjian 1999-01-18 17:17:48 KPGsql