Re: Fw: [PERFORM] query total time im milliseconds

2011-07-10 Thread Craig Ringer
On 11/07/2011 2:26 AM, Radhya sahal wrote: long startTime = System.currentTimeMillis(); //execute query long executionTime = System.currentTimeMillis() - startTime; this executionTime is not an actual time for query , it includes time for access to postgresql server using JDBC The pg_stat_st

Fw: [PERFORM] query total time im milliseconds

2011-07-10 Thread Radhya sahal
- Forwarded Message From: Radhya sahal To: Samuel Gendler Sent: Sun, July 10, 2011 11:25:46 AM Subject: Re: [PERFORM] query total time im milliseconds Thank's long startTime = System.currentTimeMillis(); //execute query long executionTime = System.currentTimeMillis() - startTime;