When striving for an effective SQL Server, understanding the crucial storage metrics is paramount. Latency, measuring data access delay; IOPS, indicating input/output operations per second; and Throughput, assessing data transfer rate, significantly impact performance.

Moreover, implementing the appropriate RAID level offers data redundancy, fault tolerance, and improved read/write speeds to optimize database storage.

The time it takes for an I/O to complete (How long it takes an operation to finish measured in milliseconds).

Measurement starts when the OS sends a request to the drive (or controller) and ends when the drive finishes processing the request.

Metrics:

Latency is not only measure of performance, SQL Server workload must also be checked as it differs from other server load.

Monitor Performance:

> Physical Disk: Avg. Disk Sec/Transfer

> Physical Disk: Avg. Disk Sec/Read

> Physical Disk: Avg. Disk Sec/Write


Input/Output Operations per Second - is the number of read or write operations per second.

IOPS = queue depth / latency

Monitor Performance:

> Physical Disk: Disk Transfer/Sec

> Physical Disk: Disk Write/Sec

> Physical Disk: Disk Read/Sec

Measure of data volume over time, usually measured in MB/sec or GB/sec (also known as BANDWIDTH)

Sequential Throughput uses the following:

Monitor Performance:

> Physical Disk: Disk Bytes/Sec

> Physical Disk: Disk Write Bytes/Sec

> Physical Disk: Disk Read Bytes/Sec

Redundant Array of Independent/Inexpensive Disk. 

This provides a mechanism by which we can bind together as array of disk and expose them as single logical drive known as LUN.

Common RAID levels:


This is known as NTFS cluster size.

For SQL Server a 64KB allocation unit size should be used to match the size of a single extent.

Default size =4KB

RAID 0 - performance matter more than data loss disk .

Pros:

Cons:

RAID 1 - important data that requires redundancy to protect from disk failures.

        Pros:

Cons:

RAID 5- Where reads exceed writes, data files.

        Pros:

Cons:

RAID 10 or 1+0 - Transaction log files, heavy write data files. And, redundancy is more important than cost.

Pros:

Cons:

Other RAID:

RAID 6 - similar to RAID 5 but provides double parity disks to fail and the array remains available.

RAID 50, RAID 100, etc - Specialized RAID configuration that stripe other RAID levels to increase performance.

Is any high performance network whose primary purpose is to enable storage device to communicate with computer systems.

Advantages:

> Reduces management by making it easier to create new volume and dynamically allocate storage.

> Create diskless servers that boot from SAN only.

> Mirroring, snapshots, continous data protection, clustering and geo-clustering only offered by SANs

> Improve performance, almost unlimited number of spindles, controllers, and cache can be put together to meet the requirements.

Disadvantages:

PCI Bus > HBA > FC Switch > FC Ports > Array processor > Disk

> FC now 16Gb/s max

>iSCI 10Gb/s max

> Note: 1 Gb/s = 128MB/s