Quote:
|
Originally Posted by ankur02018
application is on java
|
There are several alternatives (not a complete list!):
1) Use P6Spy to log all DBMS activity and their timings
2) (very cumbersome) write your own timing code in the source code
3) (cumbersome) Copy and paste the the SQL statements from the application into a SQL client that displays the execution time of a statement
4) Use a profiler (e.g. the one built into NetBeans
http://www.netbeans.org) to profile your application and measure the time for the methods accessing the database