clips.dat file taking 94GB of 111GB C drive

atothek

Getting the hang of it
Joined
Nov 26, 2017
Messages
125
Reaction score
43
Location
Atlanta, GA, USA
Trying to help a family member. His clips.dat file taking 94GB of 111GB C drive

Have tried compacting the DB manually, which saved a few MB but not much. He has 20 cameras. My BI has 11 cameras and I'm only using < 2GB for clips.dat.

What can we look at? We just tried recreating the DB and it's in progress but only 250MB free on disk so not sure if it will complete.
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Trying to help a family member. His clips.dat file taking 94GB of 111GB C drive

Have tried compacting the DB manually, which saved a few MB but not much. He has 20 cameras. My BI has 11 cameras and I'm only using < 2GB for clips.dat.

What can we look at? We just tried recreating the DB and it's in progress but only 250MB free on disk so not sure if it will complete.
Delete the entire database folder and let it regenerate. How much total storage does he have? Are the clips created at regular intervals or does a new clip get created with every trigger?
 

atothek

Getting the hang of it
Joined
Nov 26, 2017
Messages
125
Reaction score
43
Location
Atlanta, GA, USA
Deleting the DB folder did the trick. Took days to reindex, though. Brother in law never did tell me how the clips were generated, so I'll let him figure it out when it breaks again.

Thanks again, @fenderman
 

fenderman

Staff member
Joined
Mar 9, 2014
Messages
36,897
Reaction score
21,250
Deleting the DB folder did the trick. Took days to reindex, though. Brother in law never did tell me how the clips were generated, so I'll let him figure it out when it breaks again.

Thanks again, @fenderman
If it took days to reindex then he must have hundreds of thousands of tiny files and running the database on a HDD rather than an SSD. Bad combo. This may also cause long periods of missed recording when the database compacts at 2am (if set to do so).
 
Top