how to obtain query execution time?
i need for mysql query in java...
does anyone know

Recommended Answers

All 2 Replies

in pseudocode

time=getCurrentTimeInMillis
rs=stmt.executeQuery
time=getCurrentTimeInMillis-time

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.