Author: way0utwest

  • Daily Coping 11 Mar 2022

    I started to add a daily coping tip to the SQLServerCentral newsletter and to the Community Circle, which is helping me deal with the issues in the world. I’m adding my responses for each day here. All my coping tips are under this tag.

    Today’s tip is to start today appreciating your body and health and the fact you are alive.

    I do this often. I’m in the midst of working to lose some weight and get healthier. This is a slightly stressful place as I have an appointment scheduled to re-test my blood in a week or so.

    However, every day I can go to the gym, I can practice yoga or lift weights, I’m grateful. Each time I think about the things I want to change, I think about how lucky I am to not have any major chronic issues.

    Maybe not every time, but many times. I do think that I am lucky to not have had any major health issues, and I survived COVID (twice) without long term effects. I’m also fairly healthy, fit, and happy to be alive.

  • ETL v ELT

    This is part of a series on my preparation for the DP-900 exam. This is the Microsoft Azure Data Fundamentals, part of a number of certification paths. You can read various posts I’ve created as part of this learning experience.

    I don’t have an ELT tag, and I’m not likely to make one. I tend to think of ETL as loading data somewhere, even though I know it means more.

    The important concepts for DP-900 here are that ELT is becoming more important and you need to understand what this means. I’ll cover these concepts, but also give a little overlap with where the different Azure services fit in with this.

    ETL

    For most of my career, the pattern for loading data was Extract-Transform-Load. In this pattern we:

    • grab data from a source
    • make changes to clean/change/etc.
    • write to a target (or sink)

    It’s how tools like SSIS work. They connect a source to a target and have a bunch of tasks or transforms in the middle that change the data in some way.

    This is a good pattern for getting the work done when the target system is just built for querying data, such as a data warehouse. It is also good when you need to scrub some data, perhaps for privacy reasons.

    This isn’t a good pattern when you are trying to load data quickly as the transform process takes time.

    ELT

    This is the new way of doing things. I this patter we Extract-Load-Transform, though really, it’s not a pattern that quite makes sense in that the process of moving the data just moves it.

    Here we:

    • grab data from a source
    • write it to a target

    Where’s the transform? Well, that happens on the target, often when someone queries the data. Modern analytic systems, like Snowflake and Synapse, can work with vast quantities of data, often stored in a data lake or blob system, and consume that with powerful computational capabilities. There could be some minor re-shaping of the data on write, but that’s not the idea.

    This is good when you might not read all the data. Why process (transform) what isn’t being read. Before you complain that you should know what is used, none of us know if all our data is being used. Unless we write crappy SELECT * code with no WHERE clauses.

    This is also good when we need to work at speed and privacy isn’t a concern. It’s great for the known formats of files sent to us, as the target system can project a table on top of a ser of files.

    ELT seems to be the current future direction of many analytical and warehouse systems.

  • Republish: The (Former) Complexity of PowerShell

    I’m at SQL Bits today, teaching a pre-con with Grant, so I’m republishing The (Former) Complexity of PowerShell

  • Daily Coping 9 Feb 2022

    I started to add a daily coping tip to the SQLServerCentral newsletter and to the Community Circle, which is helping me deal with the issues in the world. I’m adding my responses for each day here. All my coping tips are under this tag.

    Today’s tip is to give positive complements to as many people as you can today.

    I do struggle with this tip when it’s come up. I do always feel good when I complement someone, but it’s not a habit for me. It ought to be, but it isn’t.

    This is easy to do while coaching, at least for me, but outside of that it’s tough. When I saw this, I knew this would be a challenge.

    I stared in yoga. I not only thanked the teacher (easy), but I complemented this guy in class that must be a gymnast. He can not only balance on his hands, but he can alternately touch his toes to the ground on his left and right and balance on one hand. Freaking amazing.

    I also saw a former teacher in the hall, greeted her and let her know it was nice to see her and I miss her teaching (easy, but I had to think of it).

    I told the guy at the petrol station he looked happy. Remembered to tell me wife she looked nice, and I took a moment to ask my son about his day and then give him a postive comment on a thing he’d done.

    Not a bad day.