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

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.

主站蜘蛛池模板: 海宁市| 固镇县| 阜康市| 罗江县| 莲花县| 若羌县| 永城市| 府谷县| 清水县| 普兰店市| 女性| 吉安县| 兴文县| 金阳县| 新源县| 宁德市| 樟树市| 章丘市| 安岳县| 嘉黎县| 冕宁县| 泸定县| 柘城县| 海阳市| 登封市| 横峰县| 锡林浩特市| 清新县| 铜梁县| 临朐县| 图片| 施甸县| 吉首市| 灌云县| 突泉县| 久治县| 江山市| 育儿| 仪陇县| 措美县| 静乐县|