简体   繁体   English

在SQL Server中使用FileStream是否会增加数据库大小?

[英]Will using FileStream in SQL Server increase database size?

I am using AppHarbor for hosting my website and currently it offers only 20MB free space. 我正在使用AppHarbor托管我的网站,当前它仅提供20MB的可用空间。 I want to store PDF files using SQL Server's FileStream column. 我想使用SQL Server的FileStream列存储PDF文件。 Would using FileStream increase the database size because FileStream basically stores on hard disk as I know. 如我所知,使用FileStream会增加数据库大小,因为FileStream基本存储在硬盘上。

Any help would be appreciated. 任何帮助,将不胜感激。

因为FILESTREAM数据成为数据库的一部分,从某种意义上说,它具有自己的FILEGROUP并且可以(应该)通过SQL备份进行备份-我会回答是。

No it does not increase the size of the database as the files are not stored in the Database. 不可以,因为文件没有存储在数据库中,因此不会增加数据库的大小。 Please read the following "FILESTREAM Design and Implementation Considerations" --google is your best friend 请阅读以下“ FILESTREAM设计和实现注意事项”-google是您最好的朋友

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

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