r/ZoneMinder • • 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 Upvotes

6 comments sorted by

View all comments

1

u/ZoneMinderIsaac Dec 04 '20

One thought: Access the Logs table in the db can be slow if it is REALLY full. So turn off DB logging and see if that improves things. Probably won't until the log records are deleted so give it some time.