Jim Nasby <[EMAIL PROTECTED]> writes:
> If the method is disk it would be nice to know how much spilled to  
> disk. That would tell you if it would be worth increasing work_mem,  
> and by how much.

Well, a more radical proposal is to add a whole 'nother line to the
output, which would give us room for several bits of info.  Perhaps
like this:

   ->  Sort  (cost=840.19..865.19 rows=10000 width=244) (actual 
time=151.769..152.157 rows=100 loops=1)
         Sort Key: fivethous
         Sort Method: top-N  Memory: 17KB
         ->  Seq Scan on tenk1  (cost=0.00..458.00 rows=10000 width=244) (actual


         Sort Method: disk  Memory: 1000KB  Disk: 18482KB

Not sure what other info might be useful.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to