COUNT(*) and index-only scans

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: COUNT(*) and index-only scans
Date: 2011-10-10 17:23:35
Message-ID: 201110101723.p9AHNZ113162@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I talked to Robert Haas and he said that index-only scans do not
optimize COUNT(*). Is this something we can do for PG 9.2? Is anyone
working on this?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gurjeet Singh 2011-10-10 17:30:09 Re: SET variable - Permission issues
Previous Message Florian Pflug 2011-10-10 17:22:50 Re: Range Types - typo + NULL string constructor