
A short opinion piece identifying a classic warning sign of a problematic SQL query: an inline comment changelog listing dates and author initials. The author argues this pattern signals technical debt, lack of proper change control, copy-paste-driven development, and a codebase nobody dares to refactor. The post uses the T-SQL Tuesday #200 prompt (signs a query is going to be bad) as its framing, and ends on an optimistic note that teams stuck in these patterns are often secretly ready for change.
Nguồn: https://www.brentozar.com/archive/2026/07/i-know-a-querys-gonna-be-bad-when-tsql2sday. 8sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
Cloud-native adoption over the past decade created real velocity but also accumulated significant operational debt. Each added layer — service meshes, GitOps controllers, policy engines, custom resources — was individually defensible but collectively produced systems that only platform teams can navigate. The result is developers filing tickets instead of shipping features. The argument here is that 2026's real work is paying down that debt by deleting components, consolidating tools, and treating complexity as a budget with a hard limit rather than a free resource. The teams that will thrive are those willing to remove what no longer earns its operational cost, even without a launch announcement or keynote to show for it.
Kỹ thuật phần mềm đang trải qua sự chuyển dịch trừu tượng nhờ AI, tương tự như bước chuyển từ mã máy sang ngôn ngữ bậc cao trước đây. Khác với những trừu tượng xác định trước, mã do AI sinh ra mang tính phi tất định và đòi hỏi xác minh chủ động. Theo tài liệu SDLC của Google, mô hình AI chỉ chiếm ~10% trong hệ thống AI — phần còn lại là khung phụ trợ (prompts, tools, evals, guardrails) quyết định hành vi thực tế. Chi phí triển khai giờ đây chuyển từ viết mã sang xem xét, gỡ lỗi và bảo mật. Kiểm định trở thành lĩnh vực kỹ thuật quan trọng hàng đầu, còn các biện pháp bảo vệ phải được nhúng ngay từ giai đoạn tiền xử lý thay vì chỉ áp dụng sau khi sinh ra mã. Các loại nợ kỹ thuật mới xuất hiện như nợ đặc tả, nợ đánh giá và nợ quản trị. Pipeline kỹ sư mới vào nghề bị đe dọa khi các tác vụ triển khai cấp độ junior bị tự động hóa. Kỹ sư ngày càng thiết kế hệ thống sản sinh phần mềm thay vì trực tiếp viết mã, và trách nhiệm với mã do AI sinh ra không thể ủy thác cho bất kỳ bên nào.
Lập trình viên nên đọc bài này để hiểu cách AI không chỉ thay đổi cách viết mã mà còn thay đổi bản chất của quá trình phát triển phần mềm, từ việc tập trung vào việc kiểm chứng và bảo vệ hệ thống hơn là tự viết mã trực tiếp.
A Q&A video session recorded at Iceland's Jökulsárlón glacier lagoon where Brent Ozar answers top-voted SQL Server questions. Topics include improving missing index suggestions, the relevance of MSSQL blogs in the AI era, diagnosing threadpool vs SOS_SCHEDULER_YIELD issues, SQL Server gameday disaster scenarios, reporting bugs to Microsoft, DBA outage training labs, sp_blitzcache in high-RAM-churn Azure environments, and whether on-call is standard for database professionals.
Lời khuyên phổ biến về việc ưu tiên dùng AddRange() thay cho Add() trong vòng lặp vì hiệu năng trong EF Core thực chất là quan niệm sai lầm từ EF6, vì cả hai phương thức này đều có hiệu năng tương đương. Vấn đề thực sự nằm ở việc gọi SaveChanges() trong vòng lặp hoặc truy cập các thuộc tính ChangeTracker trong mỗi lần lặp, gây tốn kém hiệu năng. AddRange chỉ thực sự hữu ích khi xử lý số lượng hàng lớn hoặc schema phức tạp, chứ không phải để thay thế Add() trong trường hợp thông thường.
Lập trình viên nên đọc bài này để tránh nhầm lẫn về hiệu suất giữa Add() và AddRange() trong EF Core, và học cách tối ưu thực sự với các pattern như gọi SaveChanges() một lần sau vòng lặp thay vì mỗi lần, để tránh mất hiệu năng từ nhiều vòng lặp database.

Brent Ozar explains why enrollment for his live SQL Server Mastering classes closes on July 12th. The change is driven by a structured rotation system designed to ensure students take classes in the correct order, preventing newer students from jumping into advanced material before completing prerequisites. The first rotation runs from July through October, covering Fundamentals, Index Tuning, Query Tuning, and Server Tuning. Season Pass holders get access to recordings and the next rotation if they miss sessions.

SQL Server Management Studio 22.7 introduced a built-in T-SQL query formatter accessible via right-click or the Ctrl+K, Ctrl+Q shortcut. The formatter is highly configurable through Tools > Options > SQL Formatter, with extensive control over newline placement and other style preferences. Settings can be exported as JSON to share with teammates. Users can update to the latest SSMS via Help > Check for Updates.
Technical due diligence has evolved from an optional engineering review into a strategic business requirement for acquisitions, investments, and AI transformation programs. A structured assessment covers 12 phases: business-technology alignment, architecture review, code quality, technical debt, cloud infrastructure, DevOps maturity, security, AI readiness, data architecture, engineering team evaluation, product delivery processes, and an executive risk report. Common red flags include excessive technical debt, outdated frameworks, weak cybersecurity, undocumented systems, and AI initiatives without governance. The post also promotes ISHIR's technical and AI due diligence consulting services.

Monthly job board post for database professionals, hosted on Brent Ozar's blog. Companies hiring for data-related roles can post job listings in the comments, including job title, location, remote/visa status, and application details. Recruiting firms and job boards are excluded — only direct employers may post.