IBM Americas Advanced Technical Support
© 2011 International Business Machines, Inc.
Page 2
ACKNOWLEDGEMENTS ........................................................................................................................ 5
• DISCLAIMERS ...................................................................................................................................... 5
• TRADEMARKS ..................................................................................................................................... 5
• FEEDBACK .......................................................................................................................................... 6
• VERSION UPDATES .............................................................................................................................. 6
INTRODUCTION........................................................................................................................................ 7
1. ORACLE DATABASE ARCHITECTURE ...................................................................................... 8
1.1. DATABASE STRUCTURE .................................................................................................................. 8
1.1.1. Logical Structure ................................................................................................................... 8
1.1.2. Physical storage structures .................................................................................................. 10
1.2. INSTANCE AND APPLICATION PROCESSES ..................................................................................... 12
1.3. ORACLE MEMO RY STRUCTURES .................................................................................................... 19
2. AIX CONFIGURATION & TUNING FOR ORACLE ................................................................. 22
2.1. OVERVIEW OF THE AIX VIRTUAL MEMORY MANAGER (VMM) .................................................. 22
2.1.1. Real-Memory Management .................................................................................................. 22
2.1.2. Persistent versus Working Segments ................................................................................... 23
2.1.3. Computational versus File Memory..................................................................................... 25
2.1.4. Page Replacement ................................................................................................................ 25
2.2. MEMORY AND PAGING .................................................................................................................. 27
2.2.1. AIX 6.1 and 7.1 Restricted Tunables concept ...................................................................... 27
2.2.2. AIX free memory .................................................................................................................. 27
2.2.3. AIX file system cache size .................................................................................................... 28
2.2.4. Allocating sufficient paging space ....................................................................................... 32
2.2.5. AIX Multi-page size support for Oracle & SGA Pinning .................................................... 32
2.2.6. AIX 1TB Segment Aliasing ................................................................................................... 35
2.2.7. AIX Kernel Memory Pinning ............................................................................................... 37
2.2.8. AIX Enhanced Memory Affinity ........................................................................................... 38
2.3. I/O CONFIGURATION ..................................................................................................................... 42
2.3.1. AIX LVM - Volume Groups .................................................................................................. 42
2.3.2. AIX LVM - Logical Volumes ................................................................................................ 42
2.3.3. AIX sequential read ahead ................................................................................................... 44
2.3.4. I/O Buffer Tuning ................................................................................................................. 45
2.3.5. Disk I/O Tuning.................................................................................................................... 47
2.3.6. Disk I/O Pacing.................................................................................................................... 54
2.3.7. Asynchronous I/O................................................................................................................. 55
2.3.8. JFS2 file system DIO/CIO mount options ............................................................................ 58
2.3.9. Oracle ASM & AIX Considerations ..................................................................................... 61
2.4. CPU TUNING ................................................................................................................................ 65
2.4.1. Simultaneous Multi-Threading (SMT) ................................................................................. 66
2.4.2. Logical Partitioning ............................................................................................................. 67
2.4.3. Micro-Partitioning ............................................................................................................... 67
2.4.4. Virtual Processor Folding ................................................................................................... 69
2.5. NETWORK TUNING ........................................................................................................................ 71
评论