[mythtv-users] mythfilldatabase not logging

Michael T. Dean mtdean at thirdcontact.com
Thu Feb 11 20:40:49 UTC 2016


On 02/11/2016 03:12 PM, Jerome Yuzyk wrote:
>
> On Thursday, February 11, 2016 01:45:25 PM Bill Meek wrote:
>
> > On 02/11/2016 01:42 PM, Jerome Yuzyk wrote:
>
> > > On Thursday, February 11, 2016 02:27:39 PM Michael T. Dean wrote:
>
> > >>
>
> > >> MythTV doesn't have a MythFillDatabaseLog setting.
>
> > >
>
> > > Mine does, as viewed from MythWeb Settings. Is that a left-over 
> from my old 0.21 setup?
>
> >
>
> >
>
> > The use/configuration was removed in 2/2012, but the setting itself
>
> > wasn't removed.
>
> Ah OK, thanks. There seem to be a lot of these left-overs. Why weren't 
> they removed during a DB conversion?
>

Because there's no need.  They take up virtually no space in the 
database (a whole host's settings take an incremental 4-8kB or less on 
disk compared to just table structure and indices--and most of that is 
because of disk block size--even on my system where my host's settings 
have persisted since I started with MythTV in 0.14) and since we have a 
nice* UI which shows only those settings in use (as well as 
user-friendly names for them and descriptions of what they're for and 
how they work), old settings don't get in the way. So, we've never 
really removed any no-longer-in-use settings values, other than a few 
odd ones.

Or, from another perspective, removing a setting name from the database 
generally doesn't warrant all the delay (backup, prompt, upgrade times X 
number of users) and danger (all hosts need to be upgraded for the new 
DB schema version, etc) of a DB update.

Mike

* By some definitions of nice, at least.  If nothing else, it's much 
better than the MythWeb/mysql "properties" view of the settings and 
values.  Note, too, that some of the settings do exactly opposite what 
their names say or work very differently from how their names imply, so 
it's always best to use mythfrontend settings or mythtv-setup for 
setting values for your settings.


More information about the mythtv-users mailing list