.net - What's the best way to save and retrieve binary files with Oracle 10g? -


i'm implement feature in our application allows user 'upload' pdf or microsoft powerpoint document, application make available other users in viewer (so don't 'download' in 'save as..' sense).

i know how save , retrieve arbitrary binary information in database columns, commonly used feature of our application fear solution lead enormously large database tables (as know 1 of our customers want put video in powerpoint documents).

i know there's way create 'directory' object in oracle, there way use feature store , retrieve binary files saved elsewhere on database server?

or being overly paranoid database size?

(for completeness our application .net winforms using corelab / devart oradirect.net drivers oracle 10g)

thanks :o)

couple of options: put blob column in own tablespace, own storage characteristics; store blobs in own table, linked other table id column. in either case suggested define column bfile means actual file stored externally database in directory. might concern there bfile lobs not participate in transactions , not recoverable rest of database.

this discussed in oracle 10gr2 sql reference, chapter 2, starting on page 23.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -