Resize datafile or add new datafile which is good?

Hi all
we have 80 GB database size and only two tablespace have space around 60 Gb
these two tablespace have one database each around 30 gb so
My question is it good to resize current datafile or
It it good to add new datafile ?

Your question is which is "best"; add datafile or resize right? If yes, then I think below links will answer you :
http://www.freelists.org/post/oracle-l/Datafile-size-Is-bigger-better,9
datafile and size
Bigfile or smallfile tablespace?
Just go through these link. I am sure answer in it.
Regards
Girish Sharma

Similar Messages

  • Can't add new datafile into a table space?

    Hi, Oraclers,
    I am learning Oracle. I found one problem: I can't add new datafile to an existing
    table space. I tried to add via OEM and SQLPlus. None of them works.
    I can see that the datafile, say ras01.dbf, is in my hard drive. But I can't see
    it via OEM datafile.
    Also, this datafile creating procedure has never stopped. In SQLPlus, after I
    submitte ths statement, after 7 days, this sql statement is still running. The
    same thing happened in OEM.
    The sql statement is:
    ALTER TABLESPACE "RASBLK"
    ADD
    DATAFILE
    'H:\ORACLE\PRODUCT\10.1.0\ORADATA\NMDATA\RAKBLK35.DBF' SIZE
    26214400K REUSE AUTOEXTEND
    ON NEXT 2048M MAXSIZE 30720M
    Oracle is 10g V10.1.0.2.0
    os is Window Server 2003 Service Pack 1.
    What's the problem?
    Thanks,
    Message was edited by:
    shinington

    so you have definitely tried to use a Winlows Server with NTFS for a 1TB++ Database ?
    I never heard of that and I wouldn't even dare to dream of that, but as stated above theoretically (that is: according to MS) this should work.
    But surely your process has crossed some internal limitations, at least that is what it looks like.
    I guess you must go to your %ORACLE_BASE%\admin\%SID%\bdump or udump directories to eventually find a trace file there.
    recommendation is: move to some kind of bigger system (Solaris,AIX).

  • Add new datafile to logical standby database but not in primary

    Hi,
    Is it ok to add a new datafile to the SYSAUX tablespace on the logical standby database but not on primary? We are running out of disk space on the partition where SYSAUX01.dbf resides so we want to add a new SYSAUX02.dbf in another partition which has space. but this will only be on the logical standby not on primary, there is still lots of space in primary. standby_file_management is MANUAL and this is LOGICAL STANDBY not PHYSICAL.
    Is this possible or where there be any issues?
    Thanks.

    Logical Standby can differ from Primary, it can have extra tablespaces, datafiles, tables, indexes, users ...
    HTH
    Enrique

  • Do we need to add new datafile.

    There is one and only one datafile in my database. Now its size reached 3.6 GB. I already set it as Autoextend.
    At this stage, do we need to add one more datafile ?

    That depends...
    Would having multiple files allow you to spread I/O over more spindles?
    In the event of a disaster, how quickly can you restore a 3.6 GB file? If your data files were 2 GB, how would that affect the time it would take to recover from the loss of a data file?
    Does your operating system have a limit on the size of a single file?
    Personally, I would tend perfer a few 1 - 2 GB data files to a single large (and growing) file, but there may be no benefits to this in your environment.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • Many little datafiles or one big datafile?

    Hi all
    I have a database which grows every day. I have 10 datafiles with name users01.db , users02.dbf and etc.
    And all these datafiles have 1.5Gb size. Each time every datafile reachs it's 1.5Gb size, I add new datafile. Is it correct strategy? Or I must add only extents to last datafile and allow it to grow?
    Thanks...

    Hi,
    In my point of view, it is a good approach if "table striping" is used, where data is spread across more than one device. Otherwise, if you have just one disk, then I don't see advantages or disadvantages. In addition, take a look at [url http://forums.oracle.com/forums/thread.jspa?messageID=1041074&#1041074]more small datafiles or one big datafile for tablespace thread.
    Cheers
    Legatti

  • Add a new datafile to the standby database

    Hi,
    i have a standby database in recovery managed mode.
    Now i must add a new datafile on the production database and i would like
    to know how i realized adding the new datafile on the stanby database.
    is it right when i do the follow steps?
    Before i add a datafile to the primary database,
    cancel the recovery on the standby database.
    -> add the new datafile on the primary database
    after all archived redo logs have been applied, cancel managed recovery:
    alter database recover managed standby database cancel;
    startup nomount
    alter database mount standby database;than
    ALTER DATABASE CREATE DATAFILE '/oracle/DB1/db1_9/data9' as '/oracle/DB1/db1_9/data9';
    alter database recover managed standby database disconnect;Thanks

    8.4.1.1 Adding a Tablespace and a Datafile When STANDBY_FILE_MANAGEMENT Is Set to AUTO
    The following example shows the steps required to add a new datafile to the primary and standby databases when the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO.
    Add a new tablespace to the primary database:
    SQL> CREATE TABLESPACE new_ts DATAFILE 't_db2.dbf'
    2> SIZE 1m AUTOEXTEND ON MAXSIZE UNLIMITED;
    Archive the current redo log so it will get copied to the standby database:
    SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
    Verify that the new datafile was added to the primary database:
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/dbs/t_db1.dbf
    /disk1/oracle/dbs/t_db2.dbf
    Verify that the new datafile was added to the standby database:
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/dbs/s2t_db1.dbf
    /disk1/oracle/dbs/s2t_db2.dbf
    8.4.1.2 Adding a Tablespace and a Datafile When STANDBY_FILE_MANAGEMENT Is Set to MANUAL
    The following example shows the steps required to add a new datafile to the primary and standby database when the STANDBY_FILE_MANAGEMENT initialization parameter is set to MANUAL. You must set the STANDBY_FILE_MANAGEMENT initialization parameter to MANUAL when the standby datafiles reside on raw devices.
    Add a new tablespace to the primary database:
    SQL> CREATE TABLESPACE new_ts DATAFILE 't_db2.dbf'
    2> SIZE 1m AUTOEXTEND ON MAXSIZE UNLIMITED;
    Verify that the new datafile was added to the primary database:
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/dbs/t_db1.dbf
    /disk1/oracle/dbs/t_db2.dbf
    Perform the following steps to copy the tablespace to a remote standby location:
    Place the new tablespace offline:
    SQL> ALTER TABLESPACE new_ts OFFLINE;
    Copy the new tablespace to a local temporary location using an operating system utility copy command. Copying the files to a temporary location will reduce the amount of time that the tablespace must remain offline. The following example copies the tablespace using the UNIX cp command:
    % cp t_db2.dbf s2t_db2.dbf
    Place the new tablespace back online:
    SQL> ALTER TABLESPACE new_ts ONLINE;
    Copy the local copy of the tablespace to a remote standby location using an operating system utility command. The following example uses the UNIX rcp command:
    %rcp s2t_db2.dbf standby_location
    Archive the current redo log on the primary database so it will get copied to the standby database:
    SQL> ALTER SYSTEM ARCHIVE LOG CURRENT;
    Use the following query to make sure that managed recovery is running. If the MRP or MRP0 process is returned, managed recovery is being performed.
    SQL> SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;
    Verify that the datafile was added to the standby database after the redo log was applied to the standby database.
    SQL> SELECT NAME FROM V$DATAFILE;
    NAME
    /disk1/oracle/dbs/s2t_db1.dbf
    /disk1/oracle/dbs/s2t_db2.dbf
    From Oracle Docs...

  • Increase the Oracle datafile size or add another datafile

    Someone please explain,
    Is it better to increase the Oracle datafile size or add another datafile to increase the Oracle tablespace size?
    Thanks in advance

    The decision must also includes:
    - the max size of a file in your OS and/or file system
    - how you perform your backup and recovery (eg:do you need to change the file list)
    - how many disks are available and how they are presented to the OS (raw, LVM, striped, ASM, etc.)
    - how many IO channels are available and whether you can balance IO across them
    Personal default is to grow a file to the largest size permitted by OS unless there is a compelling reason otherwise. That fits nicely with the concept of BIGFILE tablespaces (which have their own issues, especially in backup/recovery)

  • New datafile lost!

    anyone knows if a new datafile which is added into a tablespace and then is losted, is there any method to maintain the database working using the remaining datafile for the tablespace?
    thx.

    To re-create the control file if no backup for datafiles and controlfiles. Did you ever backup controlfile to trace? Pls consult Oracle Docs for creating controlfile.

  • How to restore from an incremental backup when new datafiles are added

    1) Source - We have a base backup and then take differential (LEVEL 1) backups every day. Due to business needs, new datafiles keep added daily in the database. So you will see an incremental backup having new datafiles that got created after the LEVEL 0 backup.
    2) Destination - We want to restore this database in the destination host "continiously".
    a) I first restored from the BASE FULL - LEVEL 0 . This was successful (restored and recovered, but did not OPEN the database)
    b) But restoring a LEVEL 1 now on top of the already restored LEVEL 0 makes the restore start all over again if there are NEW DATAFILES added after the LEVEL 0 backup in the source database.
    This is not a problem when no new datafiles are added/modified between the "BASE" and "LEVEL 1" backup.
    So how do you "just restore only the new datafiles" instead of "starting from BASE LEVEL 0 restore" again " ?
    -Thanks
    Srini

    Hi Srini,
    So how do you "just restore only the new datafiles" instead of "starting from BASE LEVEL 0 restore" again " ?The recovery process after the restore should add the newly created datafiles on the destination host.
    Can you check by querying v$datafile in mount mode and post the output?
    Regards,
    Tycho

  • To add a datafile

    I have Hp ux 11i on rp3440 servers. we have database oracle 10g .our data base is on eva storage.now the size of tablespace 'USERS' is reached to 90%. so how can i add a datafile on running database. plz hepl me............

    This is an example of howto resize the users tablespace;
    first check the actual size of the users tablespace and its datafiles;
    SQL> select tablespace_name,file_name,bytes /1024 /1024 from dba_data_files where tablespace_name ='USERS'
    TABLESPACE_NAME FILE_NAME BYTES/1024/1024
    USERS /u02/oradata/users01.dbf 5
    In this case, only one datafile belongs to USERS tablespace and its size is 5 MB;
    if you want to resize it to 10 MB then type
    SQL> alter database datafile '/u02/oradata/users01.dbf' resize 10M;
    Database altered.

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • HT1386 I have a new computer with windows 8.1.  I want to add the 52 Gb of music now on my old ipod to itunes on the computer.  I don't want to wipe out the files on the ipod by syncing to the new computer which has no music files on it yet!  How can I do

    I have a new computer with windows 8.1.  I want to add the 52 Gb of music now on my old ipod to itunes on the computer.  I don't want to wipe out the files on the ipod by syncing to the new computer which has no music files on it yet!  How can I do this?

    Apparently I wasn't clear.  The music on my ipod is but a subset of all the music on my external hard drives.  I want to import only the songs and playlists from my existing ipod into the itunes library on my new computer, which currently has no music or playlists.  How can I do this?

  • Command to add multiple datafiles in multiple tablespace in one time.

    Send me command to
    command to add multiple datafiles in multiple tablespace in one time.

    Just list the files separated by a comma.
    SQL> alter tablespace example
    2 add datafile 'e:\oradata\scratch\example02.dbf' size 100m,
    3 'e:\oradata\scratch\example02.dbf' size 100m;
    Tablespace altered.
    SQL>
    You will have to use more then one command to add datafiles to multiple tablespaces.

  • Restore without the new datafile??

    We have a full backup (Veritas) of the database on sunday.Db is in archive log mode.
    AFter the full backup we created a datafile and it is not backed up.
    Now if we restore this backup how will it find this new datafile?
    Though the control file has this information, as we will restore the backup from sunday
    the control file of sunday will not have this information.
    So how do we proceed?

    Like Madrid suggested, you need to create an empty datafile as place holder for the missing datafile,
    For example, assume that the datafile ?/oradata/trgt/users01.dbf has been damaged, and no backup is available. The following statement re-creates the original datafile (same size) on disk2:
    ALTER DATABASE CREATE DATAFILE '?/oradata/trgt/users01.dbf' AS
                                   '/disk2/users01.dbf';Then you can start recover the database.
    Assuming you have
    1. All archived log files written after the creation of the original datafile are available
    2. The control file contains the name of the damaged file (that is, the control file is current, or is a backup taken after the damaged datafile was added to the database)
    More info here
    Re-Creating Datafiles When Backups Are Unavailable: Scenario

  • New datafile in standy config

    My standby_file_management is set to auto. But when i added a new datafile it didnt get added on standby server..
    my db version is 10.2.0
    on linux

    My standby_file_management is set to auto. But when i added a new datafile it didnt get added on standby server..If you enable standby_file_management=auto then you should able to get added/altered datafiles.
    Check is your standby is functioning with primary or not? is it sync or not.

Maybe you are looking for

  • Firefox 18 crashes frequently but working fine in Safe Mode (EXCEPTION_ACCESS_VIOLATION_READ)

    After update to Firefox 18 Firefox keeps crashing within few mins of opening. At the time of crashing Firefox Freeze and CPU usage rise upto 50% in my Windows 7. NO matter how many tab I open in my Firefox even Firefox crash when I just open 1-2 tab.

  • Save playlists

    I want to backup my iTunes library, and I have EVERYTHING scrutinizingly organized by albums in playlists (i've imported my entire physical music library) and the lone songs are in various playlists as well. You get the picture. Could someone tell or

  • [Messages] Copy and paste text from conversations with friends.

    Sometimes it's nice to send friends links via spotify, we'll be chatting throughout the work day, and it sucks because you can't click on links or copy and paste.

  • Changing Calendar Alarm Tone

    Hi, I have a Nokia 6085 cell phone. I was wondering if anybody knows how to change the ring tone for a calendar setting? I also don't know how to change the ring tone for the alarm setting either. Any suggestions? Thanks,

  • Need to perform a hardware test, but pressing D during startup is fruitless

    I've got some sort of glitch I need to work through.  I'm assuming it's hardware related, and I directly suspect the GPU, or maybe a lose connection thereto (symptoms are coming and going).  Symptoms coincided directly with an OSX update to 10.9.4, b