Bug #69843 [Fbk->NoF]: Connection via only named pipe very slow

From: Date: Sun, 21 May 2017 04:22:39 +0000
Subject: Bug #69843 [Fbk->NoF]: Connection via only named pipe very slow
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209198@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69843&edit=1

 ID:               69843
 Updated by:       php-bugs@lists.php.net
 Reported by:      steffenb198 at aol dot com
 Summary:          Connection via only named pipe very slow
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          MySQL related
 Operating System: Windows
 PHP Version:      5.6.10
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2017-05-09 12:21:19] fjanisze@php.net

Can you provide server version and full configuration? Are you using a custom build? In that case
can you provide the building options? Which windows version are you using? Is the performance
problem always reproducible?

------------------------------------------------------------------------
[2015-06-15 22:12:59] steffenb198 at aol dot com

Description:
------------
When you connect to a mysql server using a named pipe and networking is disabled
on said server (so no TCP fallback is possible), the connection via mysqlnd
is very slow.

Test script:
---------------
$mysqli = new \Mysqli(".", "user", "pw", "db", null,
"\\\\.\\pipe\\MySQL");
$s = microtime(true);
$result = $mysqli->query("SELECT * FROM user");
var_dump($result);
var_dump(microtime(true) - $s);

Expected result:
----------------
Fast "query result" like with libmysql (~8ms)

Actual result:
--------------
Very slow (100ms)


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=69843&edit=1


Thread (3 messages)

« previous php.bugs (#209198) next »