[mythtv-users] Slow MySQL query after delete

Michael T. Dean mtdean at thirdcontact.com
Tue Dec 4 15:49:45 UTC 2007


On 12/03/2007 10:17 PM, Yeechang Lee wrote:
> f-myth-users says:
>   
>> You haven't tried the critical experiment (so far as you've told us),
>> which is to do MORE THAN ONE in quick succession.
> One delete for me (whether of a single item or a playlist) from
> mythfrontend results in a UI pause of no more than a second. Two
> deletes in quick succession results in a pause of . . . no more than a
> second or two.

I got a chance to do 2 in a row (deleted one by one).  Deleting one at a 
time results in a delay of about 1/2 a second.  Deleting two in a row 
results in 2 delays of about 1/2 a second (i.e. just long enough to 
clear the UI and reset the "cursor").  This is with slow deleted 
enabled.  I did delete them back to back--they were the same show, so I 
didn't have to scroll to find the second to delete.

I've been saving up some shows for deleting 5 in a row (with and without 
slow deleted).  I seriously expect deleting 5 in a row with slow deletes 
enabled will result in 5 delays of about 1/2 second.  (I used to do this 
all the time after a business trip--I'd delete all the shows that I 
watched while sitting around in the airport/on planes/at the hotel--but 
I've been going through my old DVD library lately, so I haven't done 
this for a quite a few months.)

I also expect deleting the shows with slow deletes disabled will result 
in a pause of approximately 9 to 19 seconds based on the filesize (from 
4 to 8.5 GiB per file) and the fact that it takes my ext3-based 
filesystem approximately that long to delete a file of the given sizes.  
If that's the case, I'm sure the scheduler query (accessing a completely 
different disk drive) time will be lost in the noise.

Mike


More information about the mythtv-users mailing list