May 27, 2013 at 9:31 am
Check all your SQL Agent jobs. Probably find it's a badly written index rebuild job.
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
May 27, 2013 at 9:58 am
Hi, thanks foir the reply, I looked with this search in all jobs:(with SET RECOVERY, ALTER DATABASE, DBCC SHRINK)
EXEC sp_MSForEachDB ' Use ?; select ''?'', o.name,m.definition from ?.SYS.sql_modules m
inner join SYS.sysobjects o on m.object_id=o.id
where definition like ''%SET RECOVERY%'''
Didn't find anything, just comments...
Tell me what you think.
May 27, 2013 at 10:07 am
That query's searching procedures and functions, not jobs.
Look at your SQL Agent scheduled jobs, check their steps, see what they do.
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
May 27, 2013 at 10:22 am
You can try this as a shortcut
SELECT *
FROM msdb.dbo.sysjobsteps
WHERE command LIKE 'alter database%';
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
May 27, 2013 at 10:41 am
check any maintenance plans as well if you have them.
---------------------------------------------------------------------
May 27, 2013 at 10:44 am
Hi,
The Jobs perform 2 things:
1) calls to stored procs, that I already checked
2) Calls to DTSx (Haven't checked)
So, besides the DTS, is there anything automatic or internal of SQL Server that could be doing this?
May 27, 2013 at 10:49 am
Lorenzo Mota (5/27/2013)
So, besides the DTS, is there anything automatic or internal of SQL Server that could be doing this?
No. SQL will never automatically change database settings. If recovery model is changing, you have some task that someone created which is doing that.
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
May 27, 2013 at 10:56 am
GilaMonster (5/27/2013)
Lorenzo Mota (5/27/2013)
So, besides the DTS, is there anything automatic or internal of SQL Server that could be doing this?No. SQL will never automatically change database settings. If recovery model is changing, you have some task that someone created which is doing that.
Like Gail said, this is something that somebody has created/written/implemented that is changing your recovery models.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
Viewing 8 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply