Forums » Tutorial and setups »
standard epg storage directory
Added by jamp man almost 9 years ago
Hi all,
I am searching some time for the storage directory for the epg data. tvheadend is set up on ubuntu 15.10 installed on a ssd. I don't want to damage the ssd by too many writings. And I can't find a position where I can change this storage directory. Is it only stored in RAM?
kind regards
Replies (3)
RE: standard epg storage directory - Added by Prof Yaffle almost 9 years ago
EPG is written to /home/hts/.hts/tvheadend/epgv2.db when required (shutdown or as specified in Configuration -> Channel/EPG -> EPG grabber). Otherwise, it's cached in RAM, I believe.
XMLTV grabbing would obviously be different, as you have to grab, create and process the XML files before tvh even has an EPG.
RE: standard epg storage directory - Added by jamp man almost 9 years ago
ok, I've found this file. It is 190bytes small. but there are other folders. For example epggrab. do you suggest to put the whole home folder to a real harddisk?
RE: standard epg storage directory - Added by Prof Yaffle almost 9 years ago
If you're worried about IO, then yes - although I don't know how real that worry should be. Most will only get written when changes are made, and the timestamp on any file will tell you when that was... my suspicion will be "a while ago".
If you have swap, /tmp or IO devices (/dev) on SSD then I think tvheadend's little overhead will be negligible by comparison. I suspect filesystem type/TRIM support, swappiness, cahe policy and similar would be greater considerations. My HTPCs run off SSD, but my server is mechanical HDD through-and-through.
Maybe iotop or sar can give you an insight into what processes are writing, when and how much?