MySQL

The world's most popular open source database

Contact a MySQL Representative


  • MySQL.com
  • Developer Zone
  • Partners & Solutions
  • Customer Login
  • DevZone
  • Downloads
  • Documentation
  • Articles
  • Forums
  • Bugs
  • Forge
  • Blogs
 
  • Pages

    • Press Release: “Kaj Arnö Appointed MySQL VP of Community Relations”
  • Archives

    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • December 2006
    • November 2006
    • October 2006
    • September 2006
    • August 2006
    • July 2006
    • June 2006
    • May 2006
    • April 2006
    • March 2006
    • February 2006
    • January 2006
    • December 2005
    • November 2005
    • October 2005
    • September 2005
  • Categories

    • Architecture of Participation (45)
    • Connectors (12)
    • Documentation (4)
    • Events (43)
    • Falcon (5)
    • GPL (8)
    • GUI (3)
    • Licensing (11)
    • MySQL (199)
    • MySQL Cluster (5)
    • MySQL Proxy (4)
    • MySQL Server (30)
    • MySQL Users Conferences (24)
    • MySQL Workbench (5)
    • Photography (11)
    • PHP (9)
    • Release Policy (19)
    • Ruby on Rails (5)
    • Running (4)
    • Summer of Code (8)
    • Sun (46)
    • Sun visits (23)
    • Travel (19)
    • Use cases (7)
    • Virtual company (36)



Kaj Arnö
« Developing a pure PHP driver for MySQL
ABI fixed; 5.0.27 & 5.0.28 built »

Pure PHP driver FAQ: Asking Georg Richter

Within hours of yesterday’s blog on a pure PHP driver, Georg Richter had been on the German PHP IRC channel as well as on efnet IRC. Georg wrote an FAQ in German.

“For MySQL’s PHP team (Ulf Wendel, Andrey Hristov and myself), the plan to publish a new library under the PHP license in March 2007 is not only a challenge and a programming task, but also an opportunity to improve upon what we already have“, Georg writes. “The new MySQL differentiation between Community and Enterprise gives us the possibility to speed up the implementation of features essential to PHP, without being as dependent on MySQL release cycles as before“, he concludes his overview.

Then, Georg provides this FAQ, based on the “partly skeptical, partly enthusiastic” questions he got over IRC and email, as the maintainer of the mysql extensions:

Q: A new PHP driver — is this yet another MySQL Extension for PHP?

A: No. When we talk about the “pure PHP driver”, we refer to a new library that substitutes libmysql.

Q: libmysql is tested in detail, and stable since a long time. Why something new?

A: The libmysql API was developed primarily for C/C++. MySQL wants to keep it lean. MySQL supports many programming languages, that all differ in their properties and working methods, and this reflects itself as differing requirements on the API. It’s impossible to get all of these onto one library. Besides technical arguments, there are also legal ones. There are incompatibilities between the GPL and the PHP license, as pointed out in the original blog.

Q: Will PDO and ext/mysql support the new library?

A: Initially, we will only support ext/mysqli. When we have a certain stability, we’ll actively support the PDO developers. At any rate, we will take PDO into account already in the design phase, including the wishes of the PDO developers.

Q: So what are the advantages for the developer? What candy will we get?

A: There will absolutely be advantages. Personally, I am looking for a clear performance boost, which our first tests have already indicated. Other advantages are less memory usage and leaner code. On top of that, we plan new functions, like client side query caching. But these are still only in the design phase.

Q: And what are the disadvantages?

A: With choice comes the need to decide between two solutions: The proven old one, and the new one, that will surely need some maturing time. Also, it will to begin with not be possible to use the embedded server with the new library.

This entry was posted on Thursday, October 26th, 2006 at 12:18 and is filed under MySQL, PHP. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “Pure PHP driver FAQ: Asking Georg Richter”

  1. MySQL Performance Blog » Wishes for new “Pure PHP” MySQL driver Says:
    October 28th, 2006 at 14:59

    […] If you’re following MySQL or PHP landscape you should have seen announcement by MySQL to develop pure PHP driver. If not - Here is FAQ . […]

Leave a Reply

Kaj Arnö is proudly powered by WordPress MU running on Blogs.mysql.com.
Entries (RSS) and Comments (RSS).