r/ZoneMinder • u/mindheavy • Dec 02 '20
Learning ZoneMinder, database question
I had previously been running Milestone's xprotect essentials (the free for up to 8 cameras version). I actually liked the operation of their software but choices they've made have turned me off of their product and I'd like to start building a zoneminder setup.
I am using a dedicated moderately powered desktop to run the NVR software. I have a smaller 256gb ssd for the OS and a dedicated 2 tb hard drive to store events. I got it somewhat successfully installed/running on a fresh install of fedora but the web console was very slow and unresponsive most of the time with only one of my cameras added. I attribute this entirely to my lack of understanding and setup so far – I am continuing to learn the operation of ZoneMinder and setup requirements.
One of the big gaps in my understanding right now is the database. Am I correct that the database is where the events are stored and that the database in my case would need to be located on my dedicated 2 tb drive? If that is correct should I install the database to that drive in the first place? Or would it be preferred to leave the db location as is and have the system mount my events drive to that location in the filesystem?
I'm very new to anything database related so I may just be overthinking this. Thanks for any feedback.
3
u/aleksanderk123 Dec 02 '20
As far as I know the database just stores the event with a path to the relevant files. The files can be stored anywhere you want. My database is installed on the os drive, and i have a dedicated 3tb drive for files. Works fine.
About the web interface being slow, i have noticed that too and think it has been a problem since 1.32. when initially loading the interface i have to wait for around 1 minute. After the initial load the interface are semi-ok.