© Mapbox, © OpenStreetMap

Most Active Speaker

Cláudio Silva

Cláudio Silva

Data Platform Architect, T-SQL Performance Tuner, PowerShell Automator

Lisbon, Portugal

I work as a Data Platform Architect.
I love performance tuning and I'm also a PowerShell lover who automates any process that needs to be done more than a couple of times.

I'm a Microsoft Data Platform MVP and an active SQL Server and PowerShell community member. Also, I'm a contributor to open-source projects such as dbatools (https://dbatools.io) and dbachecks (https://dbachecks.io).

I blog at https://claudioessilva.eu .

Awards

Area of Expertise

  • Information & Communications Technology

Topics

  • Azure SQL Database
  • Microsoft SQL Server
  • SQL Server
  • SQL Server DBA
  • SQL Server Development
  • SQL Server Indexes
  • T-SQL
  • Performance Tunning
  • PowerShell

Let me show you why data types still matter

When building a SQL Server database, the selection of the data types is, sometimes, neglected. Usually, until you get lots of data and/or more concurrency you may not notice any problems. This means that NVARCHAR(MAX) is okay, right?

We also have examples where while doing some math operations or even concatenating columns/variables you won't get the result you expect! You may think that SQL Server is buggy but actually, it's just doing its thing, in the way it works.

In 20 minutes we will go through some examples that hopefully will make you think twice next time you are deciding your data types.

Writing T-SQL code for the engine, not for you

You've been requested to analyze/change a query to include some new requirements. You are not sure what to do and your colleague/boss says "it's a quick change, you JUST need to copy-paste that block and change the filter". You are happy because after all, it's a quick change. You deploy the query change to production but now the business complains the Power BI report that was running in one hour now takes an extra five minutes.

You might think that was expected because you are getting more data.
However, this is where you should step back and ask, was the one hour ok? Couldn't it be faster already?
You have to stick around to find out. Regardless, let's stop pretending that running a query in one hour is OK when it should be possible to make it run in a couple of minutes by re-writing it.

This is just one of the development patterns I see almost every single day when analyzing and tuning T-SQL queries.

In this session, we will see some code patterns that won't scale and other pitfalls while writing T-SQL and which options we have to fix them to improve performance.

NOTE: This session is not about indexing.

Writing or changing a query may seem to be an easy task but, making sure they will still perform as expected can be a different story.
How can we avoid these pitfalls? What do we need to know?
NOTE: This session is not about indexing.

Introducing dbachecks v3

dbachecks v1 was released back in 2018, bringing together the DBA PowerShell magic of dbatools with pester, a PowerShell testing framework to create a powerful infrastructure validation tool.

dbachecks is able to answer questions such as:
- can I connect to all of my instances?
- was my last full backup with 7 days
- are my databases owned by the expected login
- am I using 'page verify' to detect corruption
- are any of my certificates nearing expiration
- and many more...

v2 introduced the ability to store these results in a database and create a time series chart showing changes over time.

But now, we introduce v3!

dbachecks v3 takes advantage of Pester v5 - a total rewrite of the tool enabled us to not only increase the performance of the module but position it to be able to grow and expand in a controlled and predictable way in the future.

In this session, we'll talk about the changes we've made to the module, demo the new features and prove the massive performance increase using Profiler.

Come and join us as we share the biggest release yet of the dbachecks module and learn how you can utilise it in your environments.

Don't go offline because of your index deployment strategy

Creating and/or altering indexes need some upfront preparation. These actions have an even bigger importance when dealing with busy systems where we can't afford or want to avoid big blocking operations or, even worse, downtimes.

Most recent versions of SQL Server introduced new options (mainly in the Enterprise edition) that make it possible to minimize or even avoid problems like these to happen.

This is a demo-based session where I will be showing the pitfalls and sharing the options you can use to help avoid them.

Also, along the way, I will tell you a couple of real-life stories on how and why things went wrong and made systems slower or even stopped.

DataGrillen 2024 Sessionize Event Upcoming

May 2024 Lingen, Germany

SQLBits 2024 - General Sessions Sessionize Event

March 2024 Farnborough, United Kingdom

SQL Konferenz 2023 Sessionize Event

September 2023 Hanau am Main, Germany

Data Saturday Oslo 2023 Sessionize Event

September 2023 Oslo, Norway

Cláudio Silva

Data Platform Architect, T-SQL Performance Tuner, PowerShell Automator

Lisbon, Portugal

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top