From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ole Tange <postgresql.org@tange.dk>
Cc: pgsql-performance@postgresql.org
Subject: Re: Help interpreting explain analyze output
Date: Sun, 15 Aug 2004 14:13:39 -0400
Message-ID: <28313.1092593619@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.58.0408151947250.22644@tigger.tange.dk>
References: <Pine.LNX.4.58.0408151947250.22644@tigger.tange.dk>
Ole Tange <postgresql.org@tange.dk> writes:
> As I read it the output tells me what was done during the milliseconds:
No, you have a fundamental misconception here. The notation means that
the first output row from a plan step was delivered after X
milliseconds, and the last row after Y milliseconds.
The "gap" you are looking at is the time to do the Sort (since a sort
can't deliver the first output row until it's finished the sort).
It is gonna take a while to sort 175000 rows ... but possibly increasing
sort_mem would help.
regards, tom lane
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, postgresql.org@tange.dk
Subject: Re: Help interpreting explain analyze output
In-Reply-To: <28313.1092593619@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