[wp-trac] [WordPress Trac] #23609: get_users() causes a huge number of SQL queries causing 500 server errors
WordPress Trac
noreply at wordpress.org
Mon Feb 25 21:03:26 UTC 2013
#23609: get_users() causes a huge number of SQL queries causing 500 server errors
--------------------------+------------------------------
Reporter: dpacmittal | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by dpacmittal):
Sorry, I forgot to mention joins should be used. Atleast, TCP overhead is
reduced along with other initializations that mysql does for each query
(parsing, query compiling etc). This will significantly increase the
performance of get_users(), IMHO.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23609#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list