Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««123»»

Frequently Database goes suspect mode! Expand / Collapse
Author
Message
Posted Wednesday, May 13, 2009 12:03 PM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, September 11, 2014 3:05 AM
Points: 2,039, Visits: 1,665
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
Post #716275
Posted Wednesday, May 13, 2009 3:07 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 10:19 AM
Points: 43,026, Visits: 36,192
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 2008, MVP
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

Post #716470
Posted Wednesday, May 13, 2009 10:42 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, January 31, 2010 7:52 AM
Points: 19, 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
Post #716639
Posted Wednesday, May 13, 2009 10:50 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 10:19 AM
Points: 43,026, Visits: 36,192
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 2008, MVP
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

Post #716641
Posted Thursday, May 14, 2009 12:16 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, January 31, 2010 7:52 AM
Points: 19, 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?
Post #716660
Posted Thursday, May 14, 2009 4:22 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, July 23, 2013 9:53 AM
Points: 176, Visits: 483
CHECK your disk controller and find if disk caching is enabled or not?
Post #717468
Posted Friday, May 15, 2009 2:40 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, January 31, 2010 7:52 AM
Points: 19, 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.


  Post Attachments 
Settings.JPG (16 views, 37.17 KB)
Post #717693
Posted Friday, May 15, 2009 8:39 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, July 23, 2013 9:53 AM
Points: 176, Visits: 483


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
Post #717970
Posted Friday, May 15, 2009 9:11 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, January 31, 2010 7:52 AM
Points: 19, 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?


Post #718009
Posted Friday, May 15, 2009 9:31 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, September 11, 2014 3:05 AM
Points: 2,039, Visits: 1,665
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
Post #718032
« Prev Topic | Next Topic »

Add to briefcase ««123»»

Permissions Expand / Collapse