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

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.

主站蜘蛛池模板: 游戏| 韩城市| 黄骅市| 正镶白旗| 广西| 韩城市| 中牟县| 穆棱市| 乌什县| 肇州县| 射洪县| 四平市| 淅川县| 黑山县| 榕江县| 武冈市| 全椒县| 安宁市| 乾安县| 阳东县| 东方市| 昆明市| 兴义市| 东乡族自治县| 新化县| 韶山市| 汨罗市| 丰城市| 临朐县| 南昌县| 汝南县| 新蔡县| 长宁区| 汉川市| 淮阳县| 崇义县| 区。| 堆龙德庆县| 通河县| 永清县| 钟山县|