<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[TechVidya Aim]]></title><description><![CDATA[TechVidya Aim is a professional learning platform focused on SQL Server, AI automation, and digital transformation. We share practical tutorials, performance tuning insights, and intelligent workflows to help IT professionals grow smarter.]]></description><link>https://techvidyaaim.hashnode.dev</link><image><url>https://cdn.hashnode.com/uploads/logos/6a919dd77beb857ef4ede901/bad00472-904e-439f-8b62-73e0ac0bd442.png</url><title>TechVidya Aim</title><link>https://techvidyaaim.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Mon, 31 Aug 2026 12:56:27 GMT</lastBuildDate><atom:link href="https://techvidyaaim.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Sql Server Performance Tuning]]></title><description><![CDATA[🚨 Your SQL Server is slow. What do you check FIRST?
Most developers immediately say: ❌ “Create an index.” ❌ “Increase RAM.” ❌ “Restart SQL Server.” ❌ “Rebuild all indexes.”
But as a DBA, I would ask ]]></description><link>https://techvidyaaim.hashnode.dev/sql-server-performance-tuning</link><guid isPermaLink="true">https://techvidyaaim.hashnode.dev/sql-server-performance-tuning</guid><category><![CDATA[# sqlserver]]></category><category><![CDATA[SQLServerDBA]]></category><category><![CDATA[SQLServer #SQLServerDBA #PerformanceTuning #DatabasePerformance #SQLPerformance #QueryOptimization #DatabaseAdministrator #SQLDeveloper #ExecutionPlan #QueryStore #DatabaseOptimization #MicrosoftSQLServer #DataEngineering]]></category><category><![CDATA[DatabasePerformance]]></category><category><![CDATA[database performance]]></category><category><![CDATA[execution plan]]></category><category><![CDATA[querystore]]></category><category><![CDATA[Database Optimization,]]></category><category><![CDATA[Database Administrator]]></category><category><![CDATA[MicrosoftSQLServer]]></category><category><![CDATA[data-engineering]]></category><dc:creator><![CDATA[Tech Vidya]]></dc:creator><pubDate>Fri, 28 Aug 2026 05:00:00 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6a919dd77beb857ef4ede901/607bbbe8-8e68-4dea-a229-b9859da2daa0.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>🚨 Your SQL Server is slow. What do you check FIRST?</strong></p>
<p>Most developers immediately say: ❌ “Create an index.” ❌ “Increase RAM.” ❌ “Restart SQL Server.” ❌ “Rebuild all indexes.”</p>
<p>But as a DBA, I would ask a different question: 👉 What is the evidence telling us? Because SQL Server Performance Tuning ≠ Index Tuning.</p>
<p>It is a systematic process:</p>
<p>🔎 1. Identify the Problem What exactly is slow — query, SP, database, or server?</p>
<p>📊 2. Establish a Baseline Check CPU, duration, logical reads, physical reads and waits.</p>
<p>🖥️ 3. Check Server Health CPU → Memory → Disk I/O → TempDB → Transaction Log</p>
<p>⏳ 4. Analyze Waits &amp; Blocking LCK_M_* → Blocking PAGEIOLATCH_* → I/O WRITELOG → Log I/O RESOURCE_SEMAPHORE → Memory Grants 🔍 5. Find Top Queries Use Query Store + DMVs to identify the real offenders.</p>
<p>📈 6. Read the Actual Execution Plan Look for: • Scans vs Seeks<br />• Key Lookups<br />• Bad cardinality estimates<br />• Sorts / Hashes • Spills<br />• Implicit conversions<br />• Parallelism</p>
<p>🎯 7. Find the Root Cause Possible causes: ➡️ Missing/incorrect indexes<br />➡️ Outdated statistics<br />➡️ Parameter sniffing ➡️ Non-SARGable predicates<br />➡️ Blocking/locking<br />➡️ TempDB bottlenecks ➡️ Poor query design</p>
<p>🛠️ 8. Apply the RIGHT Fix Not every slow query needs an index. Sometimes the solution is: ✅ Query rewrite<br />✅ Better index design<br />✅ Statistics update ✅ Parameter-sniffing fix ✅ Blocking resolution ✅ Schema/design improvement</p>
<p>📉 9. Validate the Result Always compare: Before → After CPU ↓ Duration ↓ Logical Reads ↓ Wait Time ↓ 🔄 10. Monitor Continuously A query that is fast today can become slow tomorrow because data, workload and execution plans change.</p>
<p>🔥 DBA Golden Rule Don't tune what you THINK is slow. Tune what the EVIDENCE proves is slow.</p>
]]></content:encoded></item></channel></rss>