Skip site navigation (1) Skip section navigation (2)

Re: Seqscan rather than Index

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Seqscan rather than Index
Date: 2004-12-18 04:39:18
Message-ID: 20041218043918.GA20619@wolff.to (view raw or flat)
Thread:
Lists: pgsql-performance
On Fri, Dec 17, 2004 at 22:56:27 +0100,
  "Steinar H. Gunderson" <sgunderson(at)bigfoot(dot)com> wrote:
> 
> I'm a bit unsure -- should counting ~3 million rows (no OIDs, PG 7.4,
> everything in cache, 32-byte rows) take ~3500ms on an Athlon 64 2800+?

It doesn't seem totally out of wack. You will be limited by the memory
bandwidth and it looks like you get something on the order of a few
hundred references to memory per row. That may be a little high, but
it doesn't seem ridiculously high.

In response to

Responses

pgsql-performance by date

Next:From: Ron MayerDate: 2004-12-18 07:51:12
Subject: Tips for a system with _extremely_ slow IO?
Previous:From: Tom LaneDate: 2004-12-18 04:37:37
Subject: Re: Seqscan rather than Index

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group