Best AIX settings for Oracle Database on AIX (AIX) are focused on tuning CPU, memory, I/O, network, and virtualization layers so Oracle runs efficiently on IBM Power Systems. These settings are widely used in production environments for performance-critical workloads.
Below is a practical βgold-standardβ tuning guide.
π§ 1. Memory Tuning (Most Important)
β vmo settings (Virtual Memory Manager)
Key parameters:
-
lru_file_repage = 0
β Prevents file cache from stealing Oracle SGA memory
-
minperm% β ~3β5
-
maxperm% β ~90 (tuned per workload)
-
maxclient% β tuned based on file system usage
π Goal: protect Oracle memory from OS file cache pressure.
β Large Pages (Critical for Oracle SGA)
-
Enable large pages:
-
Reduces TLB misses
-
Improves SGA performance
π Especially important for large Oracle databases.
βοΈ 2. CPU and Scheduling Settings
-
Avoid CPU overcommit in LPARs
-
Use dedicated or well-controlled shared processor pools
With IBM PowerVM:
-
Assign fixed CPU entitlements for Oracle LPARs
-
Monitor dispatch latency
π Goal: consistent CPU availability for database workloads.
πΎ 3. I/O and Storage Tuning
β ioo settings (I/O subsystem)
-
Tune disk queue depth
-
Optimize read-ahead:
-
Enable JFS2 optimizations
β Storage best practices:
-
Separate:
-
Datafiles
-
Redo logs
-
Archive logs
π Reduces contention and improves throughput.
π¦ 4. File System Settings (JFS2)
Recommended:
-
noatime β reduces write overhead
-
Use striped logical volumes
-
Use multiple disk paths (MPIO)
π Improves Oracle I/O performance significantly.
π 5. Process and Kernel Limits
For Oracle user:
-
ulimit -n β high open file limit (e.g., 65536+)
-
ulimit -u β sufficient processes
-
Shared memory:
-
Large enough for SGA
-
Proper semaphore settings
π Prevents Oracle resource errors.
π 6. Network Tuning
-
Increase TCP buffer sizes:
-
tcp_sendspace
-
tcp_recvspace
-
Enable modern TCP optimizations
π Improves client/server Oracle response time.
π 7. Virtualization Optimization
With IBM PowerVM:
-
Avoid CPU contention between LPARs
-
Use shared processor pools carefully
-
Monitor entitlement vs usage
π Ensures Oracle is not starved of resources.
π 8. Monitoring Tools (Must-Have)
AIX tools:
-
nmon β full system view
-
topas β real-time CPU/memory
-
vmstat β paging behavior
-
iostat β disk latency
Oracle tools:
-
AWR (Automatic Workload Repository)
-
ASH (Active Session History)
π Continuous tuning is essential.
π 9. High Availability Settings
With IBM PowerHA:
-
Synchronize OS settings across cluster nodes
-
Ensure identical storage and mount configurations
-
Configure fast failover for Oracle services
π Maintains performance consistency during failover.
π§© 10. Recommended βBaseline Production Profileβ
A typical optimized Oracle-on-AIX setup includes:
-
Large pages enabled
-
lru_file_repage=0
-
Dedicated Oracle LPAR
-
Separate disk groups for data/logs/temp
-
High
ulimit values
-
Tuned TCP buffers
-
Controlled CPU entitlement
π This is the standard enterprise baseline.
π Real-World Example
A global bank running Oracle on AIX:
-
16 POWER cores dedicated via PowerVM
-
512 GB RAM with large pages
-
JFS2 file systems split by workload
-
MPIO SAN storage
-
PowerHA cluster for failover
π Result:
-
Low latency transactions
-
Stable performance under peak load
-
Zero unplanned downtime
π Bottom Line
Best AIX settings for Oracle DB focus on:
-
π§ Memory protection and large pages
-
βοΈ CPU isolation and scheduling control
-
πΎ Optimized I/O and storage layout
-
π Network tuning for client performance
-
π Virtualization efficiency (PowerVM)
-
π Continuous monitoring and adjustment