Database I/O and other performance questions. - Mailing list pgsql-general

From Lincoln Yeoh
Subject Database I/O and other performance questions.
Date
Msg-id 3.0.5.32.20001223181426.009d3ac0@192.228.128.13
Whole thread Raw
Responses Re: Database I/O and other performance questions.  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Database I/O and other performance questions.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi everyone,

What typical/max database I/O throughputs are people getting for simple
selects of datasets  cached in memory but not explicitly clustered?
100KB/sec? 1MB/sec? 10MB/sec? (assuming << 8KB rows).

Does a "select count(*) from tablename where ..." actually retrieve all
columns from all the selected rows or does it only count the rows?

That is to say:
would/should select count(*) be slower than select
count(averysmallcolumnmaybeboolean)

I'll test stuff out in practice, but it'll be good to know what it should
be in theory.

Thanks!
Link.


pgsql-general by date:

Previous
From: Lincoln Yeoh
Date:
Subject: Performance and doing USENET style threaded messages
Next
From: Bruce Momjian
Date:
Subject: Re: Database I/O and other performance questions.