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

SQL Maintenance Plans - Under the Covers! Expand / Collapse
Author
Message
Posted Tuesday, May 14, 2002 12:00 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: Moderators
Last Login: Yesterday @ 9:08 AM
Points: 6,800, Visits: 1,916
Comments posted to this topic are about the content posted at http://www.sqlservercentral.com/columnists/awarren/sqlmaintenanceplansunderthecovers.asp>http://www.sqlservercentral.com/columnists/awarren/sqlmaintenanceplansunderthecovers.asp

Andy
SQLAndy - My Blog!
Connect with me on LinkedIn
Follow me on Twitter
Post #4235
Posted Wednesday, May 22, 2002 9:07 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, February 26, 2013 3:02 AM
Points: 49, Visits: 102
This checkindex statment is a bit vage for me too, but i think that in SQL Server 6.5, when you execute DBCC CHECKINDEX, you can see in the profiler a statment that looks like the one in the article - with 'checkindex' inside a select. I guess that this is some kind of internal usage of the previous and unsupported DBCC CHECKINDEX.

Meir Dudai,
Software Resources Ltd.
Israel



Post #33774
Posted Friday, June 29, 2007 6:10 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Today @ 1:49 AM
Points: 1, Visits: 119

Hi there,

I am new in the sql enviroment, so pleae be gentle and offer your advice!

I need some help concerning the maint plan in EM. I need to run complete backups on all my databases(about 2000 DB's) When i use maint plans the "Transaction Log Backup Job" fails because the recovery models of the DB's differ.

This part i understand, but i need a script that i can run that will automatically detect recovery model and do backups accordingly! Because about half of my DB's are DEVELOPER DB's. So i cant go and schedule different jobs for every database, and go back to check them everyday! That will be a monitor nightmare.

Please help me, any help will be appreciated.

Piet

Post #377763
Posted Friday, June 29, 2007 7:01 AM
SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: Moderators
Last Login: Yesterday @ 9:08 AM
Points: 6,800, Visits: 1,916
You can probably find a script in the library that will handle this for you. If you still want to do the maintenance plans you have to hack at it. You'll need two plans, one that does transaction log backups and one that doesnt. Then - Im sorry I dont have the name handy which isnt helpful - there is a table that is in MSDB that contains the db names to be processed by each plan. So you would need a job that right before the maintenance plan to add/remove the appropriate rows from each plan. Or you could just ignore that category of error, but be cautious about just ignoring errors easy to miss an important one amidst the noise.

Andy
SQLAndy - My Blog!
Connect with me on LinkedIn
Follow me on Twitter
Post #377787
Posted Tuesday, July 1, 2008 8:13 AM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Monday, February 22, 2010 12:59 AM
Points: 25, Visits: 177
@Piet, i am curious how it is going and how have you implemented your maintance plans / backup strategy?

------------------------------------------------------------
Application Architect and Developer @ Traffic4u
Visit my profile on LinkedIN
Post #526662
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse