Size of a table containing Blob column
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Size of a table containing Blob column

  1. #1
    Join Date
    Apr 2001
    Posts
    112

    Size of a table containing Blob column

    Hi ,
    I need to find out the Size of a table containing Blob column along with other columns. I am new to Blobs so Im not able to understand the concept of using dbms_lob.getlength to find this out.
    My table Customers is as follows:

    ( Name varchar2(120),
    Ord_dt Date,
    Ord_summary Blob)

    It contains 1000 records. Now how do I find out the size of this table ? Do I have to calculate the varchar and date column separate from the BLOB column ? Any help is appreciated.

    Thanks

  2. #2
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,331
    query dba_segments

    select sum(bytes) from dba_segmets where table_name = 'CUSTOMERS'

  3. #3
    Join Date
    Apr 2001
    Posts
    112
    This is not the recommended way to calculate the size of the tables containing BLOB.
    Thats what Im trying to find out.

  4. #4
    Join Date
    Aug 2003
    Location
    Sydney, Australia
    Posts
    8
    If size of blob column cross 4k, then oracle store blob column separate from the parent table.

    Hope this gives some idea
    Brahmaiah Koniki

  5. #5
    Join Date
    Apr 2001
    Posts
    112
    NO this doesnt give any ideas. It doesnt answer the question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width