pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gregory Stark <stark@enterprisedb.com>
To: Daniel Cristian Cruz <danielcristian@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Nested loops overpriced
Date: Wed, 09 May 2007 15:34:00 +0100
Message-ID: <87sla6gj6v.fsf@oxford.xeocode.com> (raw)
In-Reply-To: <48d0cacb0705090638p54f7ccbcg90270b889c8900a1@mail.gmail.com>
References: <200705081722.16731.peter_e@gmx.net>
	<1987.1178639593@sss.pgh.pa.us>
	<200705091358.25748.peter_e@gmx.net>
	<48d0cacb0705090638p54f7ccbcg90270b889c8900a1@mail.gmail.com>


"Daniel Cristian Cruz" <danielcristian@gmail.com> writes:

>   ->  Nested Loop  (cost=0.00..13187.94 rows=93 width=4) (actual time=2.622..125.739 rows=50 loops=1)
>         ->  Seq Scan on u  (cost=0.00..2838.80 rows=10289 width=4) (actual time=0.012..9.863 rows=10291 loops=1)
>         ->  Index Scan using m_pkey on m  (cost=0.00..0.80 rows=1 width=7) (actual time=0.009..0.009 rows=0 loops=10291)

That's not discounting the nested loop for cache effect at all!

What is your effective_cache_size for this?

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com




view thread (12+ messages)  latest in thread

Message-ID: <87sla6gj6v.fsf@oxford.xeocode.com>
Permalink:  ../87sla6gj6v.fsf@oxford.xeocode.com/
Also on:    postgresql.org/message-id/87sla6gj6v.fsf@oxford.xeocode.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: stark@enterprisedb.com, danielcristian@gmail.com
  Subject: Re: Nested loops overpriced
  In-Reply-To: <87sla6gj6v.fsf@oxford.xeocode.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