pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carlos Moreno <moreno_pg@mochima.com>
To: pgsql-performance@postgresql.org
Subject: Re: Performance of count(*)
Date: Thu, 22 Mar 2007 11:58:45 -0500
Message-ID: <4602B5C5.20003@mochima.com> (raw)
In-Reply-To: <20070322122944.GD4439@andi-lap.la.revver.com>
References: <Pine.LNX.4.62.0703221149210.13747@wr-linux02>
	<20070322111044.GC4439@andi-lap.la.revver.com>
	<Pine.LNX.4.62.0703221239570.13747@wr-linux02>
	<20070322122944.GD4439@andi-lap.la.revver.com>


>>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
--




view thread (41+ messages)  latest in thread

Message-ID: <4602B5C5.20003@mochima.com>
Permalink:  ../4602B5C5.20003@mochima.com/
Also on:    postgresql.org/message-id/4602B5C5.20003@mochima.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: moreno_pg@mochima.com
  Subject: Re: Performance of count(*)
  In-Reply-To: <4602B5C5.20003@mochima.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox