Adam Machanic is a Boston-based SQL Server developer, writer, and speaker. He focuses on large-scale data warehouse performance and development, and is author of the award-winning SQL Server monitoring stored procedure, sp_WhoIsActive. Adam has written for numerous web sites and magazines, including SQLblog, Simple Talk, Search SQL Server, SQL Server Professional, CoDe, and VSJ. He has also contributed to several books on SQL Server, including "SQL Server 2008 Internals" (Microsoft Press, 2009) and "Expert SQL Server 2005 Development" (Apress, 2007). Adam regularly speaks at conferences and training events on a variety of SQL Server topics. He is a Microsoft Most Valuable Professional (MVP) for SQL Server, a Microsoft Certified IT Professional (MCITP), and an alumnus of the INETA North American Speakers Bureau.
Are your big queries using every available clock tick, or are they lagging behind? And if your queries are already going parallel, can they be rewritten for even greater speed? In this session you will learn how to take full advantage of parallelism.
Large, complex queries need memory in which to work--workspace memory--and understanding the how's, when's, and why's of this memory can help you create queries that run in seconds rather than minutes.
Attend this session to learn how to take charge of optimization, expertly mold your query plans, and gain a new set of tools for eliminating bottlenecks in even your most complex problem queries.
This is the fourth blog post in the series dedicated to the Tips and Tricks of DML Triggers development.The previous parts can be found here:SQL Server DML Triggers - Tips & Tricks - Part 1 ("Intro" & "Triggers activation order")SQL Server DML Triggers - Tips & Tricks - Part 2 ("Thought ...
I have been recently asked if Always
On supports metadata operations on tables. The operation is add, drop and column
rename. I said that it was possible. However I was informed that during column
rename there was an error about “replication”:Caution: Changing any part
of an object
name could ...
Even with the right indexes in place, spatial queries in SQL Server are often too slow – but they needn’t be. Two of the most commonly found patterns of query in the spatial world are when you’re looking for the nearest thing to where you are (which I’ve written about before), and when you’re ...
Today I was
asked to do a pretty easy thing. The task was to add a filestream support to a
table that already stores some documents. The customer wants to keep the data
outside the database because he uses the SQL Server 2014 Express edition.
According to the MSDN page
there is limitation ...
A few years ago at a conference, a young man approached me and asked if I was ready for my presentation. I squared with him (for emphasis) and replied, “No, sir. In fact, I’m worried about it.” He looked a little stunned and said, “Why?” “I’ve never done this presentation before, I don’t like the ...