<br><br><div class="gmail_quote">On Wed, Apr 2, 2008 at 12:52 AM, Frank Lynch &lt;<a href="mailto:frank.lynch@gmail.com">frank.lynch@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Wed, Apr 2, 2008 at 12:31 AM, Frank Lynch &lt;<a href="mailto:frank.lynch@gmail.com" target="_blank">frank.lynch@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div><div></div><div><br><br><div class="gmail_quote">On Tue, Apr 1, 2008 at 10:36 PM, Michael T. Dean &lt;<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 04/01/2008 10:14 PM, Frank Lynch wrote:<br>
<div>&gt; On Tue, Apr 1, 2008 at 10:05 PM, Michael T. Dean wrote:<br>
&gt;&gt; On 04/01/2008 09:53 PM, Frank Lynch wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; I&#39;ve been running mythtv happily for a couple of years, tonight I<br>
&gt;&gt;&gt; decided to upgrade to 0.21 &amp; migrate from Fedora Core 4 to ubuntu<br>
&gt;&gt;&gt; gutsy. All appears to be going well at the moment.<br>
&gt;&gt;&gt; However during the process I backedup my db &amp; noticed that its a<br>
&gt;&gt;&gt; whopping 2.2GB!<br>
&gt;&gt;&gt;<br>
&gt;&gt; By what measure? &nbsp;Looking at the binary files? &nbsp;Looking at the size of<br>
&gt;&gt; the backup? &nbsp;Basically, it sounds large, but I want to verify that<br>
&gt;&gt; you&#39;re using some appropriate means of measuring the size.<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; the 2.2GB file is the output from mysqldump for mythconverg before I gzip&#39;d<br>
&gt; it. It compresses down to ~200 mb.<br>
<br>
</div>Better would be a long listing of the MySQL data directory. &nbsp;I&#39;d<br>
actually be interested in seeing one (perhaps today--while large, and<br>
tomorrow--which could be much smaller). &nbsp;Something like:<br>
<br>
ls -lS /var/lib/mysql/mythconverg<br>
<br>
or<br>
<br>
ls -lS /srv/mysql/mythconverg<br>
<br>
depending on where your distro puts the DB data. &nbsp;Since there are so<br>
many tables, feel free to bzip2 the output (or, if it&#39;s just a few<br>
tables at the top, you can chop it with &quot; | head -n 30&quot; or something).<br>
<br>
The only table that should be very large is recordedseek, as it contains<br>
a couple of records per second of recorded video (and, if using<br>
mythcommflag --video, per MythVideo video). &nbsp;So, extrapolating from my<br>
65MB data/60MB index of recordedseek for 348 hours of recorded TV taking<br>
up &gt;1.8TiB of storage (and considering all other data would be<br>
negligible), to really have a multi-gigabyte DB, you&#39;d need to have A<br>
Whole Lot (sorry about the technical terms) of recorded video.<br>
<div><div></div><div><br>
Mike</div></div></blockquote></div><br></div></div>I&#39;ve got a reasonable amount of tv/video but not that much. When I view the db using your method its:<br>-rw-rw---- 1 mysql mysql&nbsp; 24M 2008-04-01 23:56 recordedseek.MYI<br>


-rw-rw---- 1 mysql mysql&nbsp; 21M 2008-04-01 23:30 recordedseek.MYD<br>
-rw-rw---- 1 mysql mysql 4.2M 2008-04-01 22:55 music_songs.MYD<br>-rw-rw---- 1 mysql mysql 2.7M 2008-04-01 22:55 music_songs.MYI<br>-rw-rw---- 1 mysql mysql 220K 2008-04-01 17:21 music_albums.MYD<br>-rw-rw---- 1 mysql mysql 163K 2008-04-01 22:53 music_directories.MYD<br>



-rw-rw---- 1 mysql mysql 144K 2008-04-01 17:21 music_albums.MYI<br>-rw-rw---- 1 mysql mysql 108K 2008-04-01 17:21 music_playlists.MYD<br>-rw-rw---- 1 mysql mysql 100K 2008-04-01 17:21 music_artists.MYI<br>-rw-rw---- 1 mysql mysql&nbsp; 76K 2008-04-01 17:21 music_artists.MYD<br>



-rw-rw---- 1 mysql mysql&nbsp; 35K 2008-04-01 23:56 music_directories.MYI<br>-rw-rw---- 1 mysql mysql&nbsp; 35K 2008-04-01 21:39 nestitle.MYD<br>-rw-rw---- 1 mysql mysql&nbsp; 21K 2008-04-01 21:39 nestitle.MYI<br>-rw-rw---- 1 mysql mysql&nbsp; 15K 2008-04-01 23:56 displayprofiles.MYI<br>



-rw-rw---- 1 mysql mysql&nbsp; 11K 2008-04-02 00:03 record.frm<br>-rw-rw---- 1 mysql mysql&nbsp; 10K 2008-04-02 00:03 record_tmp.frm<br><br>with my .21 gutsy based install.<br>My older FC4 .20.2 install has the following for mythconverg:<br>



-rw-rw---- 1 27 sudo&nbsp; 95M 2008-04-01 20:44 recordedseek.MYD<br>-rw-rw---- 1 27 sudo&nbsp; 80M 2008-04-01 20:46 recordedseek.MYI<br>-rw-rw---- 1 27 sudo 5.4M 2008-04-01 18:41 music_songs.MYD<br>-rw-rw---- 1 27 sudo 1.4M 2008-04-01 20:53 music_songs.MYI<br>



-rw-rw---- 1 27 sudo 220K 2007-10-18 18:19 music_albums.MYD<br>-rw-rw---- 1 27 sudo 158K 2007-10-19 04:05 music_albums.MYI<br>-rw-rw---- 1 27 sudo 108K 2007-09-06 22:33 music_playlists.MYD<br>-rw-rw---- 1 27 sudo 106K 2007-10-15 08:08 music_artists.MYI<br>



-rw-rw---- 1 27 sudo&nbsp; 76K 2007-10-14 22:23 music_artists.MYD<br>-rw-rw---- 1 27 sudo&nbsp; 35K 2007-09-06 22:39 nestitle.MYD<br>-rw-rw---- 1 27 sudo&nbsp; 19K 2007-09-06 22:39 nestitle.MYI<br>-rw-rw---- 1 27 sudo&nbsp; 11K 2007-09-06 22:40 record.frm<br>



-rw-rw---- 1 27 sudo&nbsp; 10K 2007-09-06 22:40 record_tmp.frm<br><br>So its certainly quite a bit smaller already! <br>cheers,<br><font color="#888888">--Frank<br></font></blockquote></div></div><div><br>Sorry cut n&#39; paste error there. The first listing where recordedseek.MYI is 24mb is from the new 0.21 / gutsy where as this file was 95mb with .20.2 / FC4 setup.<br>

<br>I&#39;m seeing some interesting behavior now on with my 0.21 installation. I rebooted after getting lirc setup, the frontend &amp; backend were working together nicely prior to the reboot.<br>However since I rebooted mysql is chewing up a lot of cputime &amp; my backend isn&#39;t coming up i.e. its not listening on its tcp port(s). The backend log has the following:<br>

<br>2008-04-02 00:38:49.298 New DB connection, total: 2<br>2008-04-02 00:38:49.300 Connected to database &#39;mythconverg&#39; at host: localhost<br>2008-04-02 00:38:49.309 Current Schema Version: 1214<br>Starting up as the master server.<br>

</div></div>
2008-04-01 23:34:53.428 DB Error (DelLogEntry#2):<br>Query was:<br>DELETE FROM mythlog WHERE logid= 1236033 ;<br>Driver error was [2/1205]:<br>QMYSQL3: Unable to execute query<br>Database error was:<br>Lock wait timeout exceeded; try restarting transaction<br>

<br>I should probably mention that I was reviewing all my mythtv settings after doing the upgrade &amp; noticed that I was logging a lot of events to the db, so I put some more sane limits in place. I&#39;m guessing that mysql is now very busy clearing out old log entries? <br>

I&#39;m thinking that I&#39;ll let it work away over night &amp; take another look in the morning.<br></blockquote><div>&nbsp;</div></div>Sure enough all is looking well this morning. I&#39;m starting to quite like 0.21 already, many thanks to all involved. I am seriously missing the blootube-wide theme tho. :-(<br>
<br>cheers,<br>--Frank<br>