SQL SERVER – Automation Process Good or Ugly

SQL SERVER - Automation Process Good or Ugly TSQL2sDay

This blog post is written in response to T-SQL Tuesday hosted by SQL Server Insane Asylum.

The idea of this post really caught my attention. Automation – something getting itself done after the initial programming, is my understanding of the subject. The very next thought was – is it good or evil? The reality is there is no right answer. However, what if we quickly note a few things, then I would like to request your help to complete this post.

We will start with the positive parts in SQL Server where automation happens.

The Good

If I start thinking of SQL Server and Automation the very first thing that comes to my mind is SQL Agent, which runs various jobs. Once I configure any task or job, it runs fine (till something goes wrong!). Well, automation has its own advantages. We all have used SQL Agent for so many things – backup, various validation jobs, maintenance jobs and numerous other things.

What other kinds of automation tasks do you run in your database server?

The Ugly

This part is very interesting, because it can get really ugly(!). During my career I have found so many bad automation agent jobs.

Automation is necessary but common sense is a must when creating automation.

Reference: Pinal Dave (https://blog.sqlauthority.com)

Previous Post
SQL SERVER – CXPACKET – Parallelism – Advanced Solution – Wait Type – Day 7 of 28
Next Post
SQL SERVER – SOS_SCHEDULER_YIELD – Wait Type – Day 8 of 28

Related Posts

No results found.

2 Comments. Leave new

  • Automation dont have ugly side, only bad thing is overhead on the resources that some processes (agent/scheduler) keeps on running to trigger the task/jobs on its schedule…:).

    I think, when a process is fixed and need to be run periodically… certainly Automation is best. It saves lots of manual efforts and time as well. But need to be implemented carefully, otherwise it could come up looking UGLY. (like the ones that you listed in UGLY section).

    -Sajid

    Reply
  • adan barrios cortes
    February 14, 2011 12:19 pm

    if error to excell some data mantnace in iso9000 and all those topics to fussion with enviroments of storage in private audittting red error to budget a life cicle.

    Reply

Leave a Reply