什么是首选-将PDF文件存储在SQL数据库中或服务器中的文件夹结构中? [英] What is preferred - Storage of PDF files in SQL Database or in a folder structure in server?
本文介绍了什么是首选-将PDF文件存储在SQL数据库中或服务器中的文件夹结构中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这两种存储PDF文件的方式在空间需求上是否会有很大的不同?
Would there be a considerable difference in the space requirements for both these options of storing the PDF files?
推荐答案
^ ]
使用文件夹结构存储PDF文件.它易于维护,您可以轻松访问以进行进一步使用.
您可以将PDF文件存储在数据库中,但是要使用BYTES数组.
存储PDF文件的缺点是数据库,从数据库中获取BYTE数组并将其写入PDF文件非常可怕.
Use folder structure to store PDF file. it is easy to maintain and you can easily access it for further use.
You can store PDF file in database but it is in terms of Array of BYTES.
The disadvantage of storing PDF file is database is, it is very Scary to fetch the BYTE array from database and write it to PDF file.
这篇关于什么是首选-将PDF文件存储在SQL数据库中或服务器中的文件夹结构中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文