Hi @Rabia Kurnaz ,
A latch is a lightweight synchronization object used by the Storage Engine of SQL Server to protect internal memory structures that can’t be accessed in a true multi-threaded fashion. In the first part of the blog posting I will talk about why there is a need for latches in SQL Server, and in the second part I will introduce various latch types to you, and how you can troubleshoot them.
For more details, please see:
https://www.watelectronics.com/what-is-a-latch-different-types-and-their-applications/
https://www.sqlpassion.at/archive/2014/06/23/introduction-to-latches-in-sql-server/#:~:text=A%20latch%20is%20a%20lightweight%20synchronization%20object%20used,can%E2%80%99t%20be%20accessed%20in%20a%20true%20multi-threaded%20fashion.
Best regards
Niko
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".