← Back to team overview

agesys-dev team mailing list archive

[Bug 1152406] [NEW] oursql slow?

 

Public bug reported:

Hi,

I found this blog online and would like to forward to you guys

http://www.hightechinthehub.com/2012/09/why-is-python-oursql-slower-
than-mysqldb/

quote:

> As best as I can tell, Oursql appears to be creating and discarding
prepared statements on each call in order to (gulp) avoid dealing with
the string interpolation of arguments. As a result, it is often twice as
slow in executing queries as MySQLdb.


Is this really the case? Could it be fixed? 

Thanks!

** Affects: oursql
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Agesys
Team, which is subscribed to oursql.
https://bugs.launchpad.net/bugs/1152406

Title:
  oursql slow?

Status in oursql:
  New

Bug description:
  Hi,

  I found this blog online and would like to forward to you guys

  http://www.hightechinthehub.com/2012/09/why-is-python-oursql-slower-
  than-mysqldb/

  quote:

  > As best as I can tell, Oursql appears to be creating and discarding
  prepared statements on each call in order to (gulp) avoid dealing with
  the string interpolation of arguments. As a result, it is often twice
  as slow in executing queries as MySQLdb.

  
  Is this really the case? Could it be fixed? 

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/oursql/+bug/1152406/+subscriptions


Follow ups

References