Bug 510951

Summary: [RFE] Use "mysqlnd" extension
Product: [Fedora] Fedora Reporter: Vallimar <vallimar>
Component: phpAssignee: Joe Orton <jorton>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: fedora, jorton, oleg.anashkin, rpm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://dev.mysql.com/downloads/connector/php-mysqlnd/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-11 20:20:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vallimar 2009-07-12 19:24:33 UTC
Just wondering what the chances / likelihood are of switching to the
internal "mysqlnd" (mysql native driver) extension which is supposedly
better performing and would eliminate a requires on libmysqlclient.

More information at the URL. Seems to only require changing the
compile options to use "mysqlnd" instead of a path.

Comment 1 Remi Collet 2009-07-12 20:12:25 UTC
I think, mysqlnd mainly have sense on system not under the MySQL FLOSS exception which can use standard mysql library.

Comment 2 Oleg Anashkin 2009-08-11 08:23:20 UTC
The purpose of this driver is not only to avoid the license issues, but to get more speed and better memory usage. Please see here: http://us.php.net/mysqli.mysqlnd

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.

Comment 3 Remi Collet 2012-01-11 20:20:59 UTC
php-mysqlnd is now available in fedora >= 16