Validate plan guides after upgrade
Applies to: SQL Server Azure SQL Database
We recommend re-evaluating and testing plan guide definitions when you upgrade your application to a new release of SQL Server. Performance tuning requirements and plan guide matching behavior may change. Although an invalid plan guide will not cause a query to fail, the plan is compiled without using the plan guide and may not be the best choice. After upgrading a database to a newer version of the Database Engine, we recommend that you perform the following tasks:
Validate existing plan guides by using the sys.fn_validate_plan_guide function.
Use extended events to monitor for misguided plans for some period of time by using the Plan Guide Unsuccessful event.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin