Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

time to execute query

 
ram prabhu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 775
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic