* Rod Taylor (pg@rbt.ca) wrote:
> On Thu, 2005-06-30 at 23:02 +0900, Satoshi Nagayasu wrote:
> > > The TODO item is about counting all temporary files, not sorts in
> > > particular. Or at least that's what I thought it meant.
> >
> > If the DBA have to improve the performance,
> > DBA will need to know about:
> >
> > - Which SQL generate a disk sort?
>
> Good point. An EXPLAIN ANALYZE note about the disk usage for the sort
> would be really nice.
I agree with this. It'd also be really nice to know when a sort is
going to be done on the disk vs. when the planner thinks there's enough
memory to do it in memory (or does that always turn it into a hash join
from a merge join?).
Thanks,
Stephen