VERITAS Storage Foundation 4.1 Oracle Administrator's Guide

Prerelease 8 September 2005, 8:55am
vi VERITAS Storage Foundation for Oracle Administrator’s Guide
Controlling Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Types of Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Monitoring Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Defragmenting a File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Resizing a File System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Resizing a File System and the Underlying Volume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Growing a File System Automatically Using VxDBA Monitoring Agent . . . . . . . . . . . . 64
Chapter 3. Using VERITAS Quick I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Understanding Quick I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
How Quick I/O Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
How Quick I/O Improves Database Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Supporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Supporting Direct I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Avoiding Kernel Write Locks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Avoiding Double Buffering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Quick I/O Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Preallocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Naming Convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
How to Set Up Quick I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Creating Database Files as Quick I/O Files Using qiomkfile . . . . . . . . . . . . . . . . . . . . . . . . . 70
Preallocating Space for Quick I/O Files Using the setext Command . . . . . . . . . . . . . . . . . . . 72
Accessing Regular VxFS Files as Quick I/O Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Converting Oracle Files to Quick I/O Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Understanding Sparse Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
Handling Oracle Temporary Tablespaces and Quick I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Displaying Quick I/O Status and File Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Extending a Quick I/O File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Using Oracle’s AUTOEXTEND With Quick I/O Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Disabling Quick I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90