aspose file tools
The moose likes JDBC and the fly likes time to execute query Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "time to execute query" Watch "time to execute query" New topic
Author

time to execute query

ram prabhu
Greenhorn

Joined: Aug 18, 2005
Posts: 8
hai can anyone just help me to find the time taken
to execute a uery in oracle.
i just tried with calculating the difference between the system time before and after executing the query in milliseconds.but its not working properly.

Is there any predefined function in oracle api to caluclate the time taken to execute query.

Reid M. Pinchback
Ranch Hand

Joined: Jan 25, 2002
Posts: 775
If you have a DBA to help you, there are audit mechanisms in Oracle that you can turn on to monitor the particular queries that were executed. That might get you want you want.


Reid - SCJP2 (April 2002)
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: time to execute query
 
Similar Threads
In PreparedStatement table name can vary
Using Sequences With JDBC in Oracle
time to execute query
Populating the cachedRowSet
Perforarmance diff bet hibernate and JDBC