本站首页    管理页面    写新日志    退出

The Neurotic Fishbowl

[/*Java*/][转]File system or BLOB?
nybon 发表于 2005/4/6 0:39:30

File system or BLOB? At Karora, we have a document management engine that saves files in a "repository" (abstraction). The idea was that you could choose between saving files on the file system, or in a BLOB column of a database, when setting up the system. I'm trying to figure out what the pros and cons each are. Here's what I've thought of so far:   File System BLOB Column Good Simple Administrators can "see" the files by browsing the file tree Ability to use a SAN solution Ability to reuse existing file system tools (e.g. virus scanners) Easier to backup  both the database and files at the same time Transactional integrity with inserting the metadata and content. Most file systems aren't transactional. Bad Easy for the metadata to get out of sync with the database, through files being moved around or deleted outside of the system. A client told us that a competitor's system that uses BLOBS causes great pain to the backup software, which gets confused when content is changed, causing the entire database to be backed up, instead of increments. (This sounds like more of an issue with the backup software than anything to me). Would file size be an issue? I mean how much stuff can you can you stuff into a BLOB column anyway? We manage files over 100 megs. I suppose you could spread chunks of the file across rows, but that seems to be adding complexity to me. I wonder about the concurrency aspects - BLOB's don't seem to be good at lots of simultaneous activity on the same record. I also wonder about the read performance. Reading from a BLOB is slower than reading from a file on disk. So far, we've written the file system repository and everyone seems pretty happy. Doesn't really seem to be any big demand for the BLOB solution, so I think we'll just leave it as is for now. I'd be real interested to hear other people's comments/experiences on this. Posted by BBG on 2005.02.02 at 08:57 PM in the devil is in the details | Permalink

阅读全文(2997) | 回复(0) | 编辑 | 精华

 



发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)

 
 



The Neurotic Fishbowl

.: 公告

This blog focuses on:

Semantic Web && Java Technology


Bloginess

«November 2025»
1
2345678
9101112131415
16171819202122
23242526272829
30

.: 我的分类(专题)

首页(171)
/*SemanticWeb*/(34)
/*Java*/(74)
/*FreeComments*/(59)
/*Agent*/(4)


In the Bowl

.: 最新日志

The End
使用Google Trends进行选型
怎样才能称为一次新的版本发行?
如何防止RSS信息过载
使用Excel作为用户接口
如何有效地报告Bug
sourceforge再次被封
趣文两篇
编写Firefox扩展
Jetspeed心得随笔


.: 最新回复

回复:Google API与yahoo 
回复:JADE 3.3的bug
回复:JADE 3.3的bug
回复:JADE 3.3的bug
回复:JADE 3.3的bug
回复:Jbpm和Shark比较的feat
回复:JADE 3.3的bug
回复:JADE 3.3的bug
回复:[转]批判性地看待一种可行的表示技
回复:JIRA破解


The Fishkeeper
blog名称:SW Portal
日志总数:171
评论数量:219
留言数量:8
访问次数:1053859
建立时间:2004年10月30日



Text Me

.: 留言板

签写新留言

路过
路过
页脚问题
RE:请问一下你的主页的下面部分是怎么关
请问一下你的主页的下面部分是怎么关闭的?
我是做Mobile Agent的
Gmail
不错
不错啊小倪同学


Other Fish in the Sea

.: 链接





站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.523 second(s), page refreshed 144802046 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号