pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Bertheau <twanger@bluetwanger.de>
To: pgsql-sql@postgresql.org
Subject: performance difference in count(1) vs. count(*)?
Date: 28 Jul 2002 17:50:22 +0200
Message-ID: <1027871441.7362.0.camel@saphir> (raw)

Hello,

is there a difference performance-wise between select count(1) and
select count(*)?

-- 
Markus Bertheau.
Berlin, Berlin.
Germany.




view thread (2+ messages)  latest in thread

Message-ID: <1027871441.7362.0.camel@saphir>
Permalink:  ../1027871441.7362.0.camel@saphir/
Also on:    postgresql.org/message-id/1027871441.7362.0.camel@saphir

 · 

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-sql@postgresql.org
  Cc: twanger@bluetwanger.de
  Subject: Re: performance difference in count(1) vs. count(*)?
  In-Reply-To: <1027871441.7362.0.camel@saphir>

* 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