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> &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; 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>&gt; just want to clear my doubts...<br>&gt; what happens if the size of a table ( say &quot;program&quot; table, or any<br>&gt; other), keeps on increasing...as we update our boxes everytime.
<br>&gt;<br>&gt; so after a few months( or a year) of updates, the tables might have<br>&gt; thousands of records...<br>&gt;<br>&gt; does this slow down the mythtv-box's performance ???<br>&gt; does it take longer for mythfilldatabase to update ?
<br>&gt; does this have a problem during an INSERT into the table ?<br>&gt; does mythtv automatically clear out &quot;not needed&quot; records ( i.e.<br>&gt; records that a couple of months old) from time to time ?<br>&gt; is there any setting for this ?
<br><br>I'm ignoring all the questions except the last two (which make the<br>others irrelevant).&nbsp;&nbsp;The mythfilldatabase program will automatically<br>clear expired program listings from the database.&nbsp;&nbsp;By default, they<br>
expire one day after the starttime.&nbsp;&nbsp;However, if you pass the<br>mythfilldatabase command-line argument &quot;--no-delete&quot;, 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>