Here's a comment from Jason Kirtland on this feature:
http://www.sqlalchemy.org/trac/ticket/1089
AFAIK mysqldb (as of 1.2.2 anyhow) doesn't support mysql server side
cursors. it's SSCursor fetches rows in 'use_result' mode, which basically
just directly streams out the query results on demand, holding locks on
the tables for the entire duration. it's IMHO nigh useless if you have
multiple database readers. mysql has real server side cursors that
materialize as temporary tables and hold no locks, but mysqldb doesn't use
them.
ticket #1619 discusses an enhancement to select(), query() and text() that
would instruct SQLA to use "streaming results" as available for that
particular execution. right now the feature is only available on the PG
dialect as an "always on" feature.
>
> James
>
> --
>
> 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=.
>
>
>