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

"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> http://wiki.postgresql.org/wiki/Hint_Bits


On Thu, Sep 18, 2008 at 2:13 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> freezing old tuples

hash join was spilling out to temp files
>

Since this was a new table and the writes to the table's disk were very
large it was probably the hint bits.

The small table was about 1300 rows and my work_mem was 100MB so the writes
to the main disk probably was not hash spillage.  They were tiny, so I'm not
worried about  them.

Thanks very much,
Nik

view thread (7+ messages)  latest in thread

Message-ID: <d4e11e980809181144v20994c62g49002f2dc4725803@mail.gmail.com>
Permalink:  ../d4e11e980809181144v20994c62g49002f2dc4725803@mail.gmail.com/
Also on:    postgresql.org/message-id/d4e11e980809181144v20994c62g49002f2dc4725803@mail.gmail.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: nik9000@gmail.com, tgl@sss.pgh.pa.us, Kevin.Grittner@wicourts.gov
  Subject: Re: Why does this query write to the disk?
  In-Reply-To: <d4e11e980809181144v20994c62g49002f2dc4725803@mail.gmail.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