Re: Slow count(*) again...

Jesper Krogh <jesper@krogh.cc>

From: Jesper Krogh <jesper@krogh.cc>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Neil Whelchel <neil.whelchel@gmail.com>, pgsql-performance@postgresql.org
Date: 2010-10-13T17:59:48Z
Lists: pgsql-hackers, pgsql-performance
On 2010-10-13 15:28, Robert Haas wrote:
> On Wed, Oct 13, 2010 at 6:16 AM, Neil Whelchel<neil.whelchel@gmail.com>  wrote:
>    
>> I might go as far as to rattle the cage of the developers to see if it makes
>> any sense to add some column oriented storage capability to Postgres. That
>> would be the hot ticket to be able to specify an attribute on a column so that
>> the back end could shadow or store a column in a column oriented table so
>> aggregate functions could work on them with good efficiency, or is that an
>> INDEX?
>>      
> I'd love to work on that, but without funding it's tough to find the
> time.  It's a big project.
>    
Is it hugely different from just getting the visibillity map suitable
for doing index-only scans and extracting values from the index
directly as Heikki has explained?

That would essentially do a column oriented table (the index itself)
of a specific columns (or column set).

... still a huge task though.

-- 
Jesper