[mythtv-commits] Ticket #10391: Slow MythTV startup if DB has many tables

MythTV noreply at mythtv.org
Tue Feb 28 22:46:31 UTC 2012


#10391: Slow MythTV startup if DB has many tables
--------------------------------------+---------------------
     Reporter:  nigel                 |      Owner:  nigel
         Type:  Bug Report - General  |     Status:  new
     Priority:  minor                 |  Milestone:  unknown
    Component:  MythTV - General      |    Version:  0.24
     Severity:  low                   |   Keywords:
Ticket locked:  0                     |
--------------------------------------+---------------------
 When MythTV connects to the database, DBUtils::CheckTables() and
 IsNewDatabase() call DBUtils::GetTables(), which does a query to select
 all table names. For a few users with excessively large databases, this
 causes a hang (delay?) at startup:

 http://sourceforge.net/projects/mythtvformacosx/forums/forum/1285624/topic/4071009

 Checking specifically for a few tables (e.g. settings, recorded) would be
 a lot faster than enumerating hundreds or thousands of tables?

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10391>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list