SQL Server 2008 vs Express
SQL Server是微软公司生产的关系型数据库服务器。而且SQL Server Express是一个缩小版的SQL Server,它是免费的,但与完整版相比功能有限。SQL Server的最新版本为SQL Server 2008 R2,对应的Express Edition为SQL Server Express 2008。
Microsoft SQL Server主要使用T-SQL (SQL的扩展)和ANCI SQL作为查询语言。它支持整数,浮点数,十进制,Char, Varchar,二进制,文本和少数其他数据类型。还允许用户定义复合类型(udt)。数据库可能包含视图、存储过程、索引和约束,而不是表。数据存储在三种类型的文件中。这些文件分别是。mdf文件、。ndf文件和。ldfextension文件,用于存储主要数据、次要数据和日志数据。为了确保数据库始终恢复到已知的一致状态,它使用了事务的概念。转换是使用预写日志实现的。SQL Server也支持并发。使用T-SQL查询是数据检索的主要方式。 SQL Server performs query optimization for improved performance. It also allows stored procedures, which are parameterized T-SQL queries stored in the server itself and are not executed by the client application like the normal queries. SQL Server includes the SQL CLR (Common Language Runtime) which is used to integrate the server with the .NET Framework. Because of this, you can write stored procedures and triggers in any .NET language such as C# or VB.NET. Also UTDs can be defined using .NET languages. Classes in ADO.NET can be used to access the data stored in the database. ADO.NET classes provide functionality of working with tabular or single row of data, or internal metadata. It also provides XQuery support, which provides access to XML features in SQL Server. SQL Server also provides additional services such as a Service Broker, replication Services, analysis services, reporting services, Notification Services, Integration Services and Full Text Search.
如上所述,SQL Server Express是一个缩小版的,可免费下载的SQL Server版本。因此,与完整版相比,它显然有一些局限性。值得庆幸的是,服务器支持的数据库数量或用户数量没有限制。但是,Express版只能使用单个处理器、1GB内存和10GB数据库文件。它适合于XCOPY部署,因为整个数据库保存在一个类型为.mdf的单个文件中。另一个技术限制是缺少分析、集成和通知服务。但总而言之,Express版非常适合学习,因为它可以免费用于构建小型桌面和web应用程序。
SQL Server和SQL Server Express版本的主要区别 •SQL Server是一个商业产品,而SQL Server Express是免费下载的,缩小版的SQL Server。 •SQL Server是针对企业工作负载,需要冗余和内置的商业智能工具,而快速版是一个入门级数据库的理想学习目的 •在cpu数量、内存数量和数据库大小方面,Express版的性能低于SQL Server。它只能使用单个处理器、1GB内存和10GB数据库文件。 •SQL Server Express版本中没有其他服务,如报告和分析服务。 |
留下一个回复