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?
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.
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.
Click Here to Expand Forum to Full Width