Going from NOARCHIVELOG to ARCHIVELOG mode

I am running an Oracle 10g Release 2 10.2.0.2 database on AIX.
Can any body tell me the exacts steps for going from noarchivelog mode to
archivelog mode.
Thanks and Regards,
Asim Naveed.

You must
1 - shutdown db
2 - mount db
3 - ALTER DATABASE ARCHIVELOG
4 - open dbDo not forget to backup the database.

Similar Messages

  • 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

  • My firefox display goes from a full html mode to a text for some reason

    This is confusing as it happens out of blue (right in the middle of working on the program).

    You selected Firefox OS as your OS. Firefox OS is Mozilla's own platform for mobile device. Please confirm that you are having this issue with Firefox OS and not on Windows 7 or Android.

  • I have an iPhone 5 that goes from DRU to Recovery Mode. I can't get out or restore?

    Can anyone tell me if there is a way to re-install the OS or should I just take a HAMMER to it?

    See this support document for unable to restore. If you can't update or restore your iOS device  You may have to do it more than once.

  • Problem in Converting Database into Archivelog mode (Oracle 10G)

    Hi Team,
    I come across a strange problem in the ORACLE 10G Server.
    I am converting database mode from NoArchivelog to Archivelog mode through RMAN in 10G.
    Now When I execute these following commands through RMAN prompt it works properly as shown below?
    C:\>rman
    Recovery Manager: Release 10.2.0.1.0 - Production on Thu Nov 30 18:01:08 2006
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    RMAN> connect target /
    connected to target database: RAVI (DBID=4025722893, not open)
    RMAN> shutdown immediate;
    using target database control file instead of recovery catalog
    database dismounted
    Oracle instance shut down
    RMAN> STARTUP MOUNT;
    connected to target database (not started)
    Oracle instance started
    database mounted
    Total System Global Area 167772160 bytes
    Fixed Size 1247876 bytes
    Variable Size 79693180 bytes
    Database Buffers 79691776 bytes
    Redo Buffers 7139328 bytes
    RMAN> SQL 'ALTER DATABASE ARCHIVELOG';
    sql statement: ALTER DATABASE ARCHIVELOG
    RMAN> ALTER DATABASE OPEN;
    database opened
    RMAN>
    But this same script when i writes in the backup.ora file & pass to Rman prompt it fails,
    File backup.ora contains...
    run
    SHUTDOWN IMMEDIATE;
    STARTUP MOUNT;
    SQL 'ALTER DATABASE ARCHIVELOG';
    ALTER DATABASE OPEN;
    passed to RMAN as follows...
    C:\OracleCode\BACKUP>"C:\oracle\product\10.2.0\db_1\bin\RMAN.EXE" target /"connect target SYSTEM/sreedhar@RAVI" log="C:\ORACLE~2\LOGS\backup_log.log" append cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    RMAN> 2> 3> 4> 5> 6> 7> 8>
    then it fails giving the following errors...
    using target database control file instead of recovery catalog
    database closed
    database dismounted
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of startup command at 11/30/2006 18:05:59
    ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    Recovery Manager complete.
    The same thing is working in the Oracle 9i but not in the Oracle 10G.
    Can Anybody plz help me in this?
    Regards,
    S.Tiwari
    .

    export ORACLE_SID=<SID>
    rman target /cmdfile="C:\ORACLE~2\BACKUP\backup.ora"
    it will connect to the default SID, there's no such thing as a default SID, what do you mean?
    But what if there are more that one SID available & I
    want to connect to SID other than the default SID.just specify the desired SID prior starting rman.
    more over the same string is working with 9i but not
    with 10G.maybe due to a bug?
    to summarize, you have two options it you would like to start up the instance:
    either you specify the SID prior starting rman and use os authentication
    or
    you register the instance statically and use oracle authentication.
    regards,
    -ap

  • Going to noarchivelog mode in 10gR2

    Hi,
    my database is in 10gR2 on a win XP PC in archive log mode. How can I go to non archivelog mode ?
    1-Should I change Archive_log_start to false in E:\oracle\product\10.2.0\admin\bd1\pfile\init.ora ?
    then
    2-Shutdown immediate, startup mount, alter database noarchivelog, shutdown immediate, startup
    Or may be another faster way in 10gR2 ?
    Many thanks.

    Archive_log_start to false Hey, this is a depricated parameter in version 10g.
    Simply, mount the database and switch to noarchivelog mode and open the database.
    More importantly, dont forget to have a backup.
    Jaffar

  • Comming out from archivelog mode

    Hi,
    I have a database which is in archive log mode. How can I come back to non archive log mode ?
    Many thanks.

    Setting log_archive_start = true in init.ora file enables automatic archiving of redo log files.
    You will disable automatic archiving if you say.
    SQL> ALTER SYSTEM ARCHIVE LOG STOP;
    Now you have to archive the redo log manually. If the database is in archivelog mode and automatic archiving is disabled and if log switch happens then LGWR cannot overwrite the redo log file which is not yet archived. I experimented on my test machine and database operation hang up as follows.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    SQL> alter system switch logfile;
    System altered.
    SQL> /
    hanged here.
    If you say the following then database will not be in archivelog mode. LGWR will overwrite the redolog files and will not wait for archiving as the database is in noarchivelog mode.
    SQL> startup mount
    SQL> alter database noarchivelog;
    Now it depends upon your requirement. Do you want to stop the current archivelog mode temporarily or permanent ?
    aijaz

  • I recently had to get a new computer.It required me going from windows xp to 7 I am trying to put it one the new computer but I get following message  Windows installer could not be accessed could be in safe mode.How do I get around it? need it to charge

    I recently had to get a new computer.It required me going from windows xp to 7 I am trying to put it one the new computer but I get following message  Windows installer could not be accessed could be in safe mode.How do I get around it? need it to charge my ipod on my computer.

    I have used PCs for years, and still do at work.  But, last year my wife bought me a 15" MBP with the anti-glare screen (I was getting ready to buy for myself).  It took me all of 1 week to completely get used to the UI for OS-X, and now I really prefer it over the Win7 UI.  I have no experience with Win8.  Here are my thoughts:
    1) You can get a good computer using either a Win8 machine or a Mac.
    2) You will pay less for an equivalent PC.  But not as much less as some would have you believe.  You need to take into account the all aluminum body of the Mac (vs most PCs being plastic) and the size of the display.  And, don't forget that there is a lot of bundled SW on the Mac that you will actually find useful and would have to purchase for the PC.
    3) You can probably do everything you need on the PC platform with the right SW (you probably already know this since you are using one already).
    That said, I think some things are easier on the Mac.  For example, GarageBand is a standard part of the Mac SW installation.  I got up and running recording directly from my bass into a track with a song imported from iTunes on another track in a snap.  I only had to purchase a Jam adapter ($99) for the bass so I could come in over USB instead of using the audio in port (which did work, by the way).  You can do the same on a PC, but you have to purchase the SW from somewhere.  And, it probably isn't cheap.
    I use VMware Fusion to run those Win programs I already owned because it was much less expensive to buy Fusion than to replace them.
    I would not return to a PC for my own use, given a choice.  But, I would be very careful about getting my wife a Mac without careful thought as she is not as tolerant of learning new things as I am.
    So, there you go.

  • Question re. Ethernet cable going from HH3 to Mode...

    Guys,
    Do any of you know whether you can use any Cat5e ethernet cable from the Red Infinity socket on the HH3 to the LAN1 port on the Openreach modem as opposed to the one with the red terminals provided by BT? I only ask as like most of you I'm sure, my HH3 and modem are no more than about 20cm apart so I'd prefer to use a much shorter cable than the one supplied.
    And does that also apply to the RJ11 going from the Master Socket to the DSL port on the modem (i.e. will any RJ11 do)?
    Cheers in advance. 
    You won't get to ride the racehorse...until you've ridden the mule.... - RogerB 13/04/2010

    from the homehub to modem, any decent cat5/cat5a/cat6 cable will do. as for the rj11 cable to phone socket, if you know a good i.t. guru, he could knock you up a cat5 cable with rj11 connectors at each end to your specific length, or, if you don't know an i.t. guru, you could scout the net for the cable. I use such a cable and it is far superior to the one supplied by bt.
    Also, if you feel competent & have the tools,you could do it yourself. i posted howto do this previously, so a quick search with my moniker should find it
    free your computer, use opensource
    i'm a linux user & very happy about it

  • Archivelog mode

    I'd like to make sure of the following:
    when the database works in noarchivelog mode it does not matter what's the value of log_archive_start parameter whether it is true or false .I mean if log_archive_start in this case is set to true it won't archive the full redolog files because the database is in noarchive mode,Am i right?
    Thanks in advance.

    The parameter archive_log_start controls whether or not the Archiver (arcN) process is started at database startup or not. If you are not in archivelog mode, then it is immaterial. If you are in archive log mode, then if archive_log_start is false, you will have to manually archive redo logs as the fill, otherwise the system will stop after it fills the last archive log.
    Unless you are running a read only database, and know that it will never ever be modified (I have two such databases holding data from legacy systems), then you might as well set archive_log_start to TRUE. One day, you are going to want to put that test database into archivelog mode for some reason or another, and users screan really loudly when the system "hangs" because all the redo logs are filled.
    Been there, done that, got the earplugs.
    John

  • Database in Archivelog mode

    Hi
    All,
    I have oracle 9.2.0.6 at my workplace.right now my database running in ARCHIVELOG MODE. I want to set it to NOARCHIVELOG MODE.
    can I do on the fly? in other way, Do I need to shutdown and restart database?
    Any help will be appreciated.
    Thanks,
    Vishal

    Hi,
    Issue the following commands to put a database into NOARCHVELOG mode:
    1) Take Back up of Present SPfile by creating pfile
    create pfile from present spfile.
    2) Shutdown the database by SUTDOWN IMMEDIATE.
    3) Take Cold backup of the database.
    4) Change the parameter in the pfile.
    log_archive_start = FALSE
    #log_archive_dest_1 = 'LOCATION='Your location'
    log_archive_dest_state_1 = DISABLE
    #log_archive_format = %d_%t_%s.arc
    5) And make a spfile from the modified pfile in default location .
    6) Start the database with spfile.
    SQL> CONNECT sys AS SYSDBA
    SQL> STARTUP MOUNT ;
    SQL> ALTER DATABASE ARCHIVELOG;
    SQL> ARCHIVE LOG START;
    SQL> ALTER DATABASE OPEN;
    NOTE 1: Remember to take a baseline database backup right after disabling archivelog mode. Without it one would not be able to recover.
    Regards
    Jafar

  • How to use OEM grid control to find any database not in archivelog mode?

    Hello,
    currently we have 130 databases, say, if I want to pick out any database currently NOT in archivelog mode, is there a quick way to find out ?
    by using OEM grid control
    or
    some trick similar,
    but really don't need to check each database manually.
    thank you very much!

    This query works in 12c - please run as SYSMAN.
    It is based on undocumented assumptions though +( AND key_value = 'NOARCHIVELOG')+.
      SELECT *
      FROM SYSMAN.MGMT$GROUP_DERIVED_MEMBERSHIPS O ,
        SYSMAN.MGMT$TARGET T ,
        sysman.MGMT$AVAILABILITY_CURRENT st
      WHERE
      o.member_target_type     IN ('oracle_database', 'rac_database')
      AND ( t.target_type           ='rac_database'
      OR (t.target_type             ='oracle_database'
      AND t.type_qualifier3        != 'RACINST'))
      AND o. member_target_guid     = t.target_guid
      AND t.target_guid             = st.target_guid
      AND st.availability_status    = 'Target Up'
      AND ( EXISTS
        (SELECT *
        FROM sysman.mgmt$metric_current i
        WHERE I.TARGET_GUID = O.MEMBER_TARGET_GUID
        AND metric_name     = 'archFull'
        AND Metric_Column   = 'archTotal'
        AND metric_label    = 'Archive Area'
        AND column_label    = 'Total Archive Area (KB)'
        AND key_value       = 'NOARCHIVELOG'
        ));Another way to achieve the goal is to push extended metrics (SELECT LOG_MODE FROM V$DATABASE) on each DB, and monitor the values they return to the repository. This is an example for a (slightly) different problem - http://iiotzov.wordpress.com/2012/08/08/how-to-use-the-new-oem-12c-metric-extensions-to-enforce-enterprise-wide-custom-policies .
    OEM Repository has many other great uses as well - http://iiotzov.files.wordpress.com/2012/05/oem-repository-a-second-look.doc , http://iiotzov.files.wordpress.com/2011/08/iotzov_oem_repository.pdf
    Iordan Iotzov
    http://iiotzov.wordpress.com/

  • OLAP in 10G with ARCHIVELOG mode

    Can we place 10G database in ARCHIVELOG mode with OLAP? Currently we are at 9204 and our database is running in NOARCHIVELOG mode. I am new here and I was told that there is some issue with the OLAP that prevents placing the database in ARCHIVELOG mode. Is it true? If it is true then has it been fixed in 10G as we want to take advantage of FLASHBACK query option of 10G and that will require the database to be in ARCHIVE mode?
    Thanks

    it's a slight misunderstanding.
    You can recover the cold backup and switch it on. -therefore you will have a database from the point of the cold backup.
    if you want to use the archivelogs to restore then that's a little more involved

  • Archivelog Mode / init.ora file

    Hi,
    Maybe someone can help me out. I am presently trying to set up a dev server that has 3 or 4 databases on it. The first database is installed by the Oracle installation kit. The 2nd one that I am now trying to configure is giving me the following error: Ora-01126: database must be mounted EXCLUSIVE and not open for this operation. I am also setting it up for archiving.
    When I do a SELECT * from V$database; the answer comes back that it is in noarchivelog mode. I even edited the init.ora file in both the pfile folder and the ora81/database folder and yet the answer is still the same. I even rebooted it with the same results. I understand that the database is in exclusive mode by default. Does this have anything to do with Parrelizm (spelling). I tried altering the database to archivelog mode but with no results.
    Any ideas? Im at a loss.
    Thanks for your time.
    Al

    Hi Al,
    try to startup the db with startup mount or startup read only and try
    the alter command again.
    Normally it should work then!
    Tobias

  • Alter database into Archivelog mode.

    HI Team,
    I am using ORACLE 9i.
    I want to convert database into archivelog mode from noarchivelog mode.
    Using the following SQL Commands I can able to convert my database into the Archivelog.
    SQL> connect sys as sysdba
    Enter password: *****************
    Connected.
    SQL> alter database archivelog;
    alter database archivelog
    ERROR at line 1:
    ORA-01126: database must be mounted EXCLUSIVE and not open for this operation
    SQL> startup mount;
    ORA-01081: cannot start already-running ORACLE - shut it down first
    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup mount;
    ORACLE instance started.
    Total System Global Area 252779340 bytes
    Fixed Size 453452 bytes
    Variable Size 125829120 bytes
    Database Buffers 125829120 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    SQL> alter database archivelog;
    Database altered.
    My problem is that I had to shutdown the database before converting it in to the archivelog mode...
    Is there any way that without shuting down the database i can switch to archivelog mode.
    Please comments...
    Shatrughan

    if we shutdown immediate one's database..do
    it's listener terminated too???The database registration with the listener yes, the listener itself no. That is, if you execute a command like "lsnrctl stat" you won't see the database anymore, but the listener is still active. Example :
    [ora102 ~ db102]$ lsnrctl stat
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 05-MAY-2007 18:57:51
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                05-MAY-2007 18:27:34
    Uptime                    0 days 0 hr. 30 min. 16 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/ora102/OraHome1/network/admin/listener.ora
    Listener Log File         /home/ora102/OraHome1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "db102" has 1 instance(s).
    Instance "db102", status READY, has 2 handler(s) for this service...
    The command completed successfully
    [ora102 ~ db102]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Sat May 5 18:58:03 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SYS@db102 SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SYS@db102 SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    [ora102 ~ db102]$ lsnrctl stat
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 05-MAY-2007 18:58:33
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date                05-MAY-2007 18:27:34
    Uptime                    0 days 0 hr. 30 min. 58 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/ora102/OraHome1/network/admin/listener.ora
    Listener Log File         /home/ora102/OraHome1/network/log/listener.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    [ora102 ~ db102]$                                                                                 

Maybe you are looking for

  • Settings widget on iPad Air has 1 alert but can't find it anywhere in settings nor figure out how to remove it.

    Update to iOS 8.0.2 on my iPad Air flagged my Settings Widget with 1 alert.  I cannot find the reason for the alert anywhere within Settings and have tried to restart (i.e., power and touch ID) several times to no avail.  Would appreciate anyone's he

  • Is it possible to identify and migrate a single app from iMac to MacBookPro instead of all the applications?

    In the migration of apps from my iMac to MacBookPro, one app did not migrate. Is there a way to redo the migration process but identify a single app and not the entire applications folder?

  • Process Pop-up Issue

    Hi All, Once I have deployed my process sucessfully, and connect through the local intranet to the Process Work Space, I am able to see my Process under "Applications" however when clicking on the link, it refers me back to the local servers host add

  • Flash player not installing/uninstalling

    First off I'd like to critize whoever moderates this forum. It is a disgrace that one's post should be removed without even giving a reason. Now if you can POLITELY reply to my inquiry I'd be much obliged! As the topic says I cannot uninstall or inst

  • Dimension formula

    I am copying the dimension formula from BPC5.1 to 7.0. However following dimension forumula does not work in BPC7 when copied as it is. ACCOUNT3 = -PrevBalance(ACCOUNT4) ACCOUNT3 is the dimension member "which stores the previous month balance of Acc