Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>For completeness, let me just mention that some databases allow you to have a "hybrid" of these two approaches, for example <a href="http://download.oracle.com/docs/cd/B28359_01/java.111/b31224/oralob.htm" rel="nofollow">Oracle BFILE</a> or <a href="http://technet.microsoft.com/en-us/library/bb933993.aspx" rel="nofollow">MS SQL Server FILESTREAM</a>.</p> <p>There is also an interesting discussion at Ask Tom on <a href="http://asktom.oracle.com/pls/asktom/f?p=100:11:0%3a%3a%3a%3aP11_QUESTION_ID:1011065100346196442" rel="nofollow">storing files in Oracle BLOBs</a> (in a nutshell: "BLOBs are better than files").</p> <hr> <p>BTW, you don't necessarily need to chose one over another... <strong>If</strong> you can afford storage overhead and you are operating in a read-mostly environment, you could store the "master" data in the BLOB for integrity but "cache" that same data in a file for quick read-only access. Some considerations:</p> <ul> <li>You'd need to make sure the file is updated/removed if BLOB is updated/removed.</li> <li>Consider creating/updating the file on-demand.</li> <li>Consider evicting old files from the "cache" even if corresponding BLOBs still exist.</li> <li>Consider using several "caches" (e.g. if you have a middle tier and is distributed to multiple physical machines, each machine could have its own file cache).</li> <li>And finally, you'd need to make sure all this works robustly in a concurrent environment.</li> </ul> <p>So, this is not the simplest approach but, depending on your needs, <em>may</em> be a good tradeoff between integrity, performance and implementation effort.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload