Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

disable_archivelogmode

Posted on 2011-03-22
5
Medium Priority
?
438 Views
Last Modified: 2012-06-21
I was trying to disable archive log mode

I shutdown the database

I ws trying to look for the parameter "log_archive_start = false"
in my init.ora I could not find any parameter like that...

If I want to add this parameter in init.ora, which part of init.ora I have to add.

Please help me..
Here is my init.ora

##############################################################################
# Copyright (c) 1991, 2001, 2002 by Oracle Corporation
##############################################################################
 
###########################################
# Cache and I/O
###########################################
db_block_size=8192
 
###########################################
# Cursors and Library Cache
###########################################
open_cursors=300
 
###########################################
# Database Identification
###########################################
db_domain=""
db_name=company
 
###########################################
# File Configuration
###########################################
control_files=("C:\app\Mathew\oradata\company\control01.ctl", "C:\app\Mathew\oradata\company\control02.ctl", "C:\app\Mathew\oradata\company\control03.ctl")
db_recovery_file_dest=C:\app\Mathew\flash_recovery_area
db_recovery_file_dest_size=2147483648
 
###########################################
# Miscellaneous
###########################################
compatible=11.1.0.0.0
diagnostic_dest=C:\app\Mathew
memory_target=803209216
 
###########################################
# Processes and Sessions
###########################################
processes=150
 
###########################################
# Security and Auditing
###########################################
audit_file_dest=C:\app\Mathew\admin\company\adump
audit_trail=db
remote_login_passwordfile=EXCLUSIVE
 
###########################################
# Shared Server
###########################################
dispatchers="(PROTOCOL=TCP) (SERVICE=companyXDB)"
 
###########################################
# System Managed Undo and Rollback Segments
###########################################
undo_tablespace=UNDOTBS1
 
0
Comment
Question by:nobleit
  • 2
  • 2
5 Comments
 
LVL 7

Accepted Solution

by:
MrNed earned 2000 total points
ID: 35195392
In general, it doesn't matter where in the config file you add parameters. The comment headings are just for your convenience. Also, if a parameter doesn't appear it will just have its default value which you can find from the documentation or by running a query like:

show parameter log_archive_start

As of Oracle 10g the parameter log_archive_start is deprecated. To disable archive mode you run the following command while in the mount state (ie not open):

alter database noarchivelog;

0
 

Author Comment

by:nobleit
ID: 35195523
I did exactly whatever you suggested..
this is what did..

shutdown current db
in the init.ora
log_archive_start=false
saved
startup nomount
alter database noarchivelog;

in the archive log list

it is seen enabled..

Thanks a lot....

0
 
LVL 7

Expert Comment

by:MrNed
ID: 35195537
Can you please paste your entire session output. Also what version are you running?
0
 
LVL 16

Expert Comment

by:Richard Olutola
ID: 35201536


Please remove the "log_archive_start=false" parameter all together.

Restart in MOUNT mode (not nomount)
Then

alter database noarchivelog;

Next

alter database openn;

R.
0
 
LVL 16

Expert Comment

by:Richard Olutola
ID: 35201543
Typo correction:

alter database open;

R.
0

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
Suggested Courses

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question