diff --git a/servicecontrol/servicecontrol-instances/hardware.md b/servicecontrol/servicecontrol-instances/hardware.md index 3956f7d58a9..d5d0d63f62e 100644 --- a/servicecontrol/servicecontrol-instances/hardware.md +++ b/servicecontrol/servicecontrol-instances/hardware.md @@ -92,3 +92,14 @@ Updating the full-text index requires a considerable amount of CPU and disk spac - Turn off the 'FULL TEXT SEARCH ON MESSAGE BODIES' in the settings configuration of ServiceControl Management Utility - Modify the [ServiceControl.Audit/EnableFullTextSearchOnBodies](/servicecontrol/audit-instances/configuration.md#performance-tuning-servicecontrol-auditenablefulltextsearchonbodies) setting in the configuration file + +### Disable RavenDB document prefetching + +## Persistently high disk I/O levels on audit instances + +> [!NOTE] +> Starting with ServiceControl Version 6.20.0, prefetching is disabled by default. + +Audit instances with full-text indexing and message expiration enabled, and affected by constant high throughput on the audit queue, might show persistently high disk I/O levels. Some of the I/O is caused by document prefetching to optimize query performance. Considering that, under those premises, there is a disproportionate amount of I/O time dedicated to writes, it is better to disable prefetching by setting the system-wide environment variable `RAVEN_Storage_EnablePrefetching` to `false`. Once set, restart the ServiceControl instances. + +Once instances have been restarted, validate the setting has been applied by going to instance settings -> Database Settings -> Filter by `EnablePrefetching`, the reported value is `false`.