What is an MDF file?(什么是 MDF 文件?)
问题描述
这是否像某种嵌入式"数据库?包含内置数据库的文件?
Is this like an "embedded" database of sorts? A file containing a built in database?
推荐答案
SQL Server 数据库使用两个文件 - 一个 MDF 文件,称为主数据库文件,其中包含架构和数据,以及一个 LDF 文件,其中包含日志.请参阅维基百科.数据库也可以使用辅助数据库文件,通常使用 .ndf 扩展名.
SQL Server databases use two files - an MDF file, known as the primary database file, which contains the schema and data, and a LDF file, which contains the logs. See wikipedia. A database may also use secondary database file, which normally uses a .ndf extension.
正如 John S. 所指出的,这些文件扩展名纯粹是约定俗成的 - 您可以使用任何您想要的,尽管我想不出这样做的充分理由.
As John S. indicates, these file extensions are purely convention - you can use whatever you want, although I can't think of a good reason to do that.
有关 MSDN 的更多信息此处和开始 SQL Server 2005 管理(Google 图书)
More info on MSDN here and in Beginning SQL Server 2005 Administation (Google Books) here.
这篇关于什么是 MDF 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:什么是 MDF 文件?


基础教程推荐
- SQL Server:只有 GROUP BY 中的最后一个条目 2021-01-01
- 在 VB.NET 中更新 SQL Server DateTime 列 2021-01-01
- 如何在 SQL Server 的嵌套过程中处理事务? 2021-01-01
- 无法在 ubuntu 中启动 mysql 服务器 2021-01-01
- 使用pyodbc“不安全"的Python多处理和数据库访问? 2022-01-01
- ERROR 2006 (HY000): MySQL 服务器已经消失 2021-01-01
- 将数据从 MS SQL 迁移到 PostgreSQL? 2022-01-01
- SQL Server 中单行 MERGE/upsert 的语法 2021-01-01
- SQL Server 2016更改对象所有者 2022-01-01
- Sql Server 字符串到日期的转换 2021-01-01