Training for SQL Server, has following scenario:
SQL Server on Azure VM, DS-series machine, it has 32 GB of RAM
Server has below performance conditions:
- very high PAGELATCH_IO waits
- average Page Life Expectancy is 30
- nothing else is known
What should be done in order to decrease PAGELATCH_IO waits ?
Choose correct answer (need to pick just one):
- Add more tempdb files
- Enable large-page support
- Enable lock pages in memory
- Configure buffer pool extensions
Training says that the correct answer is 1) add more tempdb files
I think correct answer is 4) Configure buffer pool extensions
, based on:
- PLE is a number of seconds a page will stay in the buffer pool without removing
- PLE = 30 is too low, means high turnover in the buffer pool
- DS-series support Premium SSD drives, can place buffer pool extension on Premium SSD
But could be also this 3) Enable lock pages in memory
based on this
https://sqlperformance.com/2014/06/io-subsystem/knee-jerk-waits-pageiolatch-sh
Who is right - me, Training material, or you (your option) ?
By the way, not sure what they mean under PAGELATCH_IO, that could be PAGEIOLATCH or PAGELATCH, I guess answer depends on exactly which type we have