Re: Performance question 83 GB Table 150 million rows, distinct select - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Performance question 83 GB Table 150 million rows, distinct select
Date
Msg-id 4EC49945.40408@agliodbs.com
Whole thread Raw
In response to Re: Performance question 83 GB Table 150 million rows, distinct select  (Tory M Blue <tmblue@gmail.com>)
Responses Re: Performance question 83 GB Table 150 million rows, distinct select  (Tory M Blue <tmblue@gmail.com>)
List pgsql-performance
Tory,

A seq scan across 83GB in 4 minutes is pretty good.   That's over
300MB/s.  Even if you assume that 1/3 of the table was already cached,
that's still over 240mb/s.  Good disk array.

Either you need an index, or you need to not do this query at user
request time.  Or a LOT more RAM.

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

pgsql-performance by date:

Previous
From: "Tomas Vondra"
Date:
Subject: Re: Performance question 83 GB Table 150 million rows, distinct select
Next
From: Tory M Blue
Date:
Subject: Re: Performance question 83 GB Table 150 million rows, distinct select