pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pierre C <lists@peufeu.com>
To: Sabin Coanda <coanda@hotpop.com>
To: pgsql-performance@postgresql.org
Subject: Re: count is ten times faster
Date: Tue, 13 Apr 2010 20:09:27 +0200
Message-ID: <op.va34p1kxeorkce@immo.peufeu.com> (raw)
In-Reply-To: <hq1ocv$2mea$1@news.hub.org>
References: <hq1ocv$2mea$1@news.hub.org>


> How do you explain the cost is about ten times lower in the 2nd query  
> than the first ?

Function call cost ?

Can you EXPLAIN ANALYZE ?



view thread (3+ messages)  latest in thread

Message-ID: <op.va34p1kxeorkce@immo.peufeu.com>
Permalink:  ../op.va34p1kxeorkce@immo.peufeu.com/
Also on:    postgresql.org/message-id/op.va34p1kxeorkce@immo.peufeu.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: lists@peufeu.com, coanda@hotpop.com
  Subject: Re: count is ten times faster
  In-Reply-To: <op.va34p1kxeorkce@immo.peufeu.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