Good God, MySQL Data File is 75GB, how to fix?
Posted: Mon Nov 20, 2023 3:52 am
I initiated a backup of my /appdata folder on my Unraid server, which is where all of the files associated with ZoneMinder reside. The only files that are not in this location are the actual video files which are stored on a share.
I noticed that the ZoneMinder backup folder grew to 107GB, which didn't seem right, and I suspect it's been slowly growing over time as I haven't noticed it until now.
In my /mnt/user/appdata/Zoneminder/mysql folder, I see three offending files:
1. ib_logfile0 = 5GB+
2. ib_logfile1 = 5GB+
3. ibdata1 = 75GB
Given the size of the database, I don't know how to begin to tinker with this so I don't break it. ZM is running based upon this: https://github.com/dlandon/zoneminder.unraid
Does anyone know what steps I need to take to resolve this issue?
I currently have 4 cameras all passing through with no jpg's being saved.
I noticed that the ZoneMinder backup folder grew to 107GB, which didn't seem right, and I suspect it's been slowly growing over time as I haven't noticed it until now.
In my /mnt/user/appdata/Zoneminder/mysql folder, I see three offending files:
1. ib_logfile0 = 5GB+
2. ib_logfile1 = 5GB+
3. ibdata1 = 75GB
Given the size of the database, I don't know how to begin to tinker with this so I don't break it. ZM is running based upon this: https://github.com/dlandon/zoneminder.unraid
Does anyone know what steps I need to take to resolve this issue?
I currently have 4 cameras all passing through with no jpg's being saved.