Without this database SQL Server cannot be started. This is the one which is absolutely must have a database. When SQL Server is installed, it usually creates master, model, msdb, tempdb resource and distribution (last two depends on version of SQL Server) system database by default. Question: What is a Master Database in SQL Server?Īnswer: Master database is system database and it contains information about running server’s configuration. It is really strange that after so many years quite a few of the people do not know what is a master database in SQL Server. I told him directly that he should have not dropped master database as that is a very important system database. The most important aspect is that we can’t do transaction log backups for the master database, so there would be a chance of losing data that were made since the last full backup.The other day, I received an email from a user, who had dropped master database in their system. It is important to understand, not all objects can be scripted out from master databases, backup of mater database is unavoidable. Master database comes with simple recovery model, if you have a daily backup scheduled, there should not be a reason for change in recovery model. (We should also validate the backups as well.) Since master database would be generally small in size, backup process could be an instantaneous one. This would prevent to lose the important information at the time of corruption of this database. Since Master database contains lots of important information as described above, it is very important to make sure we regularly backing up Master database. Backing up of Master database is mastermind That means, In short – without master system database, the SQL Server will never be able to start its services. This system database is storing lots of information like configuration, login details, end points, linked server details, other object details etc. Master database is the primary configuration database in SQL Server. If you ever worked in SQL Server, one way or other way you touched or used this system database. We will go in detail why I would call it so. Let me start this blog post with a statement – “Master” database is the brain of SQL Server.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |