[mythtv-commits] Ticket #12592: maintanence work on database schema - move to InnoDB and use referential integrity

MythTV noreply at mythtv.org
Sun Jan 10 07:00:00 UTC 2016


#12592: maintanence work on database schema - move to InnoDB and use referential
integrity
----------------------------------+--------------------------
     Reporter:  dekarl            |      Owner:  dekarl
         Type:  Developer Task    |     Status:  new
     Priority:  minor             |  Milestone:  0.29
    Component:  MythTV - General  |    Version:  Unspecified
     Severity:  medium            |   Keywords:  schemachange
Ticket locked:  0                 |
----------------------------------+--------------------------
 Random notes around the seektable, this is something I wanted for 0.28 but
 I'm not getting it ready and tested by tomorrow, so it has to wait until
 after the branch point of fixes/0.28.
 * spread recordedid around and have it replace chanid+starttime in the
 tables (includes some work on access functions / Service API, so they can
 still work with chanid+starttime)
 * work out the defaults that we have to override to get similar results
 across various versions of MySQL (https://dev.mysql.com/doc/refman/5.6/en
 /innodb-multiple-tablespaces.html file-per-table vs. all tables in one
 file changed in 5.6.6)
 * switch the small tables to InnoDB
 * enable referential integrity and fix all consistency bugs lurking around
 * switch the big tables (seek table) to InnoDB, choosing the primary key
 to optimize the data locality
 * reorder columns in tables / indexes (for data locality)
 * decide if the should mix the storage location of tables (e.g. all small
 ones into the system tablespace and the big ones into their own files)

 If someone has a (partial) implementation in their private repo, feel free
 to just grab this tracking ticket.

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


More information about the mythtv-commits mailing list