Database query execution times in Python?

pwnedd keith.hughitt at gmail.com
Fri Aug 7 14:42:42 EDT 2009


Hi all,

I've been writing some code using libraries based on the Python Database API
2.0 (MySQLdb & pg), and so far things are working really well. There is one
thing that I have not been able to figure out how to do, however: 

Retrieve the time is took a given query to execute.

Does anyone know if this is possible?

Any help would be greatly appreciated.

Thanks!
Keith


-- 
View this message in context: http://www.nabble.com/Database-query-execution-times-in-Python--tp24870050p24870050.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list