Thanks a lot Mike...<br>
i'll check the optimize_mythdb.pl script.<br>
<br>
thanks once again<br>
-Dhiraj<br>
<br><br><div><span class="gmail_quote">On 3/8/06, <b class="gmail_sendername">Michael T. Dean</b> <<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 03/07/2006 09:57 AM, Dhiraj K wrote:<br>> just want to clear my doubts...<br>> what happens if the size of a table ( say "program" table, or any<br>> other), keeps on increasing...as we update our boxes everytime.
<br>><br>> so after a few months( or a year) of updates, the tables might have<br>> thousands of records...<br>><br>> does this slow down the mythtv-box's performance ???<br>> does it take longer for mythfilldatabase to update ?
<br>> does this have a problem during an INSERT into the table ?<br>> does mythtv automatically clear out "not needed" records ( i.e.<br>> records that a couple of months old) from time to time ?<br>> is there any setting for this ?
<br><br>I'm ignoring all the questions except the last two (which make the<br>others irrelevant). The mythfilldatabase program will automatically<br>clear expired program listings from the database. By default, they<br>
expire one day after the starttime. However, if you pass the<br>mythfilldatabase command-line argument "--no-delete", they expire one<br>week after the starttime.<br><br>Therefore, you'll never have more than 3 weeks worth of program listings
<br>in your database.<br><br>To make sure you get good performance from your database, check out<br>Chris Petersen's script optimize_mythdb.pl in the contrib directory.<br>The comments at the top of the script explain how to use it properly
<br>(from a cron job).<br><br>Mike<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>