Rfs backgorund process
Hello
Assume Im using maximum protection mode,
arc0 process archives the current redolog and arc1 process pushes the archivelog to standby side.
MRP process applies the archivelog.
What is RFS background process responsible for in this scenerio?
Hi,
Regarding maximum performance protection mode (no standby redologs)
rfs gets the info from arc1 and creates new archivelog in standby database
After that this new archivelog is applied by managed recovery process.
Is this right?Yes if there are no standby redologs that is right. (BTW this is called maximum performance mode -> least data protection)
But still
If this is the case, why oracle simply pushes the copy the archivelog and applies, in this case there is no need for rfs..No from 9i on the RFS is integrated in the oracle software to make the archivelog or standby redologs work.
Regards,
Tycho
Similar Messages
-
Query for Workflow backgorund process
Dear All
we are facing problem with Workflow backgorund process. each time i had to meet with the DBA and ask whether it is working or not. can i check the same thing from the back end with the query. can any one share the query for the same.
RegardsPl also see MOS Doc 564394.1 (How to Troubleshoot when the Workflow Services Go Down)
HTH
Srini -
Start OC4J standalone as backgorund process
How do I start OC4J standalone as a background process?
Linux/Solaris: java -Xrs -jar ./oc4j.jar &
Windows: start java -Xrs -jar .\oc4j.jar -
Standby database failover flashback restart as standby gap 1-100
Hi,
I have setup a physical standby database for a 3 node RAC primary database and configured the database to run in MAXIMUM AVAILABILITY mode. Both the primary and standby databases use ASM for managing the IO. I have enabled FLASHBACK ON on both the databases.
I did failover to standby database with primary db SHUTDOWN for doing some testing. After testing is done, I flashbacked the (standby, currently primary)database to the point when it became primary and start it as standby again and the old primary as primary.
Following are the steps:
Failover steps
.Shutdown the primary database
To finisish the recovery at standby
SQL>alter database recover managed standby database finish;
To start as primary
SQL>alter database commit to switchover to primary;
do some DML on the new primary
SQL>flashback database to scn <standby_became_primary_scn>;
SQL>alter database create standby controlfile as '/backup/standby.ctl';
Changed the spfile to point control_files to '/backup/standby.ctl';
Restarted the standby db in mount mode and
created the required stanbdy logs on it.
Then issued
SQL>alter database recover managed standby database using current logfile disconnect;
I have the following message in v$dataguard_status at standby db;
Fetching gap sequence in thread 1 branch(resetlogs_id) 653234404, gap seq 1-100
DBID 2651011616 branch 653234404
GAP - thread 1 sequence 1-100
FAL[client]: Failed to request gap sequence
FAL[client]: All defined FAL servers have been attempted.
The same error is found in alert log file also.
The status of the varioud managed standby db are as follows.
SQL> select process, status from v$managed_standby;
PROCESS STATUS
ARCH CLOSING
ARCH CLOSING
ARCH CLOSING
MRP0 WAIT_FOR_GAP
RFS IDLE
RFS IDLE
RFS IDLE
RFS IDLE
RFS IDLE
RFS IDLE
RFS IDLE
PROCESS STATUS
RFS IDLE
RFS IDLE
RFS IDLE
RFS IDLE
15 rows selected.
SQL>
Could you please help me how to resolve the above error.
Thanks,
SreekanthSreekanth,
I think your steps are right on for your requirement, except instead of
alter database create standby controlfile as '/backup/standby.ctl';
you can do this:
ALTER DATABASE CONVERT TO PHYSICAL STANDBY;
(although perhaps it achieves the same thing internally but you don't need to repoint to new controlfile).
So far as the GAP - thread 1 sequence 1-100
Let me guess, your current sequences are probably well ahead of this reported gap?
If so, this is a bogus gap in a sense that your standby has long ago applied them, but for some reason standby controlfile gets a little confused and starts asking for them again.
I have had this issue and opened multiple TAR's with Oracle since 10.2.0.1, got a few patches and advises to upgrade, but still occasionally get it now in 10.2.0.3
I strongly believe this is related to combination of RAC (i.e. multiple threads of redo) and dataguard.
It is also pretty hard to reproduce (I have not figured out how to reproduce this reliably, if you have, let me know), so I can understand why Oracle has so far been unable to fix this.
Anyway, the workaround is to re-create standby controlfile with a copy generated on primary, and move it in place of the existing (and confused) controlfiles on standby. -
Depreciation posting Error in unplanned run
Hi
I am exectuting AFAB deprecation run for unplanned depreciation Test run in background process.
if iam exectuing test run directly it is not showing any errors just it saying as "Test run completed successfully. But if am executing the Test Run through Backgorund process it is showing so many eerors . In SM37 job voerview it is showing the job log as below.
22.05.2009 11:54:12 Job started 00 516 S
22.05.2009 11:54:13 Step 001 started (program RAPOST2000, variant &0000000000020, user ID XX 00 550 S
22.05.2009 11:54:19 Spool request (number 0000011056) created without immediate output SY 355 S
22.05.2009 11:54:20 Spool request (number 0000011057) created without immediate output SY 355 S
22.05.2009 11:54:20 Message(s) during check of document ERROR00001 AAPO 511 S
22.05.2009 11:54:20 Cost center 9000/AB01ED001 blocked against direct postings on 31.03.2009 KI 260 S
22.05.2009 11:54:20 Message(s) during check of document ERROR00002 AAPO 511 S
22.05.2009 11:54:20 Cost center 9000/AB01SC002 blocked against direct postings on 31.03.2009 KI 260 S
22.05.2009 11:54:20 Cost center 9000/AB01PR001 blocked against direct postings on 31.03.2009 KI 260 S
22.05.2009 11:54:20 Cost center 9000/AB01BC001 blocked against direct postings on 31.03.2009 KI 260 S
22.05.2009 11:54:20 Cost center 9000/AB01ED001 blocked against direct postings on 31.03.2009 KI 260 S
22.05.2009 11:54:20 Error messages after processing AAPO 513 S
22.05.2009 11:54:20 Posting run ended with errors AAPO 514 S
22.05.2009 11:54:20 Spool request (number 0000011058) created without immediate output SY 355 S
22.05.2009 11:54:22 Job finished 00 517 S
I can unblock the blocked cost cneter but what could be the reason for ERROR00002 ,ERROR00001.
what are the causes for this
early reply is very greatfull
thanks in advanceHello,
Refer
SAP Note 843722 - RAPOST2000: Misleading message texts in the job log
Note 753211 - AR29N: Error in file, SCMO status and message handling
Regards,
Ravi -
SAVING JERKY HAND HELD FOOTAGE
i have about an hour of very jerky hand held footage of a one time event
and nothing else to work with
any tips on smoothing things out?
is there a filter that would help?
thanks
ldyour specs say you have FCP 5.1.2 which does not have smoothcam. Keep in mind smoothcam will compromise the image quality since it rescales and repositions the clip. Furthermore if you are analyzing the full hour you're in for a looong haul since it takes considerable time to analyze the motion for smoothcam. Thankfully it's a backgorund process so you can still work in FCP while the smoothcam analyses the footage. Also if it's not one continuous shot but different shots of different scenes you may have to break up the clips and smoothcam analyze the motion for each clip since smoothcam analyses changes in pixles but if you have a shot with one scene that goes to a shot of another scene smoothcam analyze will be confused most likely resulting in undesired smoothcam analyzation. Basically smoothcam is ok for one slightly shaky scene but don't expect much if you want it to fix an entire one hour tape of various scenes. Not without a lot of tedious work breaking up the scenes and analyzing the smoothcam for each individual scene.
-
RFS Process is not starting up
Hi,
DB_VERSION=10.2.0.4
OS_VERSION=Windows 2003 Server
I have a cascaded setup at our site and due to poor bandwidth , my Far DR is always lag in archive sync,However my Near DR remains always in Sync with my Primary.
Today i applied the incremental backup on Far DR ,and put it in the recovery mode but the RFS process is not starting up.
SQL> select message from v$dataguard_status;
MESSAGE
ARC0: Archival started
ARC1: Archival started
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
ARC1: Becoming the heartbeat ARCH
Attempt to start background Managed Standby Recovery process
MRP0: Background Managed Standby Recovery process started
Managed Standby Recovery not using Real Time Apply
Media Recovery Waiting for thread 1 sequence 211777
Fetching gap sequence in thread 1, gap sequence 211777-211842
FAL[client]: Failed to request gap sequence
MESSAGE
GAP - thread 1 sequence 211777-211842
DBID 2578507424 branch 709654561
FAL[client]: All defined FAL servers have been attempted.
14 rows selected.
SQL> select process,status from v$managed_standby;
PROCESS STATUS
ARCH CONNECTED
ARCH CONNECTED
MRP0 WAIT_FOR_GAP
Alertlog_output:-
Completed: alter database recover managed standby database disconnect from session
Wed Oct 06 16:31:14 2010
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 211777-211842
DBID 2578507424 branch 709654561
FAL[client]: All defined FAL servers have been attempted.
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
Wed Oct 06 16:40:42 2010
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
mrpo_trace_output :-
Client logon and security negotiation successful!
*** 2010-10-06 16:28:10.486
Redo shipping client performing standby login
*** 2010-10-06 16:28:10.690 66535 kcrr.c
Logged on to standby successfully
Client logon and security negotiation successful!
*** 2010-10-06 16:28:40.972
Redo shipping client performing standby login
*** 2010-10-06 16:28:41.160 66535 kcrr.c
Logged on to standby successfully
Client logon and security negotiation successful!
*** 2010-10-06 16:29:11.427
Redo shipping client performing standby login
*** 2010-10-06 16:29:11.615 66535 kcrr.c
Logged on to standby successfully
Client logon and security negotiation successful!
*** 2010-10-06 16:29:41.929
Redo shipping client performing standby login
*** 2010-10-06 16:29:42.116 66535 kcrr.c
Logged on to standby successfully
Client logon and security negotiation successful!
*** 2010-10-06 16:30:12.415
Redo shipping client performing standby login
*** 2010-10-06 16:30:12.602 66535 kcrr.c
Logged on to standby successfully
Client logon and security negotiation successful!
*** 2010-10-06 16:30:43.557
Redo shipping client performing standby login
*** 2010-10-06 16:30:43.744 66535 kcrr.c
Logged on to standby successfully
Client logon and security negotiation successful!
*** 2010-10-06 16:31:14.011
Edited by: Girish on Oct 6, 2010 4:32 AM
Edited by: Girish on Oct 6, 2010 4:34 AM
Edited by: Girish on Oct 6, 2010 5:42 AMCheck that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps. -
Running backgorund job...consuming dialong processes!?!?
We are running transaction KE77 to send profit centers in idocs.
We run the job in backgorund but it consumes all the available dialog processes.
WHY?
I thought the purpose of running a background job is keep the dialog processes open.
Any advice?[sap library - Configuration of System Resources for aRFC, tRFC, qRFC|http://help.sap.com/saphelp_nw04s/helpdata/en/62/73241e03337442b1bc1932c2ff8196/frameset.htm]
Take time to read it and understand it 8-) -
What is the role of Lns process in oracle 10g data guard
Hi ,
plz help me out to find out the actual working of lns process in oracle 10g data guard
when i use SYNC redo transport
the output of v$managed_stanbdy is like that ..
PROCESS PID STATUS CLIENT_PROCESS GR# SEQ#
ARCH 9258 CLOSING ARCH 2 498
ARCH 9260 CLOSING ARCH 1 499
ARCH 9262 CLOSING ARCH 2 496
ARCH 9264 CLOSING ARCH 1 497
LGWR 9206 CLOSING LGWR 2 482
its not display any info about lns,thats means lns is not working in SYNC redo transport mode ?
but if i changed it to ASYNC then the out put of v$managed_stanbdy is like this ..
PS PID STS CPS GR# SEQ#
ARCH 9258 CLOSING ARCH 1 509
ARCH 9260 CLOSING ARCH 2 510
ARCH 9262 CLOSING ARCH 1 505
ARCH 9264 CLOSING ARCH 2 508
LGWR 9206 CLOSING LGWR 1 503
LNS 10528 CLOSING LNS 2 510
Now it display all the info about lns process...
i read in oracle documentation that lns process send redo data from primary,( through network service ) to RFS on standby side.
but first output means that lns is not working,if not then which process send redo from primary to RFS on standby ?
i also read in some blog that lgwr use some extra buffer size from primary db SGA ,to write redo in that buffer ,ans lns read redo from that buffer and send it to RFS on stanby side,
i m totally confused ..can u plz help me with correct logic behind this .
thanx in advance.Hello,
On the primary database when you run the v$managed_standby, it shows up the LNS process as this process sends redo info to the standby database and on the standby database the RFS process receives the redo information.
So on the primary database when you query the v$managed_standby, it shows up LNS and on the standby database when you query the v$managed_standby it shows up RFS. Please let us know where you are running the query.
Refer this http://datadisk.co.uk/html_docs/oracle_dg/architecture.htm
969752
Handle: 969752
Status Level: Newbie
Registered: Nov 6, 2012
Total Posts: 9
Total Questions: 2 (2 unresolved)
Name Hemendra Singh
Location NoidaPlease consider closing your questions by providing appropriate points and marking it as answered. Please keep the forum clean ! -
Reg : no rfs background processor in standby
hai all,
os:windows server
oracle :10.2.0.3
i have a problem with my standby database. i found no rfs bacckground processor in standby while siing the query
>>> select process,status,sequence# fro mv$managed_standby;
PROCESS STATUS SEQUENCE#
ARCH CONNECTED 0
ARCH CONNECTED 0
ARCH CONNECTED 0
ARCH CONNECTED 0
ARCH CONNECTED 0
ARCH CONNECTED 0
ARCH CONNECTED 0
ARCH CONNECTED 0
ARCH CONNECTED 0
ARCH CONNECTED 0
MRP0 WAIT_FOR_LOG 5949
i have shutdown the standby instance ,mounted and start the recovery (twice). still having the same issue. .
MORE OVER THERE IS NO ARCHIVE GAP
HELP ME IN THIS ...
REGARDS
GOLD....my log file...............
Mon Feb 25 07:48:05 2013
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 3
Using LOG_ARCHIVE_DEST_10 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =18
LICENSE_MAX_USERS = 0
SYS auditing is disabled
ksdpec: called for event 13740 prior to event group initialization
Starting up ORACLE RDBMS Version: 10.2.0.3.0.
System parameters with non-default values:
processes = 150
__shared_pool_size = 352321536
__large_pool_size = 16777216
__java_pool_size = 16777216
__streams_pool_size = 0
nls_language = ENGLISH
nls_territory = UNITED KINGDOM
sga_target = 1610612736
control_files = E:\ORADATA\WPLQDM\CONTROL01.CTL, I:\ORADATA\WPLQDM\CONTROL02.CTL, J:\ORADATA\WPLQDM\CONTROL03.CTL
db_block_size = 8192
__db_cache_size = 1207959552
compatible = 10.2.0.1.0
log_archive_config = DG_CONFIG=(wplqdmp,wplqdms2)
log_archive_dest_2 = SERVICE=wpl_qdm_pro OPTIONAL LGWR ASYNC NOAFFIRM VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=wplqdms2
log_archive_max_processes= 10
fal_client = wpl_qdm_stb2
fal_server = wpl_qdm_pro
db_file_multiblock_read_count= 16
db_recovery_file_dest = J:\flash_recovery_area
db_recovery_file_dest_size= 31457280000
standby_file_management = AUTO
undo_management = AUTO
undo_tablespace = UNDOTBS1
remote_login_passwordfile= EXCLUSIVE
db_domain =
service_names = WPLQDM
dispatchers = (PROTOCOL=TCP) (SERVICE=wplqdmXDB)
job_queue_processes = 10
audit_file_dest = E:\ORACLE\PRODUCT\10.2.0\ADMIN\WPLQDM\ADUMP
background_dump_dest = E:\ORACLE\PRODUCT\10.2.0\ADMIN\WPLQDM\BDUMP
user_dump_dest = E:\ORACLE\PRODUCT\10.2.0\ADMIN\WPLQDM\UDUMP
core_dump_dest = E:\ORACLE\PRODUCT\10.2.0\ADMIN\WPLQDM\CDUMP
db_name = wplqdm
db_unique_name = WPLQDMS2
open_cursors = 300
pga_aggregate_target = 1277165568
PMON started with pid=2, OS id=3516
PSP0 started with pid=3, OS id=4064
MMAN started with pid=4, OS id=580
DBW0 started with pid=5, OS id=4184
LGWR started with pid=6, OS id=5032
CKPT started with pid=7, OS id=4076
SMON started with pid=8, OS id=3604
RECO started with pid=9, OS id=344
CJQ0 started with pid=10, OS id=800
MMON started with pid=11, OS id=4200
Mon Feb 25 07:48:05 2013
starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
MMNL started with pid=12, OS id=4804
Mon Feb 25 07:48:05 2013
starting up 1 shared server(s) ...
Mon Feb 25 07:48:17 2013
alter database mount standby database
Mon Feb 25 07:48:21 2013
Setting recovery target incarnation to 1
ARCH: STARTING ARCH PROCESSES
ARC0 started with pid=16, OS id=4024
ARC1 started with pid=17, OS id=3712
ARC2 started with pid=18, OS id=4376
ARC3 started with pid=19, OS id=2052
ARC4 started with pid=20, OS id=4468
ARC5 started with pid=21, OS id=3556
ARC6 started with pid=22, OS id=3212
ARC7 started with pid=23, OS id=4476
ARC8 started with pid=24, OS id=516
Mon Feb 25 07:48:21 2013
ARC0: Archival started
ARC1: Archival started
Mon Feb 25 07:48:21 2013
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCH: STARTING ARCH PROCESSES COMPLETE
Mon Feb 25 07:48:21 2013
ARC0: Becoming the 'no FAL' ARCH
ARC0: Becoming the 'no SRL' ARCH
Mon Feb 25 07:48:21 2013
ARC1: Becoming the heartbeat ARCH
Mon Feb 25 07:48:21 2013
ARC8: Thread not mounted
Mon Feb 25 07:48:21 2013
Successful mount of redo thread 1, with mount id 171090433
Mon Feb 25 07:48:21 2013
Physical Standby Database mounted.
Completed: alter database mount standby database
Mon Feb 25 07:48:22 2013
ARC7: Thread not mounted
ARC0: Thread not mounted
Mon Feb 25 07:48:24 2013
ARC5: Thread not mounted
Mon Feb 25 07:48:25 2013
ARC2: Thread not mounted
Mon Feb 25 07:48:26 2013
ARC3: Thread not mounted
ARC1: Thread not mounted
Mon Feb 25 07:48:28 2013
ARC6: Thread not mounted
ARC9 started with pid=25, OS id=4384
Mon Feb 25 07:48:30 2013
ARC4: Thread not mounted
Mon Feb 25 07:49:00 2013
alter database recover managed standby database disconnect
MRP0 started with pid=26, OS id=4768
Managed Standby Recovery not using Real Time Apply
parallel recovery started with 3 processes
Mon Feb 25 07:49:07 2013
Errors in file e:\oracle\product\10.2.0\admin\wplqdm\bdump\wplqdm_mrp0_4768.trc:
ORA-00313: Message 313 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1]
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [J:\ORADATA\WPLQDM\REDO01_3.RDO]
ORA-27041: Message 27041 not found; No message file for product=RDBMS, facility=ORA
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1]
ORA-27041: Message 27041 not found; No message file for product=RDBMS, facility=ORA
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [E:\ORADATA\WPLQDM\REDO01_1.RDO]
ORA-27041: Message 27041 not found; No message file for product=RDBMS, facility=ORA
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the fil
Mon Feb 25 07:49:07 2013
Errors in file e:\oracle\product\10.2.0\admin\wplqdm\bdump\wplqdm_mrp0_4768.trc:
ORA-00313: Message 313 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1]
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [J:\ORADATA\WPLQDM\REDO01_3.RDO]
ORA-27041: Message 27041 not found; No message file for product=RDBMS, facility=ORA
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [I:]
ORA-27041: Message 27041 not found; No message file for product=RDBMS, facility=ORA
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [E:\ORADATA\WPLQDM\REDO01_1.RDO]
ORA-27041: Message 27041 not found; No message file for product=RDBMS, facility=ORA
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the fil
Clearing online redo logfile 1 E:\ORADATA\WPLQDM\REDO01_1.RDO
Clearing online log 1 of thread 1 sequence number 5937
Mon Feb 25 07:49:07 2013
Errors in file e:\oracle\product\10.2.0\admin\wplqdm\bdump\wplqdm_mrp0_4768.trc:
ORA-00313: Message 313 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1]
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [J:\ORADATA\WPLQDM\REDO01_3.RDO]
ORA-27041: Message 27041 not found; No message file for product=RDBMS, facility=ORA
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [I:]
ORA-27041: Message 27041 not found; No message file for product=RDBMS, facility=ORA
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [E:\ORADATA\WPLQDM\REDO01_1.RDO]
ORA-27041: Message 27041 not found; No message file for product=RDBMS, facility=ORA
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the fil
Mon Feb 25 07:49:07 2013
Errors in file e:\oracle\product\10.2.0\admin\wplqdm\bdump\wplqdm_mrp0_4768.trc:
ORA-19527: Message 19527 not found; No message file for product=RDBMS, facility=ORA
ORA-00312: Message 312 not found; No message file for product=RDBMS, facility=ORA; arguments: [1] [1] [E:\ORADATA\WPLQDM\REDO01_1.RDO]
Clearing online redo logfile 1 complete
Media Recovery Waiting for thread 1 sequence 5949
Mon Feb 25 07:49:07 2013
Completed: alter database recover managed standby database disconnect
Mon Feb 25 08:03:11 2013
db_recovery_file_dest_size of 30000 MB is 7.80% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup. -
ARC3: RFS network connection lost at host 'stdbhost'
Hi there,
having oracle 8.1.7.4 64 bit on Aix 4.3.3 replicating on a twin machine.
While archiving many logs within few minutes i'm having this error:
ARC3: RFS network connection lost at host 'stdbhost'
ARC3: Error 3113 creating standby archivelog file at host 'STDBIDIP.IDI.IT'
ARC3: Error 3113 creating archivelog file 'stdbhost'
Then after few seconds it retries and succeded. My clause in the primary db is:
SERVICE=stdbhost OPTIONAL REOPEN=180
The problem is that sometimes it does not succeed so i loose some archives and there's a gap sequence. Unfortunately i loose some archives that after the backup of the primary are deleted so i can't apply get them. The only way is to restore those files. But i can't every time do this!
My database was replicating from about two months without problems. Then we activate it for test and now i rebuilt it but now having problems i mentioned above.
I have followed the same procedure.
I was guessing why i'm getting that error. How can it be solved? I see that on the primary site sometimes more than one archive processes are activated. I was wondering if on the standby site on rfs process was enough to handle all archives arriving at the same time. If not is it possible to activate more rfs'?Long postings are being truncated to ~1 kB at this time.I am willing to bet it is not linksys. Most likely it is your service provider blocking p2p.
This is a major battle with service providers. If you do some research on this you will see what I am talking about. -
Good Morning to all ;
I am getting bit confused from oracle official link . REF_LINK : Log Apply Services
Redo data transmitted from the primary database is received by the RFS on the standby system ,
where the RFS process writes the redo data to either archived redo log files or standby redo log files.
In standby site , does rfs write redo data in any one file or both ?
Thanks in advance ..Hi GTS,
GTS (DBA) wrote:
Primary & standby log file size should be same - this is okay.
1) what are trying to disclose about largest & smallest here ? - You are confusing.
Read: http://docs.oracle.com/cd/E11882_01/server.112/e25608/log_transport.htm#SBYDB4752
"Each standby redo log file must be at least as large as the largest redo log file in the redo log of the redo source database. For administrative ease, Oracle recommends that all redo log files in the redo log at the redo source database and the standby redo log at a redo transport destination be of the same size."
GTS (DBA) wrote:
2) what abt group members ? should be same as primary or need to add some members additionally. ?
Data Guard best practice for performance, is to create one member per each group in standby DB. on standby DB, one member per group is reasonable enough. why? to avoid write penalty; writing to more than one log files at the standby DB.
SCENARIO 1: if in your source primary DB you have 2 log member per group, in standby DB you can have 1 member per group, additionally create an extra group.
primary
standby
Member per group
2
1
Number of log group
4
5
SCENARIO 2: you can also have this scenario 2 but i will not encourage it
primary
standby
Member per group
2
2
Number of log group
4
5
GTS (DBA) wrote:
All standby redo logs of the correct size have not yet been archived.
- at this situation , can we force on standby site ? any possibilities ?
you can not force it , just size your standby redo files correctly and make sure you don not have network failure that will cause redo gap.
hope there is clarity now
Tobi -
ORA-16401: archivelog rejected by RFS
Hello, here are the logs and initialisation parameters. It is not applying the logs. Am running XXXXP and the standby and the primary are on the same server.
Please, I need help. Thanks
RFS[1]: Assigned to RFS process 216
RFS[1]: Identified database type as 'physical standby'
Wed May 13 18:39:07 2009
RFS LogMiner: Client disabled from further notification
RFS[1]: Successfully opened standby log 4: 'C:\ORACLE\PRODUCT\10.2.0\ORADATA\TEST2\STANDBY.LOG'
Wed May 13 18:39:15 2009
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 3-3
DBID 1063720110 branch 686695334
FAL[client]: All defined FAL servers have been attempted.
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
Wed May 13 18:39:48 2009
RFS[1]: Archived Log: 'C:\ORACLE\PRODUCT\10.2.0\FLASH_RECOVERY_AREA\TEST2\ARC00003_0686697929.001'
Wed May 13 18:40:33 2009
db_recovery_file_dest_size of 2048 MB is 0.00% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Wed May 13 18:40:48 2009
RFS[1]: Archivelog thread 1 sequence 3 cannot be reused
Wed May 13 18:40:48 2009
Errors in file c:\oracle\product\10.2.0\admin\test2\udump\test2_rfs_216.trc:
ORA-16401: archivelog rejected by RFS
test1.__db_cache_size=88080384
test1.__java_pool_size=4194304
test1.__large_pool_size=4194304
test1.__shared_pool_size=62914560
test1.__streams_pool_size=0
*.audit_file_dest='C:\oracle\product\10.2.0\admin\test1\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\admin\test1\bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\oracle\product\10.2.0\oradata\test1\control01.ctl','C:\oracle\product\10.2.0\oradata\test1\control02.ctl','C:\oracle\product\10.2.0\oradata\test1\control03.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\admin\test1\cdump'
*.db_block_size=8192
*.db_domain='appstech.local'
*.db_create_file_dest='C:\Oracle\product\10.2.0\oradata\test1'
*.db_file_multiblock_read_count=16
*.db_file_name_convert='C:\Oracle\product\10.2.0\oradata\test2\','C:\Oracle\product\10.2.0\oradata\test1\'
*.db_name='test1'
*.db_recovery_file_dest='C:\Oracle\product\10.2.0\flash_recovery_area\TEST1'
*.db_recovery_file_dest_size=2147483648
*.db_unique_name='test1'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=test1XDB)'
*.fal_client='test1'
*.fal_server='test2'
*.job_queue_processes=10
*.local_listener='test1'
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(test1,test2)'
*.LOG_ARCHIVE_DEST_1='LOCATION=C:\Oracle\product\10.2.0\flash_recovery_area\TEST1
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=test1'
*.log_archive_dest_2='SERVICE=test2 ARCH MANDATORY
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=test2'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
*.log_file_name_convert='C:\Oracle\product\10.2.0\flash_recovery_area\TEST2','C:\Oracle\product\10.2.0\flash_recovery_area\TEST1',
'C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\ONLINELOG','C:\Oracle\product\10.2.0\flash_recovery_area\TEST1\ONLINELOG',
'C:\Oracle\product\10.2.0\oradata\test2','C:\Oracle\product\10.2.0\oradata\test1',
'C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\FLASHBACK','C:\Oracle\product\10.2.0\flash_recovery_area\TEST1\FLASHBACK'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.query_rewrite_enabled='true'
*.sga_target=167772160
*.undo_management='AUTO'
*.undo_retention=3600
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\admin\test1\udump'
test2.__db_cache_size=79691776
test2.__java_pool_size=4194304
test2.__large_pool_size=4194304
test2.__shared_pool_size=71303168
test2.__streams_pool_size=0
*.archive_lag_target=1800
*.audit_file_dest='C:\oracle\product\10.2.0\admin\test2\adump'
*.background_dump_dest='C:\oracle\product\10.2.0\admin\test2\bdump'
*.compatible='10.2.0.1.0'
*.control_files='C:\Oracle\product\10.2.0\oradata\test2\control01.ctl','C:\Oracle\product\10.2.0\oradata\test2\control02.ctl'
,'C:\Oracle\product\10.2.0\oradata\test2\control03.ctl'
#*.control_files='C:\Oracle\product\10.2.0\oradata\test2\test1_test2.ctl'
*.core_dump_dest='C:\oracle\product\10.2.0\admin\test2\cdump'
*.db_block_size=8192
*.db_domain='appstech.local'
*.db_file_multiblock_read_count=16
*.db_file_name_convert='C:\Oracle\product\10.2.0\oradata\test1','C:\Oracle\product\10.2.0\oradata\test2'
*.db_name='test1'
*.db_recovery_file_dest='C:\oracle\product\10.2.0\flash_recovery_area'
*.db_recovery_file_dest_size=4147483648
*.dg_broker_start=TRUE
*.dispatchers='(PROTOCOL=TCP) (SERVICE=test1XDB)'
*.db_unique_name='test2'
*.fal_client='test2'
*.fal_server='test1'
*.job_queue_processes=10
*.local_listener='test2'
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(TEST1,TEST2)'
*.LOG_ARCHIVE_DEST_1='LOCATION=C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\ARCHIVELOG
VALID_FOR=(ALL_LOGFILES,ALL_ROLES)
DB_UNIQUE_NAME=test2'
*.log_archive_dest_2='SERVICE=test1 LGWR ASYNC
VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE)
DB_UNIQUE_NAME=test1'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.log_archive_dest_state_2='ENABLE'
*.LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
*.log_file_name_convert='C:\Oracle\product\10.2.0\flash_recovery_area\TEST1\ONLINELOG\','C:\Oracle\product\10.2.0\flash_recovery_area\TEST2\ONLINELOG\'
*.open_cursors=300
*.pga_aggregate_target=16777216
*.processes=150
*.query_rewrite_enabled='TRUE'
*.remote_login_passwordfile='EXCLUSIVE'
*.sga_target=167772160
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='C:\oracle\product\10.2.0\admin\test2\udump'
*.undo_retention=3600
*.db_create_file_dest='C:\Oracle\product\10.2.0\oradata\test2'
*.log_archive_start='TRUE'
*.log_archive_trace=2
*.remote_archive_enable='TRUE'Hello those are the latest logs I can see them over to the standby but they are not applied to them. I have set the LGWR on both log_archive_dest_2;
Regards
ompleted: alter database mount standby database
Thu May 14 11:18:15 2009
alter database recover managed standby database disconnect from session
MRP0 started with pid=18, OS id=3940
Managed Standby Recovery not using Real Time Apply
Media Recovery start incarnation depth : 1, target inc# : 4, irscn : 607856
Media Recovery Waiting for thread 1 sequence 3 branch(resetlogs_id) 686695334
Fetching gap sequence in thread 1 branch(resetlogs_id) 686695334, gap seq 3-3
Thu May 14 11:18:21 2009
Completed: alter database recover managed standby database disconnect from session
Thu May 14 11:18:51 2009
FAL[client]: Failed to request gap sequence
GAP - thread 1 sequence 3-3
DBID 1063720110 branch 686695334
FAL[client]: All defined FAL servers have been attempted.
Check that the CONTROL_FILE_RECORD_KEEP_TIME initialization
parameter is defined to a value that is sufficiently large
enough to maintain adequate log switch information to resolve
archivelog gaps.
Thu May 14 11:21:23 2009
Shutting down instance: further logons disabled
Thu May 14 11:21:23 2009
Stopping background process CJQ0
Thu May 14 11:21:24 2009
Stopping background process MMNL
Thu May 14 11:21:25 2009
Stopping background process MMON
Thu May 14 11:32:25 2009
Shutting down archive processes
Thu May 14 11:32:30 2009
ARCH shutting down
ARC2: Archival stopped
Thu May 14 11:32:31 2009
Errors in file c:\oracle\product\10.2.0\admin\test1\bdump\test1_arc1_1912.trc:
ORA-16401: archivelog rejected by RFS
Thu May 14 11:33:31 2009
Errors in file c:\oracle\product\10.2.0\admin\test1\bdump\test1_arc1_1912.trc:
ORA-16401: archivelog rejected by RFS
Thu May 14 11:34:31 2009
Errors in file c:\oracle\product\10.2.0\admin\test1\bdump\test1_arc1_1912.trc:
ORA-16401: archivelog rejected by RFS -
At standby database RFS is not working.Thogugh archivelog at production database are there after 4749..4750,4751,...4768.
SQL> set linesize 1000
SQL> select process,client_process,status,sequence# from v$managed_standby;
PROCESS CLIENT_PROCESS STATUS SEQUENCE#
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
MRP0 N/A WAIT_FOR_LOG 4749whenever i run this query select process,client_process,status,sequence# from v$managed_standby,
i see the same result as above without RFS process.
PROCESS CLIENT_PROCESS STATUS SEQUENCE#
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
MRP0 N/A WAIT_FOR_LOG 4749When i check alert of primary database i get the following error.
Error 12154 received logging on to the standby
Sun May 8 20:47:13 2011
Errors in file /orahome/PROD/db/tech_st/10.2.0/admin/PROD_dbprod/bdump/prod_arc3_29624.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
PING[ARC3]: Heartbeat failed to connect to standby 'standby'. Error is 12154.but i can connect to standby database using its connect string for standby database from primary database.
[oraprod@dbprod mirrorarc]$ sqlplus sys/*****@standby as sysdba
SQL*Plus: Release 10.2.0.2.0 - Production on Sun May 8 20:54:52 2011
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL>listener is also up at standby database
[oraprod@dbdg ~]$ lsnrctl status
LSNRCTL for Linux: Version 10.2.0.2.0 - Production on 08-MAY-2011 20:36:14
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias PROD
Version TNSLSNR for Linux: Version 10.2.0.2.0 - Production
Start Date 08-MAY-2011 16:39:31
Uptime 0 days 3 hr. 56 min. 42 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /orahome/PROD/db/tech_st/10.2.0/network/admin/PROD_dbdg/listener.ora
Listener Log File /orahome/PROD/db/tech_st/10.2.0/network/admin/prod.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCPROD)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.3.11)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PROD" has 1 instance(s).
Instance "PROD", status UNKNOWN, has 1 handler(s) for this service...
Service "standby" has 1 instance(s).
Instance "PROD", status READY, has 1 handler(s) for this service...
Service "standby_XPT" has 1 instance(s).
Instance "PROD", status READY, has 1 handler(s) for this service...
The command completed successfullyIt was working perfectly alright , this morning i just did the following activities and nothing else.
-Cancel standby recovery mode
-Shutdown standby database.
-Shutdown Production database.
-Startup production database.
-Startup Standby database.
-Put standby database in recovery mode (alter database recover managed standby database disconnect from session).
i have done the same above step many time as before but never confront such issue at standby database.Could you please let me know how can i resolve this issue.As i said i faced the same issue as before and got it resolved by killing Arc0 background process at Production (Primary Database) , this time i did the same few days before but invain dont know which BG process i killed at primary database ;) , i just did the same again and archivleog started to shipped :) , very strange , it could be due to getting off from office and having sound sleep after a toughest involvement of month end closing ;)
At Production
=============
[oraprod@dbprod orahome]$ ps -ef | grep ora_arc
oraprod 366 15311 0 15:41 pts/1 00:00:00 grep ora_arc
oraprod 19182 1 0 May09 ? 00:00:10 ora_arc0_PROD
oraprod 20893 1 0 May09 ? 00:00:15 ora_arc1_PROD
oraprod 29307 1 0 May08 ? 00:00:39 ora_arc2_PROD
oraprod 29624 1 0 May08 ? 00:00:41 ora_arc3_PROD
oraprod 29633 1 0 May08 ? 00:00:43 ora_arc4_PROD
oraprod 29644 1 0 May08 ? 00:00:41 ora_arc5_PROD
oraprod 29664 1 0 May08 ? 00:00:43 ora_arc6_PROD
oraprod 29687 1 0 May08 ? 00:00:46 ora_arc7_PROD
oraprod 29709 1 0 May08 ? 00:00:41 ora_arc8_PROD
oraprod 30005 1 0 May08 ? 00:00:54 ora_arc9_PROD
[oraprod@dbprod orahome]$ kill -9 29624
[oraprod@dbprod orahome]$ ps -ef | grep ora_arc
oraprod 755 1 0 15:42 ? 00:00:00 ora_arc3_PROD
oraprod 757 15311 0 15:42 pts/1 00:00:00 grep ora_arc
oraprod 19182 1 0 May09 ? 00:00:10 ora_arc0_PROD
oraprod 20893 1 0 May09 ? 00:00:15 ora_arc1_PROD
oraprod 29307 1 0 May08 ? 00:00:39 ora_arc2_PROD
oraprod 29633 1 0 May08 ? 00:00:43 ora_arc4_PROD
oraprod 29644 1 0 May08 ? 00:00:41 ora_arc5_PROD
oraprod 29664 1 0 May08 ? 00:00:43 ora_arc6_PROD
oraprod 29687 1 0 May08 ? 00:00:46 ora_arc7_PROD
oraprod 29709 1 0 May08 ? 00:00:50 ora_arc8_PROD
oraprod 30005 1 0 May08 ? 00:00:54 ora_arc9_PROD
[oraprod@dbprod orahome]$ kill -9 19182
[oraprod@dbprod orahome]$ kill -9 20893
[oraprod@dbprod orahome]$ kill -9 29307
[oraprod@dbprod orahome]$ ps -ef | grep ora_arc
oraprod 755 1 1 15:42 ? 00:00:02 ora_arc3_PROD
oraprod 2356 1 1 15:44 ? 00:00:00 ora_arc0_PROD
oraprod 2663 1 5 15:44 ? 00:00:00 ora_arc1_PROD
oraprod 2689 1 23 15:44 ? 00:00:00 ora_arc2_PROD
oraprod 29633 1 0 May08 ? 00:00:45 ora_arc4_PROD
oraprod 29644 1 0 May08 ? 00:00:42 ora_arc5_PROD
oraprod 29664 1 0 May08 ? 00:00:45 ora_arc6_PROD
oraprod 29687 1 0 May08 ? 00:00:47 ora_arc7_PROD
oraprod 29709 1 0 May08 ? 00:01:00 ora_arc8_PROD
oraprod 30005 1 0 May08 ? 00:01:01 ora_arc9_PROD
[oraprod@dbprod orahome]$ kill -9 29633
[oraprod@dbprod orahome]$ kill -9 29644
[oraprod@dbprod orahome]$ kill -9 29664
[oraprod@dbprod orahome]$ kill -9 29687
[oraprod@dbprod orahome]$ kill -9 29709
[oraprod@dbprod orahome]$ kill -9 30005
[oraprod@dbprod orahome]$ ps -ef | grep ora_arc
oraprod 755 1 1 15:42 ? 00:00:03 ora_arc3_PROD
oraprod 2356 1 0 15:44 ? 00:00:00 ora_arc0_PROD
oraprod 2663 1 2 15:44 ? 00:00:01 ora_arc1_PROD
oraprod 2689 1 2 15:44 ? 00:00:01 ora_arc2_PROD
oraprod 2778 1 2 15:45 ? 00:00:00 ora_arc4_PROD
oraprod 3069 1 2 15:45 ? 00:00:00 ora_arc5_PROD
oraprod 3088 1 4 15:45 ? 00:00:00 ora_arc6_PROD
oraprod 3144 1 3 15:45 ? 00:00:00 ora_arc7_PROD
oraprod 3170 1 6 15:45 ? 00:00:00 ora_arc8_PROD
oraprod 3186 1 12 15:45 ? 00:00:00 ora_arc9_PROD
oraprod 3234 15311 0 15:45 pts/1 00:00:00 grep ora_arcStandby Database
================
SQL> select process,client_process,status,sequence# from v$managed_standby;
PROCESS CLIENT_PROCESS STATUS SEQUENCE#
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
MRP0 N/A APPLYING_LOG 4774
SQL> /
PROCESS CLIENT_PROCESS STATUS SEQUENCE#
ARCH ARCH CONNECTED 0
ARCH ARCH CONNECTED 0
MRP0 N/A APPLYING_LOG 4778
RFS N/A IDLE 0Thanks for all who beard sometime for me here. -
Data guard related OS processes in Primary and Standby servers
Database version : 11.2.0.3
Operating System : RHEL 5.8
Type: Physical Standby
++++++++++++++++++++++++++++In a typical Linux server hosting a Physical standby DB, the data guard related OS processes that appear in ps output
are like below. One mrp for each standby DB.
ps -ef |grep mrp
oracle 9380 1 0 May 21 ? 57:33 ora_mrp0_STRYKER_DG
oracle 18874 1 0 May 23 ? 33:45 ora_mrp0_FLPSA
oracle 18992 18837 0 23:39:39 pts/3 0:00 grep mrpSimilarly ,In a typical Linux server hosting a Primary DB what are the data guard related OS processes that appear in ps output ? Will LNS process appear in ps output ? Any other processes ?Similarly ,In a typical Linux server hosting a Primary DB what are the data guard related OS processes that appear in ps output ? Will LNS process appear in ps output ? Not exactly but it appears has different name, on your primary try below commands
SQL> select pid from v$managed_standby where process='LNS';
$ps -ef|grep <pid value>
hope this helps, on standby you can use same procedure to find the RFS OS process
Maybe you are looking for
-
Error in Transporting the request
I am facing following error when I am transporting Z TABEL from DEV to QAS . Kindly guide me to resolve this problem. ABAP Dictionary: Activation Transport request : DEVK907230 System : QAS tp path : tp Versi
-
My phone automatically restored, and now i have lost everythig apps,contacts,texts..i mean everything.... and my itunes does not have anything as my computer had to be reboot,due to a new hard disk... Can someone help,i really need my contacts bac
-
PSe 8: Clips in timeline/sceneline not showing in project view.
IN Photoshop Elements 8 I have a clip in my timeline/sceneline that is not showing up in Project view nor does it have the "P" in the bottom right corner in Organizer view. I thought that project view is supposed to display all scenes currently in th
-
HT1420 my itunes stops working before I can get into it
I cannot access itunes on computer because it keeps crashing and saying itunes stopped working
-
I received the second email notification, that my subscription payment was refused the second time, probably due to, that the related credit card is no longer exist. For buying Skype Credit I use a new credit card but probably the subscription renewa