[wp-trac] [WordPress Trac] #31018: Persistent database connections with mysqli

WordPress Trac noreply at wordpress.org
Thu Jan 15 00:43:43 UTC 2015


#31018: Persistent database connections with mysqli
-------------------------------------+------------------------------
 Reporter:  blobaugh                 |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Database                 |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by awoods):

 I think this is a good idea. There are some hosts, where it might not have
 much of an impact. But other hosts it will have a great positive impact on
 performance. It doesn't seem like a big deal until you need it and you
 can't use it. I like the idea of using by setting a constant in their wp-
 config.php to enable persistent connections. It's a great way to empower
 developers without them having to hack core.

 We should ensure that a check for the mysql driver case is also covered --
 for older hosts that might not be using mysqli. which is just an
 additional couple of lines of code.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31018#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list