If you want to use a graphical inter-phase to optimize database go to Health and Maintenance page "http://192.168.xxx.xxx/xymon/ and click on your backend host name on the far left of the page. Click the dot "optimize database" and press go.
+++++++++++++++++++++++++++++
If you want to see what table crashed go to myth web "http://192.168.xxx.xxx/mythweb/ " Click on the Key & Wrench "MythTV Settings" at the top of the page and then click on the "Database" tab on the far left of the page. Give it 10 to 20 seconds to open because it is running a scan to tell you the condition of each table. Then choose one of the three options at the top of the page to repair.
+++++++++++++++++++++++++++++
If you install Myth Browser
Main Menu/Service Menu/LinHES Settings/Programs/page 1 Check
Myth Browser box.
Then go to
Main menu/Information Center/WebThen use the menu button "m" on your remote to setup your bookmarks for Myth Browser.
Category: LinHES Systems
Name: LinHESmbe Repair Database
URL:
http://192.168.xxx.xxx/mythweb/settings/databaseRight now I have five different commands setup under the LinHES Systems Category. Your IR remote will get you to the Repair Database page and you can scroll up and down looking for crashed tables but you have to use a mouse to click the repair option. This will work even when the backend is recording and dos not seem to cause any disruption to the recordings. I have the wife use this one when I am 400 miles away from home.
++++++++++++++++++++++++++++
If things are really bad and nothing else functions go to Webmin (if you have it installed) .
Webmin seems to run when everything else is locked up or blank screens.
Example if you have a full hard disk partition 1.
Webmin's file manager will run so you can delete the unwanted files.
go to "Others/Custom Commands" and
setup a command called "Optimize Database" and point to /usr/LH/bin/optimize_mythdb.py
or
setup a command called "Optimize Database Enhanced " and point to /usr/share/mythtv/contrib/maintenance/optimize_mythdb.pl
.py or .pl I am guessing they do the same thing. Like the buttons "Optimize Tables" "Repair Tables" "Extended Check" If anyone can tell me the difference please post.
I have 20 different command created under Custom Commands so I don't have to look things up.