Can someone explain what is *lock pages in memory *
Loading
Can someone explain what is *lock pages in memory *
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rajanikant HawaldarPosted Sep 5, 2021, 4:40 PM
Sachin SinghPosted Sep 5, 2021, 2:00 PM
yes, suppose Court (judiciary system) has put someone in prison, but then the jailor let him free. It will create chaos, isn't it? the jailor should not be allowed to let anyone free until granted by the court.
judiciary system = SQL Server
Prison= RAM (Memory)
so, if SQL Server puts some data in RAM then it should remain in the RAM, this is how SQL Server gives you performance, and Windows OS (jailor) shouldn't allow to pull data out from the RAM, so it is better to lock pages (The disk space allocated to a data file (.mdf or .ndf) in a database is logically divided into pages numbered contiguously from 0 to n. Disk I/O operations are performed at the page level.).
To enable the lock pages in the memory option