SlideShare a Scribd company logo
1 of 5
Tuning for SQL Server
PAGEIOLATCH_EX Wait Types
Confio Software

12/4/2013

1
About SQL Server
PAGEIOLATHCH_EX Wait Types
• In SQL Server, a latch is a short-term lightweight
synchronization object
• Buffer latches including the PAGEIOLATCH_EX wait type
synchronize access to BUF structures and associated pages
in the SQL Server database
• Most frequently occurring buffer latching situation is when
serialization is required on a buffer page
– These buffer latches are not held for the complete period of the
transaction

• PAGEIO latches are a subset of BUF latches
– Used when the buffer and associated data page or the index
page is in the middle of an IO operation

• PAGEIOLATCH wait types are used for disk-to-memory
transfers
12/4/2013

2
PAGEIOLATCH_EX (exclusive mode
page IO latch request)
• When a SQL Server user needs a page that is
not in buffer cache:
– Database must first allocate a buffer page
– Then it puts an exclusive PAGEIOLATCH_EX latch
on the buffer while the page is transferred from
disk to cache
– During this operation, SQL Server puts a
PAGEIOLATCH_EX request on the buffer on behalf
of the user
– After the write to cache is complete, the
PAGEIOLATCH_EX latch is released
12/4/2013

3
Indication of problem with
PAGEIOLATCH_EX waits
• Excessive PAGEIOLATCH_EX waits occur when:
– Data is transferred from disk to memory for
update operations and these transfers take time
to complete

• Excessive PAGEIOLATCH_EX waits may
indicate:
– Disk contention
– Other disk subsystem bottlenecks

12/4/2013

4
With Confio Ignite, You Find Root
Cause of Waits Quickly
• Improve database performance by 65% with
Confio Ignite
– Installs in minutes
– Puts no load on monitored servers
– Identify bottlenecks and root causes of blocks like
these in minutes

Download Ignite trial for free
www.confio.com/freetrial
12/4/2013

5

More Related Content

Viewers also liked

Interfaz base de datos
Interfaz base de datosInterfaz base de datos
Interfaz base de datos
ariandrea
 

Viewers also liked (16)

EO_0317
EO_0317EO_0317
EO_0317
 
Identificadores Graficos
Identificadores GraficosIdentificadores Graficos
Identificadores Graficos
 
Formato neissen
Formato neissenFormato neissen
Formato neissen
 
Consideraciones de discos sql server hardware
Consideraciones de discos sql server hardwareConsideraciones de discos sql server hardware
Consideraciones de discos sql server hardware
 
Microsoft R Server
Microsoft R ServerMicrosoft R Server
Microsoft R Server
 
Servicios cognitivos y su integración
Servicios cognitivos y su integraciónServicios cognitivos y su integración
Servicios cognitivos y su integración
 
Consideraciones de memoria sql server hardware
Consideraciones de memoria sql server hardwareConsideraciones de memoria sql server hardware
Consideraciones de memoria sql server hardware
 
Introduccion a Big Data stack
Introduccion a Big Data stackIntroduccion a Big Data stack
Introduccion a Big Data stack
 
Vistazo a lo nuevo en SQL Server 2016
Vistazo a lo nuevo en SQL Server 2016Vistazo a lo nuevo en SQL Server 2016
Vistazo a lo nuevo en SQL Server 2016
 
Consideraciones de sql server hardware
Consideraciones de sql server hardwareConsideraciones de sql server hardware
Consideraciones de sql server hardware
 
Charla windows 10 para Empresas
Charla windows 10 para EmpresasCharla windows 10 para Empresas
Charla windows 10 para Empresas
 
발표자료
발표자료발표자료
발표자료
 
SQL Server Query Processor
SQL Server Query ProcessorSQL Server Query Processor
SQL Server Query Processor
 
Interfaz base de datos
Interfaz base de datosInterfaz base de datos
Interfaz base de datos
 
Cabildo abierto ETB - presentación Aurelio Suárez
Cabildo abierto ETB - presentación Aurelio SuárezCabildo abierto ETB - presentación Aurelio Suárez
Cabildo abierto ETB - presentación Aurelio Suárez
 
Guía de aprendizaje 5 slideshare
Guía de aprendizaje 5 slideshareGuía de aprendizaje 5 slideshare
Guía de aprendizaje 5 slideshare
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Tuning for SQL Server PAGEIOLATCH_EX Wait Types

  • 1. Tuning for SQL Server PAGEIOLATCH_EX Wait Types Confio Software 12/4/2013 1
  • 2. About SQL Server PAGEIOLATHCH_EX Wait Types • In SQL Server, a latch is a short-term lightweight synchronization object • Buffer latches including the PAGEIOLATCH_EX wait type synchronize access to BUF structures and associated pages in the SQL Server database • Most frequently occurring buffer latching situation is when serialization is required on a buffer page – These buffer latches are not held for the complete period of the transaction • PAGEIO latches are a subset of BUF latches – Used when the buffer and associated data page or the index page is in the middle of an IO operation • PAGEIOLATCH wait types are used for disk-to-memory transfers 12/4/2013 2
  • 3. PAGEIOLATCH_EX (exclusive mode page IO latch request) • When a SQL Server user needs a page that is not in buffer cache: – Database must first allocate a buffer page – Then it puts an exclusive PAGEIOLATCH_EX latch on the buffer while the page is transferred from disk to cache – During this operation, SQL Server puts a PAGEIOLATCH_EX request on the buffer on behalf of the user – After the write to cache is complete, the PAGEIOLATCH_EX latch is released 12/4/2013 3
  • 4. Indication of problem with PAGEIOLATCH_EX waits • Excessive PAGEIOLATCH_EX waits occur when: – Data is transferred from disk to memory for update operations and these transfers take time to complete • Excessive PAGEIOLATCH_EX waits may indicate: – Disk contention – Other disk subsystem bottlenecks 12/4/2013 4
  • 5. With Confio Ignite, You Find Root Cause of Waits Quickly • Improve database performance by 65% with Confio Ignite – Installs in minutes – Puts no load on monitored servers – Identify bottlenecks and root causes of blocks like these in minutes Download Ignite trial for free www.confio.com/freetrial 12/4/2013 5