SQL Server Architecture Question:

Download Job Interview Questions and Answers PDF

Please explain that what are the basic functions for master, msdb, model, tempdb and resource databases?

MS SQL Server Architecture Interview Question
MS SQL Server Architecture Interview Question

Answer:

Master database is used to store information of all the databases on the SQL server. The server cannot start if the database is not configured properly.

The msdb database stores information regarding database backups, SQL Agent information, DTS packages, SQL Server jobs, and some replication information such as for log shipping.

The tempdb is used to store temporary objects such as global and local temporary tables and stored procedures.

The model is essentially a template database used in the creation of any new user database created in the instance.

The resoure Database is a read-only database that contains all the system objects that are included with SQL Server. SQL Server system objects, such as sys.objects, are physically persisted in the Resource database, but they logically appear in the sys schema of every database. The Resource database does not contain user data or user metadata.

Download MS SQL Server Architecture Interview Questions And Answers PDF

Previous QuestionNext Question
What is Model Database?What do you know about system database?