How delete all eventframe in the database?
Manual removal through Pi system explorer will be very long because a lot of records. Removing the database is not desirable. Maybe have command remove all eventframe in cmd.
There are a couple of options for you if you don't want to do it manually. You can use:
AFDiag /DeleteEventFrames "1/1/2015"
This command will delete all event frames that have endtime before the specified time.
or using the AF SDK as described here: How to delete event frames in bulk ?
This your solution is not suitable. I need remove all eventframe for several years. It seems that only through AFSDK is possible to do, right?
You can try using AF SDK with the call
specifying the AFDatabase that you want and searchRoot and query of both null. Then loop through the list and call Delete on the EventFrame.
Retrieving data ...