Recompile Monitoring using XEvents
How recompiles can hurt you, and how you can hunt them down using sql_statement_recompile.
2016-03-07
34 reads
How recompiles can hurt you, and how you can hunt them down using sql_statement_recompile.
2016-03-07
34 reads
What servers need the most attention when it comes to I/O? When I increase the memory on a server what...
2016-02-29
940 reads
What servers need the most attention when it comes to I/O? When I increase the memory on a server what effect does it have on I/O? What was it...
2016-02-29
25 reads
Database servers have to wait on different resources, and these waits are huge to the performance of SQL Server. Sometimes...
2016-02-22
692 reads
Database servers have to wait on different resources, and these waits are huge to the performance of SQL Server. Sometimes something changes without our knowledge and is running differently...
2016-02-22
28 reads
Files in SQL Server need to grow as the database grows, and in very specific circumstances need to be shrunk...
2016-02-15
1,291 reads
When should you shrink your log files and what does it mean to performance?
2016-02-15
137 reads
Virtual Log Files (VLFs) split a physical database log file into smaller segments, which are required for how log files...
2016-02-08
802 reads
Transaction logs are split into VLFs which affects performance. How large are yours and what does that mean for you?
2016-02-08
93 reads
I see TempDB using more memory than I feel it should and found a way to resolve it. Previously I...
2016-02-05 (first published: 2016-02-01)
2,756 reads
By Arun Sirpal
“What exactly did it do on my server?” is the first question a DBA...
By James Serra
Microsoft shared a broad set of Fabric, Power BI, and SQL updates at FabCon...
By Steve Jones
No, I’m not quitting or retiring. Just going on vacation, but I leave tonight...
Comments posted to this topic are about the item Let's Talk Certifications, which is...
Comments posted to this topic are about the item The Hidden Security Risks of...
Comments posted to this topic are about the item The Empty Aggregate
I have this table in a SQL Server 2025 database:
CREATE TABLE [dbo].[CustomerOrder] ( [OrderID] [int] NULL, [CustomerID] [int] NULL, [total] [money] NULL ) ON [PRIMARY] GOWhat is returned from this code? (answers are for the sum and then the count)
SELECT SUM(total) AS sum,
COUNT(total) AS count
FROM dbo.CustomerOrder;
See possible answers