Opened 9 years ago
Closed 3 years ago
#12592 closed Developer Task (Trac EOL)
maintanence work on database schema - move to InnoDB and use referential integrity
Reported by: | Karl Egly | Owned by: | Karl Egly |
---|---|---|---|
Priority: | minor | Milestone: | 29.2 |
Component: | MythTV - General | Version: | Unspecified |
Severity: | medium | Keywords: | schemachange |
Cc: | Ticket locked: | no |
Description
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.
Change History (8)
comment:1 Changed 9 years ago by
Milestone: | 0.29 → 29.0 |
---|
comment:4 Changed 8 years ago by
- merge videocast into people (which could use some housekeeping, people and credits have ~160k entries each on my system) and videometadatacast into credits.
- convert filemarkup from filename as PK to reference videometadata by intid (file system browse mode must die, or at least get by without bookmarks)
comment:5 Changed 7 years ago by
Milestone: | 29.0 → 29.1 |
---|
comment:6 Changed 7 years ago by
Milestone: | 29.1 → 0.28.2 |
---|
Moving remaining open tickets to 0.28.2 milestone
comment:7 Changed 7 years ago by
Milestone: | 0.28.2 → 29.2 |
---|
Moving remaining open tickets to 29.2 milestone
Note: See
TracTickets for help on using
tickets.
Milestone renamed