7

System Page Latch Concurrency Enhancements (Ep. 6) | Data Exposed

 2 years ago
source link: https://www.youtube.com/watch?v=2FYyOk27ZxM
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
#AzureSQL #SQLServer #SQLServer2022

System Page Latch Concurrency Enhancements (Ep. 6) | Data Exposed

620 views
Mar 3, 2022

Over the past several SQL Server releases, Microsoft has improved the concurrency and scalability of the tempdb database. Starting in SQL Server 2016 several improvements address best practices in the setup process, i.e. when there are multiple tempdb data files all files autogrow and grow by the same amount.

Additionally, starting in SQL Server 2019 we added the memory optimized metadata capability to tempdb and eliminated most PFS contention with concurrent PFS updates.

In SQL Server 2022 we are now addressing another common area of contention by introducing concurrent GAM and SGAM updates.

In previous releases, we may witness GAM contention different threads want to allocate or deallocate extents represented on the same GAM pages. Because of this contention, throughput is decreased and workloads that require many updates to the GAM page will take longer to complete. This is due to the workload volume and the use of repetitive create-and-drop operations, table variables, worktables that are associated with CURSORS, ORDER BYs, GROUP BYs, and work files that are associated with HASH PLANS.

The Concurrent GAM Updates feature in SQL Server 2022 adds the concurrent GAM and SGAM updates capability to avoid tempdb contention.

With GAM and SGAM contention being addressed, customer workloads will be much more scalable and will provide even better throughput.

SQL Server has improved tempdb in every single release and SQL Server 2022 is no exception.

0:00 Introduction 2:21 tempdb Performance Critical for Scalability 3:48 What is stored in tempdb? 6:30 Traditional tempdb Best Practices 7:40 tempdb Performance Critical for Scalability 13:54 Demo: System Page Latch Concurrency Enhancements 19:45 Getting started

✔️ Resources: tempdb database: https://docs.microsoft.com/en-us/sql/... Recommendations to reduce allocation contention in SQL Server tempdb database: https://docs.microsoft.com/en-us/trou... Learn more about SQL Server 2022​: https://aka.ms/sqlserver2022 Register to apply for the SQL Server 2022 Early Adoption Program and stay informed: https://aka.ms/EAPSignup Watch technical deep-dives on SQL Server 2022:​ https://aka.ms/sqlserver2022mechanics

📝 SQL Server 2022 Playlist: http://aka.ms/dataexposed-sqlserver2022

📌 Let's connect: Twitter: Anna Hoffman, https://twitter.com/AnalyticAnna Twitter: David Pless, https://twitter.com/dpless Twitter: AzureSQL, https://aka.ms/azuresqltw

🔔 Subscribe to our channels for even more SQL tips: Microsoft Azure SQL: https://aka.ms/msazuresqlyt Microsoft SQL Server: https://aka.ms/mssqlserveryt Microsoft Developer: https://aka.ms/microsoftdeveloperyt

#AzureSQL #SQLServer #SQLServer2022


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK