sábado, 13 de agosto de 2011

Wait Stats in SQL Server

When you are optimizing a SQL Server installation you must look at the Wait Stats in SQL Server and the easier way to check them is using the following DMVs  sys.dm_os_waiting_tasks, sys.dm_exec_requests and sys.dm_os_wait_stats.

The sys.dm_os_wait_stats contains aggregated information about wait statistics for SQL Server, you must be aware that these wait statistics are aggregated at the server level, and there is no detail level available in this DMV. The following scripts queries this DMV.

SELECT *
FROM sys.dm_os_wait_stats
ORDER BY wait_time_ms DESC

image

The previous query returns the all waits with an accumulated wait time expressed in milliseconds. Because these wait stats are cumulative since the SQL Server service started to run, one way to clear these counters is to execute the DBCC SQLPERF(“sys.dm_os_wait_stats”,CLEAR) and from this point SQL Server begins to accumulate the wait stats again.

Best Regards,

Eduardo Castro

Microsoft SQL Server MVP

http://tiny.cc/comwindows

martes, 9 de agosto de 2011

Video de Overview de SQL Server Denali

Les comparto este video de introducción  a las principales características de SQL Server Denali http://www.youtube.com/watch?v=VQEgKHf5_kU

 

 

Saludos,

 

Ing. Eduardo Castro Martínez

domingo, 7 de agosto de 2011

Screencast Introducción al desarrollo con SQL Azure y Windows Azure

Les comparto este screencast en el cual vemos el desarrollo de bases de datos en la nube con SQL Azure http://www.youtube.com/watch?v=D_C5NCsjt0k

 

 

Saludos,

 

Ing. Eduardo Castro Martinez

sábado, 6 de agosto de 2011

Arquitectura de Aplicaciones con SQL Azure

Les comparto esta presentación que utilicé en la charla sobre desarrollo de aplicaciones en la nube con SQL Azure

 

Saludos,

Eduardo Castro Martinez