Size of the database

HI All,
I have a 10GB database, when I backup the database using RMAN. What will be the size of the database approx.
Thanks

Dj3 wrote:
HI All,
I have a 10GB database, when I backup the database using RMAN. What will be the size of the database approx.
ThanksThe size of the database will be exactly what it was before the backup.
Oh, you meant what will be the size of the backup?
It depends.
Are you taking image copies or backup sets?
With or without compression?
A 10g database really isn't very big to start with. Why don't you just run a backup and see for yourself?
If you are trying to determine how much space you need to hold your backups, don't forget that it's more than "just a backup". You've got the db files, the control files, the archivelogs .... and multiple generations to allow PITR throughout your specified recovery window.

Similar Messages

  • How to estimate the size of the database object, before creating it?

    A typical question arise in mind.
    As DBA's, we all known to determine the objects size from the database.
    But before creating an object(s) in database or in a schema, we'll do an analysis on object(s) size in relation with data growth. i.e. the size we are estimating for the object(s) we are about to create.
    for example,
    Create table Test1 (Id Number, Name Varchar2(25), Gender Char(2), DOB Date, Salary Number(7));
    A table is created.
    Now what is the maximum size of a record for this table. i.e. maximum row length for one record. And How we are estimating this.
    Please help me on this...

    To estimate a table size before you create it you can do the following.  For each variable character column try to figure out the average size of the data.  Say on average the name will be 20 out of the allowed 25 characters.  Add 7 for each date column.  For numbers
    p = number of digits in value
    s = 0 for positive number and 1 for a negative number
    round((( length((p) + s) / 2)) + 1
    Now add one byte for the null indicator for each colmn plus 3 bytes for the row header.  This is your row length.
    Multiply by the expected number of rows to get a rough size which you need to adjust for the pctfree factor that will be used in each block and block overhead.  With an 8K Oracle block size if you the default pctfree of 10 then you lose 892 bytes of storage.  So 8192 - 819 - 108 estimated overhead = 7265 usable.  Now divide 7265 by the average row length to get an estimate of the number of rows that will fit in this space and reduce the number of usable bytes by 2 bytes for each row.  This is your new usable space.
    So number of rows X estimate row length divided by usable block space in blocks.  Convert to Megabytes or Gigabytes as desired.
    HTH -- Mark D Powell --
    ed add "number of usable"

  • How to find the total size of the database before the Restore.

    Hi Guys,
    I'll do a Restore, but I do not know the environment and need to know what the total size of the database to create a storage area.
    Is there any way to find out the total size of the database(including all datafiles and temp) using only the RMAN catalog before running the Restore.
    I'm using Tivoli TSM with ASM.
    Levi Pereira

    Hi tychos,
    break on report
    compute sum of TOTAL_DB on Report
    select 'DataFiles' NAME, SUM(ROUND(bytes/1024/1024/1024)) TOTAL_DB from rc_datafile
    where db_name = 'ORCL'
    UNION ALL
    select 'TempFiles' NAME, SUM(ROUND(bytes/1024/1024/1024)) TOTAL_DB from rc_tempfile
    where db_name = 'ORCL'This query returned I had 372 Gbytes of data.
    At the end of the Restore Database got the size of 408 Gbytes.
    The total size of all Redo was 3Gbytes that was not being counted anyway there was a difference of 33Gbytes.
    I need to understand the reason for the difference in sizes.
    It makes no sense to me RMAN catalog does not inform the total size of the database (Datafiles, tempfiles, Redo and controlfile) before the Restore since it's information is already somewhere.
    Thanks for your help.
    Levi

  • How to know the Size of the Database?

    Hi All,
    Is there a Transaction which will give me the size of the Database. The Database System which we have is MS Sql Server 2000. Will the Transaction have the option where I could select the Client so that I could get the exact size of the Production Systems Database, will this also provide the size of the Data & Log file.
    Thanks,
    Kishan

    check transaction db16/db17
    here are db related tx:
    DB01  Analyze exclusive lock waits
    DB02  Analyze tables and indexes
    DB03  Parameter changes in database
    DB11  Early Watch Profile Maintenance
    DB12  Overview of Backup Logs
    DB13  Database administration calendar
    DB14  Show SAPDBA Action Logs
    DB15  Data Archiving: Database Tables
    DB16  DB System Check: Monitor
    DB17  DB System Check: Configuration
    DMIG  Start Transaction for Data Migration
    DB2   Select Database Activities
    DB20  DB Cost-Based Optimizer: Tab. Stats
    DB21  DB Cost-Based Optimizer: Config.
    DB24  Database Operations Monitor
    DB26  DB Profile:Monitor and Configuration
    DB2J  Manage JCL jobs for OS/390
    DBCO  Database Connection Maintenance
    check them may be they help you to some extent.
    regards.

  • How to control the size of the database

    Hi all
    Database size will gradually increase day by day is there any tool or possibility to control the size of the database.
    Thanks in advance
    Gowtham
    Moderator message: not directly related to ABAP development, standard "basis" functionality, please have a look in the Netweaver forums.
    Edited by: Thomas Zloch on May 23, 2011 9:16 AM

    Hi,
    You can control the database size at technical setting level based on ur requirement. Field name is Size category. 
    Thanks.

  • Find the size of the database

    Hi gurus,
    Can some one suggest me in finding the size of complete database and the free space left in the database .
    as i am doing the refresh just need to gather the statistics .
    thanks

    790072 wrote:
    Hi gurus,
    Can some one suggest me in finding the size of complete database and the free space left in the database .
    as i am doing the refresh just need to gather the statistics .
    thanks
    1  select round(sum(df.bytes/(1024*1024))+sum(tf.bytes/(1024*1024))) TOTAL,
      2  round(sum(fs.bytes/(1024*1024))) FREE
      3* from dba_data_files df, dba_temp_files tf, dba_free_space fs
    SQL> /
         TOTAL      FREE
       6839688     56127

  • How to reduce the size of the database

    Hi
    My recent observation on my DB size and the population of it. Apparently the DB is very fragmented and I have actual data upto 800GB but the container size is more 1.1TB.
    Could you kindly recommend me what to do in order to reduce the size of the allocated container space?
    I appriciate value suggestions and URLs.
    thanks
    Raj

    Rangarajan wrote:
    b) re-organise and then shrink tablespaces.
    Means..?In case you are not familiar with the instructions that came with your Oracle database
    http://tahiti.oracle.com/
    Pick your version, e.g.
    http://www.oracle.com/pls/db112/homepage
    Type shrink tablespace in the search box at the top of the page
    http://www.oracle.com/pls/db112/search?remark=quick_search&word=shrink+tablespace
    And pick a link that looks promising and read it, e.g.
    http://download.oracle.com/docs/cd/E11882_01/server.112/e10897/storage.htm#ADMQS12071

  • Calculating the size of the database in memory

    Hi,
    I am using BDB 5.1.19 with BTREE as an access method.
    I would like to calculate the memory footprint that would be needed for that.
    I followed the following doc:
    useful-bytes-per-page = (page-size - page-overhead) * page-fill-factor
    bytes-of-data = n-records *
    (bytes-per-entry + page-overhead-for-two-entries)
    n-pages-of-data = bytes-of-data / useful-bytes-per-page
    total-bytes-on-disk = n-pages-of-data * page-size
    I am not interested in calculating the size on disk but just in memory.
    Would the following be enough:
    bytes-of-data = n-records *(bytes-per-entry + page-overhead-for-two-entries)
    Since the rest is only for space on disk i don't need it, is that correct?
    Would this calculation help me also to calculate the cache size or is the cache size influenced by the page size?
    Thx.

    This is not a replication question and those of us monitoring this forum are not the best people to answer this question. You'll probably get a better and faster answer if you post it to the general Berkeley DB forum:
    Berkeley DB
    Paula Bingham
    Oracle

  • How to find out the database-size

    Hello,
    how can I find out the size of the database.
    I created the user as below. I defined the size of the database to 2MB. Now I want to know how much is the size of the database.
    CREATE USER oemer
    IDENTIFIED BY ...
    DEFAULT TABLESPACE system
    QUOTA 2M ON system;

    Actually, since Omer is a veteran poster to the Forms and Reports forums, I doubt that. I think he is making a much more interesting journey: from front-end to back-end.
    I'll be a bit more helpful this morning.
    Databases are ways of organising disk space to store data. Fundamentally they consist of OS files, data files. The RDBMS handles by grouping them into tablespaces. When we build tables we assign them to a tablespace.
    So, the size of the database is the sum of its datafiles. Of course, some tablespaces are used for sorting and holding undo information, so the size of the database for the purposes of persisting data is:
    SELECT count(x.tablespace_name) AS total_TS, sum(x.MB) AS total_mb, sum(x.free_mb) AS total_free_mb
    FROM   ( SELECT t.tablespace_name, sum(d.bytes)/1048576 AS mb, sum(f.bytes)/1048576 AS free_mb
             FROM   dba_free_space f, dba_data_files d, dba_tablespaces t
             WHERE  t.contents = 'PERMANENT'
             AND    d.tablespace_name = t.tablespace_name
             AND    d.file_id = f.file_id
             GROUP  BY t.tablespace_name ) x
    /The SYSTEM tablespace is special. It is used by Oracle to hold the data dictionary, the definitions of all the objects in the database. It should not be used for storing application objects (it affects the performance, apatrt from anything else). That is why we must not use it as a default tablespace.
    CREATE USER oemer
    IDENTIFIED BY ...
    DEFAULT TABLESPACE ts_users
    QUOTA 2M ON ts_users; Cheers, APC

  • How to find out the size of a database?

    I'm not an oracle dba but a report developer. I'd like to find out the size of my database.
    Is this possible using simple query?

    An oracle database consists of data files, redo log files, control files, temporary files. Whenever you say the size of the database this actually means the summation of these files.
    select a.data_size+b.temp_size+c.redo_size+d.controlfile_size "total_size in MB"
    from
    ( select sum(bytes)/1024/1024 data_size from dba_data_files ) a,
    ( select nvl(sum(bytes),0)/1024/1024 temp_size from dba_temp_files ) b,
    ( select sum(bytes)/1024/1024 redo_size from sys.v_$log ) c,
    ( select sum(BLOCK_SIZE*FILE_SIZE_BLKS)/1024/1024 controlfile_size from v$controlfile) d;
    here
    a is megabytes allocated to ALL datafiles
    b is megabytes allocated to ALL TEMP files
    c is megabytes allocated to ALL redo-logs
    d is megabytes allocated to ALL control files
    Nimish Garg
    Software Developer
    *(Oracle & ASP.NET)*
    Indiamart Intermesh Limited, Noida
    To Get Free Oracle & ASP.NET Code Snippets
    Follow: http://nimishgarg.blogspot.com

  • How to find out the database size of a portal?

    Hi all!
    How can I determine the size of the database of one portal?
    Thanks for your help!
    PM

    Hey Peter,
      Just making sure off the top... you're using the same version of Oracle on both the source ABAP system with DBA Cockpit and the target Portal, correct?
      Assuming you answered that in the affirmative, did you make an additional entry in the tnsnames.ora file on the ABAP system? This entry should reflect the target Portal database system to which your connecting. Make your change to the /oracle/<SID>/<DB_Ver>/network/admin/tnsnames.ora file. Once this is complete, copy that file to /sapmnt/<SID>/profile/oracle/tnsnames.ora.
    Test your connection again after this.
    Here's an excerpt from SAP Note 1261329:
    Set up the database connection.
    In the file tnsnames.ora that is in the directory (on the application server) to which the environment variable TNS_ADMIN refers, you must add the following entry for each Oracle remote database:
               <SID> =
                 (DESCRIPTION =
                   (SDU = 32768)
                   (ADDRESS_LIST =
                     (ADDRESS =
                      (COMMUNITY = TCP)
                       (PROTOCOL = TCP)
                      (HOST = <database_host>)
                      (PORT = <port>)
                   (CONNECT_DATA =
                     (SID = <DB_ID>)
    This means that
    <SID> = the ID that you want to use to access this database ("TNS Name")
    <database_host> = host name of the database server
    <port> = TCP port of the database listener
    <DB_ID> = database ID of the database that is to be connected
    Usually, you can copy the entry in the file tnsnames.ora from the relevant file of the remote system. To obtain the contents of tnsnames.ora in the remote system, log on to the remote system as the database user ora<sid> (UNIX or Linux) or as the database user <sid>adm (Windows) on operating system level. There, you call the following command from the command line.
    tnsping <SID>
    The output specifies the connection parameters and the path to the file sqlnet.ora. The directory in which this file is stored, also includes the file tnsnames.ora.
    If you haven't seen them before, check out that note (1261329, 1028624, and 1256322). If you've still got questions, let me know.
    -Kevin

  • Rman Backupset size is exceeding the database size

    Hi
    my rman backup size is exceeding the database backup size and occupying the full mountpoint. and finally due to space issue, backup is failing.
    Below is the RMAN script
    run {
    backup
    incremental level 0
    tag ASCPLVL0
    database plus archivelog ;
    delete noprompt backupset completed before 'sysdate - 4/24' ;
    Please look into this
    Regards
    M. Satyanvesh

    Are you using compression?
    Ans: No
    The size of an RMAN backup isn't always proportional to the size of the database.
    Ans: yeah I know, but it should be somewhere near to database size(lets say 100gb or 150 gb variance)
    How many archivelogs are you backing up with your database?  This is possibly a factor in the size of your db backup.
    Ans: archive log count per day is 18  and size is 34gb
    Have you got a retention policy in place and do you regularly delete obsolete backups/archivelogs?
    Ans: yes
    Are you taking this backup as part of a backup strategy? or is this just a one off for some other purpose which would seem to be the case.
    Ans: This is production systesm so its a part of backup strategy

  • How to reduce the database size after deleting huge amount of rows?

    Hi,
    I have a large database. I removed almost half of the data/rows. Now i need to reduce the size of the database file as I need more disk space for the database file.
    What should I do in details please.
    Thanks.

    Hi,
    I have a large database. I removed almost half of the data/rows. Now i need to reduce the size of the database file as I need more disk space for the database file.
    What should I do in details please.
    Thanks.
    Deleting large data would have ultimately put ghost cleanup into action. You would not be able to free space using shrink operation untill it completes. So wait for time and then start shrinking. You should note that shrinking would cause fragmentation and
    you would have to rebuild indexes after shrinking is completed
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • 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.

  • Does Checkpoint lock up the database

    Hi,
    My application runs an independant checkpoint thread every 30 secs. The application is a msg processing system and it seems every 30 seconds, queues start building up. Does BDB lock the internal log files and database while checkpointing is going on?
    Regards,
    Nishith

    Hi Nishith,
    First of all, provide the following information:
    - What is the BDB version you're using?
    - What is the HP-UX version you're running on?
    - Are the three databases associated, that is, is any of them a secondary database for one of the others? Are there subdatabases, that is, multiple database stored within a single physical file?
    - What is the number of writer threads?
    - I assume you've configured the DB_TXN_NOT_DURABLE flag for each database. Are you using implicit transactions (by configuring with the DB_AUTO_COMMIT flag) or explicit transactions (obtained through DB_ENV->txn_begin())? If explicit transactions are used, what is the number of writes enclosed within a transaction?
    - Are you performing reads transactionally? Are you using transactional cursors to perform reads, and if so, what is the isolation degree used (i.e. DB_READ_COMMITTED, DB_READ_UNCOMMITTED)?
    - What are the page sizes for the databases?
    - What is the output of running the "glance" tool?
    - What is the block size of the HFS/JFS file system (i.e. by default for UFS(HFS) it should be 64K)?
    Try the following suggestions:
    - Use the DB_ENV->get_mp_max_write() method to see the limitation on the number of sequential writes scheduled by the db library when flushing the cache's dirty pages. Try setting a lower limit (experiment with lower values each time).
    - Experiment with a larger size for the cache buffer pool.
    - Avoid creating databases with a considerable number of duplicate and overflow records.
    - Perform all the read operations outside of transactions; if you do enclose reads within transactions than adopt snapshot isolation (available as of 4.5.20) or relax the isolation degree. Also, try to use the DB_READ_COMMITTED flag with cursor read operations and make non-transactional cursors short lived.
    - Collect detailed statistics with the "db_stat" utility (if DB_PRIVATE is used when opening the environment collect the statistics programmatically):
    #db_stat -Zm -h <path_to_env>
    #db_stat -Zc -h <path_to_env>
    (the commands should be run for 2 or 3 consecutive checkpoints).
    Regards,
    Andrei

Maybe you are looking for

  • Import a CSV text file into SQL Server using DTS

    Hi, This may be a silly question but im gonna ask it anyway! What i need to do is execute a DTS package from a CF page to read a text file and import its content to a table. I have 100's of txt files with 10,000's of rows. The reason i think this is

  • Lumia 920... Backup maps, voice guidance, and apps

    How can I backup apps and maps/voice guidance before a hard reset process?? Making backup copies of photos/vidoes is simple... But I have some 8 GB of apps/maps/voice guidance and I really need most of them... Is there any way to back these up? Thank

  • CSS and SSI

    I am developing a web site using only CSS. It has looked fine until I tried to add a Server Side Include for the navigation bar. After inserting the SSI, it seems to work in the Dreamweaver Design Window. However, when I preview in the browser, the I

  • Svrmgrl - disable password for connect internal

    I have installed Oracle 8.1.5. When I tried to create a database using svrmgrl manually, I entered the following: svrmgrl svrmgrl> connect internal; Password: Please advise how I can turn off the Password option for connect internal as in previous ve

  • Can't install new software PLEASE HELP!!!

    I recently had a need to reinstall the original 10.2.1 on my ibook g3. Since this time, i have been unable to install osx updates, or reinstall the original 10.2.1 software (after the first reinstall, that is) As well I cannot install other programs.