archiver-appliance / epicsarchiverap

This is an implementation of an archiver for EPICS control systems that aims to archive millions of PVs.
Other
40 stars 39 forks source link

Archived data because the sampling buffer capacity is too small and lost a lot, only part of the data is normal. #70

Closed alonelytree closed 5 years ago

alonelytree commented 5 years ago

@slacmshankar hi,shankar ,I have a question to ask you,A problem was discovered today during the operation of the new archive system,The data curve circulates like a heartbeat in a specific cycle, and the time axis is enlarged. It can be clearly seen that within ten seconds, there are only eleven sampling points, and the other time data is a straight line,all the data is in this case,View archive pv details,the sample buffer capacity is 11,many events lost because the sample buffer is full.Can there be any way to increase the sampling buffer capacity and prevent data loss?Sorry, the system can't upload photos, or there will be pictures that will clearly describe the problem.

I look forward to your reply,。 Thank you very much.

slacmshankar commented 5 years ago

You should be able to control the size of the buffers by changing the PV's sampling period. Please see question 4 in the FAQ - http://slacmshankar.github.io/epicsarchiver_docs/faq.html. There is also a global setting in archappl.properties that applies to app PVs.

alonelytree commented 5 years ago

Ok,Thank you.