Have you ever looked at some tsql code and thought--How does even run? I know I have and it can be daunting to take a piece of code and review it for performance or to make a change to it. I enlist the help of Jen McCown from the MidnightDBA team to discuss approaches to unraveling code. We tackle the issues of nested views, documentation, formatting, Hungarian Notation, and visualizing how all the code pieces fit together.
At the end of the day, we just want our code to be understandable and usable for the next person who has to review it, because that next person just might be you. :)
Get the show notes for today's episode at
Episode 44 takes us into a new service in the Microsoft cloud--Azure SQL Data Warehouse. While still in preview, the Azure SQL Data Warehouse looks to help level the playing field for organizations that want to analyze their data without the expense of creating a data warehouse. Sound a bit counter intuitive? Check out this episode to find what the service is all about and what the future of data processing might look like.
Why is ETL so hard? All we want to do is move data from system A to system B. Perhaps that is the problem, says my guest Rafael Salas, and more time should be given to thinking about the architecture of the system. With our thoughts turned to SSIS, we discuss this idea in today's episode.
The show notes for today's episode can be found at
How did that get changed--do you ever get that question? In this episode I talk with Brad McKuhen about how you would answer that and how you might need more than just enabling the auditing feature in SQL Server. If you are willing to be a bit proactive and do some testing, you might be able to give an answer to that question instead of the same old shoulder shrug.
Check out the shownotes for today's episode at
Compañeros, you know good care and feeding of your indexes is
VITAL to a healthy database. In this episode of the SQL Data
Partners Podcast, I talk to Sean McCown about the best practices
for index maintenance and how those guidelines are now part of his
The show notes for today's episode are available at
In this episode of the SQL Data Partners Podcast I chat with Jason Brimhall, about SQL Server compression and his experience with it. He also answers your compression questions: Why is it a bad idea to compress everything in your database and how does compression work?
You can check out the show notes for today's episode at. Have a good week and I'll see you on the SQL trail.
Today on the SQL Trail I talk with Richie Rump, the podcaster, blogger, and now new hire at Brent Ozar. He and I discuss measuring query performance, using SET STATISTICS, and the story behind his Statistics Parser application. He also talks about navigating the space between developer and DBA.
The show notes for today's episode are at
Compañeros! You heard rumblings about how awesome SQL Server 2016 is, right? I talk with Rick Heiges about the wins he's seen for his clients using SQL Server 2016, including how one client's move from a large Oracle rack to SQL Server garnered them huge improvements in query performance.
Show notes for today's episode are available at
In this episode of the SQL Data Partners podcast I sit with Patrick LeBlanc during SQL Saturday RVA. We chat about Microsoft PowerBI. PowerBI is a business intelligence tool that easily connects disparate data sources to create dashboards and I was interested to get his thoughts on how this would affect the data professional. Patrick answers my questions about the application and also explains why he thinks that PowerBI has grown in popularity so quickly.
The shownotes for today's episode are found at
You can host SQL Server on Azure Virtual Machines in a variety of configurations, ranging from a single database server to a multi-machine configuration. In this episode of the SQL Data Partners Podcast I chat with Luis Vargas, program manager for virtual machines, about why organization might consider a virtual machine with SQL Server already provisioned and other virtual machine considerations.
The show notes are available at
On Episode 35 of The SQL Data Partners Podcast, I talk with Philip Morgan of The Positioning Manual for Technical Firms. Philip’s book has influenced my work at SQL Data Partners, so I wanted to bring him on and share his insights with the rest of you on the SQL Trail. Philip and I talk about positioning as a tool to create more value through a narrowed focus. Philip discusses how to apply positioning to your SQL Career, even if you’re a W2 employee. Philip and I go over three ways to narrow your focus and how it affects the direction of your career. I also ask him about how to turn unwanted work assignments to your advantage using the leverage grained from positioning.
Get the shownotes at
Hello, compañeros! You’ve heard of Hekaton and in-memory tables before, but what does in memory really mean for your database? Perhaps you have questions like I did, like how does in memory OLTP differ from disk-based tables? What data types aren’t allowed in in-memory tables? Is in-memory only an “on premises” feature or does Hekaton work in Azure too? Is there a minimum amount of memory required for in-memory tables?
In Episode 34 of the SQL Data Partners Podcast, we’re going to talk about in-memory OLTP and in-memory tables with Jos De Bruijn. Jos is a Program Manager at Microsoft for SQL Server In-memory OLTP. We sit with Jos and we explore how in-memory tables work and why they’re just as durable as traditional disk-bound tables. He lays out the whole process. Jos also answers common DBA concerns about them and discusses how to make them efficient. Jos reveals the SQL Server 2016 features that affect in-memory OLTP.
As always, you can catch the show notes for today's episode at
Many developers will make the transition to the DBA role and in this episode I chat with Amy Herold about making that very move. Amy started as a C#/.NET developer and moved into the database world as an “accidental” DBA.
Amy shares her tips and stories from the trenches, including:
You can get the links and show notes at. Have fun on the SQL trail.
PowerShell, isn't that a Windows Administration tool? This is certainly how it is positioned by Microsoft, but why should the DBA community give it more than a passing glance? My guest is Mike Fal and we chat about ways data pros can use PowerShell.
Mike says there are two reasons why PowerShell is valuable for SQL Server folks. I hope you will join us for the conversation. We promise not to bore you with syntax.
Are you using PowerShell? I would love to hear your stories in the comments at the bottom of the show notes page at
As database administrators, we have to live with virtualization. As a consultant, I can't think of a single environment I have been in that didn't have some of the SQL Servers virtualized. Troubleshooting issues in a virtual environment can be a bit tricky and in today's episode I chat with David Klee about his experience and how you might learn from his experience.
What has been your experience with virtualization? I would love to hear from you in the comments on the show notes page
Think of one big investment that will be made this year. How will it affect you? Perhaps there is a large server migration project or move to Azure on the books this year. Maybe you have been given the ok to try some new feature or have been promoted and have different responsibilities. You will make many decisions and purchase different things, but the biggest investment you should be involved in is the investment in yourself.
I am joined by Bruce Van Horn, host of the Life is a marathon podcast and the person that introduced me to the E to E ratio. The Entertainment to Education ratio is a gauge for how much of your time is spent entertaining yourself versus how much you education yourself. We discuss how this affects your future opportunities but also how it affects your happiness.
How do you keep yourself educated? I would love to hear about it. You can leave your comments and see the show notes for today's episode at.
We each have our way of going about things–this is what makes us unique. When it comes to getting data out of the database, many times we might think that SQL Server would go about getting data the same way we would. If you think about scanning a Microsoft Excel document, how would you find the record you are looking for? How does that differ from SQL Server?
My guest for this episode is Brent Ozar and we chat about internals and how SQL Server processes your request and what you need to consider as SQL Server returns your result.
Our show notes for today's episode are available at http://sqldatapartners.com/2016/02/03/sqlserverthinks/
Have you ever had a situation where performance got worse and you were sure why? Do you keep records of when changes happen to your system? How do we know there's a problem? Baselines can help us out. More often than not, tribal knowledge rules the day and if you weren't part of the tribe when the on-call pager goes off, things can be tough to figure out.
My guest this episode is Erin Stellato of SQLskills and we discuss what your baseline should consist of and how you might go about capturing some of that data. I am always interested to see how people monitor their servers and I know this episode will give you a few things to think about in your baselines.
Get the show notes for today's episode at http://sqldatapartners.com/2016/01/27/baselines and I'll see you on the SQL trail.
Have you ever wanted a feature to help you assess the impact of future SQL Server upgrades, the impact of hardware or operating system upgrades, and for SQL Server tuning? Well that tool has been around since 2012, but I have found that not many people have used Distributed Replay. The level of difficulty to get this feature set up lends to the small adoption rate, but I chat with Melody Zacharias about her experience with the tools and I think it is time to give this feature a spin.
You can see the show notes from today's episode at
DevOps for the database--you have probably heard the term if you work in an organization that is deploying code on a regular basis. The developers have this down to a science, and now it is the database's turn. The idea of deploying code and having a certainty it will run correctly instead of crossing your fingers and hoping you don't see the red error messages has a certain appeal. There are lots of tools out there now to help with this, but it seems like we still drag our feet.
I know I did. When I chatted with Cindy Bean from DBMaestro, I didn't have much database change automation experience. I had exposure to source control, but DevOps seemed more than that. After speaking with Cindy I created my first database project in Visual Studio. I definitely get the idea and hope to implement it fully in my environment. This episode is an introduction to the idea of database change automation and how you might get started.
You can see the shownotes from today's episode at
SQL Server 2016 has several new features and this episode explores the stretch database feature. One of the unique attributes of this feature is that it uses both the on premise instance and the Azure platform.
I chat with Anthony van Gemert, one of the product managers for stretch, about how the features works and under what scenarios organizations might use stretch technology.
Are you planning to use stretch database? Let me know via twitter. I am @CarlosLChacon. You can check out the show notes at
One of the new features being added to SQL Server 2016 is the Query Store which will allow for greater access to the performance history of your databases. This is going to be extremely helpful when you are approached about 'What happened this morning?' With the Query Store feature, you will now be able to provide some insight into that question.
I chat with Borko Novakovic, the program manager for Query Store feature, and he shares with you, Compañeros, details about the new feature and how those interested in performance monitoring will be able to use this for their benefit.
Even if you aren't going to run SQL Server 2016 as soon as it comes out, you will find this information interesting and I hope it helps you along the SQL trail. Have fun out there.
You can find the show notes for today's episode at http://sqldatapartners.com/2015/12/29/query-store/
If I were a betting man, I would wager your disk IO system is probably the biggest bottleneck in your SQL Server right now. Sure, there are lots of moving pieces, but if you can tame the IO situation, you are putting yourself in the drivers seat. So how do you go about putting together the pieces you need identify your IO constraints?
I chat with Theresa Iserman, a premier support engineer at Microsoft about some of her thoughts and why IO in general is an issue. She gives us some guidelines and even some metrics to check out. Join us in the conversation, and I'll see you on the SQL trail . . .
As always you can check out the show notes at
In what has to be one of the most downloaded SQL Server scripts on the planet with over 73,000 downloads, sp_whoisactive has been providing active session information to data professionals for eight years. I catch up with Adam Machanic to talk a bit about how the procedure came to be, how he uses it and what is in store down the road.
If you are using SQL Server and haven’t used sp_whoisactive before, I invite you go and download it right now, then come back and listen to the program. We will wait for you. Ready? Let's do this.
Have fun on the SQL trail compañeros.
You can see the show notes for today's episode at http://sqldatapartners.com/2015/12/15/sp_whoisactive/