SQL Server Compact

Microsoft SQL Server Compact (SQL CE)是微软公司的运行于移动或桌面平台的紧凑型关系数据库。在引入到桌面平台前,早期称作SQL Server for Windows CESQL Server Mobile Edition

包括32位与64位版。[1] SQL CE targets occasionally connected applications and applications with an embedded database.[2]免费下载与使用。[2] 没有ODBC驱动支持。只能使用OLE DB编程API接口。

最高版本是2011年发布的SQL Server Compact 4.0.[1]微软将支持到2021年7月。[3][4]

2013年2月,微软宣布SQL Server Compact Edition已经过时了。[5]

概述

SQL Server Compact与其他Microsoft SQL Server版本共享了很多API接口。[6]ADO.NET provider,[2] 支持LINQEntity Framework。尚不支持Microsoft Synchronization Services[7]与其他Microsoft SQL Server版本不同,SQL CE与应用程序运行在同一个进程中。[7] 占用磁盘不超过2 MB,内存约为5 MB.[2] SQL CE被优化为所有应用程序共享同一内存池。[8]Windows 8的 Windows Store app不能使用SQL Server Compact。[9]

版本历史

官方名字 通用名
SQL Server 2000 Windows CE Edition SQL CE 1.0
SQL Server 2000 Windows CE Edition SQL CE 1.1
SQL Server 2000 Windows CE Edition SQL CE 2.0
SQL Server 2005 Mobile Edition SQL CE 3.0
SQL Server 2005 Compact Edition SQL CE 3.1
SQL Server Compact 3.5 SQL CE 3.5
SQL Server Compact 4.0 SQL CE 4.0

文件格式

SQL Server Compact
.sdf
开发者Microsoft
格式类型关系数据库

SQL CE数据库存于一个单独的.sdf文件("Sqlce Database File") ,[10],最大为4 GB[6] .sdf文件可用128位加密。[10] SQL CE runtime负责调控多用户同步访问一个.sdf文件。.sdf文件可直接复制到部署目标系统上,也可以通过ClickOnce部署。SQL CE runtime支持DataDirectories[8]

Visual Studio可以处理SQL Server CE 数据库文件。[11]

参见

参考文献

  1. . [2011-03-01]. (原始内容存档于2012-05-30).
  2. . [2007-07-03]. (原始内容存档于2007-03-16).
  3. . Microsoft Support. [2017-04-30]. (原始内容存档于2017-12-22).
  4. . Microsoft Support. [2017-04-30]. (原始内容存档于2017-12-22).
  5. Barranis, Patrick. . Microsoft Connect. 2013-01-11 [2016-06-25]. (原始内容存档于2017-03-21).
  6. . [2005-07-03]. (原始内容存档于2011-06-09).
  7. . [2007-07-03]. (原始内容存档于2007-07-03).
  8. . [2007-07-03]. (原始内容存档于2007-08-11).
  9. . social.msdn.microsoft.com. [11 March 2013]. (原始内容存档于2013-01-18).
  10. . [2007-07-03]. (原始内容存档于2007-06-30).
  11. . [2007-07-03]. (原始内容存档于2007-07-09).

外部链接

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.