This is my 100th blog post here at LessthanDot! (I'm not lying, check for yourself) I started blogging at the end of 2012, almost 3 years ago and it has been an amazing ride so far. I've apparently gathered almost 1.5 million views (I don't really trust that figure :)) and 260 comments. My most popular blog post is Stupid me #3 – Building the script component with almost 100,000 views. For some reason. I still don't know why it's the most popular post 🙂 I learned a lot while blogging and I still believe it's a very powerful method for personal development.
This is an archive of the posts published to LessThanDot from 2008 to 2018, over a decade of useful content. While we're no longer adding new content, we still receive a lot of visitors and wanted to make sure the content didn't disappear forever.
Here is an overview of the articles I published in the second quarter of 2015. INTENSE SCHOOL Book Review: Query Tuning & Optimization by Benjamin Nevarez MSSQLTIPS I’ve been busy writing tips! Purging Entity Members in SQL Server Master Data Services Using the Transaction History in SQL Server Master Data Services Introduction to Power Query for Excel Extracting a SharePoint List with Power Query Query Folding in Power Query to Improve Performance SQL Server 2016 Features in CTP2 More tips about SQL Server 2016 are in the pipeline!
No no, I didn't say temporary, but temporal! SQL Server 2016 introduces a great new feature called Temporal Tables. Or in other words, system-versioned tables. We'll see what catches on. In a gist, such a table keeps track of the history of its rows by the use of some audit columns (start and end date) and a history table. Sounds a bit like the love child of Change Data Capture and a Type 2 dimension.
A while back a give a session at the element61 Microsoft Business Analytics Day, a free event where the capabilities of the Microsoft BI platform is demonstrated alongside client testimonials. I gave a session called "Drilling across Analysis Services cubes using Power Query", which talked about how you can use Power Query to do a drill across analysis over multiple SSAS cubes. Drilling across combines facts from multiple fact tables through their conformed dimensions, something that is not possible if your data is split up against multiple cubes. I even wrote an article about it: Drilling across Analysis Services cubes using Power Query.
In my career, I’ve been fortunate enough to meet many smart, talented, caring, and wonderful people. In a blogging slump, I casually tweeted that perhaps I could start interviewing some of those people, and Josh Fennessy replied that he’d had the same thought recently. We hatched a plan to interview each other and blog it! Josh (website| twitter | linkedin) is a friend who lives across Lake Michigan. He’s a Solution Architect at Blue Granite, president of the West MI SQL Server User Group, speaker, and dad. I asked him a few questions about work and life recently!
Microsoft is all about rapid release cycles nowadays. We already experienced this with Power BI, where monthly new features and improvements have been added. Now SQL Server appears to get the same treatment: SQL Server 2016 CTP 2.1 has just been released. There is nothing groundbreaking in this release – which can be considered as an upgrade of CTP2 – but there are some additional functionalities and improvements in the database engine.
A little while back SQL Server 2016 CTP2 was announced and I have spent some time playing with it (read: spent hours creating a VM because there were hundreds of Windows updates). It seems I have already found a very small bug while creating a new database: Apparently they forgot to rename the compatibility level 🙂
Last week was a successful sixty-seventh T-SQL Tuesday! I asked bloggers to tell me why they loved Extended Events, why they hated it, what their favorite tricks were, or what they had recently learned. I learned several new tips and tricks! Here’s a recap of the blogs. Huge thanks to all the bloggers who took time out of their week to help me – and you! – learn. Andrew McDermid – "Why extended? And why events?" – Andrew gives an overview of the Extended Events framework. He also talks about the difference between polling and tracing, which I think is a great point in favor of XE. Rob Farley – "DBAs and the Internet of Things" – "Imagine that each configured event is a smart device, sitting somewhere, producing data in some semi-structured form." Rob tells us why he thinks DBAs should be using XE to help them be superheros in an IoT world. Boris Hristov – "Extended Events and... Distributed Replay?" – Distributed Replay is one of those tools, like the first iterations of XE, that I don't use enough because it's not intuitive – and there's no GUI to get started with. Boris loves it, though. Here, he walks us through how he solved the problem of capturing a workload with XE, then converted it to a trace that DR could read. This is great stuff! I love that he walks us through his troubleshooting approach. Wayne Sheffield – "Weaning yourself off of SQL Profiler (Part 1)" – Wayne breaks down a problem many of us have – we've been using SQL Server for so long that a lot of our default troubleshooting tools use...Profiler. How do you move from Profiler to XE? Read his blog! (And...part 1? I can't wait for the series, Wayne!) Aaron Bertrand – "New Backup and Restore Extended Events" – Backups and restores are the bread and butter of being a good great DBA. Aaron found some new XE events for backups and restores in SQL Server 2016 CTP2. I can't wait to try these out! Kenneth Fisher – "A walk-through of creating the Activity Tracking template using Extended Events" – Kenneth wanted to capture query activity in a specific database, just like he could with Profiler. He walks us through setting up the same session in the XE wizard. Joseph Harkins – "T-SQL TUESDAY #67 EXTENDED EVENTS" – First off, let me congratulate Joseph on starting his blog. It's one of the best ways to learn and share! In his first blog, he dives into how XE can be used to validate that an Availability Group secondary set up for read-only routing is indeed receiving read-only requests. Excellent work! I wrote about two features I feel XE is missing in "What Extended Events is Missing". One has a workaround; the other doesn't. Steve Jones – "Extended Events for DBCC" – Steve shows us how to create an XE session to track when DBCC events are run – a great tool for DBAs! Mike Fal – "#Powershell and Extended Events" – I know Mike, and I know he loves PowerShell, but doesn't love XE. I'm delighted he contributed to my T-SQL Tuesday on XE regardless! Mike digs into XE with POSH, showing how it can be used to get information about sessions. Vicky Harp – "Introduction to Idera SQL XEvent Profiler" – Do you want to set up an XE session, but use a tool that looks like Profiler? It's your lucky day! Idera has a free tool that lets you do just that! (Full disclosure: Vicky works for Idera. When she mentioned writing this blog on Twitter, I wholly supported the idea. If a vendor tools helps you get started with XE, I'm all for it!) Paul Randal – "Monitoring log activity with Extended Events" – If you want to learn about the transaction log, Paul is one of the best people to learn from. Here, he shows us that when a transaction commits, there is a write to the log file – using XE. John Morehouse – "Extended Events" – John wanted to reduce the number of SQL logins being used, in favor of Windows login. My favorite part is that he uses the histogram target for the results! Mark Wilkinson – "Retrieving Deadlock Graphs with PowerShell" – XE, POSH, and deadlocks? Be still, my beating nerd heart! Mark shows how to use the system_health session to view any deadlocks graphs that have been captured, then extends (get it?!) that to PowerShell. Awesome stuff! Jason Brimhall – "Extended Events, Birkenstocks and SQL Server" – Jason wins Most Creative Blog Title this month! If your SQL Servers are set to tree-hugger mode – Power Saving – they are not pushing out the CPU cycles you need. How can you tell? XE to the rescue! I loved this blog post. Chris Yates... TBD. Yep, Chris, you said you were going to write a post, and I'm eagerly waiting to read it! What a great set of blogs to read! I hope this keeps you busy reading and learning for a couple of weeks…just in time to catch the July 2015 edition of T-SQL Tuesday!
ITPROceed has come to an end and what a great event it was. Kudos to the organizers and all the other speakers! My session went pretty well, at least from my point of view, although I had to rush my demos a bit since there was only a 50 minute time slot. I prepared for 1 hour of course 🙂 I saw some pretty interesting stuff about Azure SQL DB and I really liked the session about Azure Stream Analytics. And I won a Bose headphone, so that’s nice as well 😀
I presented “Level Up Your SQL Server Index Knowledge” on Wednesday, June 10 for NEWDUG. I had a great audience that asked lot of questions and shared war stories. Presentations with lots of questions and discussion are my favorite! For those of you interested, the slides and demos can be downloaded here.