简体   繁体   English

SQL Server Express数据库大小/ BLOB存储

[英]SQL Server Express database size / BLOB storage

I was reading about external blob storage in SQL Server and was wondering how this relates to the database size. 我正在阅读SQL Server中的外部blob存储,并想知道这与数据库大小有何关系。 When talking SQL Server Express, you have a limit in database size (for 2008 it's 10GB I believe). 在谈论SQL Server Express时,您的数据库大小有限制(对于2008年,我相信它是10GB)。 So how about your ESB storage? 那么你的ESB存储怎么样? Is that taken into account for this limit, or does it only count the actual .mdf file itself? 是否考虑了此限制,还是只计算实际的.mdf文件本身? Thinking about it, what about the .ldf log file? 考虑一下, .ldf日志文件怎么样?

I was thinking about this related to SharePoint. 我在想这与SharePoint有关。 Since the major part of a content database usually consists of larger blob objects (documents), it could be very cost effective to move those to ESB if that saves you fullsize SQL Server licenses. 由于内容数据库的主要部分通常由较大的blob对象(文档)组成,因此将它们移动到ESB可能非常经济有效,如果这样可以节省全部SQL Server许可证。

Update: Posted about a possible savings option for SharePoint Foundation - SQL Express here: http://blog.repsaj.nl/index.php/2012/09/sp2010-saving-yourself-a-full-sql-license/ 更新:发布了有关SharePoint Foundation - SQL Express的可能节省选项: http//blog.repsaj.nl/index.php/2012/09/sp2010-saving-yourself-a-full-sql-license/

The 10gb size limit concerns the .mdf only - no limit on the .ldf . 10GB的大小限制仅涉及.mdf - 对.ldf没有限制。

Also, in SQL Server 2008 - the database size limit does not apply to data stored as FILESTREAM in your database (see FILESTREAM compatibility : SQL Server Express supports FILESTREAM. The 10-GB database size limit does not include the FILESTREAM data container ). 此外,在SQL Server 2008 -数据库大小限制并不适用于作为数据存储FILESTREAM在你的数据库(见FILESTREAM兼容性 :SQL Server Express的支持FILESTREAM的10-GB数据库大小限制不包括FILESTREAM数据容器)。

FILESTREAM size is not accounted against the total 10Gb restriction size . FILESTREAM大小不计入总10Gb限制大小

SQL Server Express supports FILESTREAM. SQL Server Express支持FILESTREAM。 The 10-GB database size limit does not include the FILESTREAM data container. 10 GB数据库大小限制不包括FILESTREAM数据容器。

But the Remote Blob Store package has a dependency on SQL Agent jobs for things like garbage collection and orphan scan and SQL Express Edition does not have SQL Agent. 但是, 远程Blob存储包依赖于SQL代理作业,例如垃圾收集和孤立扫描,而SQL Express Edition没有SQL代理。 It requires Enterprise Edition: 它需要企业版:

RBS requires SQL Server Enterprise for the main database server in which the BLOB metadata is stored. RBS要求SQL Server Enterprise用于存储BLOB元数据的主数据库服务器。 However, if you use the supplied FILESTREAM provider, you can store the BLOBs themselves on SQL Server Standard. 但是,如果使用提供的FILESTREAM提供程序,则可以将BLOB本身存储在SQL Server Standard上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM