From: v at sas dot nsk dot su Operating system: OpenBSD PHP version: 5.2.0 PHP Bug Type: MySQL related Bug description: send data from mysql to php takes long time
Description: ------------ Hello! I have problem: I have IPB forum installed. After search in IPB (search takes about 3-4 seconds for post table about 300 000 records) mysql shows "Sending Data" status and takes about 3-5 minutes. I tested with PHP 5.2, PHP 4.4, PHP 4.2.3 - with same results. I switched from MySQL 4.2.18 to 4.2.21 and 4.2.22 with same result. I tested with apache module, fastCGI with NGINX web server - same results. I tested mysql connections with socket and network connection. May be I missed some variables from php.ini? Main question - how I can speedup code for accept "Sending data" stage between PHP and MySQL more fast? -- Edit bug report at http://bugs.php.net/?id=39684&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39684&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39684&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39684&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39684&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39684&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39684&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39684&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39684&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39684&r=support Expected behavior: http://bugs.php.net/fix.php?id=39684&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39684&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39684&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39684&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39684&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39684&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39684&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39684&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39684&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39684&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39684&r=mysqlcfg