I have a database. It is responding very slowly. What are the steps to resolve this issue
I have a database. It is responding very slowly. What are the steps to resolve this issue
Databases are not slow, queries against may are, but with that less information it's difficukt to assist here, so please provide more informations.
Hi @ChaitanyaKiran-9853,
How are things going on? Did the answers help you?
Please feel free to let us know if you have any other question.
If you find any post in the thread is helpful, you could kindly accept it as answer.
Best Regards,
Amelia
First step is to get more detailed information of what exactly is slow. If you are on SQL 2016 or later, Query Store is a great tool for this.
Hi ChaitanyaKiran-9853,
In addition, you also can use SQL Server Profiler or Extended Events to create a trace to capture information about running query, including CPU, Reads, Writes and Duration. For SQL server Profiler, we can click on the "Event Selection" tab and check RPC:Completed and SQL:BatchCompleted events.

For Extended Events, we can select the rpc_completed and sql_batch_completed events.
Then we can start the troubleshooting, and use the execution plan and statistics to identify queries that need tuning and indexes that need creating.
Please refer to this article which might help.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
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.
15 people are following this question.