Ora Golden gate: Extract Process error.
As soon as i start the extract process i have the following error message pop up..
The procedure entry point longjmp could not be located in the dynamic link library orauts.dll.
Can any1 help in dis??
Thanks in Advance.
Hi,
I am facing the same issue. Can u please help me how did you solve it.
Thanks in advance.
Similar Messages
-
Golden gate extract and replicate process are not running.
All,
I am trying replicate data between two oracle databases using golden gate.
I am trying this scenario in a single machine(two databases and golden gate are on same windows machine)
1. I have two databases PROD, UAT both are running on 11.2 oracle home.
2. Created the ggate user both the databases, and enabled supplemental logging.
3. Ran the following scripts in both databases.
SQL> @marker_setup.sql
SQL> @ddl_setup.sql
SQL> @role_setup.sql
SQL> grant GGS_GGSUSER_ROLE to ggate;
SQL> @ddl_enable.sql
4. Connected the source database (PROD) in ggsci prompt
GGSCI (home-c07402bbc5) 79> add extract ext1, tranlog, begin now
add exttrail C:\app\Bhanu\Goldengate\lt, extract ext1
edit params ext1
EXTRACT ext1
USERID ggate@PROD, PASSWORD 123456
RMTHOST home-c07402bbc5, MGRPORT 7840
rmttrail C:\app\Bhanu\Goldengate\lt
ddl include mapped objname bhanu.* // bhanu is a schema in PROD database.
TABLE bhanu.*;
5. Connected the target database(UAT) in ggsci prompt
add checkpointtable ggate.checkpoint
edit params ./GLOBALS
GGSCHEMA ggate
CHECKPOINTTABLE ggate.checkpoint
add replicat rep1, exttrail C:\app\Bhanu\Goldengate\Mt,checkpointtable ggate.checkpoint
edit params rep1
replicat rep1
ASSUMETARGETDEFS
userid ggate@UAT, password 123456
discardfile C:\app\Bhanu\Goldengate\rep1_discard.txt, append, megabytes 10
map bhanu.*, target kiran.*;
After that started the extract, replicat using
start extract ext1, start replicate rep1
Now the status.
GGSCI (home-c07402bbc5) 103> info all
Program Status Group Lag Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED EXT1 00:00:00 00:11:43
REPLICAT STOPPED REP1 00:00:00 00:21:16
Can you please help me what is wrong in my setup and why extract and replicate process are not running.
Edited by: user12178861 on Nov 19, 2011 11:22 AMThanks for your quick reply.
I have done few changes but extract, replicate process not running.
couple of points I would like to share with you regarding my setup.
1. I am using single golden date instance to replicate the data between PROD and UAT databases.
2. GGSCI (home-c07402bbc5) 1> dblogin userid ggate@PROD,PASSWORD 123456
Successfully logged into database.
GGSCI (home-c07402bbc5) 2> info all
Program Status Group Lag Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED EXT1 00:00:00 01:23:29
REPLICAT STOPPED REP1 00:00:00 01:33:02
GGSCI (home-c07402bbc5) 3> VIEW REPORT EXT1
ERROR: REPORT file EXT1 does not exist.
GGSCI (home-c07402bbc5) 4> start er *
Sending START request to MANAGER ...
EXTRACT EXT1 starting
Sending START request to MANAGER ...
REPLICAT REP1 starting
GGSCI (home-c07402bbc5) 5> VIEW REPORT EXT1
ERROR: REPORT file EXT1 does not exist.
GGSCI (home-c07402bbc5) 6> info all
Program Status Group Lag Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED EXT1 00:00:00 01:24:10
REPLICAT STOPPED REP1 00:00:00 01:33:44
Target :
GGSCI (home-c07402bbc5) 1> dblogin ggate@UAT,PASSWORD 123456
ERROR: Unrecognized parameter (GGATE@UAT), expected USERID.
GGSCI (home-c07402bbc5) 2> dblogin userid ggate@UAT,PASSWORD 123456
Successfully logged into database.
GGSCI (home-c07402bbc5) 5> add replicat rep1, exttrail C:\app\Bhanu\Goldengate/lt,checkpointtable ggate.checkpoint
ERROR: REPLICAT REP1 already exists.
GGSCI (home-c07402bbc5) 6> delete replicat rep1
Deleted REPLICAT REP1.
GGSCI (home-c07402bbc5) 7> add replicat rep1, exttrail C:\app\Bhanu\Goldengate/lt,checkpointtable ggate.checkpoint
REPLICAT added.
GGSCI (home-c07402bbc5) 8> edit params rep1
GGSCI (home-c07402bbc5) 9> start er *
Sending START request to MANAGER ...
EXTRACT EXT1 starting
Sending START request to MANAGER ...
REPLICAT REP1 starting
GGSCI (home-c07402bbc5) 10> info all
Program Status Group Lag Time Since Chkpt
MANAGER RUNNING
EXTRACT STOPPED EXT1 00:00:00 01:29:46
REPLICAT STOPPED REP1 00:00:00 00:00:48
3. Is mandatory that I need two golden gate instances running each side ?
Thanks for spending your time on this problem. -
Golden gate extract from multiple oracle db's on different servers
Hello,
I am new to golden gate and I want to know if is it possible to extract data from an oracle database which is on a different server? Below is the server list
Linux server 1: has oracle database (11.2.0.4) (a1db) and golden gate installed (11.2.1.0.3).
Linux server 2: has oracle database (11.2.0.4) (b1db)
a1db and b1db are not clustered, these are 2 separate instances on 2 different servers.
Is it possible to capture change data on b1db from GG installed linux server 1? I am planning to use classic capture.
architecture like below, can it be done? If so what option I will be using in the extract
Thanks,
ArunHere is something from my personal notes; hope this helps:
Standby or Off Host Environment
GoldenGate extracts, data pumps and replicats can all work with database environments accessed using TNS. When one of these processes needs to work with a database environment over TNS then instead of the following USERID specification:
setenv (ORACLE_SID = “GGDB")
USERID ggsuser, PASSWORD encrypted_password_cipher_text
The following USERID specification would be used:
USERID ggsuser@GGDB, PASSWORD encrypted_password_cipher_text
When this specification is used the setenv line is not required since the process will connect over TNS.
When a data pump or replicat is running in a standby or otherwise an off host environment the USERID specification above is the only special requirement. It is recommended that the TNS entry contains the necessary failover and service name configuration so that if or when switch over or fail over occurs, the process may continue once the environment is available again. if the data pump is using the PASSTHRU parameter then a USERID specification is not required. When the data pump is operating in PASSTHRU mode, it does not need a database connection to evaluate the metadata.
When a source extract is running in a standby or otherwise off host environment the USERID specification above is required as well as Archive Log Only mode. It is recommended that the TNS entry contains the necessary failover and service name configuration so that if or when switch over or fail over occurs, the process may continue once the environment is available again. The source extract requires a database connection in order to evaluate the metadata that occurs in the archived redo log. Since the source extract is running in an environment separate from the source database environment it is unable to read the online redo logs. Therefore it is required to be configured in Archive Log Only mode. If the environment that the source extract is running in is a standby environment, then it will evaluate the archived redo logs through switchover.
The standby or off host environment has minimal requirements. The requirements that need to be met are Oracle software availability and storage for archived redo logs. If the database environment where GoldenGate will be running is a standby database environment then GoldenGate can utilize the required shared libraries from the standby database environment. However if GoldenGate is being executed from a server environment does not contain a database environment, a client installation is required at a minimum. This will provide GoldenGate with the necessary shared libraries in order to satisfy it’s dynamically linked library dependencies. The archived redo logs must also be available for GoldenGate to read. They can be made available using a shared storage solution or with a dedicated storage solution. A standby database environment works well for this purpose as it is receiving archived redo logs on a regular basis. GoldenGate is able to leverage these archived redo logs and not impose any additional infrastructure requirements in order to evaluate and capture the data changes from the source database. In order for GoldenGate to be utilized with a standby database environment for archived redo log access, only a minimal standby database is required. Specifically the standby database needs to be be mountable so that it can accept archived redo logs. Since GoldenGate will connect to the primary database to evaluate the metadata contained in the archived redo logs, a complete standby database is not required. -
Oracle Golden Gate - Extract DDL only
Hi. We are working on a golden gate proof of concept. The way our configuration is set up, we want to pull changes from our standby to keep load low on the primary. This will require us to extract ddl changes from the primary, so my current plan is to put the dml on a 5 minute delay, and get the ddl immediately from the primary. I am running into two issues, one I cannot figure out the setting to get DDL only from the primary (right now I am getting both ddl and dml from the primary), and 2, I get the following error when retrieving data from the standby: 2015-04-16 20:08:40 ERROR OGG-00303 Oracle GoldenGate Capture for Oracle, ext1.prm: Invalid destination "+DATA/dgdemo/archivelog" specified for TRANLOGOPTION ALTARCHIVELOGDEST option, and I also get an error when I do do specify an archivelog destination. Can anyone point me to the appropriate settings. Below is the parameter file:
extract ext1
userid ggate password ggate
--TRANLOGOPTIONS ASMUSER sys@ASM ASMPASSWORD password
TRANLOGOPTIONS DBLOGREADER
TRANLOGOPTIONS DBLOGREADERBUFSIZE 2597152,ASMBUFSIZE 28000
TRANLOGOPTIONS ARCHIVEDLOGONLY
TRANLOGOPTIONS ALTARCHIVELOGDEST primary "+DATA/dgdemo/archivelog" RECURSIVE
discardfile ./dirrpt/ext1.dsc,purge
reportcount every 15 minutes, rate
exttrail ./dirdat/t1
table SCOTT.*;OGG does not support ALTARCHIVELOGDEST parameter in ALO mode till OGG version 12c.
Does GoldenGate Parameter ALTARCHIVELOGDEST Support ASM Diskgroups ? (Doc ID 1393059.1)
Also In order to run Extract in the ALO mode when archived logs are stored in ASM, the original database configuration must have complete file specification in log_archive_dest_n setting. Incomplete file specification leads ASM to ignore log_archive_format. An Incomplete file spec only contain the diskgroup name like +ASMDISK1.
Users should ensure log_archive_dest is set using complete file specification. In that case, log_archive_format is honored by ASM, and Extract will work correctly.
For example:
alter diskgroup asmdisk2 add directory '+ASMDISK2/archivedir'; -
Golden gate extract nt starting
Extract process not starting giving below error in the reoort file. What we understand form ht below error.
2013-05-09 04:03:25 ERROR OGG-00446 Checkpointing was not selected during initialization.
2013-05-09 04:03:25 ERROR OGG-01668 PROCESS ABENDING.As I can't move your thread, please open a new thread in the GG forum: GoldenGate
-
Golden gate pump process failing
Goldengate PUMP process is configured as given below:
GGSCI (cbidb006) 2> edit param pmpus1
"/goldengateUS/home/ggsus/dirprm/pmpus1.prm" 210 lines, 7217 characters
EXTRACT PMPUS1
RMTHOST 172.16.251.82, MGRPORT 7809
RMTTRAIL /home/ggs/bobus/rmttrailloc/us
PASSTHRU
TABLE TBAADM.NAME_AND_ADD_TABLE;
GGSCI> ADD EXTRACT PMPUS1, EXTTRAILSOURCE /goldengateUS/home/ggsus/dirdat/trailus/us
GGSCI> ADD RMTTRAIL /home/ggs/bobus/rmttrailloc/us, EXTRACT PMPUS1, MEGABYTES 3
While starting the PUMP process, the following error occured in source & target server.
ON SOURCE
2012-06-12 13:42:34 WARNING OGG-01223 Oracle GoldenGate Capture for Oracle, pmpus1.prm: TCP/IP error 239 (Connection refused).
2012-06-12 13:43:14 WARNING OGG-01223 Oracle GoldenGate Capture for Oracle, pmpus1.prm: TCP/IP error 239 (Connection refused).
2012-06-12 13:43:54 WARNING OGG-01223 Oracle GoldenGate Capture for Oracle, pmpus1.prm: TCP/IP error 239 (Connection refused).
2012-06-12 13:44:34 ERROR OGG-01224 Oracle GoldenGate Capture for Oracle, pmpus1.prm: TCP/IP error 239 (Connection refused); retries exceeded.
2012-06-12 13:44:34 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, pmpus1.prm: PROCESS ABENDING.
ON TARGET
2012-06-12 13:44:04 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from EXTRACT on host ::ffff:172.16.2.50 (START SERVER CPU -1 PRI -1 TIMEOUT 300 PARAMS ).
2012-06-12 13:44:04 INFO OGG-01677 Oracle GoldenGate Collector for Oracle: Waiting for connection (started dynamically).
2012-06-12 13:44:04 ERROR OGG-00303 Oracle GoldenGate Collector for Oracle: TCP/IP bind error 98 (Address already in use).
2012-06-12 13:44:04 ERROR OGG-01668 Oracle GoldenGate Collector for Oracle: PROCESS ABENDING.
Pls help. Thanks2. What I understood is, manager (target) process start the collector on port which is defined in the dynamicportlist paramter (7840-7849). For each server, it will start from 7840 or keep on incrementing one until 7849. Thats why I have opened respective ports between the source server to target server. I have taken 2 ports for each pump process.
ie
server1 (5 DBs) to target - 7809, 7840-7849 (for 5 pump process, 10 PORTS)
server2 (2 DBs) to target - 7809, 7840-7843 (for 2 pump process, 4 PORTS)
server3 (4 DBs) to target - 7809, 7840-7847 (for 4 pump process, 8 PORTS)
server4 (5 DBs) to target - 7809, 7840-7849 (for 5 pump process, 10 PORTS)
server5 (4 DBs) to target - 7809, 7840-7847 (for 4 pump process, 8 PORTS)
Pls clarrify the port concept for collector process.What i mean to say is that the way you are reserving the ports; how do you know that say for Server5 the collector will use the port from 7840-7849 only and not 7849 ?
The port for the collector is decided by the range defined on the target mgr and it may use any port from that range for accepting the requests from any of the extract pumps.
Edited by: amardeep.sidhu on Jun 13, 2012 3:25 PM -
How many GOLDEN GATE extracts should I create for 300 schemas
I have a question.I have 300 schemas and each schema has at least 120-130 tables which are not too big.I have to replicate all the schemas.What would be the best way to do it we have to also consider the memory we don't have much of memory available on source.I mean how many extract should I create.since it is also possible to create only one extract and we can add all schemas. what would be the best possible suggestion.should I create multiple extract lets say 10-20 and divide between them.or a single schema would be ok ??.
can anyone suggest me something !!!
Thanks in advance...The limit of 300 processes (extract and replicats) per manager as raised to 5000 in v11.2.1.
You could certainly have 10 extracts:
Extract 1
Schema1.*;
Schema2.*;
etc
Extract 2
Schema31.*;
Schema32.*;
etc
The main things to think of:
Are their transactions that span schemas? Those should be in the same extract.
Can the extract keep up with the volume from those 30 (or more) schemas?
If I have to do maintainence on one schema and have to bring down the extract... are the other 29 schemas ok with this?
Maybe the volume is such that you can put all 300 in one extract? -
Golden Gate: Extract going down with below warnings
2011-01-19 15:57:11 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXT1 starting.
2011-01-19 15:57:11 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, ext1.prm: EXTRACT EXT1 starting.
2011-01-19 15:57:11 WARNING OGG-01573 Oracle GoldenGate Capture for Oracle, ext1.prm: br_validate_bcp: failed in call to: ggcrc64valid.
2011-01-19 15:57:11 WARNING OGG-01573 Oracle GoldenGate Capture for Oracle, ext1.prm: br_validate_bcp: failed in call to: br_validate_bcp.please find below the result of it:-
GGSCI (orkxd1dmodidb01.espdev.aurdev.national.com.au) 1> view report ext1
Oracle GoldenGate Capture for Oracle
Version 11.1.1.0.0 Build 078
Linux, x64, 64bit (optimized), Oracle 11 on Jul 28 2010 14:58:37
Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
Starting at 2011-03-15 14:53:13
Operating System Version:
Linux
Version #1 SMP Tue Feb 10 15:14:47 EST 2009, Release 2.6.18-128.1.1.0.1.el5
Node: orkxd1dmodidb01.espdev.aurdev.national.com.au
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: 16444
Description:
** Running with the following parameters **
EXTRACT ext1
SETENV (ORACLE_HOME = "/oracle/app/ora11gdb/database")
Set environment variable (ORACLE_HOME=/oracle/app/ora11gdb/database)
SETENV (ORACLE_SID = "DEVODI1")
Set environment variable (ORACLE_SID=DEVODI1)
SETENV (NLS_LANG = "AMERICAN_AMERICA.AL32UTF8")
Set environment variable (NLS_LANG=AMERICAN_AMERICA.AL32UTF8)
USERID ggs_owner, PASSWORD *********
EXTTRAIL /goldengate/dirdat/lt
GETENV (ORACLE_HOME)
ORACLE_HOME = /oracle/app/ora11gdb/database
GETENV (ORACLE_SID)
ORACLE_SID = DEVODI1
GETENV (NLS_LANG)
NLS_LANG = AMERICAN_AMERICA.AL32UTF8
TRANLOGOPTIONS ASMUSER sys@+ASM, ASMPASSWORD ******
DISCARDFILE /goldengate/dirdat/capt.dsc, PURGE
RMTHOST orkxd1dmodidb01, MGRPORT 7841
TABLE SRC_FC.ch_acct_cust_xref;
TABLE SRC_FC.ci_custmast;
TABLE SRC_FC.ci_custrel;
TABLE SRC_FC.cop_applicant_details;
TABLE SRC_FC.cop_cust_changed_information;
TABLE SRC_FC.cop_applicant_state;
TABLE SRC_FC.CS_HO_CUSTACCTXREF;
Bounded Recovery Parameter:
BRINTERVAL = 4HOURS
BRDIR = /goldengate
2011-03-15 14:53:13 WARNING OGG-01573 br_validate_bcp: failed in call to: ggcrc64valid.
2011-03-15 14:53:13 WARNING OGG-01573 br_validate_bcp: failed in call to: br_validate_bcp. -
Hi all, i was seeing 20 minutes lag in pump activity while working on Golden Gate for our SIT environment. Any way to minimize the lag caused by pump activity?
For only 300MB of trail files to be pumped it took 20 minutes of lag to pump them on to target server. Any help on this is appreciated.
Thanks in advance..Hi steven for your questions:
What have you done to tune your network?
I did nothing.
Are you using a data pump? Do you see checkpoint values increasing in primary extract, but not as fast in the data pump?
i am using golden gate pump process, but not data pump. Actually i am seeing lag in checkpoint time. It goes on increasing.
Are you using multiple process groups?
Yes i am using one extract and two pump process for different targets. -
How to use Golden Gate for ETL purpose
Hi Oracle Gurus, i have a situation where i am thinking to replace our oracle PL/SQL package with Golden Gate to process our ETL.
I mean we use PL/SQL package, which has several procedures and functions in it and we process our application data using this package to transform that data for our downstream clients.
I was just wondering how we can achieve this using golden gate? Any suggestions will be appreciated.
Thanks a lot :)Hi Annamalai
We have a ETL login in our local database, and ETL processed data is pulled by our down stream clients, We are seeing that current ETL is not capable enough to execute such a huge load. So we wanted to port our raw data to secondary database and run ETL login on secondary database and to parallelize it accordingly.
I was just thinking, can we use ETL logic inside OGG parameters, so we can load transformed data to secondary database. So no need of running ETL in secondry database. May be i sound little foolish, but just a thought.
Thanks
Abhi -
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 -
Golden Gate for mysql5.5 extract is Abended,and not error in the file
Dear All,
golden gate for mysql5.5 to oracle 11g,extract is Abended ,but there didn't have error in the log , And sometimes the successful extraction some records;
extract :
EXTRACT EXT_M1
TRANLOGOPTIONS AltLogDest /mydata/mysqllog/binlog/binlog.index
SOURCEDB [email protected]:16052, USERID mama,PASSWORD mama
sqlexec "set names gbk;"
EXTTRAIL dirdat/m1
Dynamicresolution
TABLE mama.merchants_member_card_customer;
datapump:
EXTRACT DPRD_M1
SOURCEDB [email protected]:16052, USERID mama,PASSWORD mama
RMTHOST 192.168.2.57, MGRPORT 7089, compress --COMPRESSUPDATESETWHERE
RMTTRAIL /home/oracle/goldengate/dirdat/m1
NOPASSTHRU
TABLE mama.merchants_member_card_customer;
GGSCI>>info all
Program Status Group Lag at Chkpt Time Since Chkpt
MANAGER RUNNING
EXTRACT RUNNING DPRD_M1 00:00:00 00:00:01
EXTRACT ABENDED EXT_M1 00:11:49 00:01:56
REPORT:
GGSCI>>view report ext_m1
Oracle GoldenGate Capture for MySQL
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230
Linux, x64, 64bit (optimized), MySQL Enterprise on Apr 23 2012 05:23:34
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-09-29 18:38:08
Operating System Version:
Linux
Version #1 SMP Wed Jun 13 18:24:36 EDT 2012, Release 2.6.32-279.el6.x86_64
Node: M46
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: 6322
Description:
** Running with the following parameters **
2013-09-29 18:38:08 INFO OGG-03035 Operating system character set identified as UTF-8. Locale: zh_CN, LC_ALL:.
EXTRACT EXT_M1
TRANLOGOPTIONS AltLogDest /mydata/mysqllog/binlog/binlog.index
SOURCEDB [email protected]:16052, USERID mama100,PASSWORD ****************
sqlexec "set names gbk;"
Executing SQL statement...
2013-09-29 18:38:08 INFO OGG-00893 SQL statement executed successfully.
EXTTRAIL dirdat/m1
Dynamicresolution
TABLE mama100.merchants_member_card_customer;
2013-09-29 18:38:08 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/goldengate/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:
MySQL
Server Version: 5.5.24-patch-1.0-log
Client Version: 6.0.0
Host Connection: 192.168.2.46 via TCP/IP
Protocol Version: 10
2013-09-29 18:38:08 INFO OGG-01056 Recovery initialization completed for target file dirdat/m1000000, at RBA 1295, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01478 Output file dirdat/m1 is using format RELEASE 11.2.
2013-09-29 18:38:08 INFO OGG-01026 Rolling over remote file dirdat/m1000000.
2013-09-29 18:38:08 INFO OGG-00182 VAM API running in single-threaded mode.
2013-09-29 18:38:08 INFO OGG-01515 Positioning to begin time 2013-9-29 06:26:18.
** Run Time Messages **
2013-09-29 18:38:08 INFO OGG-01516 Positioned to Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01517 Position of first record processed Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
TABLE resolved (entry mama100.merchants_member_card_customer):
TABLE mama100."merchants_member_card_customer";
Using the following key columns for source table mama100.merchants_member_card_customer: id.
2013-09-29 18:38:08 INFO OGG-01054 Recovery completed for target file dirdat/m1000001, at RBA 1316, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01057 Recovery completed for all targets.
ggsevt:
2013-09-29 18:38:08 INFO OGG-00963 Oracle GoldenGate Manager for MySQL, mgr.prm: Command received from GGSCI on host localhost (START EXTRACT EXT_M1 ).
2013-09-29 18:38:08 INFO OGG-00975 Oracle GoldenGate Manager for MySQL, mgr.prm: EXTRACT EXT_M1 starting.
2013-09-29 18:38:08 INFO OGG-00992 Oracle GoldenGate Capture for MySQL, ext_m1.prm: EXTRACT EXT_M1 starting.
2013-09-29 18:38:08 INFO OGG-03035 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Operating system character set identified as UTF-8. Locale: zh_CN, LC_ALL:.
2013-09-29 18:38:08 INFO OGG-00893 Oracle GoldenGate Capture for MySQL, ext_m1.prm: SQL statement executed successfully.
2013-09-29 18:38:08 INFO OGG-01815 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Virtual Memory Facilities for: COM
anon alloc: mmap(MAP_ANON) anon free: munmap
file alloc: mmap(MAP_SHARED) file free: munmap
target directories:
/home/goldengate/dirtmp.
2013-09-29 18:38:08 INFO OGG-00993 Oracle GoldenGate Capture for MySQL, ext_m1.prm: EXTRACT EXT_M1 started.
2013-09-29 18:38:08 INFO OGG-01056 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Recovery initialization completed for target file dirdat/m1000000, at RBA 1295, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01478 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Output file dirdat/m1 is using format RELEASE 11.2.
2013-09-29 18:38:08 INFO OGG-01026 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Rolling over remote file dirdat/m1000000.
2013-09-29 18:38:08 INFO OGG-00182 Oracle GoldenGate Capture for MySQL, ext_m1.prm: VAM API running in single-threaded mode.
2013-09-29 18:38:08 INFO OGG-01515 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Positioning to begin time 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01516 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Positioned to Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01517 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Position of first record processed Log Number: 86
Record Offset: 65223906, 2013-9-29 06:26:18.
2013-09-29 18:38:08 INFO OGG-01054 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Recovery completed for target file dirdat/m1000001, at RBA 1316, CSN 000086|000000065228677.
2013-09-29 18:38:08 INFO OGG-01057 Oracle GoldenGate Capture for MySQL, ext_m1.prm: Recovery completed for all targets.
2013-09-29 18:38:09 INFO OGG-01054 Oracle GoldenGate Capture for MySQL, dprd_m1.prm: Recovery completed for target file /home/oracle/goldengate/dirdat/m1000002, at RBA 1435, CSN 000086|000000055512672.
2013-09-29 18:38:09 INFO OGG-01057 Oracle GoldenGate Capture for MySQL, dprd_m1.prm: Recovery completed for all targets.GGSCI>>info ext_m1 showch
EXTRACT EXT_M1 Last Started 2013-09-29 18:38 Status ABENDED
Checkpoint Lag 00:11:49 (updated 00:12:05 ago)
VAM Read Checkpoint 2013-09-29 18:26:18.665841
Current Checkpoint Detail:
Read Checkpoint #1
VAM External Interface
Startup Checkpoint (starting position in the data source):
Timestamp: 2013-09-29 18:26:18.665841
Recovery Checkpoint (position of oldest unprocessed transaction in the data source):
Timestamp: 2013-09-29 18:26:18.665841
Current Checkpoint (position of last record read in the data source):
Timestamp: 2013-09-29 18:26:18.665841
Write Checkpoint #1
GGS Log Trail
Current Checkpoint (current write position):
Sequence #: 0
RBA: 917
Timestamp: 2013-09-29 18:30:55.655570
Extract Trail: dirdat/m1
CSN state information:
CRC: 20-82-1D-34
CSN: Not available
Header:
Version = 2
Record Source = A
Type = 8
# Input Checkpoints = 1
# Output Checkpoints = 1
File Information:
Block Size = 2048
Max Blocks = 100
Record Length = 20480
Current Offset = 0
Configuration:
Data Source = 5
Transaction Integrity = 1
Task Type = 0
Status:
Start Time = 2013-09-29 18:38:08
Last Update Time = 2013-09-29 18:38:08
Stop Status = A
Last Result = 0 -
Sequence Error During Golden Gate Replication! Need Hints
Dear All,
I am replicating 2 databases one way, from production to standby using golden gate.
Both databases are 11gR2 and on Linux.
Replication runs smooth for couple of days and then ends up with this error:
ERROR OGG-01296 Error mapping from ETISLBILLING.PAR_TBLPARNODEIDENTI to ETISLBILLING.PAR_TBLPARNODEIDENTI.
Parent Ket Not Found ETISLBILLING.FK_PARTNERNODE_IDENT
Trigger : ETISLBILLING.TRG_PAR_TBLPARTNERNODE Sequence : SEQ_PAR_TblPartnerIdenti
ORA-20000: Sequence value cannot be changed.
Main error is that value of sequence that is executed during the after insert trigger, does not change and trigger raise error hence the replication process is stopped.
I am just worried that the same triggers and sequences are executed successfully on production database and standby database has is exactly the same as production.
Is there some special treatment for sequences?
Kindly share your experience and give tips to handle this situation
Regards, ImranHi,
Hope this helps
Jan S.
FROM MOS: OGG Replicat Encounters OGG-01396 OGG-00869 ORA-01400 on Primary Key Column [ID 1308824.1]
Cause
==================
from the replicat report, first this error occurs:
WARNING OGG-01396 A complete after image is not available
in <schema.table> at rba 123456 in file ./dirdat/yyy, while inserting
a row into <schema.table> due to missing target row for a key update operation.
NOCOMPRESSUPDATES or FETCHOPTIONS FETCHPKUPDATECOLS may be specified in the
EXTRACT parameter file to include a complete image for key update operations.
The offending record is a primary key update, ... probably the key
<to be found at the mentioned rba 123456 in file ./dirdat/yyy> is not available on target
if the PK is not available at target side, then this error is expected, because HANDLECOLLISIONS turns the PK update into an insert as result of no target record to update.
The problem is that the source PK update record doesn't contain all the after image columns. That is also expected because the update record is intended to only update the affected columns.
As a workaround use FETCHOPTIONS FETCHPKUPDATECOLS on the capture/extract side to get all the after images of the record so that when a HANDLECOLLISIONS logic kicks in, it will be
able to successfully convert the original PK update into insert with all the after image present.
Solution
==================
First check the affected trail file yyy at RBA 123456 with logdump to verify, if the PK update does not have the complete key information as described.
If that is the case and the target table does not have the corresponding PK entry, this issue is hit. Otherwise it is something different.
As a workaround use
==================
FETCHOPTIONS FETCHPKUPDATECOLS on the capture/extract side to get all the after images of
the record so that when a HANDLECOLLISIONS logic kicks in, it will be
able to successfully convert the original PK update into insert with all the after image present. -
Golden Gate Error while replicating 2 oracle databases, reason RAC
Dear All,
My RAC database and the standby database is 11gR2 on Linux.
I was configuring simple replication between RAC and standby database using Golden Gate.
When I start the extract process it does not start on the source database that is RAC, I am configuring golden gate on one node of the RAC.
Here is what I get in my log file:
2011-12-25 15:20:39 INFO OGG-00963 Oracle GoldenGate Manager for Oracle, mgr.prm: Command received from GGSCI on host 10.168.20.31 (START EXTRACT EXT1 ).
2011-12-25 15:20:39 INFO OGG-00975 Oracle GoldenGate Manager for Oracle, mgr.prm: EXTRACT EXT1 starting.
2011-12-25 15:20:39 INFO OGG-00992 Oracle GoldenGate Capture for Oracle, ext1.prm: EXTRACT EXT1 starting.
2011-12-25 15:20:39 INFO OGG-01635 Oracle GoldenGate Capture for Oracle, ext1.prm: BOUNDED RECOVERY: reset to initial or altered checkpoint.
*2011-12-25 15:20:41 WARNING OGG-01423 Oracle GoldenGate Capture for Oracle, ext1.prm: No valid default archive log destination directory found for thread 1.*
*2011-12-25 15:20:41 WARNING OGG-01423 Oracle GoldenGate Capture for Oracle, ext1.prm: No valid default archive log destination directory found for thread 2.*
2011-12-25 15:20:42 INFO OGG-00546 Oracle GoldenGate Capture for Oracle, ext1.prm: Default thread stack size: 10485760.
2011-12-25 15:20:42 ERROR OGG-00446 Oracle GoldenGate Capture for Oracle, ext1.prm: The number of Oracle redo threads (2) is not the same as the number of checkpoint threads (1). EXTRACT groups on RAC systems should be created with the THREADS parameter (e.g., ADD EXT <group name>, TRANLOG, THREADS 2, BEGIN...).
2011-12-25 15:20:42 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, ext1.prm: PROCESS ABENDING.
Kindly suggest what I have to do to fix this error.
Regards,
ImranFor more understanding of the problem here is the output of command:
view report ext1
GGSCI (racnode1) 2> view report ext1
Oracle GoldenGate Capture for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100
Linux, x64, 64bit (optimized), Oracle 11g on Oct 7 2011 05:37:17
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
Starting at 2011-12-26 10:50:37
Operating System Version:
Linux
Version #1 SMP Fri Aug 26 19:08:58 EDT 2011, Release 2.6.18-274.3.1.el5xen
Node: racnode1
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: 11430
Description:
** Running with the following parameters **
extract group
extract ext1
connection to the database
userid ggs_owner, password ******
hostname and port for trail
rmthost x.x.x.x, mgrport ****
--path and name for the trail
rmttrail /u01/app/ggs/dirdat/lt
--DDL Support
ddl include mapped objname radius_dsl.*;
--DML
table test.*;
2011-12-26 10:50:37 INFO OGG-01635 BOUNDED RECOVERY: reset to initial or altered checkpoint.
Bounded Recovery Parameter:
Options = BRRESET
BRINTERVAL = 4HOURS
BRDIR = /u01/app/ggs
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 8G
CACHEBUFFERSIZE (soft max): 4M
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 16G
CACHESIZEMAX (strict force to disk): 13.99G
Database Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Database Language and Character Set:
NLS_LANG environment variable specified has invalid format, default value will be used.
NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "WE8MSWIN1252"
Warning: your NLS_LANG setting does not match database server language setting.
Please refer to user manual for more information.
2011-12-26 10:50:38 INFO OGG-00546 Default thread stack size: 10485760.
2011-12-26 10:50:38 INFO OGG-01515 Positioning to begin time Dec 26, 2011 9:35:19 AM.
Here is the output of command (From target database)
view report rep1
Oracle GoldenGate Delivery for Oracle
Version 11.1.1.1.2 OGGCORE_11.1.1.1.2_PLATFORMS_111004.2100
Linux, x64, 64bit (optimized), Oracle 11g on Oct 7 2011 05:44:59
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
Starting at 2011-12-25 11:24:46
Operating System Version:
Linux
Version #1 SMP Tue May 31 13:22:04 EDT 2011, Release 2.6.18-238.12.1.el5
Node: standbydb.etisalcom.private
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: 8812
Description:
** Running with the following parameters **
Replicat group
replicat rep1
--source and target definitions
ASSUMETARGETDEFS
target database login
userid ggs_owner, password ******
file for dicarded transaction
discardfile /u01/app/ggs/discard/rep1_discard.txt, append, megabytes 10
--ddl support
DDL
Specify table mapping -
map test.*, target test.*;
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 512M
CACHEBUFFERSIZE (soft max): 4M
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 1G
CACHESIZEMAX (strict force to disk): 881M
Database Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Database Language and Character Set:
NLS_LANG environment variable specified has invalid format, default value will be used.
NLS_LANG environment variable not set, using default value AMERICAN_AMERICA.US7ASCII.
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "WE8MSWIN1252"
Warning: your NLS_LANG setting does not match database server language setting.
Please refer to user manual for more information.
** Run Time Messages **
I have also observed that the process extract stops after few minutes. When it stops and I view the log it says:
*ERROR OGG-00446 Oracle GoldenGate Capture for Oracle, ext1.prm: error 2 (No such file or directory) opening redo log +FRA/racdb/archivelog/1_12041_763744886.dbf*
Means it is not getting the path of ASM archive log destination.
what should I do in this case, kindly help.
Regards,
Imran -
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
Maybe you are looking for
-
Re: Satellite U300 - Optical drive no longer registers after prog uninstall
Hi, I recently uninstalled a programme for a DV camera on my Satellite U300. After the uninstall, I am no longer able to use the optical drive. If I put a cd/dvd into the drive it will 'fire up' however it will not register with the laptop to enable
-
Template Cell Background Color
Hi, I'm creating Dreamweaver templates with the pages built from them being edited in Contribute. There is a need for the Contribute users to be able to change the background color of individual cells in a table (on a page built from a DWT). I can'
-
Horizontal spry menu dropdowns not displaying properly in IE7
Hi, Grateful for any help! I have a dreamweaver template which works fine on a Mac with Firefox and Safari, but when opened in IE7 on a PC the menu bar accros the top is ok but the dropdowns appear as a horizontal list, instead of vertical, and the
-
Guest Cluster error in Hyper-V Cluster
Hello everybody, in my environment I do have an issue with failover clusters (Exchange, Fileserver) while performing a live migration of one virtual clusternode. The clustergroup is going offline. The environment is the following: 2x Hyper-V Clusters
-
Hallo! Beim Exportieren eines 40-Minuten-Videos mit 1280*720p erhalte ich von iMovie immer Fehler -49 ("Datei ist bereits mit Schreibzugriff geöffnet"). Diese Fehlermeldung finde ich merkwürdig, weil die Filmdatei neu erstellt werden soll und eine Da