Database query execution times in Python?
Aahz
aahz at pythoncraft.com
Wed Aug 19 13:49:09 EDT 2009
In article <mailman.108.1250247672.2903.python-list at python.org>,
pwnedd <keith.hughitt at gmail.com> wrote:
>
>> Look up EXPLAIN
>
>Thanks for the suggestion. I don't see any option to have EXPLAIN display
>the query time though?
My suggestion was partly a gentle push toward a database forum to get
more information -- this isn't really a Python question. Unless all you
want to do is get the wall-clock time, in which case just use
time.time().
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Given that C++ has pointers and typecasts, it's really hard to have a
serious conversation about type safety with a C++ programmer and keep a
straight face. It's kind of like having a guy who juggles chainsaws
wearing body armor arguing with a guy who juggles rubber chickens wearing
a T-shirt about who's in more danger." --Roy Smith
More information about the Python-list
mailing list