sqlalchemy check select query execution time

2,940 views
Skip to first unread message

sajuptpm

unread,
Oct 28, 2010, 3:38:22 AM10/28/10
to sqlalchemy
How check select query execution time using sqlalchemy.

Michael Bayer

unread,
Oct 28, 2010, 11:24:47 AM10/28/10
to sqlal...@googlegroups.com
Easiest way is to turn on logging using timestamps.

A more integrative approach:

http://www.sqlalchemy.org/trac/wiki/UsageRecipes/Profiling

Also see:

http://stackoverflow.com/questions/1171166/how-can-i-profile-a-sqlalchemy-powered-application/1175677#1175677

On Oct 28, 2010, at 3:38 AM, sajuptpm wrote:

> How check select query execution time using sqlalchemy.
>

> --
> You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
> To post to this group, send email to sqlal...@googlegroups.com.
> To unsubscribe from this group, send email to sqlalchemy+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
>

Reply all
Reply to author
Forward
0 new messages