Author |
Message |
whizperz
|
Post subject: Database question Posted: Wed Dec 31, 2008 4:32 pm |
|
]BoS[ Leader |
 |
Joined: Nov 2006 Posts: 2921 Location: Bloomington, IN
|
|
I had a weird occurrence today that 1) scared the shit out of me and 2) took me a ton of time to figure out. We had to restart one of our servers that runs our SQL stuff. Someone mentioned that they couldn't connect to one of the databases and then I realized that like four of them were in this (In Recovery) mode. After awhile I figured out that something was erroring out and causing them to not complete.
Here comes the question. The database it was getting stuck on was read-only and the only read-only database we had. Is there something about read-only databases that cause the recovery to not function properly on a restart? Is it just a fluke that it happened to be that database? Todd or Craig have you guys had any experiences with this?
_________________
]BoS[whizperz - Clan Leader Steam: whizperz
|
|
Top |
|
 |
SomeoneElse
|
Post subject: Re: Database question Posted: Wed Dec 31, 2008 4:56 pm |
|
]BoS[ Leader |
 |
Joined: Nov 2006 Posts: 1770 Location: Indiana
|
|
I would recommend restarting it, 3 times for maximum performance.
|
|
Top |
|
 |
Airforce1
|
Post subject: Re: Database question Posted: Wed Dec 31, 2008 6:10 pm |
|
Nuke |
 |
Joined: Feb 2008 Posts: 189 Location: Bloomington, IN
|
|
YOU CANT ARRANGE BY PENIS!
_________________
|
|
Top |
|
 |
Virigoth
|
Post subject: Re: Database question Posted: Thu Jan 01, 2009 9:46 am |
|
Spam Much? |
 |
Joined: Nov 2006 Posts: 414
|
|
Sir, is the computer plugged in?
_________________
|
|
Top |
|
 |
Dagger2b
|
Post subject: Re: Database question Posted: Fri Jan 02, 2009 8:56 am |
|
]BoS[ Member |
 |
Joined: May 2007 Posts: 442 Location: Ohio
|
|
Stop yelling at your disks.
|
|
Top |
|
 |
whizperz
|
Post subject: Re: Database question Posted: Fri Jan 02, 2009 9:57 am |
|
]BoS[ Leader |
 |
Joined: Nov 2006 Posts: 2921 Location: Bloomington, IN
|
|
That video was actually pretty sweet. I knew hard drives were really sensitive to vibration but I didn't realize they were THAT sensitive.
_________________
]BoS[whizperz - Clan Leader Steam: whizperz
|
|
Top |
|
 |
Killer
|
Post subject: Re: Database question Posted: Mon Jan 05, 2009 1:47 pm |
|
Urban L337 |
 |
Joined: Nov 2006 Posts: 1427 Location: Elkhart, IN
|
|
Depending on your recovery model, you can't just "restart" a windows server that is running SQL. It is recommended practice to shut down the SQL server first, and then restart the windows computer. You do this bc of the log flushing that needs to happen or yah if you restart a windows server, and the SQL services aren't stopped and logs aren't flushed its going to go into recovery mode. It's just doing what its told to do 
_________________
The clock of life is wound but once, And no man has the power To Tell just when the hands will stop, At late or early hour.
|
|
Top |
|
 |
whizperz
|
Post subject: Re: Database question Posted: Mon Jan 05, 2009 2:01 pm |
|
]BoS[ Leader |
 |
Joined: Nov 2006 Posts: 2921 Location: Bloomington, IN
|
|
Yeah, I wasn't the one who restarted or I would have stopped everything properly. I just had to clean up the mess =/
_________________
]BoS[whizperz - Clan Leader Steam: whizperz
|
|
Top |
|
 |