Posts

Showing posts with the label concurrent GAM and SGAM updates

Why is my SQL Server so slow? TempDB & enhancements in SQL Server 2022.

Image
Hi Guys, Welcome back to this blog. Today we will talk about slowness . Qne of the most frequently asked questions is almost certainly: why is my SQL Server so slow? Today we will answer this question. But not only that. We will make a nice talk about the tempdb database to finally get to see what improvements SQL Server 2022 brings us on this front. Fasten your seat belts and enjoy the reading     W hy is my SQL Server so slow?     Let’s start by saying what is the TempDB database .   The TempDB database is a temporary system database even if its structure is essentially just like any other user database.  It is temporary in the sense that it is emptied every time the SQL Server instance is restarted . What exactly is written in the TempDB database? Well, first of all goes into the TempDD temp tables and table variables The creation of a temporary (#) table on a user database "IS A" creation of a table in the TempDB: Similarly ...the same thing happens wh...