To startup database in  noarchivelog

Hi
All,
I want to know how can I start database in noarchivelog mode without using
alter database noarchivelog;
Is there anything to set with parameter?
Thanks,
Vishal

Try this:
When database is up,
sql> alter database backup controlfile to trace;
sql> shutdown immediate;
open up the trace file where the control file is created, and edit, instead of archivelog make it to noarchivelog.
change the setting in pfile too, log_archive_Start=false
sql> startup pfile='<destination of thepfile>'
Check it :
sql> archive log list
ur database will be in no archivelog mode.
Regards,
Bhavesh

Similar Messages

  • Orale 9i alter database open ( noarchivelog )

    Hi all,
    Not sure what was trhe issue as after I tried to put my database in noarchivelog mode it game me a ORA- device busy and logged me out of the session ?!!
    Steps:
    Shutdown first
    then
    - startup mount
    - alter database noarchivelog
    - alter database open
    ORA-xxx device busy , acquire with NOWAIT option .....
    Any ideas what i missed ?
    Thx

    Afaik, there is really no need to adjust the log_archive_start and/or log_archive_dest parameters when changing the archivelog mode. The sequence mentioned by the OP (shutdown; startup mount; alter database noarchivelog; alter database open;) is sufficient.

  • 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

  • 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

  • Source database in NOARCHIVELOG temporarily for maintenance

    Hi all,
    We have a big maintenance to run next week end. There will be mostly index rebuild, statistics gathered and so. We are using 10.2.0.3. Source database is a RAC one.
    We would like to put our database in NOARCHIVELOG temporarily during this maintenance windows. This may sound like an easy task, but i rather consider it as a risky one - I need a 100% safe procedure!!
    I wonderer, if there is arcticles in Oracle documentation or Metalink that could help.
    I think I know several of the steps required:
    - Stop the capture
    - Put the database in NOARCHIVELOG mode
    - Re-instantiate the tables using dbms_capture_adm.prepare_table_instantiation on the source database
    - Ré-instantiate the tables using dbms_apply_adm.set_table_instantiation_scn on the destination database
    - I think I will have to advance the SCN on the capture but I'm not sure if I have to change the FIRST_SCN or the START_SCN or both?
    - Put the database back in ARCHIVELOG mode
    - Start the capture
    I'm not sure in wich order i have to do these tasks.
    Thank you for any advice/link on that subjet!
    Jocelyn

    Thanks a lot Rijesh for your response,
    In the meantime, I do my own search and came to the same conclusion.
    I also experimented with note 471695.1 on Metalink (Required Steps to Recreate a Capture Process). It "almost" works! It recreates the capture correctly, but it does not carry the existing table rules... (the content of DBA_STREAMS_TABLE_RULES before dropping the capture).
    So it's probably going to be much easier to recreate the whole thing from scratch (we have an existing procedure that is very mature).
    Regards,
    Jocelyn

  • STARTUP DATABASE FROM SQLPLUS

    DEAR ALL,
    I've shutdown the database from SQLPLUS.How to startup the database from sql plus.I tried to connect using sys and i recieve Listener doesn't know currently of service....
    Thanks

    I've shutdown the database from SQLPLUS.How to
    startup the database from sql plus.I tried to connect
    using sys and i recieve Listener doesn't know
    currently of service....Your errors seems that you were using sqlplus in client not in server to shudown
    database and try to startup database.
    If so, you need to config your listener.ora with static listener as well as dynamic listener.
    HTH

  • Restoring database with NOARCHIVELOG

    After several failed attempts at trying to get Enterprise Manager to work with my database, I decided to uninstall the Enterprise Edition completely and then to install it from scratch. I did and found, as expected, that my database files were still intact, on another drive. However, what I didn't expect was that uninstalling Oracle also removed the init*.ora files I had for the different databases, and so the DBCA showed no databases at all. So I figured I would create new databases with the same settings, and then copy all the files from the old locations to the new ones. That went well, except for with one database.
    When trying to open that database, I get a ORA-00280 and the suggested file that should contain the sequence, is not at that location. In fact I could not find it anywhere on my disks, even after using a program to undelete content. However I know for a fact that I ran my old databases in NOARCHIVELOG mode, yet the name of the suggested file hinted at it being an archive log.
    I have been googling all day long, and tried out several different methods, restoring, recovering, RESETLOGS, NORESETLOGS, what to do when not having neither archive logs or possibly redo logs (as I don't know what the ONLINELOG files are specifically), but they all ended up with me being at the same point, needing that .arc file which I should've never had, due to NOARCHIVELOG mode.
    So here is where I'm at. I have a CONTROLFILE folder with 1 control file, a DATAFILE folder with the usual tablespace files, and an ONLINELOG folder with 3 log files. I even tried using those 3 log files for recovering the database, but to no avail. I have all the data, and while I guess the ORA-00280 means that there has been a change in the database since the data files were written, I haven't changed much data so I could easily add whatever little data is missing from the tablespace USERS. So I need some instructions, some help on how to open and mount the database and avoid getting the ORA-00280 or being able to ignore it and still open the database. As I created a new database, there are no archive logs backed up, so I can't recover any files that way, I only have the data files, control files and log files to work with.

    You're not in as bad as shape as you think.
    If you have the data files and one control file, you can recover/restore the database. First thing to do is get a working init.ora file and get the instance up and running. Then, work on the control file (so you can at least mount the database). Fix what you need to in terms of paths/file locations. It may take several iterations. You can also bypass the existing controlfile and create your own. Eventually, you'll be able to have a successful "alter database open" step.
    http://www.databasejournal.com/features/oracle/article.php/3738736/Recovering-from-Loss-of-All-Control-Files.htm
    Number one precaution: take a copy of what you have now and put it somewhere else, just in case. You don't want to make the situation worse.

  • Undo Datafile deleted, How to startup database?

    Hi
    I was getting that message when startup database
    SQL> startup
    ORACLE instance started.
    Total System Global Area 167772160 bytes
    Fixed Size 1218292 bytes
    Variable Size 83888396 bytes
    Database Buffers 75497472 bytes
    Redo Buffers 7168000 bytes
    Database mounted.
    ORA-01157: cannot identify/lock data file 7 - see DBWR trace file
    ORA-01110: data file 7: '/u01/app/oracle/oradata/impl2pk/undotbs02.dbf'
    Later on got to know that a datafile was deleted.
    Anybody help me how to start database now?
    Thanks

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5669213349582Khurram

  • 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

  • Start Workflow from the After startup database trigger

    Hallo,
    I try to startup a workflow process from a database trigger :
    the after startup database trigger. But when I do this, he
    doesn't startup. When I add a commit-statement after the call
    to startup the workflow, my database never gets open.
    What do I have to do ? And what command is used ?
    Thanks a lot.
    Filip Huysmans.

    See the Posting: Starting Workflows From a Database Trigger
    Hallo,
    I try to startup a workflow process from a database trigger :
    the after startup database trigger. But when I do this, he
    doesn't startup. When I add a commit-statement after the call
    to startup the workflow, my database never gets open.
    What do I have to do ? And what command is used ?
    Thanks a lot.
    Filip Huysmans.

  • Shutdown/Startup database from java

    Hi,
    I need to execute shutdown/ startup database commands from a java application. I have tried wrapping these in sql / sh file using Runtime.getRuntime().exec("z:\\sql\\shut.sql"), but keep getting:
    java.io.IOException: CreateProcess
    any ideas ?
    thanks,
    Daphna

    Hi,
    I don't see why the 11g Drivers won't work for earlier releases of the DB as long as you follow the steps in the documentation. Have you tried it?

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

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

Maybe you are looking for