pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Scott Carey <scott@richrelevance.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Nikolas Everett <nik9000@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Why does this query write to the disk?
Date: Thu, 18 Sep 2008 14:58:25 -0400
Message-ID: <24980.1221764305@sss.pgh.pa.us> (raw)
In-Reply-To: <a1ec7d000809181133p20847cdbw3c25ca47a57d2765@mail.gmail.com>
References: <d4e11e980809181030t3f09db94vd5b69d7868271906@mail.gmail.com>
	<48D24E6C.EE98.0025.0@wicourts.gov>
	<23587.1221761600@sss.pgh.pa.us>
	<a1ec7d000809181133p20847cdbw3c25ca47a57d2765@mail.gmail.com>

"Scott Carey" <scott@richrelevance.com> writes:
> Under what conditions does EXPLAIN ANALYZE report spilling work_mem to
> disk?

For hash joins, it doesn't.  You might be thinking of the additional
reporting we added for sorts recently; but there's no comparable
logging for hash ...

			regards, tom lane



view thread (7+ messages)

Message-ID: <24980.1221764305@sss.pgh.pa.us>
Permalink:  ../24980.1221764305@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24980.1221764305@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, scott@richrelevance.com, Kevin.Grittner@wicourts.gov, nik9000@gmail.com
  Subject: Re: Why does this query write to the disk?
  In-Reply-To: <24980.1221764305@sss.pgh.pa.us>

* 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