Tell me more ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I am a student from Fontys University in Eindhoven, and I am currently carrying out a series of interviews to help with the development of a SQL Server tool and I would like to get feedback from the experts in the field.

One of my questions is:

What does a best-practice SQL Server maintenance plan look like? Do you use the SQL Server maintenance plans for this, or do you use custom scripts?

share|improve this question

2 Answers

You have to plan it with the business needs in mind. Sometimes it's a maintenance plan (like when a shop doesn't have full time DBAs or wants a minimum of complexity.) Other times it's Ola Hallengren's maintenance scripts. Whatever you do, it has to take into account the business needs for that data. I discussed it in my post Ozar's Hierarchy of Database Needs.

share|improve this answer

Setting up a maintenance plan is a more complicated than simply following a given "best practice". There's too much that plays into it all.

To give you an idea, Brad's Sure Guide to Maintenance Plans is a free ebook that's 269 pages long. If this were a simpler question, the book would be much, much shorter.

If I hit that question in an interview, for example, I would say that it completely depends on the resources the company has available, the business needs, the data inside the database, how often (and how) that data changes, etc. There's not one quick answer to the question, unfortunately.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.