I have a loooooong running script that us generating a clustered index on a 77M row – 20GB table.
I need to query this data so I want to stop the Index Generation and resume it in the night.
Is it OK to KILL the ProcessId?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
SQL Server should respond just fine to killing any process. However, it might take a while to cleanup after itself. For instance, if you kill a big update query, it will have to roll-back the transaction. For in index build, it should not have such problems and should return relatively quick. Point is, as long as you let the kill finish without doing something drastic like powering down, you should be fine.