Extract get Abendent
Hi,
I have GG 11.1.1.0.0 on oracle 11gR2/ASM with active-active configuration. The extract process is getting abendent. It seems GG is not able to connect to ASM instance. Below is the extract report.
Oracle GoldenGate Capture for Oracle
Version 11.1.1.0.0 Build 078
Windows x64 (optimized), Oracle 11 on Jul 28 2010 15:04:33
Copyright (C) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
Starting at 2011-06-17 09:03:19
Operating System Version:
Microsoft Windows Server 2008 R2 , on x64
Version 6.1 (Build 7600: )
Process id: 14140
Description:
** Running with the following parameters **
EXTRACT LOAD1
RMTHOST 164.156.155.129, MGRPORT 7809
USERID gguser, PASSWORD ******
TRANLOGOPTIONS asmuser userasm@+ASM1, ASMPASSWORD ********
THREADOPTION MAXCOMMITPROPAGATIONDELAY 11800
RMTTRAIL F:\GG\GG_HOME\dirdat\tt
TABLE HPMS.FACILITY;
TABLE HPMS.TRAFFOC_STAGE;
2011-06-17 09:03:19 INFO OGG-01635 BOUNDED RECOVERY: reset to initial or altered checkpoint.
Bounded Recovery Parameter:
Options = BRRESET
BRINTERVAL = 4HOURS
BRDIR = M:\GG\gg_home
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.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 64-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.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.
Maximum supported ASM read buffer size is 28 KB
Source Context :
SourceModule : [er.redo.ora]
SourceID : [er/redo/oracle/redoora.c]
SourceFunction : [REDO_validate_config]
SourceLine : [3652]
ThreadBacktrace : [7] elements
: [M:\GG\gg_home\extract.exe(ERCALLBACK+0x2521c4) [0x000000014032DED4]]
: [M:\GG\gg_home\extract.exe(ERCALLBACK+0x14a9d7) [0x00000001402266E7]]
: [M:\GG\gg_home\extract.exe(<RCALLBACK+0x14a9d7) [0x00000001400B79D3]]
: [M:\GG\gg_home\extract.exe(<RCALLBACK+0x14a9d7) [0x00000001400BE152]]
: [M:\GG\gg_home\extract.exe(releaseCProcessManagerInstance+0x1e7d0) [0x00000001403966B0]]
: [C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd) [0x00000000779EF56D]]
: [C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0x0000000077B22CC1]]
2011-06-17 09:03:20 ERROR OGG-00868 Attaching to ASM server +ASM1: (12514) ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
2011-06-17 09:03:20 ERROR OGG-01668 PROCESS ABENDING.
Kindly advice...
Thanks and regards...
Hi,
To ensure that the Oracle GoldenGate Extract process can connect to an ASM instance, do the following.
a. List the ASM instance in the tnsnames.ora file. The recommended method for connecting to an ASM instance when Oracle GoldenGate is running on the database host machine is to use a bequeath (BEQ) protocol.
NOTE: A BEQ connection does not work when using a remote Extract configuration. In that case, configure TNSNAMES with the TCP/IP protocol.
b. If using the TCP/IP protocol, verify that the Oracle listener is listening for new connections to the ASM instance.
The listener.ora file must contain an entry similar to the following.
SID_LIST_LISTENER_ASM =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = ASM)
(ORACLE_HOME = /u01/app/grid)
(SID_NAME = +ASM1)
NOTE: The BEQ protocol does not require a listener.
If Oracle 10g Automatic Storage Management (ASM) is in use, Oracle GoldenGate requires a user for the Extract process to access the ASM instance. Oracle GoldenGate does not support using operating-system authentication for the ASM user. You can use SYS user or any user with SYSDBA privileges in the ASM instance.
ASM password configuration
1 To view how the current ASM password file is configured, log on to the ASM instance and issue the following command in SQL*Plus:
SQL> SELECT name, value FROM v$parameter WHERE name = 'remote_login_passwordfile';
Please use the TRANLOGOPTIONS parameter with the ASMUSER and ASMPASSWORD options for the ASM user.
Example:TRANLOGOPTIONS ASMUSER sys@+ASM1, ASMPASSWORD asm321
Thanks & Regards
SK
Similar Messages
-
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 -
HI !
I have add extract in (sqlserver2005 standard sp3 11.2.1.0.2 ogg)
trying to replicate to oracle 11g xe.
ADD EXTRACT finance, TRANLOG, BEGIN NOW
EXTRACT ttext
SOURCEDB osdfsdfdsf,USERID sdfsdfsd, PASSWORD sdfsdfsdf &
AES128, ENCRYPTKEY securekey1
EXTTRAIL /V34016-01/dirdat/lt
TABLE dbo.*;
when i am starting
start extract ttext
it is showing error
can not create process 'extract' ,child process is no longer alive.
warnning 01742: mgr mgr returen with error response.
and info all is showing manager is running
but extract is abended and showing total time in time since chkpt.
yours sincerely
Edited by: 944768 on Sep 12, 2012 7:08 AMthank u.
After adding exttrail and
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT in prameter file it has started
but shwing below error. when using view report <ext>
with status running.
2012-09-12 21:47:58 WARNING OGG-00091 VAM Client Report <[mssqlvam::TruncMgr::
Timer] Unable to execute procedure. The database is not published. Execute the p
rocedure in a database that is published for replication. Error (-2147217900): U
nable to execute procedure. The database is not published. Execute the procedure
in a database that is published for replication.
yours sincerely
Edited by: 944768 on Sep 12, 2012 9:58 PM
Edited by: 944768 on Sep 12, 2012 9:59 PM -
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 -
Extract is abended and looking 8 days old archive log.
I was doing some maintenance and I stop all the extracts and replicats. Couple of my extracts are stopped and looking for 8 days old archive logs. Please tell me how can I recover from that situation. I dont have that archive any more we only keep 5days arch.
GGSCI (ggastdb01.infra.mms) 5> info e_it860t
EXTRACT E_IT860T Initialized 2011-02-08 16:04 Status STOPPED
Checkpoint Lag 00:10:05 (updated 04:34:30 ago)
Log Read Checkpoint Oracle Redo Logs
2011-02-24 09:53:04 Seqno 15721, RBA 103192
Report file Error:
2011-02-24 14:34:04 ERROR OGG-00446 Could not find archived log for sequence 15494 thread 1 under alternative or default destinations. SQL <SELECT name FROM v$archived_log WHERE sequence# = :ora_seq_no AND thread# = :ora_thread AND resetlogs_id = :ora_resetlog_id AND archived = 'YES' AND deleted = 'NO>. Last alternative log tried /u10/oradata/PPMTST10/arch/1_15494_721133148.arc, error retrieving redo file name for sequence 15494, archived = 1, use_alternate = 0Not able to establish initial position for sequence 15494, rba 68728848.
2011-02-24 14:34:04 ERROR OGG-01668 PROCESS ABENDING.If you don't have the log file(s) in question, then you need to:
re-sync the databases/schema/tables, or
advance the CSN to a point in time where you do have log files and deal with missing data separately
Is an archived transaction log missing?
● Extract reads the archived logs when an online log is not available. If you started
Extract after it was stopped for a long time, the records it needs to process might
already be archived away.
● Restore the archive log that is specified in the error message in the report file, and also
restore all subsequent logs.
NOTE Extract should not be stopped for a long time. If you must stop Extract, make
certain that archives are available all the way back to the time that you stopped
Extract. If Extract remains stopped for an exceptionally long time, it might be more
practical to resynchronize the table(s) rather than wait for Extract to go through the
archives and catch up. -
Hi experts,
we are unable to start the extract process due to below error message,
2012-07-31 13:35:37 OGG-00455 Problem in resolving [ACCOUNTS.COUNTRY]: Failed to validate table ACCOUNTS
.COUNTRY. The table is created with the NOLOGGING option, which is not supported. Extract may not be able to c
apture data from it., try to fix this issue in order to avoid possible fatal error.
This table statement is available in archive redolog file, while extract trying to fetch the details, its throwing error , is there any solution to how to fix the error.
SQL> SELECT force_logging FROM v$database;
FOR
NOHi,
Thanks,
If now i enabled the force logging in database level, then can we get the logging for exisiting table which was created before no logging mode? whether database automatically created the logs fore the objects which was created with no logging mode? please confirm. we are trying to replicate DDL and DML also. -
Extraction gets too slow at nights (finding the bottleneck)
Hi all,
i'm loading historic data from R/3 to BW. The extraction process usually takes 15 minutes per data package, but at nights some packages takes like 1 hr.
Can you helpme to understand in which step of the extraction the gap is ?
Here is a piece of the extraction log form R/3, where you can see the 1hr gap:
05:19:12 Call up of customer enhancement BW_BTE_CALL_BW2
05:19:12 Result of customer enhancement: 100.000 records
05:19:12 Call up of customer enhancement EXIT_SAPLRSAP_0
05:19:12 Result of customer enhancement: 100.000 records
05:19:14 Asynchronous sending of data package 88 in task
05:19:16 tRFC: Data package 87, TID = AC14030C07D946E10C
05:19:16 tRFC: Begin 07.09.2007 04:29:35, end 07.09.2007
06:46:15 Call up of customer enhancement BW_BTE_CALL_BW2
06:46:15 Result of customer enhancement: 100.000 records
06:46:15 Call up of customer enhancement EXIT_SAPLRSAP_0
06:46:15 Result of customer enhancement: 100.000 records
06:46:17 Asynchronous sending of data package 89 in task
06:46:21 tRFC: Data package 88, TID = AC14030C07D846E118
06:46:21 tRFC: Begin 07.09.2007 05:19:30, end 07.09.2007
The dotted line is the gap, i need to know what process of the extraction
is running in there.
Thanks a lot in advance !!Found it, the gap is on the extraction process.
-
TS4558 How to extract/get video(s) from an .iba file?
Good day! Is there an option to extract videos from an .iba file created using iBooks Author?
Although the author might have the original video, iBA's video optimizer has likely changed it and not always for the better. Investigating this kind of issue requires being able to unzip the *.ibooks file (I use "The Unarchiver" which does this well) in order to understand what the video optimizer has done. Very often, one will find an unnecessary increase in bit rate and consequent increase in file size.
-
I downloaded the CS5 Master Collection using the download manager but while extracting get an error
-4960?
Which operating system are you using? Is this a purchased product or a trial which you are trying to download?
-
Error: OGG-00146 - error 600 - Failed to connect to mysql database
Dear All,
I am replicating Data from MySQL to Oracle.
Version of my MySQL is Server version: 5.5.19 MySQL Enterprise Server - Advanced Edition
Version of Oracle is : Oracle 11gR2
My extract is giving the following error and I am unable to identify the problem:
*2012-12-25 14:18:48 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, netfors.prm: VAM function VAMInitialize returned unexpected result:*
error 600 - VAM Client Report <CAUSE OF FAILURE : Failed to connect to mysql database WHEN FAILED : While initializing mysql context WHERE FAILED :
MySQLBinLog Reader Module CONTEXT OF FAILURE : No Information Available!>
Following are the contents of my /etc/odbc.ini file
*[netfors]*
Driver = /usr/lib/libmyodbc3.so
Description = Connector/ODBC 3.51 Driver DSN
Server = 10.168.20.226
Port = 6629
User = replication
Password = ******
Database = netfors
Option = 3
Socket = /tmp/mysql_sandbox5519.sock
When i isql -v netfors replication ***** *
it say Connected!
This is my extract:
EXTRACT NETFORS
DBOPTIONS HOST 10.168.20.226, CONNECTIONPORT 6629
SOURCEDB [email protected]:6629, USERID replication, PASSWORD ******
RMTHOST 10.168.20.31, MGRPORT 7809
RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/n1
TRANLOGOPTIONS ALTLOGDEST /root/sandboxes/msb_5_5_19/data/mysql-bin.index
TABLE netfors.syslog;
Extract gets ABENDED
Kindly help on this.
Regards, ImranGot it solved some how, golden gate was trying to connect with default socket file.
*/tmp/mysql.sock*
while my socket file was
*/tmp/mysql_sandbox5519.sock*
I changed it to default and got rid of the error.
Thanks for the help.
Regards, Imran -
Extract is getting end-of-file on communication channel
Dear All,
source
Os-Solaris 10
db-10.2.0.4(2 node RAC)
GG-11.1.1.1.1
target
Os-Solaris 10
db-10.2.0.4(2 node RAC)
GG-11.1.1.1.1
Daily my extract process is getting abended with the following error..
2012-01-16 19:27:30 ERROR OGG-00665 Oracle GoldenGate Capture for Oracle, E99_CRM.prm: OCI Error describe for query (bad syntax) (status = 3113-ORA-03113: end-of-f
ile on communication channel), SQL< SELECT owner, object_name, object_type FROM dba_objects WHERE object_id = 1136215 AND object_type in ('TABLE',
'INDEX', 'INDEX PARTITION',>.
anybody faced this problem ..? because of this extract is getting abended .
Can someone help me , how to identify the rootcause for this issue.
Thanks a lot for your time and patience....
MvkLooks like your session was nailed by ORA-03113, which can happen in SQL*Plus or anywhere else a client is connecting to Oracle. You can check your network, sqlnet logs, and see the troubleshooting notes on MOS for this, because there are lots of reasons why this can occur. The good news is that this isn't necessarily a problem with GoldenGate.
-
GoldenGate - Oracle to MSSQL - handling DDL replication abends on replicat
Sorry for the cross-post. I clearly failed to actually read the "there's a GoldenGate forum" sticky...
Hello -
Very much a GoldenGate noob here, so please excuse me if I fumble on the terms / explanations - still learning.
We've recently been lucky enough to have a GoldenGate pump put into our campus environment to support our data warehouse. We don't manage the pump or source systems - just the target.
Pump: GoldenGate 11.1.1.1
Source: Oracle 11g
Target: MSSQL 2008R2
~5,000 tables of hugely varying sizes
The extract is apparently configured to push DDL changes, which is clearly not going to work with a MSSQL 2008 R2 target. We're getting abend messages on the replicat and I'd like to know if we can bypass them on the replicat or need to ask that the extract process be modified to exclude DDL operations.
The replicat error logs show exception:
OGG-00453: DDL Replication is not supported for this database
On the replicat I've tried including:
DDL EXCLUDE ALL
DDLERROR DEFAULT DISCARD (or DDLERROR DEFAULT IGNORE - neither let the process continue)
The replicat just abends with the same OGG-00453 exception.
My question: Can I gracefully handle these abends on the replicat? Or do I need to request the extract be updated with "DDL EXCLUDE ALL." Ideally, we can handle this on the replicat - I'm trying to be considerate of the main GoldenGate admin's time and also avoid any disruption of the extract.
Any direction / info / ideas much appreciated.
Thank you,
Eric924681 wrote:
Sorry for the cross-post. I clearly failed to actually read the "there's a GoldenGate forum" sticky...
Hello -
Very much a GoldenGate noob here, so please excuse me if I fumble on the terms / explanations - still learning.
We've recently been lucky enough to have a GoldenGate pump put into our campus environment to support our data warehouse. We don't manage the pump or source systems - just the target.
Pump: GoldenGate 11.1.1.1
Source: Oracle 11g
Target: MSSQL 2008R2
~5,000 tables of hugely varying sizes
The extract is apparently configured to push DDL changes, which is clearly not going to work with a MSSQL 2008 R2 target. We're getting abend messages on the replicat and I'd like to know if we can bypass them on the replicat or need to ask that the extract process be modified to exclude DDL operations.
The replicat error logs show exception:
OGG-00453: DDL Replication is not supported for this database
On the replicat I've tried including:
DDL EXCLUDE ALL
DDLERROR DEFAULT DISCARD (or DDLERROR DEFAULT IGNORE - neither let the process continue)
The replicat just abends with the same OGG-00453 exception.
My question: Can I gracefully handle these abends on the replicat? Or do I need to request the extract be updated with "DDL EXCLUDE ALL." Ideally, we can handle this on the replicat - I'm trying to be considerate of the main GoldenGate admin's time and also avoid any disruption of the extract.
Any direction / info / ideas much appreciated.
Thank you,
EricI find strange that DDLERROR DEFAULT IGNORE does not work, are you sure you placed it properly? did you restarted the replicats after doing the change?
Why dont you try specifying the error like:
DDLERROR <error> IGNORE -
Instance crash on RAC will impact goldengate extract process?
Dear All,
DB Version: 11.2.0.3
GG version: 11.2.0.1
Could you please let me know, how gg works when a instance crashes in a RAC cluster. Will extract proess get abend or extract will continue to capture
Thank you very much in advance
Regards
MvkIf GG is configured properly for the RAC, the GG manager should start extract on the living node and there should not be any data loss.
Please refer to Oracle documentation on how to configure GG in RAC. -
Can an Extract Process be stopped?
Hi can a extract process be stopped, i know we can stop replicat process, since extract is the one which stores changes of DB and sends to replicat, even replicat is stopped or abended we can assure that still trails exits and we can bring DB to sync.
What is the case if extract process got abended or stopped abruptly, what is the immediate solution to bring DB to sync?
Anybody can you guide me how to bring DB to sync if extract is stopped or abended?
Thank YouHi,
Yes, Extract can be stopped for brief period of time as part of maintainance and can be started later. Extract may be stopped as part of planned mantainance or may get abended due to various issues, in such scenarios it can be restarted. When it restarts it starts processing the data from recovery checkpoint.
Recovery Checkpoint - The position in the data source of the record containing the oldest transaction not yet processed by Extract.
Current Checkpoint - The position of the last record read by Extract in the data source.
As part of Recovery checkpoint and current checkpoint information below details are also stored respectively.
Thread # - The number of the Extract thread that made the checkpoint, if Oracle GoldenGate is running in an Oracle RAC environment. Otherwise, this statistic is not displayed.
Sequence # - The sequence number of the transaction log where the checkpoint was made.
RBA - The relative byte address of the record at which the checkpoint was made.
Timestamp - The timestamp of the record at which the checkpoint was made. SCN The system change number of the record at which the checkpoint was made.
Redo File - The path name of the transaction log containing the record where the checkpoint was made.
So when Extract starts processing, it will start from the redo log file and RBA mentioned in the Recovery checkpoint (which is the point of unprocessed transactions in redo log file) and processes the data and moves ahead. Once the Extract and downstream Replicat lag is ZERO then the target DB will be in sync with the source DB.
So whenever you are stopping the Extract as part of planned maintainance or it may be abrupt abend due varios reasons, make sure that you have all the redo log files from the recovery checkpoint till current timestamp when you start the Extract process back again. This will allow Extract to process all the information available in redo log files from recovery till current timestampa and will alow target to sync.
Thanks & Regards
SK -
Write to spool even when job abends?
There's got to be a way to do this, but I can't seem to find it. I have several background jobs, each of which writes some diagnostic information to the spool. That diagnostic information would be most useful in cases where the job terminates unsuccessfully. But, in those cases, the spool is never saved, and all that information is lost.
I know I can write to the job log instead of the spool, but is there a way other than the log to obtain\show that information? Assume that my program is robust enough to capture all error conditions before terminating.Hello Chris,
I'm sure you might be knowing this, but shall post it here anyways, just in case it skipped your mind.
When you run a background job, the job will abend when either of the following types of message are issued in the program:
1. Warning Message ( Type W )
2. Error Message ( Type E )
3. Abend Message ( Type A )
4. Short Dump Message ( Type X )
In case of either an Abend Message or a Short Dump Message, the entire spool list is erased and thereafter unavailable.
However, in case of either an error message or a warning message, the contents of the spool till the point where the message has occurred are retained.
So, in your case, I suspect that there are some abend messages in the program, issued upon erroneous conditions. If you could change them to ERROR messages (or WARNING messages as you deem appropriate), the spool list is not destroyed.
For your further understanding, I have included the following code snippet.
=======================================================
do 10 times.
write : / sy-index.
case sy-index.
when 3.
message s702(bctrain).
when 5.
message i702(bctrain).
when 7.
message w702(bctrain). " or message e702(bctrain).
endcase.
enddo.
=======================================================
The above program, when scheduled as a background job will get abended, but will retail the spool list :
1
2
3
4
5
6
7
After 7, the warning message abends the job and no other numbers are printed.
Hope this explanation would help you overcome your problem.
Regards,
Anand Mandalika.
Maybe you are looking for
-
HELP!! My Brand New iPod Touch 4th Generation is not Keeping Charge
On June,28th I bought myself a brand new ipod touch at The Source and it was keeping charge just fine till I charged it the second time. Last night I charged it for 4 and 1/2 hours last night and used it that night for about an hour or two then after
-
I am using dual display with a 23 inch cinema display and my Powerbook G4. It works great, but I would like to just disable my Powerbook's display completely, so that the entire desktop is on the cinema display. I haven't been able to find an option
-
RFC_NO_AUTHORITY - dump
Bonjour guys, I am getting a dump: RFC_NO_AUTHORITY User "TMSADM" has no RFC authorization for function group "SEUEXIST". How to correct the error You can check the RFC authorization beforehand with the function module AUTHORITY_CHECK_RFC.
-
Time mgmt Doubt: How to stop quota update
hello experts, we are facing a problem in stopping quota. thr requirment is like : the entitlement is 2.5 days permonth, which is happening, the maximum accumulation is suppoesd to be 53 days, which is not happening. we are generating it every mont
-
What does 150:30 message error mean? Where can I find a number to call for help