DB6: How to deactivate file system caching in V9.5
[91 v9.5] [buffered] [caching] [cio] [deactivate] [dio] [file] [I/O] [skydriverxp v9.5] [system] [v9.5]
Related:
- Performance problem with MaxDB 7.7: High CPU system loadSymptom After you update your SAP MaxDB instance to Version...
- DB6: Installation of FixPaks for DB2 V9.5 (Windows)Symptom This note relates to installing FixPaks for DB2 V9.5...
- 640PC Edition May 2008:Installation IBM DB2 on z/OSSymptom This SAP Note is valid for the following releases:...
Symptom
You want to deactivate file system buffered I/O on DB2 objects.
Other terms
file system caching, file system buffered I/O, dio, cio
Reason and Prerequisites
DB2 has own buffer pools in memory. When file system buffered I/O is used for table spaces, a page might be buffered on both DB2 buffer and OS file system buffer. Duplicate buffering consumes additional CPU and memory resources unnecessarily and it may lead to non-optimal I/O performance due to resource bottlenecks.
Data on file system buffer might be lost in case the operating system terminates abnormally. Therefore, log files are recommended not to be buffered at a file system buffer level, but should be read/written directly from/to disks.
Solution
In order to deactivate file system buffered I/O, implement the following:
1. DMS/SMS table spaces in file systems
- set the “FILE SYSTEM CACHING = NO” attribute for all table spaces by
“ALTER TABLESPACE