Improve Oracle Database Performance using Data File Striping
July 25th 2015 Posted at Databases
Comments Off on Improve Oracle Database Performance using Data File Striping
While disk level striping greatly benefits many Oracle databases, Oracle databases require striping at a more granular level. Unless we can stripe in sizes of less than the cylinder size for the disk, the disk will have seek contention as the read-write head moves between the cylinders. In an ideal world, we want to have only a single hot spot on each disk. Carving several hot tablespaces across a small number of disks would create a situation where the roving hot spots would move between the disks, creating an I/O bottleneck whenever two or more hot spots reside on the same spindle. The goal is to have the active Oracle blocks residing on the same cylinder or at worst, closely adjacent cylinders to minimize seek delay on the disk device.
Also, beware that improper file striping may cause collisions when the hot spots converge on a single disk. Striping an application tablespace at the filesystem or Oracle level may create a situation where hot spots migrate across spindles, causing I/O bottlenecks whenever hot spots appear on the same spindle.
If disk cost is not a consideration, each hot application or ERP tablespace should reside entirely on a single spindle. Unfortunately, commercial disks are getting larger every year, and it is very difficult to find small disk devices that contain less than 3 gigabytes of storage. Another problem with all forms of striping is the lack of availability of small disk spindles. Just 10 years ago, the storage disk was considered huge at 1 gigabyte of storage. Today, it is hard to find disks smaller than 8 gigabytes. The larger disks mean that there are fewer disk spindles, and fewer opportunities for striping. Since it is often not possible to isolate ERP tablespaces on separate disks without wasting a huge amount of disk space, the Oracle Administrator must balance active with inactive ERP tablespace across his or her disks.
Although most Oracle DBA associate the striping technique with very large tables, a small, but very active, ERP table will experience relief from bugger busy waits by striping. This technique can be very useful for small ERP reference tables that are simultaneously updated by many transactions. The tables are characterized by a relatively small number of rows with a small row length. Because of the large amount of updating, these tables will experience buffer busy waits, even though the data blocks are already in the database buffer cache.
Therefore, table striping is the best option to avoid physical disk I/O contention as well as it is improving performance bottleneck of your ERP application database.
Author is having 15+ years experience and providing Database Services and, Oracle DBA Interview Questions
Both comments and pings are currently closed.