Hi @dinesh ,
Welcome to Microsoft Q&A!
jobs depending on that view started failing, ran that view, it took a min
We need to know if the view is being used inappropriately.
1. Check View Dependencies
- In SQL Server Management Studio, look for YourDatabase.
- Expand the Views folder and look for YourView.
- Right-click it and select View Dependencies.
Try not to have a situation where one view depends on another view.
2. See Actual Execution Plan
3. Try Indexed Views
It can give a performance boost to SELECT statements. But like table indexes, it can impact performance if the base tables are large and continuously updated. Also, check the STATISTICS IO if there’s a decrease in logical reads after adding the index.
For more information, please read this article: https://codingsight.com/top-3-tips-you-need-to-know-to-write-faster-sql-views/
Best regards,
Seeya
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.