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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: gprof SELECT COUNT(*) results


  • From: Simon Riggs <simon(at)2ndquadrant(dot)com>
  • To: Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
  • Cc: pgsql-hackers(at)postgresql(dot)org
  • Subject: Re: gprof SELECT COUNT(*) results
  • Date: Sat, 26 Nov 2005 12:39:21 +0000
  • Message-id: <1133008761(dot)2906(dot)121(dot)camel(at)localhost(dot)localdomain>

On Sat, 2005-11-26 at 03:13 -0500, Qingqing Zhou wrote:
> "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote
> >
> > I plan to take a look at it soon.
> >
> 
> "Stand corrected"[Merlin]! In-memory "SELECT COUNT(*)" doubles the 
> performance due to my test.
> 
> - before -
> 1.56 s
> 
> - now -
> 0.72 s
> 

...and for emphasis: this optimization of SeqScans is not possible with
any other database system, so its a big win for PostgreSQL.

Best Regards, Simon Riggs




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group