DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: row size, table size, storage size

  1. #1
    Join Date
    Mar 2001
    Posts
    287
    I think this question is pretty easy.

    (1) How do you get the row size for the following table? Is there a function in Oracle to calculate this?

    SQL> desc cq.MASTER_OPLOG
    Name Null? Type
    ----------------------------- -------- --------------------
    SERIAL_NO NUMBER(10)
    REPLAY_TIME DATE
    REPLICA_TIME DATE
    REPLICA_ID NUMBER(10)
    EPOCH_NO NUMBER(10)
    SCHEMA_ID NUMBER(10)
    SCHEMA_REV NUMBER(10)
    SCHEMAREV_VERSION NUMBER(10)
    TYPE NUMBER(10)
    PACKLET_LEN NUMBER(10)

    (2) How do you estimate your table size so that you can plan your storage?

  2. #2
    Join Date
    Jun 2001
    Location
    Helsinki. Finland
    Posts
    3,938
    (1) Are you familiar with the function VSIZE?
    (2) ANALYZE TABLE MASTER_OPLOG COMPUTE STATISTICS;
    Then, select AVG_ROW_LEN from USER_TABLES where TABLE_NAME = MASTER_OPLOG; Since you know how many rows you have in MASTER_OPLOG, you know now the size of the table.


  3. #3
    Join Date
    Aug 2000
    Posts
    236
    Where can I get more information about how to use vsize?

    Thanks,
    Nizar

  4. #4
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

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