Changing database to noarchivelog mode during impdp

Hi Guys,
I am using Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production on RHEL5.
I am in the middle on the impdp and I want my database to run on noarchivelog as it creates a lot of archivelogs.
Will it be proper if I stop the import:
e.g Import> STOP_JOB=IMMEDIATE
and shutdown the database put the database on noarchivelog mode.
then opne database and
impdp hr/hr@mydb ATTACH=myfulljob Will these work fine?
Or should I execute:
alter system archive log stop;
Please Help !!!!!!!!!!!

Vinod Dhandapani wrote:
Running the database in Noarchivelog mode means you should be ready to lose data incase there is any crash. I would recommend you to change the size of the redologs so that it will not create frequent archivelogs. Which does nothing about the space required for the archivelogs. If you are generating redo at the rate of 1gb/hour, you will consume archivelog dest space at the rate of 1gb/hour. Doesn't matter if those files are 10mb each or 100mb each.
If space is the problem then use a shell script to move the archivelog to another location (Tape)....And hopefully that shell script is invoking rman to do the work, so that in the event of recovery, rman will know that backups were taken and where they are located.
>
Incase you want to convert the database from archivelog to noarchivelog, follow the steps provided in the following link.
http://racadmin.blogspot.com/2011/06/convert-archivelog-mode-to-noarchivelog.html
Thanks

Similar Messages

  • How to change the ARCHIVELOG / NOARCHIVELOG mode in Oracle 10g

    Hi
    how How to change the ARCHIVELOG / NOARCHIVELOG mode in Oracle10g in SQLPLUS ?
    Many thanks.

    Steps :
    0 - change SPFILE
    ALTER SYSTEM SET log_archive_dest = '/oracle9i/archive/tmpr' SCOPE =SPFILE;
    ALTER SYSTEM SET log_archive_start = TRUE SCOPE =SPFILE;
    ALTER SYSTEM SET log_archive_format = 'tmpr_%s.arc' SCOPE =SPFILE;
    1 - shutdown immediate
    2 - startup mount
    3 - alter database archivelog;
    4 - alter database open
    Note : to verify if is ok type :
    SQL> archive log list;

  • Database in noarchivelog mode, truncate command issued

    Database in noarchivelog mode, truncate command has been issued how to restore the table?
    FACTS:-
    1. DB In noarchivelog Mode
    2. Cannot enable flash back mode because of 1. above
    3. No exports available
    4. No backup's Available.
    Any thoughts ?

    Oracle Support/ Professional Services has a Data Unloader (DUL) and ORA-00600 has DUDE, both of which may be able to extract information from data files that are corrupted, where the control files are lost, etc.
    These are not, however, cheap utilities. Unless the data itself is really valuable, it is generally not a viable option.
    Justin

  • Running a physical standby database in noarchivelog mode

    Primary Database: 2 node rac cluster, 11.2.0.2 GI and RDBMS
    Standby Database: single instance 11.2.0.2
    OS: AIX 7.1
    Hello,
    I'm in the process of implementing a data guard standby system. To make this system simpler to admin, I want to run the standby database in NOARCHIVELOG mode. This standby is used only as a mirror of production (to be copied to a 3rd site for separate user activity) and will never be switched to active mode. Maintaining another set of archive logs seems to be redundant to me and another point of failure, so I want to disable archiving. I wanted to ask if any of the DG experts on the forums have ever had experience with this? Does anyone know if this is recommended? I've searched the Oracle Data guard documentation online... it says that the primary obviously needs to be in archive mode, but I'm not seeing anything specific about the standby. Please let me know if anyone has experience with this.
    Thanks

    Hello again;
    If this is the case, then I have nothing to worry about here. Does that sound right to you?Yes.
    For this :
    b) monthly, shutdown this system and copy it to a 3rd site to host a separate set of business activityI would consider RMAN Duplicate in which case you may avoid the shutdown.
    And for this :
    resync the "mirror" with productionAll you have to do if DEFER the primary to the standby, then ENABLE and Data Guard will catch up.
    --- Will post a detailed example here in a moment.
    Right at the first of the year they wanted to work on our Primary server room ( Power ). What I did was switchover to the Standby but I kept log_archive_dest_state_2 on the new primary set to DEFER. Then I shutdown
    all the databases at the Primary site. At the end of work two days later I started the databases at the Primary site in standby mode. Switched log_archive_dest_state_2 to ENABLE. When the databases were back in SYNC
    I did another switchover and it was done. I used TAF and none of the users even noticed.
    Best Regards
    mseberg

  • ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode

    Hi All,
    Need help from the gurus.
    Currently we are in state unable to do anything.
    Was using a database and all of a sudden it crashed. Tried to mount the database, open it, it failed. Also tried the recover and alter database open, even that failed. Errors are as follows.
    Errors in file e:\oracle\product\10.2.0 \admin\devrevdb\bdump\devrevdb_p000_2620.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    ORA-00449: background process 'DBW0' unexpectedly terminated with error 1242
    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode
    In my spfile, the administrator has set only two control files and there is no mirroring and hence do not have another control file that will help me boot the db.
    Please let me know how I should go about it. I am only a timebeing person trying to carryout a db activity. Any help would be of great help.

    Hemant,
    thanks for the reply.
    I tried the way you suggested and it threw an error.
    ORA-01145: offline immediate disallowed unless media recovery enabled
    I searched and found that an additional tag of drop needs to be added to the command which you suggested.
    ALTER DATABASE DATAFILE '<filename>' OFFLINE DROP.
    i don't know what will the drop command have an effect ?
    i have copied the data file to another location. Since i don't know much, i just want to be sure of what im doing.
    if the above command is successfull, will it drop the datafile or the tablespace and i can no more use it. How can i use the copied datafile.
    Thanks,
    Sachin
    I

  • Change database from NoArchivelog to Archivelog

    Hi,
    I currently using oracle9i(9.2.0.2) under w2k. How can I change database from NoArchivelog node to Archivelog node?
    Thanks
    Ken

    If your using an spfile, then you can do the suggested using ALTER SYSTEM with the SCOPE=spfile; condition otherwise when you restart your instance the changes won't be recognized (if you're using an init.ora file then change it in the init.ora, but don't try to edit the spfile with a text editor, you'll corrupt it)
    With the database open, issue
    ALTER SYSTEM SET log_archive_start = true SCOPE=spfile;
    ALTER SYSTEM SET log_archive_dest_1 = "location=c:\Oracle\oradata\orcl817\archive" SCOPE=spfile;
    ALTER SYSTEM SET log_archive_format = %%ORACLE_SID%%T%TS%S.ARC SCOPE spfile;
    Then do the shutdown and mount etc. as described above
    Andy

  • How to set the database in NOARCHIVELOG mode

    hellow world,
    I knewly joined this organization.
    Our database is very small < 4GB data.
    Database is running in ARCHIVELOG MODE.
    since we are not keeping any physical backup, so I opted to run the datbase in NOARCHIVELOG mode.
    For bringing the database in NOARCHIVE MODE, I simply changed the init.ora parameter LOG_ARCHIVE_START = FALSE and restart the database.
    offcourse the archiving stopped, but to my strange after 30 to 40 minutes my all log files filled an error message is being displayed to the server, saying
    log files are filled, waiting for the archiving, Oh my God, What has happened, All users came to my head, DATABASE HANGED, NOT RESPONSING.
    SIR, MY QUESTION IS
    WHAT FOR ALL LOG FILES WAITING?
    when i am saying NOARCHIEVE than
    please explain me, where i committed mistake. I am new to ADMINISTRATION.

    1. Not keeping any physical backup is all the more reason to stay in archivelog mode.
    2. You need to shutdown the database, startup mount, and issue 'alter database noarchivelog', the alter database open.

  • Recover database in NOarchivelog mode :)

    Hi all. How to recover a database wich is in noarchivelog mode? B-)
    Suppose,
    I have 3 redolog groups (with two members in each, the second members are located on another drive ). When first redo log group was 1/2 full I took a full backup. Then there were 2 switches from first to second and from second to third. Now the currnet redolog group - 3 (just started). At this point we faced media failer. How to roll forward changes using backup + online redologs?
    Edited by: Junior Oracle DBA on Oct 16, 2008 1:53 PM

    Restore your database cold backup (excluding redo logs).
    Then issue this command :
    RECOVER DATABASE USING BACKUP CONTROLFILE
    provide the names of the last ACTIVE / CURRENT Redo Logs in the database when Oracle prompts for an ArchiveLog.
    When Oracle has finished recovery to a consistent point in time, it will return to the command prompt without any error.
    Now issue this command :
    ALTER DATABASE OPEN RESETLOGS
    You would have a Complete Recovery.
    This is provided that Oracle had NOT cycled through all the Online Redo Logs since the time when the Cold Backup was taken. (If Oracle had cycled through all the Online Redo Logs, it would have overwrriten the oldest log because it wasn't in ArchiveLog mode).
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Can't backup database in NOarchivelog mode

    Hi there,
    I get this error when I run this command from rman:
    backup database
    Starting backup at 19-JAN-11
    using channel ORA_DISK_1
    channel ORA_DISK_1: starting full datafile backupset
    channel ORA_DISK_1: specifying datafile(s) in backupset
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 01/19/2011 17:18:10
    ORA-19602: cannot backup or copy active file in NOARCHIVELOG mode
    please help.
    Thanks in advance!

    user13286861 wrote:
    ok it finally shutdown cleanly.
    I altered it in archivelog mode.
    Now I can run a backup database command from rman?What does it cost to try it and see? What would be the worst thing that could possibly happen? An error message saying you can't do that?
    And please note, this forum is not a chat line. Operators are NOT standing by. Posting a new message every two minutes to give an update on the fact that the database hasn't shut down yet is not necessary and not productive.
    If there are a lot of pending transactions when you issue SHUTDOWN IMMEDIATE, they will all have to be rolled back as part of the shutdown. That can take some time. And if you bypass that with SHUTDOWN ABORT, they will have to be rolled back as part of instance crash recovery on the next startup, which will also take some time. Five minutes may feel like an eternity when you are sitting there waiting for your command to complete, but is no reason to panic.

  • Start database in NOARCHIVELOG mode

    Hi,
    I would like to know if there is a way to set some oracle paramete so that each time database is restarted, it comes up in NOARCHIEVELOG mode.
    Regards,
    Andrija

    your answer is completelly wrong.
    Please check description of log_archive_start parameter in documentation:
    LOG_ARCHIVE_START
    Parameter type
    Boolean
    Default value
    false
    Parameter class
    Static
    Range of values
    true | false
    Real Application Clusters
    Multiple instances can have different values.
    LOG_ARCHIVE_START is applicable only when you use the redo log in ARCHIVELOG mode. It indicates whether archiving should be automatic or manual when the instance starts up.
    Values:
    true
    Indicates that archiving is automatic
    false
    Indicates that the database administrator will archive filled redo log files manually
    The SQL*Plus statements ARCHIVE LOG START or ARCHIVE LOG STOP override this parameter.
    In ARCHIVELOG mode, if all online redo log files fill without being archived, Oracle issues an error and suspends instance operations until the necessary archiving is performed. This delay is more likely if you use manual archiving. You can reduce its likelihood by increasing the number of online redo log files.
    To use ARCHIVELOG mode while creating a database, set this parameter to true. Normally, a database is created in NOARCHIVELOG mode and then altered to ARCHIVELOG mode after creation.

  • System datafile block corruption - no backups and database in NOARCHIVELOG mode

    Dear All,
    Database version - oracle 11.1 Enterprise
    OS - RHELinux 5.8
    What are the options of recovering from physical block corruption when there are no backup available to perform block media recovery?
    V$DATABASE_BLOCK_CORRUPTION reports two segments corrupted (please see attached image for details).
    1 table in system datafile - sys_fba_barrierscn
    1 index - (applicaiton index)
    What are my options?
    I know there is a possibility that the database will not restart after a shutdown due to corruption in system tablespace.
    Database is in noarchivelog mode. So online backups are not possible and there aren't any full backups either.
    I am thinking of below,
    1. Run dbms_repair with fix_block_corruption. - Still database startup might fail?
    2. Shutdown the database and take offline full backup with RMAN MAXCorrupt option.
    Appreciate your suggestions and advises.
    Thanks
    Stefan

    Thanks Sybrand,
    Agree with your first two suggestions .
    Also scheduled a expdp job tonight. (Only backup like thing they had was a expdp cron, but until today all the large tables were failing due to small undo_retention).
    Yes. Flashback is not used. So hopefully it will not affect the a database restart i guess?
    Related to dbms_repair, I was referring to - http://askdba.org/weblog/2010/08/physical-corruption-ora-1578-part-3/.
    Where DBMS_REPAIR.FIX_CORRUPT_BLOCKS and DBMS_REPAIR.SKIP_CORRUPT_BLOCKS used.
    Which i think will not use any redo.
    Thanks
    Stefan

  • Changing flow meter's mode during the measurement

    Hi,
    I have the CMOSens EM1 gas flow meter which can be setted to either temperature mode or flow rate mode. However, I will need both temperature data and flow rate (in ml/min) data in order to calculate the mass flow rate in kg/min. I am very new to LabVIEW so I have no idea what I can do. What I have in mind is ... doing the measurement with the sensor in temperature mode for ~ 1 second, then change to flow mode for ~ 1 second and change back to temperature mode and so on, until we stop the measurement. So output in data file might be something like this ...
    Time   Data
    0       temp
    1       flow
    2       temp
    3       flow
    where temperature and flow data can be in different column. Note that the fastest sensor response time is 5 ms.
    Any suggestion what I can do in LabVIEW??
    Thank you so much in advance.
    Bew         

    Hi SnowMule
    Thank you for your suggestion. The data from flow meter is already in volume per minute so I only need to know density of gas at temperature T to find mass flow rate (...do I miss anything?). It's nitrogen gas and there's some online database availble to get the gas density from known temperature. That's why I want to read the temperature from the flow meter as well.
    Additional thermocouple would be a solution if I cannot have LabVIEW to do the job for me.
    Thanks again!

  • ORA-00257: archiver error. and database is noarchivelog mode

    Hi,
    I've a Oracle 10.2.0.4 64bit database under Windows. The database has been from the beginning in noarchive log mode. How is it possible it's generating ora-0257 errors?
    regards,
    Ivan

    Helios and oradba,
    This is the output of archive list:
    SQL> archive log list;
    Database log mode No Archive Mode
    Automatic archival Disabled
    Archive destination d:\oradata\DBN\arch
    Oldest online log sequence 5249
    Current log sequence 5251
    On D: there is 10 Gbyte free space. And the error in the alert-log is:
    Thu Oct 06 08:30:37 2011
    Errors in file d:\oracle\product\10.2.0\admin\dbn\bdump\dbn_j000_3612.trc:
    ORA-12012: error on auto execute of job 143
    ORA-00257: archiver error. Connect internal only, until freed.
    Ivan

  • My database in noarchivelog mode. How I can open it?

    -bash-3.00$ sqlplus system as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jul 17 15:24:45 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select open_mode from v$database;
    OPEN_MODE
    MOUNTED
    SQL> startup;
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> alter database open resetlogs;
    alter database open resetlogs
    ERROR at line 1:
    ORA-01190: control file or data file 1 is from before the last RESETLOGS
    ORA-01110: data file 1: '/oracle/app/oradata/Arju/system01.dbf'
    SQL> !rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Jul 17 15:27:28 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target;
    connected to target database: ARJU (DBID=222697548, not open)
    RMAN> list backup;
    using target database control file instead of recovery catalog
    List of Backup Sets
    ===================
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    1 Full 521.71M DISK 00:01:11 11-JUL-07
    BP Key: 1 Status: AVAILABLE Compressed: NO Tag: TAG20070711T105344
    Piece Name: /oracle/app/flash_recovery_area/ARJU/backupset/2007_07_11/o1_mf_nnndf_TAG20070711T105344_399vqr8f_.bkp
    List of Datafiles in backup set 1
    File LV Type Ckp SCN Ckp Time Name
    1 Full 598070 11-JUL-07 /oracle/app/oradata/Arju/system01.dbf
    2 Full 598070 11-JUL-07 /oracle/app/oradata/Arju/undotbs01.dbf
    3 Full 598070 11-JUL-07 /oracle/app/oradata/Arju/sysaux01.dbf
    4 Full 598070 11-JUL-07 /oracle/app/oradata/Arju/users01.dbf
    5 Full 598070 11-JUL-07 /oradata1/test02.dbf
    BS Key Type LV Size Device Type Elapsed Time Completion Time
    2 Full 6.80M DISK 00:00:01 11-JUL-07
    BP Key: 2 Status: AVAILABLE Compressed: NO Tag: TAG20070711T105459
    Piece Name: /oracle/app/flash_recovery_area/ARJU/autobackup/2007_07_11/o1_mf_s_627648694_399vt445_.bkp
    Control File Included: Ckp SCN: 598070 Ckp time: 11-JUL-07
    SPFILE Included: Modification time: 11-JUL-07
    RMAN> restore database from tag TAG20070711T105344;
    Starting restore at 17-JUL-07
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=158 devtype=DISK
    skipping datafile 1; already restored to file /oracle/app/oradata/Arju/system01.dbf
    skipping datafile 2; already restored to file /oracle/app/oradata/Arju/undotbs01.dbf
    skipping datafile 3; already restored to file /oracle/app/oradata/Arju/sysaux01.dbf
    skipping datafile 4; already restored to file /oracle/app/oradata/Arju/users01.dbf
    skipping datafile 5; already restored to file /oradata1/test02.dbf
    restore not done; all files readonly, offline, or already restored
    Finished restore at 17-JUL-07
    RMAN> ^D
    Recovery Manager complete.
    SQL> select log_mode from v$database;
    LOG_MODE
    NOARCHIVELOG

    In 10gR2, you can drop a datafile, however the following restrictions apply:
    * The database must be open.
    * If a datafile is not empty, it cannot be dropped.
    * You cannot drop the first or only datafile in a tablespace.
         (This means that DROP DATAFILE cannot be used with a bigfile tablespace.)
    * You cannot drop datafiles in a read-only tablespace.
    * You cannot drop datafiles in the SYSTEM tablespace.
    * If a datafile in a locally managed tablespace is offline, it cannot be dropped.
    Otherwise, there is no SQL command that you can issue to delete all the files associated with a tablespace and still keep the tablespace.

  • Archivelog mode during Database upgrade

    I have database that needs to be upgraded (from 8.1.7 to 10.2.0.4) and this database runs in ARCHIVELOG MODE. My question should I turn archivelog mode off during upgrade? Do you see any benefits or issues with that?

    Better option to put database in no archivelog mode. Take a backup and then put database in noarchivelog mode.
    Log_archive_format will be different in 10g so while enable you may need to change this parameter.

Maybe you are looking for

  • Exporting an animated GIF

    Does anyone know whether it's possible to export an animated GIF from FCP? The only methods I've seen described involve using three programs I don't have - AE, Graphics Converter or ImageReady.

  • Intel i5 Chipset problem

    I have a new iMac i5 (27"). Intel has found a problem with their chipset. They say, "The only systems sold to an end customer potentially impacted are Second Generation Core i5 and Core i7 quad core based systems." How can I find out if my iMac has t

  • Manualy onfigure database with grid control

    Hi All, I am using EM grid control 10g r4 to monitor many of the 9i and 10g databases in the environment. Need help in this scenario. On a db server (10.2.0.2) I have grid control agent (10.2.0.4) installed and able to monitor databases on it. Recent

  • Installing photoshop elements 10 mac os x

    Hello,  i have just changed some a Microsoft PC win7 to a Macbook pro running Mac os x.  I have logged into the adobe portal, installed the akamai netsession client for OSX and downloaded the software.  however what is downloaded is smaller .exe file

  • Colors display differently between two files

    I've created two billboard files; one is 96" x 48" and the other is 48" x 48". Both files were created one right after the other with identical graphics. There is one rgb jpeg of the sky, and a vector graphic with a Pantone fill. The vector graphic h