© Mapbox, © OpenStreetMap
Cláudio Silva

Cláudio Silva

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

Lisbon, Portugal

Actions

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 .

Badges

  • Most Active Speaker 2024
  • Most Active Speaker 2023

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

VECTOR in SQL Server 2025: When, Why, and How to Use It

SQL Server 2025 introduces a new data type: VECTOR.

In this session, we will explore what exactly the VECTOR data type is and the problems it helps solve.

I have been doing some proof-of-concept with clients and want to share practical tips, challenges encountered and where these new functionalities fit your scenarios.

Some of the questions we will be answering during this session include:
- What capabilities does it bring that were difficult or inefficient before?
- How does it impact table design?
- Being a new data type, can VECTOR columns be indexed, and how/why might that change the results?

We will also see it in action, how it powers semantic searches by using Similarity search and some more advanced Hybrid searches scenarios, where we combine it with the traditional relational filtering.

Is this the end of Index Maintenance? Introducing Automatic Index Compaction

Index maintenance has long been one of the core tasks of every database administrator working with Microsoft SQL Server.

We rely on scripts scheduled in jobs, running resource-intensive operations during planned maintenance windows to rebuild or reorganize indexes. Then, we need constant monitoring, tuning, and iteration.

But what if that approach is changing?

Introducing Automatic Index Compaction, a new SQL Server feature designed to continuously improve the page density of your indexes!

I see your eyebrow raised! I had a lot of questions too:
- Does it eliminate the need for REBUILD and/or REORGANIZE the indexes?
- Is it suitable for all workloads?
- Does it respect FILL FACTOR?
- What are the trade-offs in terms of performance, logging, and resource usage?

Is this the end of long-running index maintenance jobs?

Join me in this session and let's dive into how Automatic Index Compaction actually works, what problems it solves (and what it doesn’t), and how it can change the way we think about index maintenance.

By the end of the session, you will understand how it works and whether you should put it in place in your environments.

Index maintenance has long been a core task for DBAs working with Microsoft SQL Server, relying on resource-intensive jobs to rebuild or reorganize indexes during maintenance windows.

With the introduction of Automatic Index Compaction, SQL Server now offers a way to continuously improve page density without heavy scheduled operations.

In this session, we’ll explore how it works, its trade-offs, and when it can (and cannot) replace traditional index maintenance.

Performance of a T-SQL query - The mystery, the investigation and the root cause!

"The query is faster on the old environment! 3 times faster!" No one ever said that, right?

But what is causing that?
It is the same engine version, with no bottlenecks on CPU, memory or disk!
"Surely, it is statistics(!) and a different execution plan shape!" No! Even the execution plan looks the same!
No yellow triangles with warnings, nothing screams "I'm the problem!".

Let me share this true story that was driving me crazy with you. The analysis I did, and all the tools and methods I used to compare things, until, after some days, I got to the root cause of it.

Now that I know, it's obvious, but isn't it always that way?

I can guarantee you, as long as you remember this, you won't forget to check it again when this kind of performance issue strikes! Anyway, I will also share an easy way to remember to check it next time!

A journey to understand where the performance penalty came from!
If you are a DBA/Developer writing/analysing T-SQL, you will want to know this!

X-Raying Schema Operations: Adding and Removing Columns

As database developers and/or administrators, we often encounter the need to make schema changes to tables. These changes involve various operations, such as adding or removing columns.

Understanding the inner workings of these operations may be crucial. Why are some changes quick and seamless, while others can significantly impact system performance?

In this session, we'll delve into SQL Server internals to explore the processes involved in adding and removing columns. We'll examine the intricacies of these operations, including their utilization of the transaction log, the locking system, and space management. This exploration will unravel their impact (or lack thereof) on system resources and performance.

Is adding a new column always a slow and a blocking operation? And what about dropping a column? Will this single action immediately reclaim the used space? Let's explore these and other questions together.

By gaining insight into these specific examples, you will be better equipped to manage similar schema changes effectively in your database environments.

dbatools - Wheel of Fortune

Ad voice: Want to play Wheel of Fortune dbatools style?

Come and join us on a demo-driven session where you will be the player and we gift you with some next-level demos using dbatools!

Spin the wheel and let luck be with you!

There are so many things we want to show you with dbatools that we couldn't decide - so now you decide!

Demos could include:
- Managing Availability Groups
- Migrating databases
- Refreshing test environments
- Masking sensitive data
- Checking we're meeting best practices
- Managing Logins, Users & Permissions
- Using Database Snapshots for Application Upgrades
- Document your entire SQL environment
- Backups and Restores
- Copy table data around
- Deploy tools including WhoIsActive & Ola maintenance scripts
- Patching SQL Servers
- Finding objects
- and others - who knows where the wheel may take us

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 this session, 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.

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.

dataMinds Connect 2026 Sessionize Event

October 2026 Mechelen, Belgium

Data Saturday Holland 2026 Sessionize Event

October 2026 Utrecht, The Netherlands

dataMinds Connect 2025 Sessionize Event

October 2025 Mechelen, Belgium

Data Saturday & Fabric Friday Holland 2025 Sessionize Event

October 2025 Utrecht, The Netherlands

dataMinds Connect 2024 Sessionize Event

October 2024 Mechelen, Belgium

Data Saturday & Fabric Friday Holland 2024 Sessionize Event

October 2024 Utrecht, The Netherlands

DataGrillen 2024 Sessionize Event

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

Actions

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