February 27, 2012 at 2:16 am
can anyone give me the clear diffrence bw both..
and
when u automate a backup strategy which one u choose in ur organization, and why??
thanks
February 27, 2012 at 4:14 am
satishm94 (2/27/2012)
can anyone give me the clear diffrence bw both..and
when u automate a backup strategy which one u choose in ur organization, and why??
thanks
Maintenance Plans: SQL Server provides you various built-in plans for daily maintenance activities such as backup, re-indexing. As the name suggests Maintenance Plans are specifically used for maintenance only. If you use built-in Maintenance Plans, then you don't need to write any script to perform these maintenance tasks.
Jobs: Whenever you need to schedule any script/task in SQL Server so that it runs at the specified time or regular intervals, you can do that using SQL Agent Jobs. These jobs are configurable & you can edit the schedule timings, steps that are executed etc. as per your requirement. Maintenance Plans are also scheduled via jobs only.
What will I choose?: I prefer my own written script but I am not against using Maintenance Plans.
February 27, 2012 at 5:48 am
February 28, 2012 at 7:05 am
For Backups I tend to use maintenance plans.
For Index and Statistics maintenance, I tend to use scripts. Mostly because Microsoft's Index Maintenance takss don't take into account the level of index fragmentation when they run, so they run for every single index in a database.
That said, to kick off my scripts, I use an execute SQL task in a Maintenance Plan. It makes finding everything a bit easier.
February 28, 2012 at 8:04 am
satishm94 (2/27/2012)
when u automate a backup strategy which one u choose in ur organization, and why??
I don't automate backup strategies. I automate backups for a recovery strategy. And which one I use depends on which customer I am implementing it for.
First, create your recovery strategy and SLA on paper. Then design the backups, backup types, and database recovery models based on that.
February 28, 2012 at 9:46 am
Brandie Tarvin (2/28/2012)
First, create your recovery strategy and SLA on paper. Then design the backups, backup types, and database recovery models based on that.
Exactly what Brandie wrote.
February 28, 2012 at 11:08 pm
Left over interview question.
http://www.sqlservercentral.com/Forums/Topic1258844-146-1.aspx
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply