[wp-trac] [WordPress Trac] #39716: Improve update_meta_cache's performance when called with one object ID

WordPress Trac noreply at wordpress.org
Thu Jan 26 23:44:44 UTC 2017


#39716: Improve update_meta_cache's performance when called with one object ID
--------------------------------+-----------------------------
 Reporter:  macprawn            |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:  trunk
 Severity:  normal              |   Keywords:
  Focuses:  performance         |
--------------------------------+-----------------------------
 When update_meta_cache is called with only one object ID, the SQL
 statement using "WHERE $column IN ($id_list)" is not optimized and could
 be much faster as "WHERE $column=$id_list".

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39716>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list