Re: Performance of count(*)

From: Carlos Moreno <moreno_pg(at)mochima(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Performance of count(*)
Date: 2007-03-22 16:58:45
Message-ID: 4602B5C5.20003@mochima.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


>>count(*). I was just discussing general performance issues on the
>>phone line and when my colleague asked me about the size of the
>>database he just wonderd why this takes so long for a job his
>>MS-SQL server is much faster. [...].
>>
>>
>
>Simple. MSSQL is optimized for this case, and uses "older"
>datastructures. PG uses a MVCC storage,
>

Which version of MSSQL? Wikipedia says that SQL Server 2005 uses the
MVCC model.

Carlos
--

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Craig A. James 2007-03-22 17:02:00 Re: Performance of count(*)
Previous Message David Brain 2007-03-22 16:30:22 Re: Potential memory usage issue