[mythtv-commits] Ticket #10447: Program Listing SQL Optimization
MythTV
noreply at mythtv.org
Wed Jun 19 16:19:09 UTC 2013
#10447: Program Listing SQL Optimization
------------------------------+-----------------------------
Reporter: fracmak@… | Owner: mdean
Type: Patch - Feature | Status: assigned
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Master Head
Severity: low | Resolution:
Keywords: | Ticket locked: 0
------------------------------+-----------------------------
Comment (by Gary Buhrmaster <gary.buhrmaster@…>):
With the presumption that the OP has updated their statistics, and MythTV
really is choosing a poor path (one would need to run an EXPLAIN to
verify), it might be preferable to add a "USE INDEX (id_start_end)" hint
to the sql if this really is the preferred path. (FORCE INDEX if the
table scan would really be terrible).
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10447#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list