Home > Ask the Oracle Database / Applications Experts > Oracle database design and architecture Questions & Answers > Calculating space used by one table and index
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Calculating space used by one table and index

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 28 July 2003
Soon, one system is going to move to a production database. Are there any formulas for calculating the space to be used by one table and index? i.e., Sum all columns from each table, the amount of records per month, give it a block size and projection time like one year = initial, next and maxtents... At the end all tables are the space of the tablespace for X application.

>

There used to be these complicated spreadsheets that DBAs would use to calculate sizes of indexes and tables. But in the end, this is just too much work so those spreadsheets are pretty hard to come by now.

When people want to know how much space will be used, I tell them to load a representative sample of their data, maybe 10% of what they expect. Then, use the DBMS_SPACE package to see exactly how much space the tables and indexes are using for that 10% of the data. Multiply by the appropriate factor (10 in our case) to see what the total space would be. The DBMS_SPACE package has the ability to look inside the space allocation to report how much is being used.

From what it sounds like, you already have data loaded into tables. If you know that this data represents one month's worth of processing, then run DBMS_SPACE and multiply the figures by 12 for one year's worth of data.

For More Information


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
How much space is used by a table or index?
Space used by an index in Oracle
Determining size of table in Oracle database
What is the space occupied by a specific record?
Calculating space needed to create index

Oracle database design and architecture
Why am I receiving Oracle memory allocation errors?
How to join two tables with unique keys in Oracle
How does the Oracle LGWR write to online redo log files?
Can I check an Oracle instance without logging into the Oracle server?
How to use V$SEGMENT_STATISTICS to find the most accessed Oracle table
Can I install an Oracle client on Windows 7?
How to use the Oracle Database Upgrade Assistant (DBUA)
Can I specify Oracle column order in my database table?
Can I have a single Oracle 11g RAC instance across multiple databases?
How to use the Oracle export utility to duplicate database structure

Oracle database design and architecture
Why am I receiving Oracle memory allocation errors?
How to join two tables with unique keys in Oracle
Can I check an Oracle instance without logging into the Oracle server?
How does the Oracle LGWR write to online redo log files?
How to determine your SQL database through needs analysis
Breaking down the contenders in the SQL database market
The MySQL open source database in the enterprise
Diving deeper into the SQL database features
What managers should consider when starting a database scaling project
How to use V$SEGMENT_STATISTICS to find the most accessed Oracle table

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
E. F. Codd  (SearchOracle.com)
extent  (SearchOracle.com)
flexfield  (SearchOracle.com)
foreign key  (SearchOracle.com)
multidimensional database  (SearchOracle.com)
object-oriented database management system  (SearchOracle.com)
quad tree  (SearchOracle.com)
relational online analytical processing  (SearchOracle.com)
row  (SearchOracle.com)
splay tree  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts