We recently migrated our database from SQL Server 2014 to SQL Server 2022 Enterprise Edition. Our compatibility level is set for 160. After migration we observed few stored procedures started timing out frequently. The main symptom we identified is frequent statistics updates happening on certain tables leading to timeouts. We disable Auto Update of statistics on few tables and the problem went away. I need your expert opinion on following:
- Why we are facing frequent statistics updates in SQL Server 2022 and why this is not observed on all tables. Our database is huge with many big tables.
- Disabling Auto Update of statistics and doing it manually is the right approach?
- Should we change Auto Update of statistics to Async? Will it cause any issues in high transactional system?
Majority of tables are partitioned.
We have disabled Auto Update of statistics on few tables.