VERITAS Storage Foundation 4.1 Oracle Administrator's Guide

Contents vii
Prerelease 8 September 2005, 8:55am
Chapter 4. Using VERITAS Cached Quick I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Understanding Cached Quick I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
How Cached Quick I/O Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
How Cached Quick I/O Improves Database Performance . . . . . . . . . . . . . . . . . . . . . . . . . 93
Overview of How to Set Up Cached Quick I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Enabling Cached Quick I/O on the File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Enabling and Disabling the qio_cache_enable Flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Making Cached Quick I/O settings persistent across reboots and mounts . . . . . . . . . . . . . 96
Using vxtunefs to Obtain Tuning Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Determining Candidates for Cached Quick I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Collecting I/O Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .99
Analyzing I/O Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Effects of Read-Aheads on I/O Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Using Other Tools for Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Enabling and Disabling Cached Quick I/O for Individual Files . . . . . . . . . . . . . . . . . . . . . . . 102
Setting Cache Advisories for Individual Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Making Individual File Settings for Cached Quick I/O Persistent . . . . . . . . . . . . . . . . . . 103
Determining Individual File Settings for Cached Quick I/O Using qioadmin . . . . . . . . . 104
Chapter 5. Using VERITAS Extension for Oracle Disk Manager . . . . . . . . . . . . . . . . . . . . . 105
Understanding Oracle Disk Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
How Oracle Disk Manager Improves Database Performance . . . . . . . . . . . . . . . . . . . . . 107
Supporting Kernel Asynchronous I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Supporting Direct I/O and Avoiding Double Buffering . . . . . . . . . . . . . . . . . . . . . . . 107
Avoiding Kernel Write Locks on Database Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Supporting Many Concurrent I/Os in One System Call . . . . . . . . . . . . . . . . . . . . . . . 108
Avoiding Duplicate File Opens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Allocating Contiguous Datafiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Oracle Disk Manager and Oracle Managed Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
How Oracle Disk Manager Works with Oracle Managed Files . . . . . . . . . . . . . . . . . . . . 109