on 02-19-2007 11:07 PM
Can you please tell me how to "disable databse log mode",
In another word, how to set "Database log mode" parameter to "No Archive mode", using brtools or using sqlplus, what is the exact database parameters?
BTW, I am not talking about Automatic Archival, I am only talking about "database log mode"
thanks
Kumar
logon to oracle using sqlplus (user: ora<sid>)
> sqlplus /nolog
> connect / as sysdba
> shutdown
> startup mount exclusive
> alter database noarchivelog
> alter database open
GreetZ, AH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar try this
ARCHIVE TO NOARCHIVE MODE
Get into sqlplus as root.
Sqlplus>archive log list
or you can try this
Sqlplus> select log_mode from v$database;
It will show u whether the database is in archive or no archive.
If its in archive
Shutdown the database
Sqlplus>startup mount
It will mount the database.
Sqlplus>alter database noarchivelog
Sqlplus >alter database open
Sqlplus >archive log list
Shut down and restart the database and it will be in no archive log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Switching off database archiving during an upgrade is not mandatory. In fact the upgrade tools leave you an explicit choice between upgrading with archiving enabled or disabled. With the current upgrade technology (system switch), most of the upgrade happens during system uptime anyway, which means that archiving must be on during that phase (for production systems). For the downtime part of the upgrade, it is advisable to switch archive logging off because it brings only overhead and no benefit, since you could not possibly recover to a point somewhere in the middle of the upgrade.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Remember that SAP does not provide support for Production systems in "No Archive mode"
And, as someone said:
If you run a database in "No Archive mode" you <i><b>will</b></i> lose data. Full recovery is not available any more ( except when you are lucky enough oh only needed the data in the online redo logs )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I didn't explain properly.
Running in NO archive log mode per se does not make you lose data.
But
- you can only use OFFLINE BACKUPS
- you CANNOT RECOVER the database.
Everything between the OFFLINE BACKUP and any possible CRASH will be LOST
If you have a corruption on a table, you will not be able to use the only supported method to solve the corruption --> you will lose data.
That is what I mean. It is a fact that a problem will appear ( sooner or later ) that will force you to use a backup. As mentioned before, this will imply that you lose data.
that is what I meant, sorry if it was not properly explained.
But the point is the same. If you cannot afford to lose data, do NOT run in no archive log mode. If you do it, then you will lose data sooner or later.
Regarding to your 3 points, I do not agree totally with the second.
Do you know any method to do a full recover with a DB in no archive log mode? appart from the one that needs any of the online redo logs ( rare case )
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.