From: | Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl> |
---|---|
To: | SUBHAM ROY <subham(dot)iem(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Needs Suggestion |
Date: | 2011-04-21 07:10:09 |
Message-ID: | 513E3DB8-CFC4-425E-A1C4-0A92815D4B1D@solfertje.student.utwente.nl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 20 Apr 2011, at 19:11, SUBHAM ROY wrote:
> By doing \timing in psql, we enable the timing and then when we type the query we are able to see its execution time.
> Similarly, is there any way to view the number I/Os and memory usage by a particular query.
You seem to be unfamiliar with the EXPLAIN ANALYSE command.
> And also the timing result that gets displayed, in which log file does it get recorded?
None, as you're doing your measurements client-side. EXPLAIN ANALYSE is server-side.
Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.
!DSPAM:737,4dafd86711735555731696!
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2011-04-21 07:28:10 | Re: Poor performance of btrfs with Postgresql |
Previous Message | Craig Ringer | 2011-04-21 07:00:03 | Re: Questions about Partitioning |