Script to Check log reuse wait type in sql serverKunal RanpuraJan 12, 20201 min read --Find log_reuse_wait_desc wait type for the database: DB_Nameselect log_reuse_wait_desc from sys.databases where name='DB_Name'
Find Missing Indexes using Query StoreSELECT SUM (qrs.count_executions) * AVG (qrs.avg_logical_io_reads) as est_logical_reads, SUM (qrs.count_executions) AS...
SQL Server Find Missing Index using Query Store--Query to find missing index from query store, from last 30days usage SELECT TOP 20 qsq.query_id, SUM(qrs.count_executions) *...
SQL Server Profiler Trace--Import multiple trace file in sql Table. --All the rollover files will be automatically imported --provide number tracefile to capture...
Comments