My AI-tweaked Data Saturdays 23 Notes

My AI-tweaked Data Saturdays 23 Notes

Last Saturday I had the privilege of attending Data Saturdays #37 at Parma, an event series focused on Microsoft data platform technologies. Covering AI, Database, Business Intelligence, and Cloud, the event promised insights from top experts in Italy (and beyond).

Of course, I wrote down (almost) everything I heard. This blog post is actually a dump of my notes, which I tried to partially automated with a mix of OCR + ChatGPT, which struggled in understanding most of the complex contexts… My disorganized note management didn’t help, poor GPT.

So, my key points are slightly “tweaked” using AI and then carefully checked and simplified by me. I hope they serve as a useful resource for those interested in the topics discussed at the event. Kudos to everyone involved in making this event a success (organizers, speakers, sponsors), and I look forward to future editions that continue to push the boundaries of knowledge-sharing in the data and technology domain.

Special thanks to Ema for the support.

Update: most of the presentations have been uploaded on GitHub: you can find them here

☁ SQL Server PaaS by Gianluca Hotz

Three Solutions

Three PaaS Database Running Options in Azure

Purchase Models, Tiers, Options

  1. DTU (Database Transaction Unit): Estimates operations using a combination of CPU and storage. Simple and linear, though may be phased out in the future. Tiers include Free, Standard, Premium.
  2. vCores: Renting computing power. Tiers include General Purpose, Business Critical, Hyperscale (more on it later).

You can also choose between

Hyperscale

Utilizes a cluster-based model with modularized SQL, resembling AWS Aurora. Complexity in design but offers benefits like distribution and quorum-based operations. However, this is a new solution.

SQL Managed Instance Details

The AWS offer

Fleet Manager - New Azure Feature

📐 T-SQL performance tips & tricks by Sergio Govoni

1. Sargable Predicates

2. Query Mode Execution

3. Join Order

4. Tempdb

🧯 SQL Server On Fire by Gabriele Franco

Tools Used

Scenario: SQL Server at 100% CPU

Scenario: Memory Pressure Test

Checking Active Sessions

Using Extended Events (XE)

🔓 Unlocking the Power of AI-Driven Analytics: Mastering Generative AI in Power BI by Leon Gordon

The scenario

AI Facts

Demo 1: ChatGPT Data Investigator with Marvel Movies Dataset

Demo 2: Data Flow with HTTP Call to OpenAI

✖ Power BI “X Files” - 5 things they “forgot” to tell you! by Nikola Ilic

DAX Fusion

Cache Me If You Can

The Dark Art of Table Processing

Fold on Tight

MDX Optimization

👀 What to look out for when migrating your data to the cloud; is it REALLY the right choice? by Emanuele Meazzo

I didn’t take notes here as I work with Ema and kindly shared with me the entire presentation, which was rich in interesting points about the question one should me when choosing to migrate to the Cloud. It’s not that simple. Amazing performance that made me leave the room with more questions than answer.

🕘 Save The Date by Rudi Bruchez

This session explores the nuances of different date and time types in SQL Server, highlighting the strengths and challenges of each and emphasizing best practices for handling date-related operations. Suggested article: The Ultimate Guide to Datetime datatypes

Four Main Types:

Datetime is a mess

Formatting

Date: better, but not perfect

Removing Time

Challenge: non-existing dates in the past before the adoption of the modern calendar; triggers can be used to address this and prevent inserts on those days.

Datetime2