官术网_书友最值得收藏!

System databases

SQL server has a concept of system and user databases. User databases are created for specific types of business process: HR, online shop, eHealth, and so on. It's up to the user (developers and DBAs) to define all the parameters. Here, you are in charge (more about it Chapter 4, Database in the Sandbox).

On the other hand, system databases are created during the installation procedure without almost any user influence. It is a repository of all SQL Server internals and it continues its process of updating its content, such as:

  • Configuration data
  • Users information
  • Database objects
  • Query execution statistics
  • Troubleshooting
  • Data statistics
  • And many more

SQL Server simply can't work without it. All this important information is stored in the following system databases:

  • master (system-wide settings and information about user databases)
  • tempdb (a place for any temporal database tasks)
  • model (the template for new user databases)
  • msdb (used by SQL Server Agent Service for tasks scheduling )

Those four databases are default and the user can't directly access their content. To do that we need to use system catalog and dynamic management views objects.

主站蜘蛛池模板: 毕节市| 义乌市| 互助| 柘城县| 罗甸县| 双柏县| 武威市| 道真| 盐津县| 小金县| 巴中市| 县级市| 西贡区| 德江县| 乐安县| 定襄县| 常熟市| 柳林县| 京山县| 固镇县| 桃园县| 龙口市| 阿合奇县| 土默特右旗| 化隆| 石城县| 敦煌市| 长治县| 五大连池市| 五华县| 田林县| 措美县| 皋兰县| 体育| 巴林右旗| 信阳市| 黎城县| 泾川县| 辛集市| 娱乐| 合山市|