x
login about faq Site discussion (meta-askssc)

[Closed] Index Rebuild Error

When i tried to rebuild on my Server using ALTER INDEX ALL, the query runs about 1hr and returning an error

Msg 0, Level 11, State 0, Line 0 A severe error occurred on the current command. The results, if any, should be discarded.

What does this mean? any help will be greatly appreciated.

More info: Rebuild Using ONLINE Option,

The server is a publisher (Trans Replication)

Thanks & Regards

more ▼

asked Aug 02 '10 at 03:41 AM in Default

Cyborg gravatar image

Cyborg
10.1k 29 39 44

(comments are locked)
10|1200 characters needed characters left

The question has been closed Aug 04 '10 at 12:03 AM by Cyborg for the following reason:


2 answers: sort voted first

There are a few references to this error on MS Support - I would review these and see if they fit your situation/edition/version.

http://support.microsoft.com/kb/910416

http://support.microsoft.com/kb/938102

more ▼

answered Aug 02 '10 at 03:46 AM

Kev Riley gravatar image

Kev Riley ♦♦
46.1k 38 43 69

Thanks @Kev Riley, The article is having hotfix and Service packs, but i already had Servicepack 2 installed for my SQL Server 2005.

Aug 02 '10 at 03:57 AM Cyborg

The articles also mention log entries in the SQL Server logs - do you get any further info there?

Aug 02 '10 at 04:49 AM Kev Riley ♦♦

while installing the service packs will my server be in offline?

Aug 02 '10 at 05:01 AM Cyborg

@Cyborg... In a single server env then yes it will be offline, but if you are using some high availability options (i.e. clustering), then it is possible to do a live update.

Aug 02 '10 at 05:15 AM sp_lock
(comments are locked)
10|1200 characters needed characters left

Hi all!

I found the problem, actually there was a job that was scheduled to run every 30 min to kill all the session that are 30 min old, so my session become a victim for that job.

Thanks for your response!

more ▼

answered Aug 02 '10 at 05:48 AM

Cyborg gravatar image

Cyborg
10.1k 29 39 44

sharp intake of breath - that sounds dangerous!

Aug 02 '10 at 09:22 AM Kev Riley ♦♦

Can I ask why you have such a job?

Aug 02 '10 at 09:50 AM TimothyAWiseman

That is dangerous. Someone once decided to use a sledgehammer to crack a nut, when they really should have spent some time finding why the nut wouldn't crack.

Aug 02 '10 at 10:02 AM Matt Whitfield ♦♦

@TimothyAWiseman Maybe the job exists simply to teach every developer to write efficient queries: either it runs in less then 30 minutes or it is killed :)

Aug 02 '10 at 12:17 PM Oleg

@TimothyAWiseman, I dont know why these kind of job exists on the Production Server.

Aug 02 '10 at 08:16 PM Cyborg
(comments are locked)
10|1200 characters needed characters left

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments



Facebook logo Follow Ask SSC on Facebook
Find Ask SSC on Google+
linkedin logo Find us on LinkedIn

Topics:

x1834
x44
x14

asked: Aug 02 '10 at 03:41 AM

Seen: 1034 times

Last Updated: Aug 02 '10 at 04:43 AM

Copyright © 2002-2012 Simple Talk Publishing. All Rights Reserved. If you have any queries, please contact the site administrators.
Ask SQL Server Central is a community service provided by Red Gate.