GG Process Abended
Hi Experts,
We have configured extract processes on oracle source databasse and replicating to different target database, suddenly all primary extract processess are abended with below error message , Please help to resolve this
GGS ERROR 182 OCI ERROR executing single row select (status = 4031 -ORA-04031:unable to allocate 32 bytes of shared memory("shared pool" , "VIEWS$",..............
Thanks in Advance
Hello,
This error Ora-4031 indicates a memory pressure on the area Shared Pool of the SGA.
I imagine that this capture process is integrated type. And use the streams Pool for the generation of the LCR.
Check out the file alert_SID.log to get more information.
Have you used the max_sga_size parameter in the capture process?
If not used 1GB of memory used in Streams_Pool SGA by default.
How much memory defined in Streams_Pool?
Use the automatic memory model AMM? Check the SGA configuration parameters , like memory_target,max_memory_target, sga_target, max_ sga_target.
I think there might be some complex transaction that requires a lot of memory using the Streams Pool.
You can use the Streams memory Advisor to see the memory allocation stats.
Run this query
select * from V$STREAMS_POOL_ADVICE;
Regards
Arturo
Similar Messages
-
Hi:
i have active-active bidirectional replication in Oracle GoldeGate.
when i change in A database it replicates in B database. like insert (1,'A') values in A database it replicates in B database.
when i am trying to insert (2,'B') in B database, then it abend the process and display unique contraint error. in discard file it dislpay error for 1, A record.
Discard File:
Current time: 2011-05-11 09:56:32
Discarded record from action ABEND on error 1
OCI Error ORA-00001: unique constraint (PRS.SYS_C0011963) violated (status = 1), SQL <INSERT INTO "PRS"."TEST_DEMO" ("SNO","ENAME") VALUES (:a0,:a1)>
Aborting transaction on D:\REMOTE_TRAIL_PD1EPCS_EPDBMAINB2_EPDBMAINB1\dirdat\pt beginning at seqno 2 rba 4409
error at seqno 2 rba 4409
Problem replicating PRT.TEST_DEMO to PRS.TEST_DEMO
Mapping problem with insert record (target format)...
SNO = 8
ENAME = H
Process Abending : 2011-05-11 09:56:32
Please help
Regards,
AbhishekWell, it looks like your databases are not/were not synchronized. The record already lives in A, it did not in B, so the insert in B worked, and the replicat on A abended. If you expect to have more records like that, you can add exception handling on A.
-
Hello,
Before replicat process abended, I received warnings and inserted in exceptions table.
"Error - OCI Error ORA-14400: inserted partition key does not map to any partition " . One of the table doesn't have the partitions on the target database. 51 rows inserted in exceptions table.
Replicat process abended after the database restart.
Steps followed to start the replicat process :-
a) We have added the missing partitions to that table.
b) Get the RBA info from - info replicat repa, detail
c) alter replicat repa, extrba 80711767
Replicat is running successfully. But the problem is Source database row count is not in sync with the target database.
Source record count - 2000. But the target count is 500. Nearly 1500 records was not replicated.
Is there any way to replicat the missing records on to target machine through goldengate?
Do we need to prefer datapump utility to load the data?
Please help me!!!
Thanks,
951419Do the logs (or report) show anything?
-
ERROR OGG-00685 begin time : extract process abending
Hi Gurus,
I have installed Oracle Golden Gate in the below environment.But unable to start extract process I am newer to OGG and its production setup.
Primary site (source): This is production DB and up and running.
RAC 2 nodes
Oracle RAC 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
target Site (destination):
Standalone single server - Non RAC
Oracle version 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
Error is as below:
2012-08-12 22:57:09 ERROR OGG-00685 begin time May 1, 2011 11:06:53 AM prior to oldest log in log
2012-08-12 22:57:09 ERROR OGG-01668 PROCESS ABENDING. Please suggest , I am stuck
Thanks
Edited by: user13403707 on 16 Aug, 2012 9:07 AMggsci> alter urban begin now
Or explicitly specify a date time:
ggsci> alter urban begin 2012-08-13 12:00:00
I also noticed that this line:
table urbanlive.*
Is missing the closing semi colon. It should be:
table urbanlive.*;
Make sure you read on open transactions. This is important when you BEGIN capturing change data and performing your initial synchronization. If you don't understand this you will not initialize properly and you'll always be out of sync.
Good luck,
-joe -
Hello All,
Following is the scenario
Source - HP-UX Oracle 10.2
add extract ext1
edit params ext1
extract ext1
setenv (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)
userid ggs_owner, password ggs_owner
rmthost 115.124.104.167, mgrport 7809
rmttask replicat, group ext2
table sapsr3.*;
On Target - Red Hat 5.8 Oralce 10.2
add replicat ext2
edit params ext2
replicat ext2
setenv (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)
userid ggs_owner, password ggs_owner
ASSUMETARGETDEFS
map sapsr3.*, target sapsr3.*;
The result of "view ggsevt" on target gives the following error at the last -
ERROR OGG-00446 Oracle GoldenGate Delivery for Oracle, ext2.prm: Invalid data source -1 in checkpoin
t file /opt/oracleGG/dirchk/EXT2.cpr.
ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, ext2.prm: PROCESS ABENDING.
Please guide me, I am new to Golden Gate, tried lot to fetch info from net but failed :(
thanks in advanced.
Krishna.Hi,
U r following one time intial load process then there is no need of checkpoint file.
Performing intial load for one time: Please follow the link you will get clear steps.
http://gavinsoorma.com/2010/02/oracle-goldengate-tutorial-4-performing-initial-data-load/
Thanks
paddu kandimalla -
To retrieve data after process abended
Hi everyone,
Is there any method of replicating the DDL,DML 's fired after the processes like replicat abended.
Currently i am using : alter replicat rep1 begin now
It seems to work to make processes running again but the i lost the data that was replicated after the process abended.
plz help......
thanks
SauravHi,
1.
My Suggestion is NOT to use BEGIN NOW option with Replicat. This will make your target tables go out of sync and miss some of the DML/DDL as you are altering replciat to process from current time stamp instead of recovery.
GGSCI>alter replicat rep1 begin now
Instead you should always start at seqno 0 and RBA 0 if you are starting fresh or starting Relicat for first time
GGSCI>alter replicat <replicat_name>, Extseqno 0, Extrba 0
GGSCI>start replicat <replicat_name>
OR
if the Replicat has abended earlier and you would like to restart it, you should simply restart it as it will have all the checkpoint information with it and it will automatically start processing data from the recovery checkpoint(trail file).
GGSCI>start replicat <replicat_name>
OR
If you intend to start processing fom a specific trail file then you should use below command
Example:
$cd trail
$ls -ltr
lt000123
lt000124
lt000125
If you are sure that the Replciat processed trail file 123 and you would like to start from trail file seq 124 then try
GGSCI>alter replicat <replicat_name>, Extseqno 124, Extrba 0
GGSCI>start replicat <replicat_name>
OR
If you want to start processing from specific record or start of transaction with in a trail file then you could use LOGDUMP utility to find the RBA and use the same to alter the Replicat.
GGSCI>alter replicat <replicat_name>, Extseqno 124, Extrba 8999934
GGSCI>start replicat <replicat_name>
2.
As you have already lost some of the data and your target DB is already out of sync, I would suggest below method to resync it.
full database export using expdp(Oracle Source to Oracle Target)
1) Enable Minimal Supplemental Logging in Oracle on source
SQLPLUS > alter database add supplemental log data ;
2) Enable Supplemental Logging at Table Level on source
GGSCI> dblogin userid xxxxx password xxxxxx
GGSCI> add trandata <schema>.<tablename>
3) Add Extract, Add Exttrail, Add Pump, Add Rmttrail on source
4) Start Extract, Start Pump on source
5) Create a database directory:
SQLPLUS> create directory dumpdir as '<some directory>' ;
6) Get the current SCN on the source database:
SQLPLUS> select current_scn from v$database ;
28318029
7) Run the export using the flashback SCN you obtained in the previous step. The following example shows running the expdp utility at a Degree Of Parallelism (DOP) of 4. If you have sufficient system resources (CPU,memory and IO) then running at a higher DOP will decrease the amount of time it takes to take the export (up to 4x for a DOP of 4). Note that expdp uses Oracle Database parallel execution settings (e.g.parallel_max_servers) which have to be set appropriately in order to take advantage of parallelism. Other processes running in parallel may be competing for those resources. See the Oracle Documentation for more details.
a.expdp directory=dumpdir full=y parallel=4 dumpfile=ora102_%u.dmp flashback_scn=28318029
Username: sys as sysdba
Password:
Note: The export log needs to be checked for errors.
8) Start an import using impdp to the target database when step 7 is complete.
9) Add and Start Replicat:
GGSCI> add replicat <rep_name>, exttrail ./dirdat/<xx>
GGSCI> start replicat <rep_name>, aftercsn <value returned from step 6>
Hope this information helps.
Thanks & Regards
SK -
Replicat process abending with no error in logfile
Hi,
I m trying to replication from 11g to 10g on the same physical host. Below the replicat abending but unable to find the source of error in view GGSEVT logfile.
GGSCI (rhel5.4_prod) 8> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EXTLOCAL 00:00:00 00:00:07
REPLICAT ABENDED REPLOCAL 00:00:00 18:12:27
2013-04-16 09:58:40 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start mgr.
2013-04-16 09:58:41 INFO OGG-00983 Oracle GoldenGate Manager for Oracle, mgr.prm: Manager started (port 7809).
2013-04-16 09:58:45 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start extract extlocal.
2013-04-16 09:58:45 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host rhel5.4_prod (START EXTRACT EXTLOCAL ).
2013-04-16 09:58:45 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXTLOCAL starting.
2013-04-16 09:58:45 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, extlocal.prm: EXTRACT EXTLOCAL starting.
2013-04-16 09:58:45 INFO OGG-03035 Oracle GoldenGate Capture for Oracle, extlocal.prm: Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
2013-04-16 09:58:46 INFO OGG-03500 Oracle GoldenGate Capture for Oracle, extlocal.prm: WARNING: NLS_LANG environment variable does not match database character set, or not set. Using database
character set value of US7ASCII.
2013-04-16 09:58:46 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, extlocal.prm: Virtual Memory Facilities for: BR
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u05/GG/BR/EXTLOCAL.
2013-04-16 09:58:46 INFO OGG-01815 Oracle GoldenGate Capture for Oracle, extlocal.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u05/GG/dirtmp.
2013-04-16 09:58:46 INFO OGG-01513 Oracle GoldenGate Capture for Oracle, extlocal.prm: Positioning to Sequence 22, RBA 18459664, SCN 0.1177097.
2013-04-16 09:58:46 INFO OGG-01516 Oracle GoldenGate Capture for Oracle, extlocal.prm: Positioned to Sequence 22, RBA 18459664, SCN 0.1177097, Apr 15, 2013 4:21:50 PM.
2013-04-16 09:58:46 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, extlocal.prm: EXTRACT EXTLOCAL started.
2013-04-16 09:58:46 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from EXTRACT on host rhel5.4_prod (START SERVER CPU -1 PRI -1 TIMEOUT 300 PARAMS ).
2013-04-16 09:58:46 INFO OGG-01677 Oracle GoldenGate Collector for Oracle: Waiting for connection (started dynamically).
2013-04-16 09:58:46 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from SERVER on host localhost.localdomain (REPORT 4714 7819).
2013-04-16 09:58:46 INFO OGG-00974 Oracle GoldenGate Manager for Oracle, mgr.prm: Manager started collector process (Port 7819).
2013-04-16 09:58:46 INFO OGG-01228 Oracle GoldenGate Collector for Oracle: Timeout in 300 seconds.
2013-04-16 09:58:51 INFO OGG-01226 Oracle GoldenGate Capture for Oracle, extlocal.prm: Socket buffer size set to 27985 (flush size 27985).
2013-04-16 09:58:51 INFO OGG-01229 Oracle GoldenGate Collector for Oracle: Connected to rhel5.4_prod:11890.
2013-04-16 09:58:51 INFO OGG-01669 Oracle GoldenGate Collector for Oracle: Opening /u05/GG/dirdat/aa000000 (byte -1, current EOF 1145).
2013-04-16 09:58:51 INFO OGG-01670 Oracle GoldenGate Collector for Oracle: Closing /u05/GG/dirdat/aa000000.
2013-04-16 09:58:51 INFO OGG-01055 Oracle GoldenGate Capture for Oracle, extlocal.prm: Recovery initialization completed for target file /u05/GG/dirdat/aa000000, at RBA 1145.
2013-04-16 09:58:51 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, extlocal.prm: Output file /u05/GG/dirdat/aa is using format RELEASE 11.2.
2013-04-16 09:58:51 INFO OGG-01669 Oracle GoldenGate Collector for Oracle: Opening /u05/GG/dirdat/aa000000 (byte 1145, current EOF 1145).
2013-04-16 09:58:51 INFO OGG-01735 Oracle GoldenGate Collector for Oracle: Synchronizing /u05/GG/dirdat/aa000000 to disk.
2013-04-16 09:58:51 INFO OGG-01735 Oracle GoldenGate Collector for Oracle: Synchronizing /u05/GG/dirdat/aa000000 to disk.
2013-04-16 09:58:51 INFO OGG-01670 Oracle GoldenGate Collector for Oracle: Closing /u05/GG/dirdat/aa000000.
2013-04-16 09:58:51 INFO OGG-01026 Oracle GoldenGate Capture for Oracle, extlocal.prm: Rolling over remote file /u05/GG/dirdat/aa000001.
2013-04-16 09:58:51 INFO OGG-01669 Oracle GoldenGate Collector for Oracle: Opening /u05/GG/dirdat/aa000001 (byte -1, current EOF 0).
2013-04-16 09:58:51 INFO OGG-01053 Oracle GoldenGate Capture for Oracle, extlocal.prm: Recovery completed for target file /u05/GG/dirdat/aa000001, at RBA 1018.
2013-04-16 09:58:51 INFO OGG-01057 Oracle GoldenGate Capture for Oracle, extlocal.prm: Recovery completed for all targets.
2013-04-16 09:58:51 INFO OGG-01517 Oracle GoldenGate Capture for Oracle, extlocal.prm: Position of first record processed Sequence 22, RBA 18459664, SCN 0.1177097, Apr 15, 2013 4:21:50 PM.
2013-04-16 09:58:51 INFO OGG-00732 Oracle GoldenGate Capture for Oracle, extlocal.prm: Found crash recovery marker from thread #1 on sequence 23 at RBA 1040. Aborting uncommitted transactions
2013-04-16 09:58:56 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): start replicat replocal.
2013-04-16 09:58:56 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host rhel5.4_prod (START REPLICAT REPLOCAL ).
2013-04-16 09:58:56 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: REPLICAT REPLOCAL starting.
2013-04-16 09:58:56 INFO OGG-00995 Oracle GoldenGate Delivery for Oracle, replocal.prm: REPLICAT REPLOCAL starting.
2013-04-16 09:58:56 INFO OGG-03035 Oracle GoldenGate Delivery for Oracle, replocal.prm: Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
2013-04-16 09:58:56 INFO OGG-01815 Oracle GoldenGate Delivery for Oracle, replocal.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/u05/GG/dirtmp.
2013-04-16 09:58:56 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, replocal.prm: REPLICAT REPLOCAL started.Configuration
GGSCI (rhel5.4_prod) 9> view params mgr
PORT 7809
USERID ggs_owner, PASSWORD ggs_owner
PURGEOLDEXTRACTS /u05/GG/dirdat/ex, USECHECKPOINTS
GGSCI (rhel5.4_prod) 10> view params extlocal
extract extlocal
userid ggs_owner, password ggs_owner
setenv (ORACLE_HOME="/u03/app/oracle/product/11.2.0/db_1")
setenv (ORACLE_SID="PROD11G")
rmthost 192.168.1.9, mgrport 7809
rmttrail /u05/GG/dirdat/aa
TABLE TESTUSER.*;
GGSCI (rhel5.4_prod) 11> view params replocal
REPLICAT replocal
SETENV (ORACLE_HOME="/u02/app10g/oracle10g/product/10.2.0/db_1")
SETENV (ORACLE_SID="PROD10G")
SETENV (NLS_LANG="AMERICAN_AMERICA.US7ASCII")
ASSUMETARGETDEFS
USERID ggs_owner, PASSWORD ggs_owner
MAP TESTUSER.*, TARGET TESTUSER.*;Hi,
Not sure if you have created a definition file. Try if your source and target has a mismatch. Also, find below some additional parameters which will help in sorting out the issue:
DISCARDFILE :
Valid for Extract and Replicat
Use the DISCARDFILE parameter to generate a discard file to which GoldenGate can log records that it cannot process. Records can be discarded for several reasons. For example,
a record is discarded if the underlying table structure changed since the record was written to the trail. You can use the discard file to help you identify the cause of processing errors. Each entry in the discard file contains the discarded record buffer and an error code indicating the reason. GoldenGate creates the specified discard file in the dirrpt subdirectory of the GoldenGate installation directory. You can view it with a text editor or by using the following command in GGSCI.
VIEW REPORT
Where: is the fully qualified name of the discard file.
To prevent having to perform manual maintenance of discard files, use either the PURGE or APPEND option. Otherwise, you must specify a different discard file name before starting
each process run, because GoldenGate will not write to an existing discard file. To set an upper limit for the size of the file, use either the MAXBYTES or MEGABYTES option. If
the specified size is exceeded, the process will abend. Default By default, GoldenGate does not generate a discard file.
DISCARDROLLOVER:
Valid for Extract and Replicat
Use the DISCARDROLLOVER parameter to set a schedule for aging discard files. For long or continuous runs, setting an aging schedule prevents the discard file from filling up and
causing the process to abend, and it provides a predictable set of archives that can be included in your archiving routine.
When the DISCARDROLLOVER age point is reached, a new discard file is created, and old files are renamed in the format of ., where:
? is the name of the Extract or Replicat group
? is a number that gets incremented by one each time a new file is created, for
example: myext0.dsc, myext1.dsc, myext2.dsc, and so forth.
You can specify a time of day, a day of the week, or both. Specifying just a time of day (AT option) without a day of the week (ON option) generates a discard file at the specified time every day.
Default Disabled. No rules specified.
REPERROR:
Use REPERROR to specify an error and a response that together control how Replicat responds to the error when executing the MAP statement. You can use REPERROR at the MAP level to override and supplement global error handling rules set with the REPERROR parameter. Multiple REPERROR statements can be applied to the same MAP statement to
enable automatic, comprehensive management of errors and interruption-free replication processing.
DEFAULT Sets a global response to all errors except those for which explicit REPERROR statements are specified.
GETDELETES | IGNOREDELETES:
Valid for Extract and Replicat
Use the GETDELETES and IGNOREDELETES parameters to control whether or not GoldenGate processes delete operations. These parameters are table-specific. One parameter remains in effect for all subsequent TABLE or MAP statements, until the other parameter is encountered.
GETUPDATES | IGNOREUPDATES:
Valid for Extract and Replicat
Use the GETUPDATES and IGNOREUPDATES parameters to control whether or not GoldenGate processes update operations. The parameters are table-specific. One parameter remains in effect for all subsequent TABLE or MAP statements, until the other parameter is encountered.
GETINSERTS | IGNOREINSERTS:
Valid for Extract and Replicat
Use the GETINSERTS and IGNOREINSERTS parameters to control whether or not insert operations are processed by GoldenGate. The parameters are table-specific. One parameter remains in effect for all subsequent TABLE or MAP statements, until the other parameter is encountered.
Update the parameter file on target as
edit params <TARGET PARAM FILE>
REPLICAT rcreator
SOURCEDEFS /u01/app/oracle/product/goldengate/dirdat/defecreator
DISCARDFILE /u01/app/oracle/product/goldengate/dirdat/creator_err, purge
DISCARDROLLOVER ON saturday
USERID goldengate, PASSWORD AACAAAAAAAAAAAKAPATACEHBIGQGCFZCCDIGAEMCQFFBZHVC, ENCRYPTKEY default
REPERROR (DEFAULT, DISCARD)
IGNOREDELETES
IGNOREUPDATES
GETINSERTS
MAP meditate.life, TARGET CONSCIOUSNESS.tenure, &
COLMAP (PERSON_ID=HUMAN_ID, &
INITIALNAME=FIRSTNAME, &
ENDNAME=LASTNAME, &
BIRTH_DATE=DATE_OF_BITH, &
AGE_AT_DEATH=AGE_AT_TIME_OF_DEATH, &
DEED_ID_AT_DEATH=DEED_ID_AT_TIME_OF_DEATH), &
KEYCOLS (PERSON_ID, INITIALNAME,ENDNAME);
Now stop and start the replicat on target as:
GGSCI (goldengate) 9> stop replicat RCREATOR
Sending STOP request to REPLICAT RCREATOR ...
Request processed.
GGSCI (goldengate) 10> info all -
Hi , I'm trying to Replicat data from source (OLTP) to target (OLAP) . I have succeeded in initial load. But there is an error when i configure Extract process , Data Pumb process, replicat process . Guide me how to fix
#Configure Extrace Process
GGSCI (dbserver1) 3> EDIT PARAMS EOLTP01
EXTRACT EOLTP01
USERID gg_admin, PASSWORD demo123
EXTTRAIL ./dirdat/sa
TRANLOGOPTIONS ASMUSER SYS@ASM, ASMPASSWORD demo123
TABLE SRC.DEPT;
TABLE SRC.EMP;
GGSCI (dbserver1) 1> add extract EOLTP01, tranlog, begin now, threads 2
GGSCI (dbserver1) 2> add exttrail ./dirdat/sa, extract EOLTP01,megabytes 50
#Configure Data Pumb Process
GGSCI (dbserver1) 4> EDIT PARAMS EPMP01
EXTRACT EPMP01
PASSTHRU
RMTHOST dbserver2, MGRPORT 7809
RMTTRAIL ./dirdat/ta
TABLE SRC.DEPT;
TABLE SRC.EMP;
GGSCI (dbserver1) 3> add extract EPMP01, exttrailsource ./dirdat/sa, begin now, threads 2
GGSCI (dbserver1) 3> ADD RMTTRAIL ./dirdat/ta, EXTRACT EPMP01, MEGABYTES 50
#Start Extrace Process & Data Pumb Process
GGSCI (dbserver1) 4> start extract EOLTP01
Sending START request to MANAGER ...
EXTRACT EOLTP01 starting
GGSCI (dbserver1) 5> start EXTRACT EPMP01
Sending START request to MANAGER ...
EXTRACT EPMP01 starting
#Configure Replicat Process on Target
GGSCI (dbserver2) 1> EDIT PARAMS ROLAP01
REPLICAT ROLAP01
SETENV (ORACLE_SID=OLAP)
USERID ggs_admin, PASSWORD ggs_admin
DISCARDFILE ./dirrpt/rolap01.dsc, PURGE
MAP SRC.DEPT, TARGET TGT.DEPT;
MAP SRC.EMP, TARGET TGT.EMP;
GGSCI (dbserver2) 1> add replicat ROLAP01, exttrail ./dirdat/ta
GGSCI (dbserver2) 2> start replicat ROLAP01
Sending START request to MANAGER ...
REPLICAT ROLAP01 starting
After that I insert some rows to source table
But in the source :
GGSCI (rx2600-2) 8> info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING EOLTP01 00:00:00 00:00:07
EXTRACT ABENDED EPMP01 00:35:31 00:02:16
when i view report EPMP01
Source Context :
SourceModule : [er.api]
SourceID : [scratch/aime1/adestore/views/aime1_staoi06/oggcore/OpenSys/src/app/er/api.c]
SourceFunction : [XT_read]
SourceLine : [4054]
2012-09-05 15:39:12 ERROR OGG-01091 Unable to open file "M-qM-o#DM-WM-!@065536" (error 2, No such file or directory)
Thanks alotThoNguyen wrote:
when i view report EPMP01
2012-09-05 15:39:12 ERROR OGG-01091 Unable to open file "M-qM-o#DM-WM-!@065536" (error 2, No such file or directory)That's an interesting trail file name. It could be that there are special char's somehow in your prm file, try:
$ cat -vEt dirprm/EPMP01.prm
.......and look for special char's in the trail filename.
What is the source OS where the pump is running? (Perhaps you should display the entire pump report file -- it has all this info in it, including original parameters.) What is the target OS where the remote trails are created? Are the character sets different? -
How to get the changes during ABENDED replicat process
Hi,
I am working on Oracle GG bi-directional DML replication. I m stuck in one place.
My target replicat process was ABENDED due to Error :- ORA-01403: no data found. I restarted my replicat process again by runing the below command
GGSCI (db1) 30> alter replicat rep2 begin now
GGSCI (db1) 30> start replicat rep2
After restart the replicat process I can't see the changes on target server which I had applyed on source server during target replicat was ABENED.
My doubt is.
1. Is my command is correct for start the ABENDEND replicat process?
2.How to get the changes on target server which applyed on source during ABNDED of targer replication?
3.How to avoid the ABENDED replicat process on production server?
4.how to track the ABENDED process in production server?
Please HELP:(
Edited by: NaveenK on Aug 29, 2012 3:32 AMNaveenK wrote:
Hi,
I am working on Oracle GG bi-directional DML replication. I m stuck in one place.
My target replicat process was ABENDED due to Error :- ORA-01403: no data found. I restarted my replicat process again by runing the below command
GGSCI (db1) 30> alter replicat rep2 begin now
GGSCI (db1) 30> start replicat rep2
After restart the replicat process I can't see the changes on target server which I had applyed on source server during target replicat was ABENED.
My doubt is.
1. Is my command is correct for start the ABENDEND replicat process?
2.How to get the changes on target server which applyed on source during ABNDED of targer replication?
3.How to avoid the ABENDED replicat process on production server?
4.how to track the ABENDED process in production server?
Please HELP:(
Edited by: NaveenK on Aug 29, 2012 3:32 AMHi Naveen. SQL Error 1403 means row not found. Your data is out of sync and you should fix this.
By doing begin now when this happens, you are skipping all the transactions that were "in-line" since the process ABENDED.
You have more than one way to deal with these things, first of all you should synchronize your data! This should get rid of the 1403 errors.
Then you can write rules using REPERROR to tell the replicat how to behave in case of errors should come up.
Using logdump, you can read the exact row which failed and find out the next RBA to skip that specific one if required. You should also configure a DISCARDFILE to get details about errors when they happen.
Greetings,
N K -
Hi all,
Running GW8.0.2 on NW6.5.8. Have turned off logging in the .poa file (/logdiskoff option uncommented), as well as setting the logging level of the POA object to "Off". And yet we had a rash of abend GWPOA-Logging Process abends last night when the log rolled over at midnight, signifying to me POA logging is still active.
Have I done something wrong? Perhaps having the log setting to "Off" in both C1 and the .poa file has confused matters?
I'm grasping at straws here. Thanks.
Len Bonk
Network Engineer
Community Unit School District 200Originally Posted by Bob-O-Rama
You can apply 8.0.2 HP2, its cumulative. You can certainly exclude the log files from the OF piece ( if that is possible ). I'm not a huge fan of open file backup - you can use TSAFS for get a consistent GW backup or use DBCOPY to stage a backup to another location and then back that up.
-- Bob
OK thanks Bob. Have used dbcopy before and found it far too slow - maybe something I was doing *shrug*. So am I correct in that it sounds like you're saying I can turn off OFO once I load TSAFS with the /Enable GW=yes switch? That would be great, and I think it would go a long way towards stabilizing our GW environment.
Thanks again. -
Hi,
I've configured ogg between primary & DR server. I'm continuously getting the following error in my primary server for DP process & sometimes for EXTRACT process after which process goes in abended state.
WARNING OGG-01223 TCP/IP error 111 (Connection refused).
After starting the process manually, it comes in Running state. But this is frequent issue I'm facing for OGG configuration at my end.
Please find the parameter details & report log details as follows:
Primary Server Parameters:
GGSCI (sevadm) 40> view params dpatm
extract dpatm
userid ggs_owner,password ggs_owner
discardfile /home/oracle/ogg/dirdat/discard/dpatm_discard.txt,append,megabytes 1
0
rmthost 10.10.250.198 ,mgrport 7809,tcpbufsize 100000
rmttrail /home/oracle/ogg/dirdat/rt
passthru
sequence atmswitch.*;
table atmswitch.*;
GGSCI (sevadm) 51> view params mgr
port 7809
dynamicportlist 7810-7830,7833,7835
DYNAMICPORTREASSIGNDELAY 5
--autorestart extract extatm,retries 500,waitminutes 1,resetminutes 600
--autorestart extract extcbs,retries 500,waitminutes 1,resetminutes 600
--autorestart extract dpatm,retries 500,waitminutes 1,resetminutes 600
--autorestart extract dpcbs,retries 500,waitminutes 1,resetminutes 600
--autorestart replicat drrepatm,retries 500,waitminutes 1,resetminutes 600
--autorestart replicat drrepcbs,retries 500,waitminutes 1,resetminutes 600
--autorestart extract extaml,retries 500,waitminutes 1,resetminutes 600
--autorestart extract extrm,retries 500,waitminutes 1,resetminutes 600
--autorestart extract extinb,retries 500,waitminutes 1,resetminutes 600
--autorestart extract dpaml,retries 500,waitminutes 1,resetminutes 600
--autorestart extract dprm,retries 500,waitminutes 1,resetminutes 600
--autorestart extract dpinb,retries 500,waitminutes 1,resetminutes 600
--autorestart replicat drrepaml,retries 500,waitminutes 1,resetminutes 600
--autorestart replicat drreprm,retries 500,waitminutes 1,resetminutes 600
--autorestart replicat drrepinb,retries 500,waitminutes 1,resetminutes 600
userid ggs_owner,password ggs_owner
purgeoldextracts /home/oracle/ogg/dirdat/*,usecheckpoints,minkeepdays 5
GGSCI (sevadm) 52> view params extatm
extract extatm
userid ggs_owner,password ggs_owner
reportcount every 2 hours,rate
report at 01:00
reportrollover at 01:15
tranlogoptions asmuser sys@asm,asmpassword asmdba
grouptransops 2000
discardfile /home/oracle/ogg/dirdat/discard/extatm_discard.txt,append,megabytes
10
discardrollover at 02:00 on sunday
exttrail /home/oracle/ogg/dirdat/lt
ddl include all
ddloptions addtrandata retryop retrydelay 20 maxretries 20,report
sequence atmswitch.*;
table atmswitch.*;
Report log file for DP Process:
GGSCI (sevadm) 39> view report dpatm
Oracle GoldenGate Capture for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Linux, x64, 64bit (optimized), Oracle 10g on Apr 23 2012 07:44:10
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2015-03-19 16:54:56
Operating System Version:
Linux
Version #1 SMP Tue Mar 16 21:52:39 EDT 2010, Release 2.6.18-194.el5
Node: sevadm
Machine: x86_64
soft limit hard limit
Address Space Size : unlimited unlimited
Heap Size : unlimited unlimited
File Size : unlimited unlimited
CPU Time : unlimited unlimited
Process id: 13260
Description:
** Running with the following parameters **
2015-03-19 16:54:56 INFO OGG-03035 Operating system character set identifie
d as UTF-8. Locale: en_US, LC_ALL:.
extract dpatm
userid ggs_owner,password *********
2015-03-19 16:54:56 INFO OGG-03500 WARNING: NLS_LANG environment variable d
oes not match database character set, or not set. Using database character set v
alue of WE8ISO8859P1.
discardfile /home/oracle/ogg/dirdat/discard/dpatm_discard.txt,append,megabytes 1
0
rmthost 10.10.250.198 ,mgrport 7809,tcpbufsize 100000
rmttrail /home/oracle/ogg/dirdat/rt
passthru
sequence atmswitch.*;
table atmswitch.*;
2015-03-19 16:54:56 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/home/oracle/ogg/dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 64G
CACHEPAGEOUTSIZE (normal): 8M
PROCESS VM AVAIL FROM OS (min): 128G
CACHESIZEMAX (strict force to disk): 96G
Database Version:
Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Database Language and Character Set:
NLS_LANG = ".WE8ISO8859P1"
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "WE8ISO8859P1"
2015-03-19 16:55:26 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 16:56:08 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 16:56:49 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 16:57:30 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 16:58:11 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 16:58:52 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 16:59:33 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 17:00:14 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 17:00:55 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 17:01:36 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
2015-03-19 17:02:17 WARNING OGG-01223 TCP/IP error 111 (Connection refused).
Source Context :
SourceModule : [er.extrout]
SourceID : [/scratch/aime1/adestore/views/aime1_adc4150256/oggc
ore/OpenSys/src/app/er/extrout.c]
SourceFunction : [tcp_send_data]
SourceLine : [1352]
ThreadBacktrace : [9] elements
: [/home/oracle/ogg/libgglog.so(CMessageContext::AddTh
readContext()+0x1e) [0x2ba1dd1587de]]
: [/home/oracle/ogg/libgglog.so(CMessageFactory::Creat
eMessage(CSourceContext*, unsigned int, ...)+0x2cc) [0x2ba1dd154c7c]]
: [/home/oracle/ogg/libgglog.so(_MSG_ERR_TCP_GENERIC(C
SourceContext*, char const*, CMessageFactory::MessageDisposition)+0x31) [0x2ba1d
d139daf]]
: [/home/oracle/ogg/extract(tcp_send_data(extract_def*
)+0x2b3) [0x5116e1]]
: [/home/oracle/ogg/extract(flush_tcp(extract_def*, in
t)+0x15c) [0x512350]]
: [/home/oracle/ogg/extract(RECOVERY_initialize()+0x37
1) [0x5239a1]]
: [/home/oracle/ogg/extract(main+0x4a5) [0x56b335]]
: [/lib64/libc.so.6(__libc_start_main+0xf4) [0x333621d
994]]
: [/home/oracle/ogg/extract(__gxx_personality_v0+0x382
) [0x4e754a]]
2015-03-19 17:02:58 ERROR OGG-01224 TCP/IP error 111 (Connection refused); r
etries exceeded.
2015-03-19 17:02:58 ERROR OGG-01668 PROCESS ABENDING.
Please guide me on this.
Regards,
Simon P- check your remote host server is up and running.
- check mgr process is up and running on target site.
- try this and see if network connection is OK..
telnet 10.10.250.198 7809
- try to copy a file (scp) from source to target (take a dummy file; size bigger than tcpbufsize)
- check ggserr.log file on target; you might see if there are any issues with server/collector port allocation/timeout.
hope this helps...
Thanks. -
Data Pump Abends : Not able to write to trails to remote directory
I am using following to do replication
SOURCE SCHEMA: HBP
TABLE: EMPLOYEES
SOURCE GOLDEN GATE SCHEMA: ggs_owner
Z:\ is mapped on source system which points to \\206.120.226.47\ggtarget ( Remote System )
TARGET SCHEMA: HBP
TABLE: EMPLOYEES
TARGET GOLDEN GATE SCHEMA: ggs_target
ON SOURCE:
1. ADD EXTRACT ext2, TRANLOG, BEGIN NOW
2. ADD EXTTRAIL D:\GGATE\dirdat\lt, EXTRACT ext2
3. ADD EXTRACT dtest, EXTTRAILSOURCE D:\GGATE\dirdat\lt
4. EDIT PARAMS ext2
EXTRACT ext2
USERID ggs_owner, PASSWORD ggs_owner
EXTTRAIL D:\GGATE\dirdat\lt
TABLE HBP.EMPLOYEES;
5. ADD RMTTRAIL Z:\dirdat\rt, EXTRACT dtest
6. EDIT PARAMS dtest
EXTRACT dtest
USERID ggs_target, PASSWORD target
RMTHOST 206.120.226.47, MGRPORT 7809
RMTTRAIL Z:\dirdat\rt
PASSTHRU
TABLE HBP.EMPLOYEES;
Note: Full rights are given on Z:\dirdat
7. START EXTRACT ext2
Successfully Started
8. START EXTRACT dtest
Error: There is a problem in network communication, a remote file problem, encryption keys for target and source do not match (if using ENCRYPT) or an unknown error. (Remote file used is Z:\dirdat\rt000000, reply received is Could not create Z:\dirdat\rt000000). 2011-03-16 18:02:51 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, DTEST.prm: PROCESS ABENDING.The OS user running Manager Service on source system is : zzxpzr whereas the target system has Golden Gate configured under OS user: jzdlc1.
From source system, I am able to create a text file to the remote mapped drive. Not able to understand why Golden Gate is not able to create file remotely.
(1) Is Mapped Dirve concept permitted in Golden Gate ?
(2) Instead of Mapped Drive, if I use \\201.120.220.56\GGTARGET\dirdat\rt while added REMOTE TRAIL using command ADD RMTTRAIL then it gives error that "filename is incorrect"
Thanks Steve for your suggestion. I shall try to configure Golden Gate with same OS user as on Source System. -
Hello All,
I am trying to extract and the process fails. please help me this, following is part of "view ggsevt"
2012-07-26 16:24:05 WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.FAGL
_SPLINFO. Likely due to existence of unused column. Please make sure you use sourcedefs in downstream Replicat, or the target
table has exactly the same unused columns when using ASSUMETARGETDEFS or DDL replication.
2012-07-26 16:39:15 WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.FMIF
IIT. Likely due to existence of unused column. Please make sure you use sourcedefs in downstream Replicat, or the target tabl
e has exactly the same unused columns when using ASSUMETARGETDEFS or DDL replication.
2012-07-26 16:39:18 WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.FMIO
I. Likely due to existence of unused column. Please make sure you use sourcedefs in downstream Replicat, or the target table
has exactly the same unused columns when using ASSUMETARGETDEFS or DDL replication.
2012-07-26 17:45:46 WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.MSEG
. Likely due to existence of unused column. Please make sure you use sourcedefs in downstream Replicat, or the target table h
as exactly the same unused columns when using ASSUMETARGETDEFS or DDL replication.
2012-07-26 18:22:05 ERROR OGG-01960 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table SAPSR3.ORA_
COCKPIT_HELPER. The table is created with the NOLOGGING option, which is not supported. Extract may not be able to capture da
ta from it.
2012-07-26 18:22:05 ERROR OGG-00663 Oracle GoldenGate Capture for Oracle, ext1.prm: OCI Error retrieving bind info for q
uery (status = 100), SQL < select (select count(*) from dba_tables where logging = 'NO' and owner = 'SAPSR3' and t
able_name = 'ORA_COCKPIT_HELPER') + (select count(*) from dba_tab_partitions where table_owner = 'SAPSR3' and
table_name = 'ORA_COCKPIT_HELPER' and logging = 'NO') + (select count(*) from dba_tab_subpartitions wher
e table_owner = 'SAPSR3' and table_name = 'ORA_COCKPIT_HELPER' and logging = 'NO') from DUAL >.
2012-07-26 18:22:05 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext1.prm: PROCESS ABENDING.
I am confused for
1)WARNING OGG-00752 Oracle GoldenGate Capture for Oracle, ext1.prm: Failed to validate table.. -- as i have DBOPTIONS ALLOWUNUSEDCOLUMN in my extract process.
2)Bind info for query.
please help.
Kind Regards,
Krishna.Hi,
I started the extract for few tables as suggested and got the output of "ggsevt" as :
on Source
Check swap space. Recommended swap/extract: 128G (64bit system).
2012-07-31 16:33:01 INFO OGG-00993 Oracle GoldenGate Capture for Oracle, ext1.prm: EXTRACT EXT1 started.
2012-07-31 16:33:01 INFO OGG-01478 Oracle GoldenGate Capture for Oracle, ext1.prm: Output file ./dirdat/INITLOADEMP.DAT
is using format RELEASE 11.2.
2012-07-31 16:33:06 INFO OGG-01226 Oracle GoldenGate Capture for Oracle, ext1.prm: Socket buffer size set to 27985 (flu
sh size 27985).
2012-07-31 16:56:25 INFO OGG-00991 Oracle GoldenGate Capture for Oracle, ext1.prm: EXTRACT EXT1 stopped normally.
2012-07-31 17:14:50 INFO OGG-00987 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (root): send manager
childstatus.
2012-07-31 17:14:50 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host m
ahaeccsbox (CHILDSTATUS).
on Target:
2012-07-31 21:50:45 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from SERVER on host
localhost.localdomain (REPORT 27981 7820).
2012-07-31 21:50:45 INFO OGG-00974 Oracle GoldenGate Manager for Oracle, mgr.prm: Manager started collector process (Po
rt 7820).
2012-07-31 21:50:45 INFO OGG-01228 Oracle GoldenGate Collector for Oracle: Timeout in 300 seconds.
2012-07-31 21:50:50 INFO OGG-01229 Oracle GoldenGate Collector for Oracle: Connected to static-mum-59.185.103.124.mtnl.
net.in:61873.
2012-07-31 21:50:50 INFO OGG-01669 Oracle GoldenGate Collector for Oracle: Opening ./dirdat/INITLOADEMP.DAT (byte 0, cu
rrent EOF 0).
2012-07-31 22:14:10 INFO OGG-01670 Oracle GoldenGate Collector for Oracle: Closing ./dirdat/INITLOADEMP.DAT.
2012-07-31 22:14:10 INFO OGG-01676 Oracle GoldenGate Collector for Oracle: Terminating after client disconnect.
2012-07-31 22:15:48 INFO OGG-01670 Oracle GoldenGate Collector for Oracle: Closing ./dirdat/INITLOADEMP.DAT.
2012-07-31 22:15:48 INFO OGG-01676 Oracle GoldenGate Collector for Oracle: Terminating after client disconnect.
Does it mean that my initial load was successful ? or does it indicate something else ? please guide. -
ERROR ORA-12514: TNS: unable to start extract process
Hi Experts,
I have installed Oracle Golden Gate in the below environment.But unable to start extract process
Primary site (source): This is production DB and up and running.
RAC 2 nodes
Oracle RAC 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
target Site (destination):
Standalone single server - Non RAC
Oracle version 11.2.0.1.0
ASM
Oracle GoldenGate 11g Release 1 (11.1.1.0.0)
Enterprise Linux Server release 5.5 (Carthage)
Processor Type x64
OS 64 bit
Getting below error in logs while starting extract process:
RECOVERY: reset to initial or altered checkpoint.
2012-08-05 10:34:10 ERROR OGG-00868 Oracle GoldenGate Capture for Oracle, aaa.prm: Attaching to
ASM server asm: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor.
2012-08-05 10:34:10 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, aaa.prm: PROCESS
ABENDING.[oracle@ ggate]$
Getting below error while connecting with asm instance directly:
[oracle@ admin]$ sqlplus sys@asm as sysasm
SQL*Plus: Release 11.2.0.1.0 Production on Sun Aug 5 11:16:11 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter password:
ERROR:
ORA-12514: TNS:listener does not currently know of service requested in connect
descriptor
[oracle@ ~]$ tnsping asm TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 05-AUG-2012 11:55
:42
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx-
scan)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ASM) (I
NSTANCE_NAME = +ASM1)))
OK (0 msec) Any help Please ?
Regards
LazyDBA
Edited by: LazyDBA11g on Aug 5, 2012 12:14 AM
Edited by: LazyDBA11g on Aug 5, 2012 11:25 PM
Edited by: LazyDBA11g on Aug 12, 2012 4:36 AMHello JK,
Thanks a lot for specific response.
SQL> select INST_ID, NAME, VALUE from gv$parameter where name like '%_listener%';
INST_ID NAME VALUE
1 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=xxx_
data1-vip)(PORT=1521))))
1 remote_listener xxxdata-scan:1521
2 local_listener (DESCRIPTION=(ADDRESS_LIST=(AD
DRESS=(PROTOCOL=TCP)(HOST=xxx_
data2-vip)(PORT=1521))))
2 remote_listener xxxdata-scan:1521
If I add REMOTE_LISTENER pointing to SCAN ip address, Does it require DB bounce ? (Its production DB)
Regards,
LazyDBA
Edited by: LazyDBA11g on Aug 10, 2012 12:01 PM
Edited by: LazyDBA11g on Aug 12, 2012 4:48 AM -
This is what i have on source and target:
Source db: oracle 10.2.0.4 block size 8K
target :db: oracle 10.2.0.4 block size 32K
Souce configuration:
MGR.prm
PORT 7820
USERID ggs_user, PASSWORD ggs_user
PURGEOLDEXTRACTS /u01/oracle/ggs/dirdat/ex, USECHECKPOINTS
extract load1.prm
EXTRACT load1
USERID ggs_user, PASSWORD ggs_user
RMTHOST targetserver , MGRPORT 7820
rmttrail /u01/oracle/ggs/dirdat/lt
--RMTTASK replicat, GROUP load2
TABLE usachclic.username_test;
enabled supplemental logging.
logged in as gss user and ran add trandata usachclic.username_test.
On TARGET
mgr.prm
PORT 7820
USERID ggs_user, PASSWORD ggs_user
load2.prm
REPLICAT load2
ASSUMETARGETDEFS
USERID ggs_user, PASSWORD ggs_user
discardfile /u01/oracle/ggs/discard/rep1_discard.txt, append, megabytes 10
MAP usachclic.username_test, TARGET usachclic.username_test;
./GLOBAL
GGSCHEMA ggs_user
CHECKPOINTTABLE ggs_user.checkpoint
When i start intial load every thing looks goon on extarct load1
This is the snapshot of GGSEVT
2010-12-30 14:59:38 GGS INFO 302 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT LOAD1 starting.
2010-12-30 14:59:38 GGS INFO 310 Oracle GoldenGate Capture for Oracle, load1.prm: EXTRACT LOAD1 starting.
2010-12-30 14:59:38 GGS WARNING Z1-078 Oracle GoldenGate Capture for Oracle, load1.prm: No valid default archive log destination directory found for thre
ad 1.
2010-12-30 14:59:38 GGS INFO 310 Oracle GoldenGate Capture for Oracle, load1.prm: EXTRACT LOAD1 started.
2010-12-30 14:59:43 GGS INFO 406 Oracle GoldenGate Capture for Oracle, load1.prm: Socket buffer size set to 27985 (flush size 27985).
2010-12-30 14:59:43 GGS INFO 112 Oracle GoldenGate Capture for Oracle, load1.prm: Recovery initialization completed for target file /u01/oracle/ggs
/dirdat/lt000002, at RBA 1682.
2010-12-30 14:59:43 GGS INFO Z0-05M Oracle GoldenGate Capture for Oracle, load1.prm: Output file /u01/oracle/ggs/dirdat/lt is using format RELEASE 10.
4.
2010-12-30 14:59:43 GGS INFO 224 Oracle GoldenGate Capture for Oracle, load1.prm: Rolling over remote file /u01/oracle/ggs/dirdat/lt000003.
2010-12-30 14:59:43 GGS INFO 112 Oracle GoldenGate Capture for Oracle, load1.prm: Recovery completed for target file /u01/oracle/ggs/dirdat/lt00000
3, at RBA 969.
2010-12-30 14:59:43 GGS INFO 112 Oracle GoldenGate Capture for Oracle, load1.prm: Recovery completed for all targets.
But on target when i run:
infol all command
I get mamager is running and replicat load2 is abending.
when i do info replicat load2 i get this
REPLICAT LOAD2 Last Started 2010-12-30 14:36 Status ABENDED
Checkpoint Lag 23:28:32 (updated 01:16:18 ago)
Log Read Checkpoint File /u01/oracle/ggs/dirdat/lt000000
2010-12-29 15:08:21.059469 RBA 969
This is the snapshop of GGSEVT on target.
2010-12-30 14:36:53 GGS ERROR 190 Oracle GoldenGate Delivery for Oracle, load2.prm: PROCESS ABENDING.
2010-12-30 14:46:26 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params mgr.
2010-12-30 14:46:48 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params ./GLOBAL.
2010-12-30 14:47:17 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params load2.
2010-12-30 14:49:10 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params load2.
2010-12-30 14:58:22 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): stop replicat load2.
2010-12-30 14:59:09 GGS INFO 371 Oracle GoldenGate Collector, port 7840: Closing /u01/oracle/ggs/dirdat/lt000002.
2010-12-30 14:59:09 GGS INFO 372 Oracle GoldenGate Collector, port 7840: Terminating after client disconnect.
2010-12-30 14:59:26 GGS INFO 301 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from EXTRACT on host 172.30.130.31 (START SERVER C
PU -1 PRI -1 PARAMS ).
2010-12-30 14:59:26 GGS INFO 302 Oracle GoldenGate Manager for Oracle, mgr.prm: Manager started collector process (Port 7840).
2010-12-30 14:59:26 GGS INFO 373 Oracle GoldenGate Collector, port 7840: Waiting for connection (started dynamically).
2010-12-30 14:59:31 GGS INFO 373 Oracle GoldenGate Collector: Connected to hcli-stag1101.hcli.usac.loc:55726.
2010-12-30 14:59:31 GGS INFO 370 Oracle GoldenGate Collector, port 7840: Opening /u01/oracle/ggs/dirdat/lt000002 (byte 1682, current EOF 1682).
2010-12-30 14:59:31 GGS INFO 371 Oracle GoldenGate Collector, port 7840: Closing /u01/oracle/ggs/dirdat/lt000002.
2010-12-30 14:59:31 GGS INFO 370 Oracle GoldenGate Collector, port 7840: Opening /u01/oracle/ggs/dirdat/lt000003 (byte -1, current EOF 0).
2010-12-30 15:26:27 GGS ERROR 190 Oracle GoldenGate Command Interpreter for Oracle: Received signal: Program interrupt (2).
2010-12-30 15:26:27 GGS ERROR 190 Oracle GoldenGate Command Interpreter for Oracle: PROCESS ABENDING.
2010-12-30 15:46:06 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params mgr.
2010-12-30 15:47:40 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params load2.
2010-12-30 15:48:24 GGS INFO 399 Oracle GoldenGate Command Interpreter for Oracle: GGSCI command (oracle): edit params ./GLOBAL.
2010-12-30 15:53:22 GGS ERROR 190 Oracle GoldenGate Command Interpreter for Oracle: Received signal: Program interrupt (2).
2010-12-30 15:53:22 GGS ERROR 190 Oracle GoldenGate Command Interpreter for Oracle: PROCESS ABENDING.
Please HELPOracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE 10.2.0.4.0 Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
Database Language and Character Set:
NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "WE8ISO8859P1"
Warning: NLS_LANG is not set. Please refer to user manual for more information.
** Run Time Messages **
Opened trail file /u01/oracle/ggs/dirdat/lt000002 at 2010-12-30 19:16:19
MAP resolved (entry USACHCLIC.USERNAME_TEST):
MAP USACHCLIC.USERNAME_TEST, TARGET usachclic.username_test;
Using following columns in default map by name:
USERNAMEID, USERNAME, PASSWORD, FIRSTNAME, LASTNAME, EMAIL,
DISABLEDFLAG, USERID, CREATIONDATE, LASTEDITDATE
Using the following key columns for target table USACHCLIC.USERNAME_TEST: USERNAMEID.
Switching to next trail file /u01/oracle/ggs/dirdat/lt000003 at 2010-12-30 19:16:19 due to EOF, with current RBA 1682
Opened trail file /u01/oracle/ggs/dirdat/lt000003 at 2010-12-30 19:16:19
Processed extract process graceful restart record at seq 3, rba 969.
Switching to next trail file /u01/oracle/ggs/dirdat/lt000004 at 2010-12-30 19:16:19 due to EOF, with current RBA 1362
Opened trail file /u01/oracle/ggs/dirdat/lt000004 at 2010-12-30 19:16:19
Processed extract process graceful restart record at seq 4, rba 969.
Switching to next trail file /u01/oracle/ggs/dirdat/lt000005 at 2010-12-30 19:16:19 due to EOF, with current RBA 1167
Opened trail file /u01/oracle/ggs/dirdat/lt000005 at 2010-12-30 19:16:19
Processed extract process graceful restart record at seq 5, rba 969.
Switching to next trail file /u01/oracle/ggs/dirdat/lt000006 at 2010-12-30 19:16:19 due to EOF, with current RBA 1029
Opened trail file /u01/oracle/ggs/dirdat/lt000006 at 2010-12-30 19:16:19
Processed extract process graceful restart record at seq 6, rba 969.
2010-12-30 19:16:19 GGS WARNING 218 Aborted grouped transaction on 'USACHCLIC.USERNAME_TEST', Database error 1 (ORA-00001: unique constraint (USACHCLIC
.SYS_C0036809) violated).
2010-12-30 19:16:19 GGS WARNING 218 Repositioning to rba 1345 in seqno 2.
Opened trail file /u01/oracle/ggs/dirdat/lt000002 at 2010-12-30 19:16:19
Switching to next trail file /u01/oracle/ggs/dirdat/lt000003 at 2010-12-30 19:16:19 due to EOF, with current RBA 1682
Opened trail file /u01/oracle/ggs/dirdat/lt000003 at 2010-12-30 19:16:19
Processed extract process graceful restart record at seq 3, rba 969.
Switching to next trail file /u01/oracle/ggs/dirdat/lt000004 at 2010-12-30 19:16:19 due to EOF, with current RBA 1362
Opened trail file /u01/oracle/ggs/dirdat/lt000004 at 2010-12-30 19:16:19
Processed extract process graceful restart record at seq 4, rba 969.
Switching to next trail file /u01/oracle/ggs/dirdat/lt000005 at 2010-12-30 19:16:19 due to EOF, with current RBA 1167
Opened trail file /u01/oracle/ggs/dirdat/lt000005 at 2010-12-30 19:16:19
Processed extract process graceful restart record at seq 5, rba 969.
Switching to next trail file /u01/oracle/ggs/dirdat/lt000006 at 2010-12-30 19:16:19 due to EOF, with current RBA 1029
Opened trail file /u01/oracle/ggs/dirdat/lt000006 at 2010-12-30 19:16:19
Processed extract process graceful restart record at seq 6, rba 969.
2010-12-30 19:16:19 GGS WARNING 218 SQL error 1 mapping USACHCLIC.USERNAME_TEST to USACHCLIC.USERNAME_TEST OCI Error ORA-00001: unique constraint (USAC
HCLIC.SYS_C0036809) violated (status = 1), SQL <INSERT INTO "USACHCLIC"."USERNAME_TEST" ("USERNAMEID","USERNAME","PASSWORD","FIRSTNAME","LASTNAME","EMAIL","D
ISABLEDFLAG","USERID","CREATIONDATE","LASTEDITDATE") VALUES (:a0,:a1,:a2,:a3,:a4,:a5,:a6,:a>.
2010-12-30 19:16:19 GGS WARNING 218 Repositioning to rba 1029 in seqno 6.
Source Context :
SourceModule : [er.main]
SourceID : [$Id: //depot/releases/OpenSys/v10.4.0/src/app/er/rep.c#19 $]
SourceFunction : [take_rep_err_action]
SourceLine : [14904]
ThreadBacktrace : [7] elements
: [u01/oracle/ggs/replicat(_ZN15CMessageContext16AddThreadContextEv+0x26) [0x5b1b46]]
: [u01/oracle/ggs/replicat(_ZN15CMessageFactory13CreateMessageEP14CSourceContextjz+0x383) [0x5aa483]]
: [u01/oracle/ggs/replicat [0x4ba31d]]
: [u01/oracle/ggs/replicat [0x4c1687]]
: [u01/oracle/ggs/replicat(main+0x4ee) [0x4d337e]]
: [lib64/libc.so.6(__libc_start_main+0xf4) [0x3f18e1d994]]
: [u01/oracle/ggs/replicat(__gxx_personality_v0+0x172) [0x45adea]]
2010-12-30 19:16:19 GGS ERROR 218 Error mapping from USACHCLIC.USERNAME_TEST to USACHCLIC.USERNAME_TEST.
* ** Run Time Statistics ** *
Last record for the last committed transaction is the following:
Trail name : /u01/oracle/ggs/dirdat/lt000004
Hdr-Ind : E (x45) Partition : . (x04)
UndoFlag : . (x00) BeforeAfter: B (x42)
RecLength : 9 (x0009) IO Time : 2010-12-30 18:44:52.031077
IOType : 3 (x03) OrigNode : 255 (xff)
TransInd : . (x03) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 181 AuditPos : 126247440
Continued : N (x00) RecCount : 1 (x01)
2010-12-30 18:44:52.031077 Delete Len 9 RBA 1029
Name: USACHCLIC.USERNAME_TEST
Reading /u01/oracle/ggs/dirdat/lt000006, current RBA 1029, 3 records
Report at 2010-12-30 19:16:19 (activity since 2010-12-30 19:16:19)
From Table USACHCLIC.USERNAME_TEST to USACHCLIC.USERNAME_TEST:
# inserts: 2
# updates: 0
# deletes: 1
# discards: 1
Last log location read:
FILE: /u01/oracle/ggs/dirdat/lt000006
SEQNO: 6
RBA: 1029
TIMESTAMP: 2010-12-30 19:09:24.032634
EOF: NO
READERR: 0
CACHE OBJECT MANAGER statistics
CACHE MANAGER VM USAGE
vm current = 0 vm cached = 0
vm anon = 0 vm file = 0
vm used max = 0 ==> CACHE BALANCED
CACHE CONFIGURATION
cache size = 512M cache force paging = 881M
buffer min = 64K buffer highwater = 4M
pageout eligible size = 4M
CACHE Transaction Stats
trans active = 0 max concurrent = 0
non-zero total = 0 trans total = 0
CACHE File Caching
disk current = 0 disk total = 0
disk caching = 0 file cached = 0
file retrieves = 0
CACHE MANAGEMENT
buffer links = 0 anon gets = 0
forced unmaps = 0 cnnbl try = 0
cached out = 0 force out = 0
Allocation Request Distribution
< 128B: 0
128B: 0 0 | 512B: 0 0
2K: 0 0 | 8K: 0 0
32K: 0 0 | 128K: 0 0
512K: 0 0 | 2M: 0 0
8M: 0 0 | 32M: 0 0
128M: 0 0 | 512M: 0 0
2G: 0 0 | 8G: 0
Cached Transaction Size Distribution
0: 0
< 4K: 0
4K: 0 0 | 16K: 0 0
64K: 0 0 | 256K: 0 0
1M: 0 0 | 4M: 0 0
16M: 0 0 | 64M: 0 0
256M: 0 0 | 1G: 0 0
4G: 0 0 | 16G: 0 0
64G: 0 0 | 256G: 0 0
1T: 0 0 | 4T: 0 0
16T: 0 0 | 64T: 0 0
256T: 0 0 |1024T: 0 0
QUEUE Statistics:
num queues = 15 default index = 0
cur len = 0 max len = 0
q vm current = 0 vm max = 0
q hits = 0 q misses = 0
queue size q hits curlen maxlen cannibalized
0 64K 0 0 0 0
1 128K 0 0 0 0
2 256K 0 0 0 0
3 512K 0 0 0 0
4 1M 0 0 0 0
5 2M 0 0 0 0
6 4M 0 0 0 0
7 8M 0 0 0 0
8 16M 0 0 0 0
9 32M 0 0 0 0
10 64M 0 0 0 0
11 128M 0 0 0 0
12 256M 0 0 0 0
13 512M 0 0 0 0
14 1G 0 0 0 0
================================================================================
CACHE POOL #0
POOL INFO group: load2 id: p344_BLOB
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000003
highestCSN = (wrap=0, base=0) valid = 0
last error = (0=<none>)
Allocation Request Distribution
< 128B: 0
128B: 0 0 | 512B: 0 0
2K: 0 0 | 8K: 0 0
32K: 0 0 | 128K: 0 0
512K: 0 0 | 2M: 0 0
8M: 0 0 | 32M: 0 0
128M: 0 0 | 512M: 0 0
2G: 0 0 | 8G: 0
Maybe you are looking for
-
Having problems with Home Sharing with the WiFi. Can not seem to get the Apple TV to connect to my iTunes. Must be something running in the background of the router or laptop. Need help.
-
Strange Video Resolution Issue
Ok, here's the problem: I have a Mac Mini hooked up to my 42" plasma TV via a DVI/HDMI converter. Everything works fine, except that, when I'm viewing video content *during download* (movies, TV) from the iTunes store, if I try to display in *full sc
-
I have a first generation ipod touch 1.1.5 and it does not have an app icon. I have all the updates there are. What can I do?
-
Java.lang.NoClassDefFoundError: weblogic/rjvm/LocalRJVM
Has anyone seen this error, when trying to get an InitialContext? java.lang.NoClassDefFoundError: weblogic/rjvm/LocalRJVM If I create an InitialContext within the main function of my test program everything is fine. However, when I try to call a meth
-
How can I import folders from iPhoto and keep the folder names?