SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Frequently Database goes suspect mode!


Frequently Database goes suspect mode!

Author
Message
Paul Randal
Paul Randal
Hall of Fame
Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)

Group: General Forum Members
Points: 3653 Visits: 1717
Check this out: Importance of having the right backups

Paul Randal
CEO, SQLskills.com: Check out SQLskills online training!
Blog:www.SQLskills.com/blogs/paul Twitter: @PaulRandal
SQL MVP, Microsoft RD, Contributing Editor of TechNet Magazine
Author of DBCC CHECKDB/repair (and other Storage Engine) code of SQL Server 2005
GilaMonster
GilaMonster
SSC Guru
SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)

Group: General Forum Members
Points: 87307 Visits: 45272
ComITSolutions (5/12/2009)
When my application starts, Physical files back-up is taken(auto).

Do you mean that you just copy the database files (mdf and ldf) somewhere for a backup? Do you stop SQL or detach the database to do this?

Could you please guide the kind of Back-up Plan that I can Introduce.

As well as Paul's link, start with SQL Books Online, the section BACKUP DATABASE

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


ComITSolutions
ComITSolutions
SSC Rookie
SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)

Group: General Forum Members
Points: 45 Visits: 43
GilaMonster (5/13/2009)

Do you mean that you just copy the database files (mdf and ldf) somewhere for a backup? Do you stop SQL or detach the database to do this?


Yes, My application Stops Sql Server agent & SQl Server Takes Back-up(mdf and ldf files and starts SQL Server and Server Agent.

Thanks for the Link Paul & GilaMonster
GilaMonster
GilaMonster
SSC Guru
SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)SSC Guru (87K reputation)

Group: General Forum Members
Points: 87307 Visits: 45272
ComITSolutions (5/13/2009)
Yes, My application Stops Sql Server agent & SQl Server Takes Back-up(mdf and ldf files and starts SQL Server and Server Agent.


Don't. That's a very poor way to take SQL backups.

Schedule regular database backups (BACKUP DATABASE...). If point in time recovery is required, schedule regular log backups as well. Those backup files can then be copied to tape or whereever you're backing up to, with no downtime required.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


ComITSolutions
ComITSolutions
SSC Rookie
SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)

Group: General Forum Members
Points: 45 Visits: 43
I agree GilaMonster. with the help of links provided by you and Paul, Now I am working on back up plan.

GilaMonster (5/12/2009)
Have you checked for hardware-related errors in the system event logs, RAID controller logs, etc?


If same problem occurs again, what all things I should check and post here.

Paul Randal (5/12/2009)

It's likely that something in the h/w setup in each location is causing corruption.


What Hardware Configuration I should check?
abishekshroff
abishekshroff
SSC Veteran
SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)

Group: General Forum Members
Points: 254 Visits: 484
CHECK your disk controller and find if disk caching is enabled or not?
ComITSolutions
ComITSolutions
SSC Rookie
SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)

Group: General Forum Members
Points: 45 Visits: 43
nilmov (5/14/2009)
CHECK your disk controller and find if disk caching is enabled or not?


Yes, I have checked and attached screen shot of the settings.
Enable write caching on the disk option is enabled.
Attachments
Settings.JPG (22 views, 37.00 KB)
abishekshroff
abishekshroff
SSC Veteran
SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)SSC Veteran (254 reputation)

Group: General Forum Members
Points: 254 Visits: 484
As you said that the DB goes to suspect now and then and also the h/w check came clean.

Only thing I can think of right now is disk controller.

Refer this KB which briefs about the impact of disk controller caching on SQL Server .
http://support.microsoft.com/kb/86903
ComITSolutions
ComITSolutions
SSC Rookie
SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)SSC Rookie (45 reputation)

Group: General Forum Members
Points: 45 Visits: 43
nilmov (5/15/2009)


As you said that the DB goes to suspect now and then and also the h/w check came clean.

Only thing I can think of right now is disk controller.

Refer this KB which briefs about the impact of disk controller caching on SQL Server .
http://support.microsoft.com/kb/86903


Thanks for the link nilmov. I have read the Article and noted the contents.
In the article it is said that,
Even if the server uses a UPS, this does not guarantee the security of the cached writes..
And we have observed, many times Power and UPS failure in the branches, Is it better if I disable Disk Caching Option?
Paul Randal
Paul Randal
Hall of Fame
Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)Hall of Fame (3.7K reputation)

Group: General Forum Members
Points: 3653 Visits: 1717
Yes.

Paul Randal
CEO, SQLskills.com: Check out SQLskills online training!
Blog:www.SQLskills.com/blogs/paul Twitter: @PaulRandal
SQL MVP, Microsoft RD, Contributing Editor of TechNet Magazine
Author of DBCC CHECKDB/repair (and other Storage Engine) code of SQL Server 2005
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search