由于数据存储仅支持本地路径,如何使用文件流管理大量数据?

发布于 2024-09-08 17:47:30 字数 430 浏览 2 评论 0原文

正如 这个问题中指出的,当使用 filestream 时sql server 2008数据必须存储在本地。 这意味着我不能用于

\\FILESERVER\FileStreamData\MyDatabase

Filestream 文件组路径。

因此,如果我需要使用 filesrteam 并拥有大量数据,购买一个非常大的硬盘驱动器是唯一的解决方案吗(这在许多情况下可能非常有限)?不能用NAS吗?通常,人们将 SQL Server 安装在一台高性能计算机上,但将大型文档保存在 NAS 或某些文件服务器上。对于文件流这是不可能的,那么如何做到呢?

As pointed out in this question when using filestream with sql server 2008 the data must be stored locally.
This means that I cannot use

\\FILESERVER\FileStreamData\MyDatabase

for Filestream filegroup path.

So if I need to use filesrteam and have lots of data, is buying a very large hard drive the only solution (this could be quite limiting in many scenarios)? It is not possible to use a NAS? Typically one installs SQL Server on a perofrming machine but keeps the large documents in a NAS or anyway on some fileserver. With filestream this is not possible, so how to do it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷︶言冷语的世界 2024-09-15 17:47:30

请注意,您可以对 FILESTREAM 表进行分区,以将 FILESTREAM 数据分布到多个磁盘上。

关于 NAS,请参阅 Bob Beauchemin 撰写的这篇文章,他说“请注意,文件组需要指向本地文件系统位置;文件流不能驻留在远程服务器或网络可寻址存储 (NAS) 设备上,除非 NAS 设备通过 iSCSI 作为本地 NFS 卷呈现。”

它表示如果NAS设备通过iSCSI呈现为本地卷,则它可以用于存储FILESTREAM数据。 (不过我还没有尝试过)

Note that you can partition your FILESTREAM table to distribute the FILESTREAM data across multiple disks.

Regarding NAS, see this article by Bob Beauchemin where he says "Note that the filegroup needs to point to a local file system location; filestreams can't live on a remote server or a network addressable storage (NAS) devices unless the NAS device is presented as a local NFS volume via iSCSI."

It indicates that if the NAS device is presented as a local volume via iSCSI, it can be used to store FILESTREAM data. (I have not tried this though)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文