[wp-trac] [WordPress Trac] #31071: media / post_mime_type related queries are very slow on larger sites
WordPress Trac
noreply at wordpress.org
Thu Sep 22 22:09:34 UTC 2016
#31071: media / post_mime_type related queries are very slow on larger sites
-------------------------------------------------+-------------------------
Reporter: archon810 | Owner: pento
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Future
Component: Media | Release
Severity: normal | Version: 4.1
Keywords: dev-feedback reporter-feedback 2nd- | Resolution:
opinion has-patch | Focuses:
| performance
-------------------------------------------------+-------------------------
Comment (by STRML):
The slow `YEAR()` and `MONTH()` in the second query is absolutely killing
performance on a production website I maintain. We're on a host where
we're unable to hack core. The transient solution is fitting in the
absence of generating columns.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31071#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list