SMT Waits
by Michal Tinthofer on 25/11/2021SMT Waits reports – handy overview of what is going on at the server
Read moreFew days ago I have been asked for help in process of installation a SCOM. Admins wasn’t been able to install some parts of this system because installation wizards reports some unexpected errors.
When I arrived to the SQL instance I found something interesting which ensured me that we should talk more about purpose of model database.
Please remember model is a template on which all newly created databases are made. User databases inherit properties of the model (for example recovery model), file size and file growth settings and also all objects created in the model (tables, functions, schemas, stored procedures, etc…).
Only if you explicitly specified settings in process of database creation will overwrite model default settings. So keep in mind if you left model database for example with full recovery model, every newly created database will require backup of transaction logs on regular basis.
Misunderstandings the concept of model db like this could lead (in case of recovery model=FULL) to unexpected growth of transaction log.
In my case I have got an instance with model db filled with user data (780MB in tables). It means every newly created database will have a copy of those data by default. Because model is a template database you know . So when the wizard tried to create database for SCOM sized to 500MB it will always fail because minimum size of new database must be greater or equal than model database.
So remember this concept and protect you and your SQL server from those issues in the future.
Michal Tinthofer is the face of the Woodler company which (as he does), is fully committed to complete support of Microsoft SQL Server products to its customers. He often acts as a database architect, performance tuner, administrator, SQL Server monitoring developer (Woodler SMT) and, last but not least, a trainer of people who are developing their skills in this area. His current "Quest" is to help admins and developers to quickly and accurately identify issues related to their work and SQL Server runtime.
SMT Waits reports – handy overview of what is going on at the server
Read moreDuring last SQL Server Bootcamp 2024 in Brno - our colleague Jan Repka presented a live query tuning session.
Read moreAnyway this post should focus on some different distressing news about SQL 2012. If you have current software assurance (SA) for SQL Server 2008 R2, this allows you to slide into SQL Server 2012 while maintaining CAL licensing (by the way this is not pos
Read more