From: Jeff <threshar@torgo.978.org>
To: pgsql-performance@postgresql.org
Subject: More info in explain analyze
Date: Tue, 28 Oct 2003 09:05:15 -0500
Message-ID: <20031028090515.278c8342.threshar@torgo.978.org> (raw)
This has probably been asked before, but I'll re-ask to spark debate on it again.
Is there any good reason to not have explain analyze also include information if temporary files will be required on sorts, hashes, etc. during the processing of a query. [Idea being setting your sort_mem won't be purely anecdotal]... maybe include how much space it needed in temp files?
something along the lines of:
Sort (Cost=1..10) (Actual=1..1000) (Temp Files=5MB)
Seeing that and looking at your current sort_mem and seeing it is 4MB you'll have the info you need to get a nice boost by avoiding that spill at a low cost.
--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/http://www.stuarthamm.net/
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: threshar@torgo.978.org
Subject: Re: More info in explain analyze
In-Reply-To: <20031028090515.278c8342.threshar@torgo.978.org>
* 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