[mythtv-users] My mythfilldatabase is not cleaning up

Michael T. Dean mtdean at thirdcontact.com
Tue May 27 21:18:23 UTC 2008


On 05/27/2008 04:58 PM, Brian Phillips wrote:
> Michael T. Dean wrote:
>   
>> On 05/27/2008 04:43 PM, Brian Phillips wrote:
>>     
>>> My backend is running a stock mythbuntu 8.04 install.
>>> Mythfilldatabase doesn't seem to be removing the old listing data.  I
>>> have data in my listings from 6 days ago (and counting).  Where can I
>>> find the command to remove this old data?
>> Keep counting.  When you hit 7, you'll find it doesn't keep
>> increasing. 
>>
>> (I.e. Myth keeps 7 days of old listing data in its database.  It
>> doesn't hurt anything and it allows you to go back and figure out why
>> that episode of Lost you thought would record didn't--because the
>> networks decided to show a rerun and delay the new episode.)
> Gotcha.  This is new in 0.21?  My old mythdora4 (myth 0.20.2) only kept one
> day of listings data.  I was imagining something went wrong and I was soon
> going to be overtaken by countless numbers of old listings data if I didn't
> nip it in the bud.
>   

The older versions of mythfilldatabase had an option --no-delete that 
told it to leave 7 days of listings data.  For 0.21, we moved all 
listings (and other) cleanup performed by mythfilldatabase into 
mythbackend (since there are a large number of users who get listings 
from, i.e. EIT, so don't run mythfilldatabase).  When moving it, we just 
got rid of the option, so now everyone keeps 7 days of data (as it 
/does/ make it easier to figure out why something didn't record).  It 
has a negligible impact on database size (and, before any of you with 
2000 channels pipe up to disagree, check your DB and you'll find that 
I'm right), so there's really no downsize.

Mike


More information about the mythtv-users mailing list