Skip to content

Commit 385c103

Browse files
Document how to disable prefetching
1 parent ec17afb commit 385c103

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎servicecontrol/servicecontrol-instances/hardware.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,11 @@ Updating the full-text index requires a considerable amount of CPU and disk spac
9292

9393
- Turn off the 'FULL TEXT SEARCH ON MESSAGE BODIES' in the settings configuration of ServiceControl Management Utility
9494
- Modify the [ServiceControl.Audit/EnableFullTextSearchOnBodies](/servicecontrol/audit-instances/configuration.md#performance-tuning-servicecontrol-auditenablefulltextsearchonbodies) setting in the configuration file
95+
96+
### Disable RavenDB document prefetching
97+
98+
## Persistently high disk I/O levels on audit instances
99+
100+
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.
101+
102+
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`.

0 commit comments

Comments
 (0)