#47998 [Opn->Fbk]: Queries like 'show keys from *' take a while to complete with mysqlnd

From: Date: Fri, 17 Apr 2009 10:47:22 +0000
Subject: #47998 [Opn->Fbk]: Queries like 'show keys from *' take a while to complete with mysqlnd
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-135920@lists.php.net to get a copy of this message
ID: 47998 Updated by: jani@php.net Reported By: valderama at gmail dot com -Status: Open +Status: Feedback -Bug Type: Performance problem +Bug Type: MySQL related Operating System: Mac OS X Tiger PHP Version: 5.3.0RC1 New Comment: And your configure line was..? Previous Comments: ------------------------------------------------------------------------ [2009-04-17 01:30:41] valderama at gmail dot com Description: ------------ When using PHP 5.3 with Typo3 4.2.3, queries like 00912 $keyRes = mysql_query('SHOW keys FROM '.$tableName, $this->link); takes a while to complete. More than 3-5 seconds. I'm using the mysqlnd driver in Mac OS X Tiger with Apache 1.3.41 Reproduce code: --------------- Use Typo3, and load an extension in the CMS Backend. While this does run smoothly with PHP < 5.3, there is clearly a problem with my PHP version. Even more: mtop show the related MySQL queries for a while (>1 second), even if it takes less than 0.1 seconds to complete in mysql client (or else). Expected result: ---------------- Queries completed in less than 0.1 seconds Actual result: -------------- More than 3 seconds to complete, with strange behaviors such as connection dropped or else. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47998&edit=1

« previous php.bugs (#135920) next »