DB is not updated until close
DB is not updated until close
It seems DB is not updated until all Multicharts applications are closed, and the Multicharts application must be closed normally to save all DB data to harddisk. Otherwise all data includes historical and real time data recorded in this session still in memory are going to lose.
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: DB is not updated until close
Once the data is received - it is stored in the buffer, then every 10 seconds it is released into the cache (by default in MC 9.0 64 bit the cache is in the RAM). The data is saved to the database files on hdd only upon closing all of the MultiCharts processes properly or if it has crashed - after recovering the data from the file cache (you need to enable it manually for MC 9.0).It seems DB is not updated until all Multicharts applications are closed, and the Multicharts application must be closed normally to save all DB data to harddisk. Otherwise all data includes historical and real time data recorded in this session still in memory are going to lose.
If you want to get back to file cache you need to run the registry editor and go to the following path:
HKEY_CURRENT_USER\Software\TS Support\MultiCharts .NET64\Storage
By default UseFileCache = 0 (file cache is disabled).
Please set UseFileCache = 1 (enable file cache).
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: DB is not updated until close
Please make sure that no processes with MultiCharts in description remain in the Task Manager, Processes (Win7) or Details (Win8) tab before starting the new session:MultiCharts ProcessesMaybe things are worse. If MC had crashed once, even all subsequent sessions are ok, it may think there is still an instance there and no data will save to harddisk.