Jean Joseph DBA/Developer Contact Info Email: tsqlhelp@gmail.com Blog: https://tsqlhelp.wordpress.com/
I’m a full time employee and independent consultant DBA/Developer I’m a full time employee and independent consultant DBA/Developer. If you or your company do need help on any mentioned below. Please email us at tsqlhelp@gmail.com and we will contact you as soon as possible. Remote DBA Services Database Mirroring Replication Log Shipping Performance Tuning Hardware and configuration problems Query Tuning Patches and Service Packs Health Checks Upgrades and Migrations Backup and Recovery SSIS Turning Datawarehourse
How to Identify Database Performance Issues
Reports are running Slow
SQL Server is typically affected by the following bottlenecks: Locking, blocking, or deadlocking statistics indexes/missing indexes/Duplicate index/Fragmentation parameter sniffing CPU Memory File I/O Network
Demo
APPLICATION IS DOWN WHAT TO DO???
Don’t Panic Instead ask questions
How Many Connections
SQL Server Error Logs SQL Server Agent Logs Windows Event Logs
Developer Application Support Application IT Admins Production DBA
Activity Monitor Jobs Monitor
Performance Tuning I/O distribution Analysis SQL Server Resource Wait Stats Analysis Index Analysis TempDB Space Review Database Files (MDF, NDF) and Log File Inspection Review Hardware configuration
sys.dm_os_sys_memory Database and Index related DMVs: sys.dm_db_partition_stats sys.dm_db_wait_stats--(Azure SQL Database) sys.dm_db_index_operational_stats sys.dm_db_index_physical_stats sys.dm_db_index_usage_stats and sys.dm_db_missing_index_details Execution related DMVs: sys.dm_exec_sessions sys.dm_exec_query_stats sys.dm_exec_connections sys.dm_exec_cached_plans sys.dm_exec_procedure_stats sys.dm_exec_query_memory_grants sys.dm_exec_sql_text sys.dm_exec_text_query_plan sys.dm_exec_requests Transaction related DMVs: sys.dm_tran_session_transactions sys.dm_tran_locks sys.dm_tran_database_transactions sys.dm_tran_active_transactions. RAM related DMVs: sys.dm_os_sys_memory sys.dm_os_buffer_descriptors sys.dm_os_memory_clerks sys.dm_exec_query_memory_grants sys.dm_os_memory_cache_entries sys.dm_os_memory_cache_clock_hands sys.dm_os_memory_cache_counters sys.dm_exec_query_resource_semaphores sys.dm_exec_cached_plans IO related DMVs: sys.dm_io_virtual_file_stats sys.master_files sys.dm_os_wait_stats PAGEIOLATCH_EX PAGEIOLATCH_SH PAGEIOLATCH_UP Processes related DMVs: sys.dm_exec_requests sys.dm_exec_sessions sys.dm_exec_connections sys.sysprocesses CPU related DMVs: sys.dm_os_wait_stats SOS_SCHEDULER_YIELD CXPACKATS sys.dm_os_schedulers sys.dm_exec_query_stats sys.dm_os_ring_buffers wait stats related DMVs: sys.dm_os_wait_stats sys.dm_os_waiting_tasks