[wp-trac] [WordPress Trac] #31071: media / post_mime_type related queries are very slow on larger sites
WordPress Trac
noreply at wordpress.org
Wed Dec 16 15:09:38 UTC 2015
#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 jamesmehorter):
@tha_sun Using `IGNORE INDEX (post_type_mime_type)` seems like it could
fail in the future if other indexes are added. I'd rather see a hint to
`USE INDEX` or a post_status clause as @pento suggested.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31071#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list