Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Administration
»
Recovery model type of the database keeps...
38 posts, Page 1 of 4
1
2
3
4
»
»»
Recovery model type of the database keeps changing
Rate Topic
Display Mode
Topic Options
Author
Message
Mh-397891
Mh-397891
Posted Friday, February 08, 2008 9:08 AM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 2:28 PM
Points: 261,
Visits: 1,492
Hi, the Recovery model of the database keeps changing to Simple which results in the failure of the transaction log backup jobs. I am trying to find out how's it's getting changed, any ideas are appreciated. Thanks!!
Post #453312
Greg Charles
Greg Charles
Posted Friday, February 08, 2008 10:22 AM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Yesterday @ 11:34 AM
Points: 4,007,
Visits: 4,857
Is it a user database or a system database? What was the recovery model when the database was created?
Greg
Post #453356
Matt Miller (#4)
Matt Miller (#4)
Posted Friday, February 08, 2008 10:36 AM
SSCertifiable
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 7:57 PM
Points: 6,998,
Visits: 13,949
Keep in mind that the reason it "fails" is that there's ultimately nothing to back up in Simple mode. since the transaction log automatically truncates as soon as the activity is committed - there's nothing retained long enough for it to get backed up.
Perhaps it's not such a bad thing: could be perfectly appropriate depending on the purpose of said database.
----------------------------------------------------------------------------------
Your lack of planning does not constitute an emergency on my part...unless you're my manager...or a director and above...or a really loud-spoken end-user..All right - what was my emergency again?
Post #453367
Mh-397891
Mh-397891
Posted Friday, February 08, 2008 11:51 AM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 2:28 PM
Points: 261,
Visits: 1,492
Greg Charles (2/8/2008)
Is it a user database or a system database? What was the recovery model when the database was created?
It's a user db, I do'nt know the recovery model when the db was created. Thanks for the speedy response.
Post #453396
Greg Charles
Greg Charles
Posted Wednesday, February 13, 2008 2:12 PM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Yesterday @ 11:34 AM
Points: 4,007,
Visits: 4,857
I've never heard of a database spontaneously change recovery models. I'd say that either the database is being restored from a backup made when the recovery model was simple or an Alter Database command is being executed by a member of sysadmin or db_owner.
Greg
Post #455401
Mh-397891
Mh-397891
Posted Wednesday, February 13, 2008 3:28 PM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 2:28 PM
Points: 261,
Visits: 1,492
Greg Charles (2/13/2008)
I've never heard of a database spontaneously change recovery models. I'd say that either the database is being restored from a backup made when the recovery model was simple or an Alter Database command is being executed by a member of sysadmin or db_owner.
I checked all the sql jobs in that server I can't find any where about the altering of the db to simple. And also it's really wierd that it's happening to only one db out of 20 db's. And that db belongs to Desktop authority application, I do'nt think that application is changing the db to simple, Thanks for all the responses.
Post #455435
Greg Charles
Greg Charles
Posted Thursday, February 14, 2008 9:25 AM
SSCarpal Tunnel
Group: General Forum Members
Last Login: Yesterday @ 11:34 AM
Points: 4,007,
Visits: 4,857
I have a couple more ideas. Changing the recovery model should be logged in the Windows Server Application log. Look in Event Viewer to see if there's a user or application related to the change.
You could run a Profiler trace to capture actions in the database. If the change always seems to occur at a particular time (like at night), you wouldn't have to run the trace very long.
Greg
Post #455803
Bob Griffin
Bob Griffin
Posted Thursday, February 14, 2008 9:40 AM
Ten Centuries
Group: General Forum Members
Last Login: Wednesday, May 22, 2013 3:51 PM
Points: 1,132,
Visits: 664
Is the db a reporting or read only db? Is the db restored on a nightly basis from some other source?....I only mention this because I have seen this behavior with on of my dbs. The source db is set to simple, recovering the backup to the reporting system changes the destination from full recovery back to simple.
Post #455811
Mh-397891
Mh-397891
Posted Thursday, February 14, 2008 10:25 AM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, April 24, 2013 2:28 PM
Points: 261,
Visits: 1,492
Greg Charles (2/14/2008)
I have a couple more ideas. Changing the recovery model should be logged in the Windows Server Application log. Look in Event Viewer to see if there's a user or application related to the change.
You could run a Profiler trace to capture actions in the database. If the change always seems to occur at a particular time (like at night), you wouldn't have to run the trace very long.
Here is information below from the event viewer:
Event Type: Information
Event Source: MSSQLSERVER
Event Category: (2)
Event ID: 17055
Date: 2/10/2008
Time: 1:01:21 AM
User: username
Computer: server
Description:
5144 :
Autogrow of file 'DB_log' in database 'DB' cancelled or timed out after 0 ms. Use ALTER DATABASE to set a smaller FILEGROWTH or to set a new size
I think this might have caused it to change to Simple, but how can I fix this issue. Thanks!!
Post #455854
Donn Polix
Donn Polix
Posted Thursday, February 14, 2008 10:34 AM
SSC Journeyman
Group: General Forum Members
Last Login: 2 days ago @ 3:46 PM
Points: 89,
Visits: 952
You can also check the db datecreated if it's recent, you'll have an idea when the database just got restored.
_____________
Donn Policarpio
Post #455857
« Prev Topic
|
Next Topic »
38 posts, Page 1 of 4
1
2
3
4
»
»»
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.