Pedro Lopes

Pedro Lopes is a Principal Architect in the Azure Data team and has been working with SQL Server for over 20 years. He is currently the tech lead for all database engine features that ship in SQL Server 2022 and Azure SQL, while keeping a special focus on the Query Processor. He blogs about all things SQL at Authored the book “Learn T-SQL Querying” (, and several tools in the TigerToolbox on GitHub ( and SQL-Server-Samples GitHub ( Including AdaptiveIndexDefrag ( for index and stats maintenance and the BPCheck script for SQL Best Practices and Performance checks (

Pedro Lopes's Sessions

AMA with the Microsoft Engineering team hosted by Bob WardSQLBits 2022

Come get your questions answered live on stage by members of the Microsoft engineering team. This will be a fun and interactive session hosted by Bob Ward. We will take questions live from the audience plus those who are connected virtually.

Azure SQL and SQL Server: Path to an Intelligent DatabaseSQLBits 2020

Come join us in the intelligent database world that started with SQL Server 2017 and takes a leap forward with the upcoming SQL Server 2019 and Azure SQL DB.

Query plans: a map to query performance analysisSQLBits 2020

This session is designed to guide you through what a query plan is and what information it holds to help you diagnose and understand how the code you write is actually executed by the Database Engine.

Storing strings in SQL Server and Azure SQL DBSQLBits 2020

in this session you will learn about what Unicode encoding you want to use for your scenario, what are the performance differences, and even debunk a few SQL Server myths along the way.

Modernizing your SQL Server the right waySQLBits 2019

Upgrades should be approached with the same rigor and processes as a full software or hardware project – a solid methodology is required for success. Microsoft provides you with all the tools you need to achieve a seamless, reliable upgrade experience. In this session we demonstrate some of the free tools that Microsoft provides in order to ensure your SQL Server upgrade is a success.

0 to Hero: Troubleshooting SQL Server Performance Made EasySQLBits 2018

Take charge of any performance issue coming your way. "SQL Server is hurting!" Turn feelings to symptoms, and become the hero that saved the day.