| The Complete Weekly Roundup of SQL Server News | Hand-picked content to sharpen your professional edge |
| Asleep on the Job Neil was a typical IT guy. When I met him, he was doing some ops work with an old mainframe, in the vast IT department of a major manufacturer. I first took notice when I was told that he'd learned how to sleep with his eyes open. I'd never previously considered this as a major IT skill, but it seems that he had a rather demanding social or family life and took advantage of the warm, quiet, and undemanding environment of work to catch up on his sleep. To his supervisor, Neil was an enigma. Neil always had a thoughtful, intelligent, look on his face whenever he passed by his terminal, and yet often produced very little. Baffled, he decided to monitor the serial line from his terminal to the mainframe. Neil got wind of this, however, and somehow trained himself so that, in his sleeping state, he would occasionally tap the Caps Lock key. I was fascinated by this skill to the point that, at the IT Department Christmas dinner, I asked his wife how he did it. "Ah, you've noticed. When he is asleep is really the only time that he looks intelligent. In fact, the only way I can tell that he's awake and listening to me is that a look of innocent foolishness comes across his face." The ability to look intelligent and attentive whilst asleep is a rare and valuable talent, and one I was keen to exploit. If your role requires you to attend endless presentations and meetings, particularly with sales teams from vendors, you quickly reach a point of presentation fatigue, becoming irritable and fidgety, and drawing unwanted attention from the presenter. My own preventative strategy is to keep a few programming problems to hand and work them out in my head while pretending to listen, but I recognize a master when I see one. I recruited Neil to my team, and he needed no urging to his task. He sailed through even the most tedious meetings, always looking wide eyed and attentive, and nodding wisely, while in fact just taking a cat nap. So successful was he that presenters soon started to address their talks straight to Neil. We could then relax and pass the time as we saw fit. Years later, I had to participate in an inquiry into UK government computing. On a visit to one of the august departments of government, I was introduced to the head of IT. To my surprise, I found myself shaking the hand that possessed that magic "Caps Lock" finger. Neil looked innocent and foolish, so I knew I'd caught him in one of his wakeful moments. That look of intelligent attentiveness during somnolence had since matured into that of a spiritual Bishop and had electrified his career. His promotion had been rapid. IT management is, perhaps, more like theatre than technology. If you look and behave like a geek, you stay a geek. However, if you can look wise and thoughtful even when you're just wondering what's for dinner then you can really get ahead. For more reminiscences about the life of an old IT manager, check out Confessions of an IT Manager. Phil Factor Join the debate, and respond to the editorial on the forums |
The Weekly News | All the headlines and interesting SQL Server information that we've collected over the past week, and sometimes even a few repeats if we think they fit. |
Vendors/3rd Party Products |
Phil Factor takes a staged approach to generating development data, creating one project that simply copies data from an existing database, another that copies most data but generates any personal or sensitive data, and a third that starts from 'anonymized' data and then generates other columns entirely and increase the number of rows for testing. |
As more organizations are managing at least some part of their data in the cloud, estate monitoring can become more complex with a mix of on-prem and cloud-based instances. Grant Fritchey discusses why businesses might move to the cloud, why they might stay on-prem, and when a hybrid approach might be best. |
Learn and share tool tips with your peers. Redgate has launched the Tool Tips Swap to help everyone find new ways to use their Redgate products. To get involved, share your top tip for increasing productivity with Redgate tools. All tips will be collated into a blog post and shared with the community. Plus, you’ll get the chance to win a 3-month subscription to Pluralsight. |
Become the captain of your SQL Prompt ship by embarking on a voyage of discovery through the hidden treasures of the tool. You'll uncover features of the unknown that will enable you to write, format, analyze and refactor your SQL effortlessly. |
It's your last chance to take part in the 2021 State of Database DevOps survey! If you or your organization uses databases, we want to hear from you! Complete the survey for advance access to the final research report, and to be entered into a prize draw for a $500 Amazon voucher. Plus, for each submission we receive, we’ll donate $1 to the World Health Organization’s COVID-19 Solidarity Response Fund. |
Phil Factor takes a strategic look at common SQL data masking techniques, and the challenges inherent in masking certain types of sensitive and personal data, while ensuring that it still looks like the real data, and retains its referential integrity, and distribution characteristics. |
Comparing current performance to baselines helps DBAs know when there’s a problem. In this article, Pamela Mooney describes how to measure the physical resources drive space, latency, memory, and CPU. |
With some of the CU and SP misses that happen, what’s a good schedule for patching a SQL Server? What are some things to do before applying a CU to a SQL Server? How can we verify our SP or CU didn’t break anything? |
Out of the 3,650 servers sending in data recently, the most popular version of SQL Server is still 2016. The combination of 2014, 2016, and 2017 make up 74% of market share right now |
Lee Markum encounters a SQL Server instance that won't start. |
Analysis Services / BI on the MS Stack |
This article describes the memory configuration in SQL Server Analysis Services and Azure Analysis Services. Modifying these settings may impact performance and memory errors. |
Azure Databricks, Spark and Snowflake |
Tomaz Kastrun's interesting festive series, exploring the Azure Databricks data analytics platform. |
John Morehouse attempts to eliminate any confusion over what Azure SQL can really do. |
Community Interests and PASS |
As online tech conferences have had a natural surge in popularity, Kendra Little suggests ten ways to improve the experience for attendees |
Computing in the Cloud (Azure, Google, AWS) |
A Management menu missing some items means trouble registering Azure Data Factories. |
Amazon Babelfish promises to help customers seamlessly move from SQL Server to PostgreSQL. I’m not excited about it, but probably not for the reasons you think! |
Don't sleep on PSReadLine if you use PowerShell as your preferred prompt. Head over there and give them some love and a star and buckle up, friends! |
As part of T-SQL Tuesday, John McCormack discovered PowerShell Splatting and got better at PowerShell, despite presenting on a cloud topic. |
If you find yourself working with a new API to build a PowerShell-based tool, you always want to be thinking about “objects in the pipeline”, and part of that means creating proper PowerShell property names. |
Vladimir Khorikov on how to best handle unique constraint violations in the application layer. |
Deep Learning theories have been around for many decades, but solutions have not always been practical due to hardware constraints. In this article, Shree Das explains how GPU Acceleration can help organisations take advantage of Deep Learning to speed up training of neural networks. |
In some cases developing Enterprise Data Warehouses costs less than maintaining them. After all, EDW maintenance costs nothing if you never do any. One side-effect though is that the Warehouse becomes less and less reliable until it is effectively useless. |
DevOps and Continuous Delivery (CI/CD) |
Feature branching and pull requests are two important concepts when using Git. In this article, Kendra Little explains these patterns and even provides a video to demonstrate. |
To stay competitive and bring value to customers, organisations are adopting DevOps, but finding people experienced in DevOps can be challenging. Robert Sheldon has ten tips to help managers attract and retain DevOps talent. |
DocumentDB/Key-Value/Graph/other NoSQL Databases |
What is needed to run a federated GraphQL platform successfully — from our journey implementing it to lessons learned. |
Hugo Kornelis provides the "missing manual" for internal scalar functions that are not allowed in SQL, but the optimizer uses in execution plans. |
How the DAX query syntax supports dynamic M parameters in Power BI |
This article shows how to use calculation groups to change the active relationship in a model in order to let users choose among multiple dates. |
Oracle sometimes generates smaller archived redo logs than you might expect based on the size of the online redo logs. In this article, Jonathan Lewis explains how Oracle uses online redo logs and why there might be a discrepancy in the archived log size. |
Performance Tuning SQL Server |
Erik Darling airs some grievances about Windowing functions |
When queries go parallel, you want them to be fast. Sometimes they are, and it’s great. Other times they’re slow, and you end up staring helplessly at a repartition streams operator. Erik Darling has a way round this. |
Erik Darling reveals a sneaky limitation of fully row mode execution plans with windowing functions. |
One important difference between Batch Mode Tricks™ and Batch Mode On Rowstore (BMOR) is that the latter allows you to read from row mode tables using Batch Mode, while the former doesn’t. |
PowerPivot/PowerQuery/PowerBI |
Paul Turley's recommended resources for learning and staying current with Power BI |
A Power BI report which provides detail on the state of processing in a Tabular Cube. It uses the cube’s dynamic management views to provide information about the cube’s partitions. |
An update to a script that is especially useful if you want to move dataflow logic from your development to test, acceptance or production workspace. |
Azure Purview is the next generation of Azure Data Catalog with more metadata discovery power and the ability to use sensitivity labels. This blog shows how to set it up, and configure it to be able to discover Power BI assets. |
Brent Ozar opens his annual salary survey to find out what data professionals make. |
SQL Server currently supports three operators that can compute aggregations: Hash Match, Stream Aggregate, and Window Aggregate. These operators all use the same basic principle of maintaining internal counters as rows are processed, so that the final value of those internal counters is the expected value. |
Thomas Ruston is tackling some Advent of Code 2020 problems, each one accompanied by several hundred lines of input data. Step one in solving these problems in SQL Server is loading the data into a database so you can do something with it. |
Hugo Kornelis explains how execution plans check foreign keys on data modification. |
Why a TOP (101) query can take almost twice as long to run as an otherwise identical TOP (100). |
Itzik Bed-Gan lays down a challenge. What’s the best performing solution that you can conjure? Do you have it within you to beat the fastest solution posted thus far? |
As DBAs or developers, it is important to know the difference between locks, blocks and deadlocks. |
Virtualization and Containers/Kubernetes |
How to configure a NFS server so that we can use that to provision persistent volumes in the Kubernetes cluster. |
This email has been sent to {email}. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com. This newsletter was sent to you because you signed up at SQLServerCentral.com. Note: This is not the SQLServerCentral.com daily newsletter list, and unsubscribing to this newsletter will not stop you receiving the SQL Server Central daily newsletters. If you want to be removed from that list, you can follow the instructions on the daily newsletter. |
|
|