Does the information in the relating to the caches in the File System Shield > Customise > Advanced not answer your question. As far as I’m aware these explanations are the same for on-demand scans.
One setting in the scans that is off by default may not be doing you any favours.
AvastUI > Protection > Antivirus > Select your scan/s settings > Performance - Persistent cache and ensure that you have the ‘Store data about scanned files in the persistent cache’ option enabled.
There are a number of virus definitions updates a day, so this could have an impact on the Transient cache. What I don’t know is how the streaming updates would be effected by these as they occur very frequently.