Microsoft SQL Server 2008 Technology Insider T-SQL Language Foundation Chapter 1th T-SQL query and Programming fundamentals

Source: Internet
Author: User

System databases include:

Master Master Data holds metadata information, server configuration, information about all databases in the instance, and initialization information in SQL Server instance scope

Resource The resource database is added in SQLServer2005 to hold all system objects. When querying metadata information in a database, this information is ostensibly in the database, but is actually saved in the resource database

The model model database is a template for the new database. Each newly created database is initially a copy of the model. So, if you want to include specific objects (such as data types) in all newly created databases, Or, if you configure some database properties in a specific way in all newly created databases, you can put these objects or configuration properties in the model database first. Note: Modifications made to the model database do not affect existing databases, only the newly created database after

The tempdb tempdb database is where SQL Server holds temporary data, including worksheets (work table), sort spaces, row versioning (row versioning) information, and so on. SQL Server allows users to create temporary tables for their own use, where the physical location of these temporary tables is tempdb. Note: Each time the SQL Server instance is restarted, the contents of the database are deleted and recreated as a copy of the model. Therefore, When you need to create objects for testing purposes, and you do not want to keep them in the database after testing is complete, you can usually create them in tempdb. Even if you forget to clear these objects, they are automatically cleared after a restart.

msdb msdb is the place where a service called SQLServerAgent holds its data. SQLServerAgent is responsible for automating processing, including recording information about entities such as job (Job), schedule (schedule), and alerts. SQLServerAgent is also responsible for replicating (replication) services. Msdb is also used to hold some information about other SQL Server features, such as database Mail and Service Broker

Microsoft SQL Server 2008 Technology Insider T-SQL Language Foundation Chapter 1th T-SQL query and Programming fundamentals

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.