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

Thread: How to calculate size of External Tables?

  1. #1
    Join Date
    Dec 1999
    Location
    Purgatory
    Posts
    346

    How to calculate size of External Tables?

    Is there a way to calculate the size of external tables within the database. I know it's dependant on the flat file sizes underneath the table definition, and that there are no segments associated with them, but does oracle have any clue about the sizes?

  2. #2
    Join Date
    Sep 2000
    Location
    Sao Paulo,SP,Brazil, Earth, Milky Way
    Posts
    350
    nope, afaik Oracle does not have ANY clue about extrenal tables, they are totally unknow to it, your only choice is to use OS tools (wc, ls , etc) to find number of lines and/or file sizes.

    Regards,

    Chiappa

  3. #3
    Join Date
    Mar 2007
    Location
    Ft. Lauderdale, FL
    Posts
    3,555
    You can always sqlload one-thousand rows, check the size and multiply it for the total expected number of rows. For how to get the external table number of rows you can check JChiappa's posting
    Pablo (Paul) Berzukov

    Author of Understanding Database Administration available at amazon and other bookstores.

    Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.

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