svn: /phpdoc/en/trunk/reference/mysqlnd/ overview.xml

From: Date: Wed, 15 Sep 2010 13:25:42 +0000
Subject: svn: /phpdoc/en/trunk/reference/mysqlnd/ overview.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7113@lists.php.net to get a copy of this message
abedford Wed, 15 Sep 2010 13:25:42 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=303396 Log: Updated, and some reordering of material. Changed paths: U phpdoc/en/trunk/reference/mysqlnd/overview.xml Modified: phpdoc/en/trunk/reference/mysqlnd/overview.xml =================================================================== --- phpdoc/en/trunk/reference/mysqlnd/overview.xml 2010-09-15 12:45:12 UTC (rev 303395) +++ phpdoc/en/trunk/reference/mysqlnd/overview.xml 2010-09-15 13:25:42 UTC (rev 303396) @@ -43,12 +43,16 @@ the MySQL Client Library. </para> <para> - The older MySQL Client Library was written by MySQL AB (now Oracle - Corporation) and so was released under the MySQL license. This - ultimately led to MySQL support being disabled by default in PHP. - However, the MySQL Native Driver has been developed as part of the PHP - project, and is therefore released under the PHP license. This removes - licensing issues that have been problematic in the past. + Because MySQL Native Driver is written as a PHP extension, it is + tightly coupled to the workings of PHP. This leads to gains in + efficiency, especially when it comes to memory usage, as the driver + uses the PHP memory management system. It also supports the PHP memory + limit. Using MySQL Native Driver leads to comparable or better + performance than using MySQL Client Library, it always ensures the + most efficient use of memory. One example of the memory efficiency is + the fact that when using the MySQL Client Library, each row is stored + in memory twice, whereas with the MySQL Native Driver each row is only + stored once in memory. </para> <para> Also, in the past, you needed to build the MySQL database extensions @@ -62,18 +66,20 @@ installed in order to build PHP or run PHP database applications. </para> <para> - Because MySQL Native Driver is written as a PHP extension, it is - tightly coupled to the workings of PHP. This leads to gains in - efficiency, especially when it comes to memory usage, as the driver - uses the PHP memory management system. It also supports the PHP memory - limit. Using MySQL Native Driver leads to comparable or better - performance than using MySQL Client Library, it always ensures the - most efficient use of memory. One example of the memory efficiency is - the fact that when using the MySQL Client Library, each row is stored - in memory twice, whereas with the MySQL Native Driver each row is only - stored once in memory. + With MySQL Native Driver it is also possible to write plugins. These + are PHP extensions written to use the MySQL Native Driver Plugin API, + and they can extend the functionality of the driver without requiring + changes to application level code. </para> <para> + The older MySQL Client Library was written by MySQL AB (now Oracle + Corporation) and so was released under the MySQL license. This + ultimately led to MySQL support being disabled by default in PHP. + However, the MySQL Native Driver has been developed as part of the PHP + project, and is therefore released under the PHP license. This removes + licensing issues that have been problematic in the past. + </para> + <para> <emphasis role="bold">Special features</emphasis> </para> <para> @@ -100,6 +106,13 @@ <function>mysqli_get_connection_stats</function> </para> </listitem> + <listitem> + <para> + Asynchronous queries: + <function>mysqli_poll</function>, + <function>mysqli_reap_async_query</function> + </para> + </listitem> </itemizedlist> <para> The performance statistics facility can prove to be very useful in @@ -113,9 +126,7 @@ <emphasis role="bold">SSL Support</emphasis> </para> <para> - Currently, MySQL Native Driver does not support SSL. This means that - <function>mysqli_ssl_set</function> will generate an error if called - while using MySQL Native Driver. + MySQL Native Driver supports SSL from PHP version 5.3.3. </para> <para> <emphasis role="bold">Compressed Protocol Support</emphasis>

« previous php.doc.cvs (#7113) next »