On 16/05/11 13:26 +0200, Cédric Krier wrote: > The Async method will be in charge of setting a new cursor for the thread, > creating a thread and keep the result until the main thread will read it. > Of course, for backend that doesn't support multi-threading, the method will > do the query directly.
Semi-bad news, I made some tests and the queries with threaded cursor are serialized (indeed it was in the doc :-). This means that the gain will be only on the parallelism of SQL queries and Python code. -- Cédric Krier B2CK SPRL Rue de Rotterdam, 4 4000 Liège Belgium Tel: +32 472 54 46 59 Email/Jabber: [email protected] Website: http://www.b2ck.com/
pgpz105lXYJ1I.pgp
Description: PGP signature
