In memory db/buffer

Fordsman4 years ago

How, if, to clean "old" data from memory db/buffer but keep data in database? Would be nice to keep max 2h data in memory
We have 200 units at 1Hz so lot of data to the server (17milj position records/24h)
clearHistory() seems to just clean the database at "database.historyDays" and "CLEAN_PERIOD" how often the cleanHistory() will run, if i read the code right?

Regards
Johan F

Anton Tananaev4 years ago

Traccar doesn't keep historical data in memory.