liveBook · Manning

Automation

As explained in 100 SQL Server Mistakes and How to Avoid Them

Automation is the execution of operational or administrative tasks by software with limited manual intervention.

Automate repetitive SQL Server maintenance instead of relying on daily manual work. Automation reduces human error, prevents routine tasks from being abandoned during urgent incidents, and frees DBAs to investigate higher-value performance problems. section 9.9 section 9.12

Mistake #51: Failing to automate

At MagicChoc, backups run through a corporate tool such as Commvault or NetBackup, but DBAs manually perform index rebuilds, statistics updates, and consistency checks. The routine work is dull, may be dropped when urgent operations arrive, and invites errors from repetitive tasks. Hand-crafting SQL Server Agent jobs separately on every instance creates another maintenance problem: decentralized automation. section 9.9 section 9.9

Apply these operational rules:

  • Automate routine maintenance wherever possible, including index rebuilds, statistics updates, and consistency checks. section 9.9
  • Use automation to reduce manual effort and human error rather than allowing repetitive work to depend on individual availability. section 9.12 section 9.9
  • Review the automation design across instances; duplicating hand-crafted jobs can create decentralized administration. section 9.9

How 100 SQL Server Mistakes and How to Avoid Them covers it

How deep it goes
Explains operational benefits and failure modes through a maintenance scenario, but does not provide implementation scripts.
Examples
Uses MagicChoc, corporate backup tools, index rebuilds, statistics updates, consistency checks, and per-instance Agent jobs.
What it assumes
Assumes familiarity with DBAs, SQL Server instances, backups, and routine maintenance tasks.
What you can do after
Apply it via automated maintenance to reduce repetitive work and redirect DBA time toward performance investigation.
How it connects
Connects automation with SQL Server maintenance, backups, SQL Server Agent jobs, human error, and performance diagnosis.

Also explained in

Compare how 19 books explain automation →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of 100 SQL Server Mistakes and How to Avoid Them. The section links point to the parts of the book it draws on.