简体   繁体   English

存储大量文件的最佳方式

[英]Best way to store large amount of files

Is there any db system to store large amount of files?是否有任何数据库系统来存储大量文件? The files are compressed web pages?文件是压缩的 web 页面吗?

In SQL systems the problem raise where db size grow and I want to make a backup or a simple insert or select get slower.在 SQL 系统中,问题会在数据库大小增长的地方出现,我想进行备份或简单insertselect变慢。 I know I can write thousands of code and manage this problem or create another databases to keep databases small.我知道我可以编写数千个代码来管理这个问题,或者创建另一个数据库来保持数据库的小型化。

But I want a db system that cover all these problems automatically.但我想要一个能够自动解决所有这些问题的数据库系统。 (I want to do more with less!!) (我想事半功倍!!)

Thanks谢谢

The latest MS SQL Server has a special FILESTREAM feature, where files are stored through the database as if they were blobs, but they are actually stored in a separate folder.最新的 MS SQL 服务器具有特殊的FILESTREAM功能,其中文件通过数据库存储,就像它们是 blob,但它们实际上存储在单独的文件夹中。 I think this is exactly what you're looking for.我认为这正是您正在寻找的。

The best way to store thousands of files is (gasp) on a file-system.存储数千个文件的最佳方式是(喘气)在文件系统上。 If you need a hybrid, have you considered the FILESTREAM type in sql server?如果您需要混合,您是否考虑过 sql 服务器中的FILESTREAM类型?

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

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