Re: Needs Suggestion - Mailing list pgsql-general

From Alban Hertroys
Subject Re: Needs Suggestion
Date
Msg-id 513E3DB8-CFC4-425E-A1C4-0A92815D4B1D@solfertje.student.utwente.nl
Whole thread Raw
In response to Needs Suggestion  (SUBHAM ROY <subham.iem@gmail.com>)
List 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!



pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Questions about Partitioning
Next
From: Merlin Moncure
Date:
Subject: Re: Poor performance of btrfs with Postgresql