How do I store TIFF files in Oracle?

雨燕双飞 提交于 2019-12-25 03:40:11

问题


I have an ASP.NET application (vb.net codebehind) that has serious performance problems because of its storage of TIFF files in one server share. There are over a million .TIF files there now! The application tracks the scanned images of property with a corresponding row in an Oracle database table. We have this idea that it might be better to store the images themselves in a new Oracle table. How can this be done?

The alternative solution we are thinking of is to split up the server share into multiple folders by State (an OH folder, a WV folder, a VA folder, etc.) Seems like the database option might make more sense long-term, but how do we do it? Can a TIFF be stored in a BLOB column and then extracted back into TIFF format using .NET? Anyone know how?


回答1:


Yes, you can store a TIFF file in Oracle's BLOB data type.

Check out this link to get BLOB field contents with ADO.NET.




回答2:


Besides from storing in a database, if you separate groups of one thousand files in different folders, performance should increase a lot. Folders with a very high number of files get a severe downgrade in performance when in a windows enviroment



来源:https://stackoverflow.com/questions/1715544/how-do-i-store-tiff-files-in-oracle

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!