[wp-trac] [WordPress Trac] #27077: fix to avoid requery database for large result set via get_row
WordPress Trac
noreply at wordpress.org
Sun Feb 9 16:40:17 UTC 2014
#27077: fix to avoid requery database for large result set via get_row
-------------------------+-----------------------------
Reporter: openadvent | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Database | Version: 3.8.1
Severity: normal | Keywords:
Focuses: performance |
-------------------------+-----------------------------
when we have large results set,
using get_row to loop through results with offset to get the returned
results.
but calling get_row seems to query the database on every call,
so im suggesting that it will detect a select statement and if it matches
last query,
avoid requery database and just return the result
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27077>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list