Skip to main content

ALL ABOUT SQL SERVER

10 Commandments for SQL Server DBAs

· Friedrich Lechnitz
  1. Thou shalt have no other server besides me.

Keep your data on stable and secure SQL Servers, and avoid uncontrolled instance sprawl.

2. Thou shalt not take the name of thy SQL Server in vain.

Give your servers clear, unambiguous, and meaningful names – not SERVER123 or TEST_FINAL_FINAL.

3. Thou shalt keep the maintenance day holy.

Schedule regular maintenance windows, updates, and backups – and stick to them.

4. Thou shalt honor thy backups and their recoverability.

Without recoverability, you are lost in an emergency. Test your backups regularly!

5. Thou shalt not delete data.

Do not delete anything without a safety net, backup, or confirmation. Especially not in the production environment.

6. Thou shalt not commit untested changes.

Check everything in the test environment first. Production changes without testing are a sin.

7. Thou shalt not steal resources.

Avoid poor queries, lazy indexes, and inefficient jobs that hog CPU and RAM.

8. Thou shalt not practice false monitoring.

Monitor with care and knowledge – do not just stare at percentages, but understand what is happening.

9. Thou shalt not covet thy colleague's query

Learn from others, but do not copy mindlessly; instead, optimize your own queries with understanding.

10. Thou shalt not covet thy neighbor's admin privileges.

Grant only the permissions that are necessary. Least privilege is the law.