Showing posts with label Linux Performance Tuning. Show all posts
Showing posts with label Linux Performance Tuning. Show all posts

Managing OS Statistics On Oracle Database Server

Operating system performance issues commonly involve process management, memory management, scheduling and storage management. 


Many times we get into the performance issue if we don't follow the common Oracle best practice like system parameters, improper swap allocation, hard/soft limit, not configuring hugepages wherever it requires.

If you have tuned the Oracle database instance and still need to improve performance, tune the OS, network and storage part.


Well, here we have given some of the basic statistics management which can help to boost the performance in your environment.

CPU Statistics: 

  • Doesn't exceed 95% in total
  • Check DB share on CPU 

Virtual Memory Statistics: 

  • Validate that memory usage does not increase after the system has reached a steady state after startup

Disk I/O Statistics: 

  • Current response time should be between 5 to 20 ms for a single block IO the length of the disk queues shouldn't exceed two

Network Statistics: 

  • Look at the network round-trip ping time and the number of collisions
  • Investigate it, if the network is causing large delays in response time

Reducing Disk Contention: 

  • Increase the number of disks in the storage system 
  • Separate the database and the redo log files 
  • For a large table, use partitions to reduce I/O 
  • Stripe the data either manually or by using a RAID disk-striping system 
  • Invest in cutting-edge technology, such as file caching, to avoid I/O bottlenecks 
  • Consider using ASM 

Linux Server Performance Analyzer Utilities

If there is any Linux performance issue we mostly go to Google and find commands to analyze the performance but multiple time it's difficult to find it when we required some specific details so, we have tried here to place all the Linux performance utility which can help you to analyze the Linux server performance.

There are multiple utilities available to analyse Linux server. Which includes CPUs, Memory, I/O, disk, network analysis.


UtilityDiscription
free Displays free and used memory.
iostat Displays disk I/O statistics.
netstat Reports on network statistics.
mpstat Reports CPU statistics.
vmstat Monitors processes, CPU, memory, or disk I/O bottlenecks.
ps Identifies highest CPU- and memory-consuming sessions. Used to identify Oracle
sar Displays CPU, memory, disk I/O, and network usage, both current and historical
top Identifies sessions consuming the most resources.
watch Periodically runs another command.
du Displays disk usage.
df Reports on free disk space.

                                              How to calculate IOPS in Exadata ?