Lessons Learned from the Trenches: Connectivity and Performance Tips&Tricks
summary
Live debugging uses Visual Studio profiler plus Stopwatch and SQLConnection.Statistics to prove whether slow spots are app code or DB. Azure portal metrics, Query Store and Application Insights pin the offending SQL: an implicit nvarchar→varchar conversion causes a full scan of ~400,000 rows and drops a 900ms average to single-digit ms after fixing the datatype. Connectivity failures are often exhausted pools (default max 100; seen up to 600 concurrent attempts) fixed with proper connection pooling, retry/backoff and clearing pools.
AI-written summary · about
chapters (4)
- 0:00Start
- 1:28Why this session?
- 6:03Scenario 1: Why my Application is running slow? . Based on performance issues caused by data type mismatches • Tools Query Store, Portal and Aur Diagnostics Integration
- 39:23Scenario 2: Why my Application times out?
related talks
49mPerformance Features in SQL Server and Azure SQL
58mFixing poor performance patterns in Azure SQL Database applications
51mPerformance Tuning Azure SQL Database
50mDeveloper Best Practices for Azure SQL : Avoiding common pitfalls when using the Cloud Database
58mAzure SQL Database - Lessons learned from the trenches
01h 06mGet Better App Performance with this One Weird Trick
50mSQL Server to Azure SQL: Performance and Availability
58mTroubleshooting CPU Performance Issue for SQL Developers
