[mythtv-commits] Ticket #1627: mythweb scales very badly with lots of channels
MythTV
mythtv at cvs.mythtv.org
Tue Apr 4 12:58:54 UTC 2006
#1627: mythweb scales very badly with lots of channels
-------------------------------------+--------------------------------------
Reporter: chrisb at crustynet.org.uk | Owner: xris
Type: defect | Status: new
Priority: major | Milestone:
Component: mythweb | Version: 0.19
Severity: medium |
-------------------------------------+--------------------------------------
When mythtv has a large number of channels configured, in my case 470,
mythweb takes forever to display the channel grid.
This is partly because it has no concept of paging, so will display all
470 channels at once (creating quite a large HTML page).
Secondly, it's down to the INSANE number of SQL queries it takes to get
the data for the channel grid. On my system, it did 2135!
On further investigation, it appears that mythweb is doing one query for
every channel, and one query for every program on every channel. That's
insane - surely it can get more than one result at a time?
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1627>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list