Page 1 of 1

Database tweaks?

Posted: Thu Nov 03, 2011 10:26 pm
by Yamanipanuchi
I have a Zoneminder Box running 33 camera's. Runs great actually...

I do notice mysql struggling from time to time and I can only guess its because of the number of events I have.

Im holding at about 30 days with 250,000+ events. I would like to push this out to about 60 days but I am not sure it will hold up.

Im wondering if anyone knows of any tweaks I can run/add to mysql that might help it along?

Re: Database tweaks?

Posted: Wed Nov 09, 2011 10:49 pm
by Yamanipanuchi
I'm noticing anything over 250,000 events it starts to struggle.

I'm deleting at 30 days and it seems to keep it at about 210-220,000 events.

Its not bad, I was hoping for a little more. But beggars cant be choosers. :)

Re: Database tweaks?

Posted: Fri Nov 11, 2011 7:33 pm
by Mr.Ziggy
Sorry, but I've never had that many events, but do you mind posting your hardware configuration and camera type?

Re: Database tweaks?

Posted: Tue Nov 15, 2011 3:21 pm
by Yamanipanuchi
Ill do my best to post the details about the machine. If there's an easier way let me know...

As Follows...

Dell Optiplex 980
Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
4Gb ram
3Tb HD

The primary camera were using is an Axis 209fd capturing at 10 fps.

We have a request for more camera's we were looking into an actual server solution now.

Re: Database tweaks?

Posted: Fri Nov 18, 2011 11:29 pm
by Yamanipanuchi
So I was able to upgrade this system to an actually server...

Ubuntu 11.10 64
Dell PowerEdge 6850
Intel(R) Xeon(TM) MP CPU 3.16GHz x 4 (Shows up as 8 CPU's)
16GB ram

Its really odd. I have all 33 camera's running on this thing and the thing shows a load anywhere from 20-50. Which from what I know this is bad? But believe it or not it doesn't miss a beat. Everything view and records correctly.

I know not to many people will end up reading this, But I am curios if anyone out there knows it Ubuntu might read the load incorrectly? Or if this is normal for a server based platform?