Re: Slow count(*) again...

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Jesper Krogh <jesper(at)krogh(dot)cc>
Cc: Neil Whelchel <neil(dot)whelchel(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow count(*) again...
Date: 2010-10-14 02:18:14
Message-ID: AANLkTi=vwE5-Gh_JmGLV=PTpaNwthaoFHnwhEaV7OOoS@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On Wed, Oct 13, 2010 at 1:59 PM, Jesper Krogh <jesper(at)krogh(dot)cc> wrote:
> On 2010-10-13 15:28, Robert Haas wrote:
>>
>> On Wed, Oct 13, 2010 at 6:16 AM, Neil Whelchel<neil(dot)whelchel(at)gmail(dot)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?]

I think that there's a lot more to a real column-oriented database
than index-only scans, although, of course, index-only scans are very
important.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2010-10-14 02:18:44 Re: Issues with Quorum Commit
Previous Message Alvaro Herrera 2010-10-14 02:15:11 Re: Why do we have a database specification in .pgpass?

Browse pgsql-performance by date

  From Date Subject
Next Message mark 2010-10-14 04:22:16 Re: Slow count(*) again...
Previous Message Ants Aasma 2010-10-13 22:39:28 Re: Bogus startup cost for WindowAgg