Cold backup with online redo logs
I'm working on 10G in AIX for a single instanceIt's just a general db backup & restore issue, but I have something confused.
I'll take a cold backup with my database ARCHIVELOG.
No wonder why make a backup of cold because it's a test database that can suffer from loss of data and the time during backup.
I read some guides. They all mentioned to back up all the data files and control files.
When restoring I copy all saved data files and control files to the default location.
Then mount boot;
Is the last step before opening the database recover database until cancel;
For the acknowledgement, I do the database recovery command, because again the online newspapers were not saved, so we must recover in order to reset the redo logs.
For my question, I would be in a position of order recovery of database, then directly the database starts, if I backed up online redo logs and copy the default location when restoring?
However, I have read a lot of documents that mentions that it is not proposed to backup online redo logs. Is it simply the case that ONLY applied in the backup hot? Do you think all that for my case, cold backup online redo logs is recommended?
Thank you all
Hello
read the response of Hemant ==> Re: restoration of noarchive
Anand
Tags: Database
Similar Questions
-
can u we take online redo log backups using RMAN... can you guide me
can u we take online redo logs using RMAN backups... in 1ogRMAN does not backup online redo logs.
-
Separate ASM diskgroup Online redo logs
Version: 11.2.0.3
Platform: Solaris 10
One of the guys support Hitachi suggested to create a group of separate drives for the online redo logs. His reasoning was that ORLs was writing only the files and it would be better to put into a group of separate disk.
What do you think guys?
Tom wrote:
Version: 11.2.0.3
Platform: Solaris 10
One of the guys support Hitachi suggested to create a group of separate drives for the online redo logs. His reasoning was that ORLs was writing only the files and it would be better to put into a group of separate disk.
What do you think guys?
Well, one additional DG would require additional disks. Hmm. And who is the seller who would be purchased these discs?
I guess that in a situation of extreme performance, there may be some merit in placing redo it online on a separate ASM disk group so that the underlying disks could be managed in a higher priority of the Hitachi (?) SAN. But that would only be justified if written again online has been the major bottleneck in your system.
-
Clearing Online redo logs on the physical standby of the target
Hello
Version 11202.
Primer on computer a.
Watch on computer b.
Later note: 11.2 Data Guard physical standby failover best practices using SQL * Plus [1304939.1 ID].
And later:Online redo logs on the target physical standby need to be cleared before that standby database can become a primary database.
(1) I did not understand where I have to run the query. On computer A, computer B or?On the target physical standby run the following query to determine if the online redo logs have not been cleared...
2)
Which means that it must be DELETED? Does transaction could be lost by running the command of compensation?Online redo logs on the target physical standby need to be CLEARED
Thank youHello again;
I would NOT use a script. The reason is that you are not sure what "switchover_status" will be returned by the database of v$.
Oracle a broker data available for a quick pass, but I'm from the old school and I want to see how thing works in SQL for awhile first.
Best regards
mseberg
-
Hi all
I have a question about the online redo logs.
If the database is out of service information on recovery online logs will be lost?
What happens if the entire database server is low because of the blackout? online redo logs is deleted? taking into account the fact that their records were not damaged.
So my question is: the online redo logs fade in all cases? on the database shutdown or restart the database server?
Kind regardsI have a question about the online redo logs.
If the database is out of service information on recovery online logs will be lost?NO.
What happens if the entire database server is low because of the blackout? online redo logs is deleted? taking into account the fact that their records were not damaged.
NO.So my question is: the online redo logs fade in all cases? on the database shutdown or restart the database server?
They fade is an administrator issues the command
change the database to clear log file group;They are your life insurance, so Oracle erase.
-----------
Sybrand Bakker
Senior Oracle DBA -
Unable to cold backup with rman
Dear all
I am trying to perform cold backup with rman and my script follows
Run {}
stop immediately;
bootable media;
allocate channel dup1 device type disk;
allocate channel dup2 device type disk;
backup format ' / home/oracle/ORACLEBACKUP/%U' database;
output channel dup1;
output channel dup2;
ALTER database open;
}
When I run this script in rman it shows errord
database closed
dismounted database
Instance Oracle to close
RMAN-00571: ===========================================================
RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
RMAN-00571: ===========================================================
RMAN-03002: failure of the boot command at 14/01/2011 14:31:30
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
RMAN >
There is no error in my script or other
Thanks in advance
Shaikh Abdul AnthonyYou connect through an earpiece.
The listener becomes aware of the database when you turn it off.You run RMAN from the same server as the database? You need not connect through an earpiece.
Hemant K Collette
-
Invalid state online redo log on backup database
Hi all
I'm new here with a little problem with Oracle Dataguard.
After the double, redo log files and log files online pending
are equal in major databases and relief.
But now, in the database of relief, some redologs online are missing.
So, I created files of online journals on the standby database.
But the State is not valid:
the newspaper of the alerts:GROUP# STATUS TYPE MEMBER IS_ ---------- ------- ------- -------------------------------------------------------------------------------- --- 1 INVALID ONLINE +DATA/PROJ_STD/onlinelog/group_1.392.123263579 NO 1 ONLINE +FRA/PROJ_STD/onlinelog/group_1.948.123234493 YES 2 ONLINE +FRA/PROJ_STD/onlinelog/group_2.852.123234495 YES 2 INVALID ONLINE +DATA/PROJ_STD/onlinelog/group_2.393.123263607 NO 3 ONLINE +FRA/PROJ_STD/onlinelog/group_3.946.123234495 YES 3 INVALID ONLINE +DATA/PROJ_STD/onlinelog/group_3.394.123263613 NO 4 INVALID ONLINE +DATA/PROJ_STD/onlinelog/group_4.395.123263615 NO 4 ONLINE +FRA/PROJ_STD/onlinelog/group_4.933.123234497 YES 5 STANDBY +FRA/PROJ_STD/onlinelog/group_5.989.123262059 NO 5 STANDBY +DATA/PROJ_STD/onlinelog/group_5.387.123262055 NO 6 STANDBY +FRA/PROJ_STD/onlinelog/group_6.990.123262075 NO 6 STANDBY +DATA/PROJ_STD/onlinelog/group_6.388.123262073 NO 7 STANDBY +DATA/PROJ_STD/onlinelog/group_7.389.123262081 NO 7 STANDBY +FRA/PROJ_STD/onlinelog/group_7.991.123262085 NO 8 STANDBY +DATA/PROJ_STD/onlinelog/group_8.390.123262091 NO 8 STANDBY +FRA/PROJ_STD/onlinelog/group_8.992.123262093 NO 9 STANDBY +DATA/PROJ_STD/onlinelog/group_9.391.123262103 NO 9 STANDBY +FRA/PROJ_STD/onlinelog/group_9.993.123262105 NO
Is this correct? What's wrong? What I can do to solve this problem and all newspapers in restoration online in the two databases are equal?ORA-00313: open failed for members of log group 1 of thread 1 ORA-00313: open failed for members of log group 2 of thread 1 ORA-00313: open failed for members of log group 3 of thread 1 ORA-00313: open failed for members of log group 4 of thread 1
Thank you very much!!!Hello;
Check out this note first:
ORA-00313, ORA-00312, ORA-27037 Standby Database [601835.1 ID]
OR
On implementing standby
ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;
And then, for each group of newspaper
change the database group claire logfile 1;
After this verification, the v$ log view to confirm the size and status.
Also check v$ standby_log and make sure that you have the day before newspapers too.
Finally, check the alerts log and make sure that no more errors have occurred after that you have disabled the logfile group.
Best regards
mseberg
Published by: mseberg on November 3, 2011 18:41
-
new with OMF online redo log files
Hi all
I'm using Oracle 11 g 2, I created my DB using Oracle managed (OMF) files.
I wanted to re size my recovery connects so I went in an old redo logs fall and create a new.
That was how my redo logs resembles. It was created by the creation of the DB with OMF format:
using the script I created new below redo logs.../app/oradata/ORCL11/onlinelog/o1_mf_1_6pfncw81_.log .../app/flash_recovery_area/ORCL11/onlinelog/o1_mf_1_6pfncx5z_.log .../app/oradata/ORCL11/onlinelog/o1_mf_2_6pfncxps_.log .../app/flash_recovery_area/ORCL11/onlinelog/o1_mf_2_6pfncz1v_.log .../app/oradata/ORCL11/onlinelog/o1_mf_3_6pfnczhd_.log .../app/flash_recovery_area/ORCL11/onlinelog/o1_mf_3_6pfnd0vw_.log
.........alter database add logfile group 1 ( '.../app/oradata/ORCL11/onlinelog/redo1.log', '.../app/flash_recovery_area/ORCL11/onlinelog/redo1.log') size 76m reuse;
and I added the new redo log group
I was not able to create the recovery logs, where is the name of the redo log file: o1_mf_1_6pfncw81_.log, since this is the format OMF.alter database add logfile group 4 ( '.../app/oradata/ORCL11/onlinelog/redo4.log', '.../app/flash_recovery_area/ORCL11/onlinelog/redo4.log') size 76m reuse;
My question by creating my recovery connects the way does it have an impact? on the archiving of newspapers of recovery? any impact on the database for now, this isn't OMF?
How can I create my redo logs with OMF format?
Kind regardstry: -.
alter database add logfile Group 4;for example; -.
SQL> alter database add logfile group 4; Database altered. SQL> select member from v$Logfile; MEMBER -------------------------------------------------------------------------------- /home/u01/app/oracle/oradata/dbtest/redo03.log /home/u01/app/oracle/oradata/dbtest/redo02.log /home/u01/app/oracle/oradata/dbtest/redo01.log /home/u01/app/oracle/flash_recovery_area/DBTEST/onlinelog/o1_mf_4_75nmw33l_.log SQL> alter database add logfile group 5 size 100m; Database altered. SQL> select member from v$logfile; MEMBER -------------------------------------------------------------------------------- /home/u01/app/oracle/oradata/dbtest/redo03.log /home/u01/app/oracle/oradata/dbtest/redo02.log /home/u01/app/oracle/oradata/dbtest/redo01.log /home/u01/app/oracle/flash_recovery_area/DBTEST/onlinelog/o1_mf_4_75nmw33l_.log /home/u01/app/oracle/flash_recovery_area/DBTEST/onlinelog/o1_mf_5_75nmyvjg_.log
Published by: rajeysh on August 28, 2011 20:00
-
11 GR 2 on RHEL 6.2
4 GB is our size of Redo Log online.
SQL > select bytes/1024/1024/1024 GB of log v$.
GB
----------
4
4
4
4
But the archive logs are 3.55 GB in size instead of 4 GB. Some of the archivelogs that are smaller than 3.55 below must be caused by
Archive log backup RMAN offers jobs at 10:00, 16:00 and 22:00 that initiates log switching (I guess)
SQL > select (blocks * block_size/1024/1024/1024) GB of v$ archived_log where status = 'A ';
GB
----------
3.55978966
3.31046581
3.55826092
3.55963707
1.39474106
3.561553
3.55736685
3.55881786
.135155678
3.55546999
.054887295
1.88027525
.078295708
1.97425985
3.55703735
3.55765438
.421986103
3.55839968
< snipped >
It has something to do with the parameter FAST_START_MTTR_TARGET ? It is set to zero in this PB anyway.
SQL > show parameter mtt
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
fast_start_mttr_target integer 0
SQL >
He could carry on public discussions and private discussions as Jonathan Lewis points out in the other discussion that Mihael provides a link to.
It could concern the parameter archive_lag_target
It could be the result of the BACKUP of RMAN commands
It may be a programmed script / who commands ALTER SYSTEM ARCHIVE LOG of employment issues.
Oracle can create an archivelog that is smaller than the redo log, if it isn't a switch or command before archive the redo log is full.
Hemant K Collette
-
Will be online Redo Logs to sleep never used?
Version: 11 GR 2
OS: Oracle Linux 6.5
Pending a physical DB, newspapers online redo will be ever written because the author of newspaper on the standby site will be inactive. Right?
In the DB in waiting, only forward Redo logs will be written to by RFS. Right?
Pending a physical DB, newspapers online redo will be ever written because the author of newspaper on the standby site will be inactive. Right?
ORL will be used when the database starts to behave like a primary database and LGWR writes the data to the newspaper for the ORL buffer again.
They are not used while the database behaves like a physical standby.
In the DB in waiting, only forward Redo logs will be written to by RFS. Right?
Yes, the process RFS writes that data to the standby redo redo logs on the standby database.
Just for your reference https://docs.oracle.com/cd/B19306_01/server.102/b14239/log_apply.htm#i1022881
HTH
-Jonathan Rolland
-
Redo log entries to the online redo log files
Hello
I'm a little confused about the redo log entries.
I learned that LGWR writes redo log entries in the SGA, in redo log files in the following situation:
-3 seconds after the last validation
-redo log buffer has 1 MB
-redo log buffer data 1/3
When I take a transaction and if I change the wrong data, I have to cancel this transaction BUT the right now,
What happens if the LGWR writes redo log disk entries?
Is the bad transaction committed at all times?
2791011 wrote:
Hello
I'm a little confused about the redo log entries.
I learned that LGWR writes redo log entries in the SGA, in redo log files in the following situation:
-3 seconds after the last validation
-redo log buffer has 1 MB
-redo log buffer data 1/3
When I take a transaction and if I change erroneous data, I have to cancel this transaction at this time, BUT
What happens if the LGWR writes redo log disk entries?
Is the bad transaction committed at all times?
DML changes are "permanent" after that VALIDATION is issued.
When any COMMIT is issued, then changes can be undone.
-
Create the REDO Logs after restoration of RMAN
Version 11.2
Platform: Solaris 10
We restore the cold RMAN backup to a new server. It's a basic restore RMAN where DB name remains the same.
I understand that RMAN backup online redo logs, and for good reason.
We have restored our datafiles successfully. The control file still has the old entries so the query below shows old information about recovery logs
-Display of the configuration of the log file the old control file data
I have to use ALTER DATABASE RENAME FILE command as below to update the control file.SYS > select * from v$logfile; ------------> The below output shows the result of the source server GROUP# STATUS TYPE MEMBER IS_ ---------- ------- ------- ----------------------------------- --- 1 ONLINE /DATAM/DB/oradata/slmps/redo1.log NO 2 ONLINE /DATAM/DB/oradata/slmps/redo2.log NO 3 ONLINE /DATAM/DB/oradata/slmps/redo3.log NO
Currently, in the new server, at the level of the BONE there is no physical file above toalter database rename file '/DATAM/DB/oradata/slmps/redo1.log' to '/data/oradata/slmps/slmps_log01.dbf' ; alter database rename file '/DATAM/DB/oradata/slmps/redo2.log' to '/data/oradata/slmps/slmps_log02.dbf' ; alter database rename file '/DATAM/DB/oradata/slmps/redo3.log' to '/data/oradata/slmps/slmps_log03.dbf' ;
I need to create physically redo new logs using the command or the command ALTER DATABASE RENAME above key create a physical file at the level of the BONE?/data/oradata/slmps
Salvation in spiral,
Surely, RMAN will search for redo logs when RECOVER is issued.
When you issue the command RECOVER after restore, RMAN does not check online redo logs. During RECOVERY, RMAN will try to apply the archivelogs or incremental L1 if it has been saved on the source server. RMAN Backup restorations online redo logs or never.
Here OP tries to restore the backup from the cold to a new server. In this case the RECOVER command is not necessary. The example of the Oracle doc you mentioned should do a restore, recovery of a backup hot. In this case, during the RESTORATION, RMAN will try to apply archivelogs or L1 of the incremental backups.
In both cases (cold backup restore or restore, recover from Hot Backup), it is the
alter database open resetlogs
command that will create the online redo log, so it is absent in the location specified by the control file. Because it is a restoration to a new server, recovery logs is missing because it has not been restored (because it has not been saved)
-
How Controlfile SNA remain synchronized after moving the database with the cold backup
Hello DBAs,
I doubt that:
Every time you pass a cold backup database. We create a new controlfile with new locations of data/redologs etc.
And then we execute "create controlfile reuse...". noresetlogs...; "to create the controlfile.
After that, we will open the database as > > alter database open;
Now the question is:
We are able to open the database without clause "resetlogs.
Here, we create a new controlfile so SNA to controlfile will not be synchronized with the SCN of the datafile and redo the file.
Please let me know how the new controlfiles' SNA is synchronized with the data file and redofile and wea are able to open the database without resetlogs clause.
Oracle: 11.2.0.4
OS: Linux
If your cold backup also includes online redo logs, a RESETLOGS is not necessary.
The controlfile is created if it does not have a SNA, it reads the data file headers the YVERT database. For a cold backup, all the headers of data file are consistent. (This is also the reason why a RECOVERY is not required).
Hemant K Collette
-
cold backup of rman includes onlinde redologs?
Hello
cold backup of rman includes onlinde redologs?
So that at the time of the recovery when I restore the database the redologs online also restored at this point?
I reason,.
Thanks to advanced
SairangaRMAN never backup online redo logs.
If you ever need to restore a database that had been saved cold with rman, you'd end up working with an alter database open resetlogs, which will create newspapers online brand new, empty.
-
Hello
It's for testing purposes and practice of recovery scenarios. Database is in log mode archive. My question would be on the scenario in which we loose that redo all online log files available.
Now after doing a lot of research on the internet I could find two scenarios.
CASES1
My recovery logs have been lost. But I could stop normal or immediate of the database. In this case I could perform incomplete recovery using my archived logs and re create the logs online redo with the resetlogs option.
CAS2 (my question)
My recovery logs have been lost and the system crashed. Now, oracle would need perform a recovery of proceeding on re start, however there is no present setpoint recovery to perform this restore.
Is it not possible to recover the database, even if I have a valid backup? If there is, how do you do that?
Thank you
If you lose all copies of online redo logs, you lost all those transactions. Data files may or may not have some or all of the data of those redo logs. You need restore the database and retrieve it at the point in time of the last series of archive logs (at the latest) and go from there.
But guess what? Oracle expected that someone might have a question like that, and actually (gasp) has documented the scenario:
http://docs.Oracle.com/CD/B19306_01/backup.102/b14191/recoscen.htm#i1006437
Maybe you are looking for
-
LENOVO B570 HDD will not identify, so it DOES not start.
idk what's happening but last night, it was so slow to load so I just the button and turn it off. today I turn on bios takes long time too load and then I didn't msg tht, no windows. I try two or three times did not work... I tried recovery it dosnt
-
want to 5660: 5660 hp won't stop printing
How can I make the printer stop printing the same thing over and over again
-
Laptop HP envy 15 ts: itunes will download with windows 8
I have recently uploaded/updated for the windows 8 and I tried to install itunes so I can update my iphone. My computer will not download at all. I will load up to its approximately 75% of fact then it will just disappear. I called apple to see if it
-
WiFi HP Pavilion g6 2304TX button does not turn off (WINDOWS 8.1)
after update to 8.1 windows WiFi button does not turn off even if the plane and pilot mode works well becomes but led still shines in white if it is off or on (WINDOWS 8.1)
-
Read data from the Table and load it into the csv file
HelloI would like to read a table (select * from employees) and load the data into a csv file.What methods are available?Records will be at high volume.Thank you