Estimate Database Size

We are planning to use Oracle database (Oracle 10g in Unix). We are in the process of estimating the hard disk capacity(in GB) required based on the past data for each business process. But we are faced with following queries
1. Assuming the structure for a table is as follows :-
create table temp1(
Name varchar2(4),
Age Number(2),
Salary Number(8,2),
DOB Date)
The estimated records per year is assumed to be 500. How can we estimate the size that will be required for this table.
2. We are planning to allocate 20% space for indexes on each table. Is it ok?
3. Audit Logs (to keep track of changes made through update) :- Should it be kept in different partition/hard disk?
Is there anything else to consider. Is there a better way to estimate the hard disk capacity required in more accurate manner?
Our current database in Informix takes around 100GB per year, but there r lot of redundant data and due to business process change we cannot take that into consideration.
Kindly guide. Thanks in advance.

Well you can estimate the size of a table by estimating the average row size then multiplying this by the expected number of rows then add in overhead.
3 for the row header + 4 for name + 2 for age + 5 for Salary + 7 for a date + 1 for each column null/length indicator is about 25 bytes per row (single byte character set) * 500 rows * 1.20 (20% overhead) = small.
The overhead is the fixed block header, the ITL, the row table (2 bytes per row) and the pctfree. You can estimate this but I just said 20% which is probably a little high.
The total space needed by indexes often equals or surpassed the space needed by tables. You need to know the design and be pretty sure additional indexes will not be necessary for performance reasons before you allocate such a small percentage of the table space to index space.
Where you keep audit tables or extracts is totally dependent on your disk setup.
HTH -- Mark D Powell --

Similar Messages

  • How to estimate the database size?

    Hello. I have a database model in SQL data modeler. Also I've created it on the test server, but it is empty now.
    Now I need to estimate the size of the database for understanding the requirements to production hardware.
    For, example how many gigabytes I need in two years for my database. How can I do it?
    Thank you in advance.

    It is called "volumetrics" in ErWIN.

  • Estimate database backup size

    Hi All,
    AIX 5.3
    oracle 10.2.0.3
    I have production database of 80 GB. I want to take a cold backup during the upgrade process. Now i want to know database backup size. so we can free space from some mount point accordingly.
    Is there any way to estimate database backup size?
    Thanks,
    Vishal

    Question: how did you establish that your database is actually 80G?
    Is that 80G of data in the database, or is it the sum of all data files, temp tablespace files, undo tablespace files, redo logs, oracle binary software files, control files, etc?
    If you intend to do an upgrade of the software, my recommendation is to shut the database down and do a full copy of:
    1) your entire oracle product tree (usually /oracle/product), including ORACLE_HOME.
    2) your entire 'oradata' structure which (should) include all of your Oracle database data files and all other associated files.

  • Estimate a database size

    Hi Joel,
    Glad if you could forware me the document for estimated db size.
    Thanks in advance
    Mail ID is : [email protected]

    Hello,
    To know the database size, you may execute the following query:
    Datafiles size:
    select sum(bytes)/(1024*1024) "Mo" from dba_data_files;
    Tempfiles size:
    select sum(bytes)/(1024*1024) "Mo" from dba_temp_files;
    Redolog size:
    select sum(bytes)/(1024*1024) "Mo" from v$log;Then, it lacks the size of the controlfile, SPFILE or PFILE, but in general is just a few Mo.
    Hope this help.
    Best regards,
    Jean-Valentin

  • How  to increase the database size

    Hi All ,
    Our Client is going to increase their customers from 3.5 million to 5 millions
    (12 millions in future ) and there is no increase in the existing licenses..
    At present we have very less space in Data base server. We are Going Live at the End of the Month.
    How to increase the database size to meet the Client requirements.
    we have to increase the No of Processerors etc...
    Below are the details of Servers:
    System Model: IBM,7040-681
    Machine Serial Number: 830D5BF
    Processor Type: PowerPC_POWER4
    Number Of Processors: 2
    Processor Clock Speed: 1904 MHz
    CPU Type: 64-bit
    Kernel Type: 64-bit
    LPAR Info: 4 bgl-svr-biap
    Memory Size: 4096 MB
    Good Memory Size: 4096 MB
    Note : Server is IBM P690.
    1)  System Lansdcape --> Two System Landsacpe ( Dev to Prod )
    2)  BW Version --> 3.5
    3)  SAP Basis --- > 6.4
    4)  No of Application servers currently having --> Only  One  Server
    Can any body suggest me how to solve this.....
    Thanks in Advance..
    Kasi Chukka

    Hi Kasi,
    Your question is not very clear, from the looks of it, the load on your client's system will be doubling soon.
    You need to look at the system stats on how the system is handling the current load, use transactions ST06, ST04 and ST02 to check if the DB hit ratios are as expected, the cpu idle time, the busy periods. Identify if there is large amounts of paging on the server(candidate for increase in real memory).
    On AIX level, you will need to look at CPU / Memory usage.
    On SAP Application server, you need to look at SAP Buffers.
    On Oracle end, look at SGA stats, if it need to increase, the data growth that is current and estimated growth (DB02).
    You will not get an exact answer to it, you will need to analyze the existing load and then estimate (guess). The hardware upgrade will also depend on what the client is willing to spend, its always a good practise to add 20% to what you have estimated as these figures are never accurate.
    All the best.
    Cheers,
    Nisch

  • Oracle Database Size Estimation Technique

    Hello All,
    I am planning to estimate a database in Oracle. Its a fresh database and will not take any data from any other legacy or flat file systems.
    Do anyone of you can provide me with a checklist sort of thing which will enable me to estimate the size of my database considering its future growth as well?
    Or if you have a document which guides to do the estimation of the size of Oracle database, could you please share it with me as well?
    Thanks in advance
    Himanshu

    This estimation will depend on your installation type and your configuration like your OS, Oracle edition, release information. For example below information is from Oracle® Database Installation Guide
    10g Release 2 (10.2) for Linux x86 Chapter 2 Preinstallation Tasks - http://download.oracle.com/docs/cd/B19306_01/install.102/b15660/pre_install.htm#sthref95
    # 400 MB of disk space in the /tmp directory
    # Between 1.5 GB and 3.5 GB of disk space for the Oracle software, depending on the installation type
    # 1.2 GB of disk space for a preconfigured database that uses file system storage (optional)
    Best regards.

  • Estimation of database size

    Hi,
    How can I estimate the database size required for a Netweaver system?
    I am installing a new system with ESS and MSS.
    And what is the rate that this database will normally grow?
    Appreciate any reply.
    Thanks,
    Tzyy Ming

    Hi Tzyy,
    you should expect around 20 GB for a newly installed system. The growth rate very much depends on the scenarios you intend to use (MSS/ESS) and the number of users. Since it is almost impossible to predict the growth rate we always make sure that we provide enough space for at least 12 month under "worst case scenario" conditions - that works for us.
    You might want to check the SAP Quicksizer (hardware estimate). It gives you an idea of what are relevant factors for your scenario: http://service.sap.com/quicksizing
    Sven

  • Database size estiamtion

    how to estimate the database size ,can anyone help, what are the parameters I need to consider.

    I doubt that this is a worthwhile exercise... space is relatively cheap. And whether a database is 50GB or 500GB will be a very small cost factor given the cost of the server, the cost of o/s and Oracle licensing, the cost of development, the cost of maintenance and so on.
    Take for example the size of the data dictionary that you want to estimate. That's not only dependent on the number of tables and columns. It also depends on how much PL/SQL code there is. The number of views. Whether the tables and columns are defined with comments or not. Etc.
    Redo size? Nothing to do with the number of tables, the size of the tables, or number and sizes of the columns - everything to do with the amount of transactions there will be.
    Tablespace size for the tables? What about block size, the amount of free space in a block (pctused and pctfree), how often rows are deleted, whether new rows are primarily added via direct path inserts (using new data blocks) or normal inserts (re-using existing data blocks with sufficient free space).
    It seems to me that you think that you can accurately estimate the sizes of all areas of the database and tie a pretty pink ribbon around it, and will be nice and clean and correct and accurate.
    In my experience... Real world database ain't like that. And trying to do an accurate size estimate is a waste of time and resources, with the end result not wort the 2c's of the piece of white paper it is printed on...

  • Estimate database

    hi...when planning a new database how do i estimate the size of the database(both physical and logical) and also how do i estimate the growth of the database?

    No offence but that's like asking how long a piece of string is. To answer this question you would have to look at the complete database structure, expected daily loads etc. to come up with an estimate.

  • Estimating The Database Size before build up

    Hi,
    how can i estimate oracle database size before building up. is there any query or formula there to estimate the size.
    i read a thread of Sir. Joel Pérez if he is available then i m requesting him to send me that docs that you are posted for the estimation query.
    my mail is [email protected]
    Regards
    Avnish

    Use the DBMS_SPACE built-in package to estimate table and index cost (size).
    http://www.psoug.org/reference/dbms_space.html

  • Estimate db size and change tablespace configuration before restoring RMAN

    Hi,
    I am wondering whether it is possible to estimate the size of the restored database just from the RMAN files I have?
    Also, Is there a setting I can change in these files to disable 'autoextend' feature in the tablespace of the restored database?
    thank you in advance.

    Hi
    But using this method I will damage the existing control file of the original server.
    SQL 'alter database mount';
    sql statement: alter database mount
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of sql command on default channel at 09/16/2009 17:18:59
    RMAN-11003: failure during parse/execution of SQL statement: alter database mount
    ORA-01103: database name 'OLD_DB' in control file is not 'JUPITER'
    And when I start JUPITER:
    startupORACLE instance started.
    Total System Global Area 192937984 bytes
    Fixed Size 2169752 bytes
    Variable Size 134079592 bytes
    Database Buffers 54525952 bytes
    Redo Buffers 2162688 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Is there a way to restore the control file without damaging the existing server?
    thank you for your support.

  • SQL azure database size not dropping down after deleting all table

    Dear all,
    I have a simple database on Azure for which I have deleted all table data. The size of the database is still showing 5Mb of data and I am charge for that. I have heard that this may happen from cluster index getting fragmented.
    I have run  a querry I found on internet on all my table index to show percentage of fragmentation and all report 0%.
    DBA is not so my job but what could it be or how can I reduce that size ?
    ON premise I would use COMPACT DB but not available in azure like some others DB action
    Thnaks for tips
    regards

    user created objects/data are not the only ones stored in your database. you got system objects and metadata as Mike mentions above.
    are you trying to skip being charged if you're not storing data? looking at the pricing table,  you'll still get charged the $4.995 for the 0-100MB database size range.

  • Tables are deleted but database size does not change in sql server 2008r2

    Hi All,
    20GB Tables are deleted in my database but database size does not change and disk size showing same size.

    Hi ,
    I have ran the Disk usage by Top Tables report and Identified couple of tables with unwanted data for last 5 years. I have deleted the data for the first 3 years and then ran the Disk usage by Top Tables report again. When I compared the report before
    and after the data deletion, I have noticed certain facts which is not matching with what I know or learned from experts like you. The following are the points where I am looking for clarification:
    1.Reserved (KB) has been reduced. I was expecting the data Reserved (KB) will remain the same after the data deletion. 
    2. The Data(KB) and Indexes(KB) fields have been reduced as expected. The Unused(KB) field have been increased as expected.
    I was expecting the total of Data(KB) and Indexes(KB) field space gained will be equal to the Unused(KB) field gained after deleting the data. But that is not the case. When I deducted(subtracted) the difference in  the Reserved(KB)(Difference before
    and after data deletion) field from the Total of space gained from the data deletion is equal to the Unused(KB) gained field value.
    I am not a SQL expert and not questioning but trying to understand whether we really gain space by deleting data from the tables. Also keen to get the concepts right, but my testing by deleting some records confused me.
    Looking ahead to all your expert advice.
    Thanks,
    Vennayat

  • What is the best practice on mailbox database size in exchange 2013

    Hi, 
    does anybody have any links to good sites that gives some pros/cons when it comes to the mailbox database sizes in exchange 2013? I've tried to google it - but hasn't found any good answers. I would like to know if I really need more than 5 mailbox databases
    or not on my exchange environment. 

    Hi
       As far as I know, 2TB is recommended maximum database size for Exchange 2013 databases.
       If you have any feedback on our support, please click
    here
    Terence Yu
    TechNet Community Support

  • How to get the database size of several system

    Hi
    We've got a lot of database system on our landscape. I want to make a simple report to get the size the all our database on a weekly base.
    I try to get a RZ20 value on it without succes.
    Do you know a sql request that i could launch on all my database to get this information ? i did'nt find any V$^view with this information.
    thanks for your help
    florent

    "The database size" can be
    - the total size
    - the filled size
    - the filled size without undo/temp
    You can use DBACOCKPIT to centrally manage multiple instance and check the sizes.
    Markus

Maybe you are looking for

  • Account hacked

    after using 'long' alpha-numeric password. My account still gets hacked. I'm hereby accusing SKYPE of extremely poor security. Only insiders can leak passwords so eloquently. Print a long list of passwords and sell it. My previous account remains fro

  • Should I add more memory when I update my iMac from 10.4.11 to Snow Leopard?

    Should I add more memory when I updaate my iMac from 10.4.11 to Snow Leopard?

  • PDF exported from InDesign is printing distorted, large

    This PDF is distributed to different people in our field to print, and for some reason, all of a sudden this month some are having issues when printing. I've attached what the PDF SHOULD look like (in JPEG format), and how it is printing for them. I

  • Importing previously exported data (from local file)

    After having searched to no end I still cannot find the answer to my question.... Our current environment is an SAP and FLM system (forms livecycle management) using livecycle designer for design and all users on at least reader 9. I would like to kn

  • Out of the box initial setup locked up - how to re-run it?

    Unboxed our iMac 27" yesterday and as it was going through the first time setup, when it asked to take a picture to associate it with the user account I created, both buttons were grey-ed out and couldn't take a picture either.  I let the computer si