Hi @SQLServerBro,
According to your description, your PAGEIOLATCH_SH and PAGEIOLATCH_EX wait types are many, which can reflect performance.
PAGEIOLATCH_EX
Occurs when a task is waiting on a latch for a buffer that is in an I/O request. The latch request is in Exclusive mode. Long waits may indicate problems with the disk subsystem.
How To Troubleshoot :
- PAGEIOLATCH_EX and PAGEIOLATCH_SH are often reported as high – if so, disk io subsystem will be your first target
- The disk spin rate should not be the focus – but rather the workload. Therefore , for testing – run the workload and monitor disks
- It’s not just slow IO subsystems relative to workload but also overworked IO subsystems that can be the cause.
- General database tuning can help – but a single transaction is defined by : amount\speed of disks , memory amount availability , processor speed.
- Index management
- Differentiate between disk issues and memory issues – after all ,if memory is experiencing pressure – than dealing with incoming data will be slower
- Logical drive profiles – separating random file access with sequential files
PAGEIOLATCH_SH
This wait type accumulates while SQL Server is waiting for a page to be retrieved from disk and loaded into memory. The page collected will be used for a shared purpose (read operation). If this value is high it is likely disk or memory available are not keeping up with the workload
Possible solutions:
- Add additional memory
- Investigate disk latency
- Increase the maximum memory allocation
- Indexing, look for high disk I/O queries
- Enable data page compression if CPU usage is not suffering
Note: It’s normal to see some PAGEIOLATCH_* waits, but if you’re frequently seeing them with wait times consistently above 10 milliseconds and you’re experiencing some type of latency, it suggests that the I/O subsystem is under pressure. Conversely, if you see many brief waits, you may be affected by increased I/O activity.
For more information, please refer to: PAGEIOLATCH_SH and PAGEIOLATCH_EX.
Best regards,
Seeya
If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar queries.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.