Re: Database query execution times in Python?

2009-08-14 Thread pwnedd
> Look up EXPLAIN Thanks for the suggestion. I don't see any option to have EXPLAIN display the query time though? -- View this message in context: http://www.nabble.com/Database-query-execution-times-in-Python--tp24870050p24969867.html Sent from the Python - python-list mailing list archive a

Database query execution times in Python?

2009-08-07 Thread pwnedd
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 kno