开发者

Dead SQL Server

开发者 https://www.devze.com 2023-02-22 07:07 出处:网络
I have executed a routine that was doing a lots of data transformation and it seems to have rendered my SQL Server unusable, consuming lots of memory and CPU and doing something.

I have executed a routine that was doing a lots of data transformation and it seems to have rendered my SQL Server unusable, consuming lots of memory and CPU and doing something.

Currently, I need to just m开发者_开发技巧ake the SQL Server stop doing whatever it's doing and I don't seem to be very successful even after many restarts. It makes the whole computer quite slow and I can't even login with the SSMS, neither can I run the profiler to see what's actually going on.

Is there some way to simply kill the processes inside the SQL Server ? I don't care about the data or logs, it's a developer machine and test database, so anything that makes him work would be great.


To kill the sql server process you can open a task manager and simply kill the process, then you can move the database files to another location so that when the process starts again it doesn't go in recovery process.

After bringing up the sql server you can delete the database registeration in db and attach it later.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号