Oracle Blobs and Optimizations

  • Blobs should be stored in a separate tablespace because:
    • Selects on the table would need to go over the blob data as well even though the blob is not selected in the clause.
    • Setting CACHE on the DDL for blobs is beneficial when the blob data is read a lot but does not help in inserts.
  • Truncate table with drop storage option is preferable than delete from table since it does not generate logs. Note that this is a DDL operation and does not lead to any logs being generated.
  • Partitioning is a way to maintain huge data sets with lots of advantages rather than just regular tables.

Leave a Reply

Your email address will not be published. Required fields are marked *

     

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">