Re: postgresql query runtime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 11 October 2011 21:13, Szymon Guz <mabewlun@xxxxxxxxx> wrote:


On 11 October 2011 21:08, Radhya sahal <rad_cs_2006@xxxxxxxxx> wrote:
Hi
I want to know how can i measure runtime query in postgresql if i use command line psql?
not explain rutime for the query such as the runtime which appear in pgadmin ?
such as Total query runtime: 203 ms.


run this in psql:

\t

regards
Szymon


yes... \timing of course... I think I shouldn't send emails when I've got a fever :)


- Szymon

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux