Cleaning the Database folder


I’m wondering if i can safely delete some of these files to free some space on the SD card::

total 427M
-rw-r--r-- 1 osmc osmc  28K Feb 22  2016 ADSP0.db
-rw-r--r-- 1 osmc osmc 660K Aug 19  2015 Addons16.db
-rw-r--r-- 1 osmc osmc 840K Feb 21  2016 Addons19.db
-rw-r--r-- 1 osmc osmc 980K Feb  7  2017 Addons20.db
-rw-r--r-- 1 osmc osmc 2.7M Nov 30 13:09 Addons27.db
drwxr-xr-x 2 osmc osmc 4.0K Jan  1  1970 CDDB
-rw-r--r-- 1 osmc osmc  44M Feb 22  2016 Epg10.db
-rw-r--r-- 1 osmc osmc 276M Feb  4  2017 Epg11.db
-rw-r--r-- 1 osmc osmc  28K May 25  2015 Epg8.db
-rw-r--r-- 1 osmc osmc  25M Feb 18  2016 MyMusic52.db
-rw-r--r-- 1 osmc osmc  26M Jan 18  2017 MyMusic56.db
-rw-r--r-- 1 osmc osmc  29M Apr 15  2017 MyMusic60.db
-rw-r--r-- 1 osmc osmc 3.8M Apr 17  2017 MyVideos107.db
-rw-r--r-- 1 osmc osmc 3.2M Feb 22  2016 MyVideos93.db
-rw-r--r-- 1 osmc osmc 3.5M Feb  7  2017 MyVideos99.db
-rw-r--r-- 1 osmc osmc  36K May 25  2015 TV26.db
-rw-r--r-- 1 osmc osmc 380K Nov 30 14:12 TV29.db
-rw-r--r-- 1 osmc osmc  14M Nov 30 14:02 Textures13.db
-rw-r--r-- 1 osmc osmc  40K Nov 10 20:37 ViewModes6.db

Some of them are pretty old and look unused for a while.

Since a while I have setup a SQL Server for Movie and Audio DB.
So the 2nd question is if I need the MyMusic*.db and MyVideos*.db at all ?

You can remove the lowest numbers for each DB unless you still plan to go back to an older version of Kodi.
I don’t think you need the MyMusic and MyVideos DB files anymore as you have this stored in an SQL Server.
As for the other old DB files. They are untouched as you don’t use of haven’t used features that are using those DB’s. If you delete them they will be recreated on the next startup but you might loose any old but still used information stored in them.