Goldengate Trailfiles
Hi,
My replicat process abended after delete command was issued on the source, reason being there isn't any unique, primarykeys as well as KEYCOLS value.
So now i want make goldengate read from another trailfile instead of existing trailfile,
ie gg is currently reading from rt000020 trailfile, so i want instruct gg to read from rt000021 trailfile.
Can anyone let me the solution for this.
Thanks,
Bharat Damarla
Hi,
I tried to start with a particular RBA (99999855) from file rt000021 but still its reading from rt000020 only and failing that the specified RBA isnt found. Here is the error report
2012-09-04 07:52:17 INFO OGG-03035 Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
REPLICAT rdw_drr
USERID goldgate, PASSWORD *********
HANDLECOLLISIONS
DBOPTIONS SUPPRESSTRIGGERS,DEFERREFCONST
ASSUMETARGETDEFS
--DDL INCLUDE ALL
--DDLERROR DEFAULT IGNORE RETRYOP
DISCARDFILE /u02/oradata/gg/discard,append
MAP rdw.*, TARGET rdw.*;
MAP rdw.remote_machines, TARGET rdw.remote_machines;
MAP rdw.mach_xfer_hist, TARGET rdw.mach_xfer_hist;
MAP rdw.meter_def, TARGET rdw.meter_def;
MAP rdw.module_type_def, TARGET rdw.module_type_def;
MAP rdw.OGG_TEST_PARTITION, target rdw.OGG_TEST_PARTITION KEYCOLS(FAULT_HISTOGRAM_HIST_ID);
2012-09-04 07:52:17 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:
/u01/app/goldengate/dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 2G
CACHEPAGEOUTSIZE (normal): 8M
PROCESS VM AVAIL FROM OS (min): 4G
CACHESIZEMAX (strict force to disk): 3.41G
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 Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
Database Language and Character Set:
NLS_LANG = "AMERICAN_AMERICA.AL32UTF8"
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "AL32UTF8"
** Run Time Messages **
Opened trail file */u02/oradata/gg/datacapture/rt000020* at 2012-09-04 07:52:17
Source Context :
SourceModule : [er.processloop]
SourceID : [scratch/aime1/adestore/views/aime1_adc4150256/oggcore/OpenSys/src/app/er/processloop.cpp]
SourceFunction : [process_extract_loop]
SourceLine : [873]
ThreadBacktrace : [7] elements
: [u01/app/goldengate/libgglog.so(CMessageContext::AddThreadContext()+0x1e) [0x2aab838dd06e]]
: [/u01/app/goldengate/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ..
.)+0x2cc) [0x2aab838d944c]]
: [/u01/app/goldengate/libgglog.so(_MSG_ERR_ER_GENERIC_FAILURE(CSourceContext*, char const*, CMessa
geFactory::MessageDisposition)+0x31) [0x2aab838c12a9]]
: [u01/app/goldengate/replicat(process_extract_loop()+0x246e) [0x536cde]]
: [u01/app/goldengate/replicat(main+0x732) [0x548752]]
: [lib64/libc.so.6(__libc_start_main+0xf4) [0x343341d994]]
: [u01/app/goldengate/replicat(__gxx_personality_v0+0x322) [0x4be48a]]
2012-09-04 07:52:38 ERROR OGG-01028 Incompatible record (101) in /u02/oradata/gg/datacapture/rt000020, rba 99999855 (gett
ing header).
* ** Run Time Statistics ** *
Reading /u02/oradata/gg/datacapture/rt000020, current RBA 99999855, 0 records
Report at 2012-09-04 07:52:38 (activity since 2012-09-04 07:52:17)
No records were replicated.
2012-09-04 07:52:38 ERROR OGG-01668 PROCESS ABENDING.
Similar Messages
-
Trying to generate csv flat files from GoldenGate
Hi,
I am new to GoldenGate and I am trying to evaluate GG, I am trying to use GoldenGate for Flat Files.
I was able to generate a trail file from a 1 row table, on the same DB but different installation ggs_src
and I placed this file on the target GG ggs_trg dirdat folder manually "cp /oracle/u04/ggs_src/dirdat/bb000000 /oracle/u04/ggs_trg/dirdat".
However when I start my FF extract I do not see any FF files under dirout (default output location)..
Here is what I did:
EXTRACT SRCONV
SOURCEDEFS ./dirdef/t1pg.def
CUSEREXIT ./flatfilewriter.so CUSEREXIT PASSTHRU includeupdatebefores, params "./ffwriter.properties"
TABLE T1.*;
ggsci> ADD EXTRACT srconv, EXTTRAILSOURCE ./dirdat/bb
ggsci> start srconv
and here is the SRCONV.rpt
Oracle GoldenGate Capture for Oracle
Version 11.2.1.0.3 14400833 OGGCORE_11.2.1.0.3_PLATFORMS_120823.1258_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Aug 23 2012 20:32:12
Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-10-02 00:25:53
Operating System Version:
Linux
Version #1 SMP Tue Aug 18 15:51:48 EDT 2009, Release 2.6.18-164.el5
Node: romania
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: 29751
Description:
** Running with the following parameters **
2013-10-02 00:25:53 INFO OGG-03035 Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
EXTRACT SRCONV
SOURCEDEFS ./dirdef/t1pg.def
CUSEREXIT ./flatfilewriter.so CUSEREXIT PASSTHRU includeupdatebefores, params "./ffwriter.properties"
2013-10-02 00:25:53 INFO OGG-04523 /oracle/u04/ggs_trg/extract running with user exit library ./flatfilewriter.so, compatiblity level (3) is not current, using compatiblity level (2).
2013-10-02 00:25:53 INFO OGG-04526 /oracle/u04/ggs_trg/extract running with user exit library ./flatfilewriter.so. Current session character set is operating system default character set.
TABLE T1.*;
2013-10-02 00:25:53 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:
/oracle/u04/ggs_trg/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
Started Oracle GoldenGate for Flat File
Version 3.0.1.5
** Run Time Messages **
Opened trail file ./dirdat/bb000000 at 2013-10-02 00:25:53
++++
I do NOT see any thing in the dirout file, NO FILES generated while I see that gg did see the trailfile ./dirdat/bb000000.
Any idea why?
Thanks in Advance
AlaaHi Mike
Thanks for your input..
We are in an early evaluation phase, where we want to move data from Oracle to a local ETL/Application system..
I downloaded the latest Oracle GG Adapter 11.2.1.x and re-did everything.
However, its the same result..
Any idea??
Thanks in Advance..
=============
FFTEST.rpt
Oracle GoldenGate Capture
Version 11.2.1.0.5 14722092 OGGCORE_11.2.1.0.5_PLATFORMS_130117.1330
Linux, x64, 64bit (optimized), Generic on Jan 17 2013 16:12:59
Copyright (C) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
Starting at 2013-10-02 12:10:16
Operating System Version:
Linux
Version #1 SMP Tue Aug 18 15:51:48 EDT 2009, Release 2.6.18-164.el5
Node: romania
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: 23927
Description:
** Running with the following parameters **
2013-10-02 12:10:16 INFO OGG-03035 Operating system character set identified as UTF-8. Locale: en_US, LC_ALL:.
extract fftest
CUSEREXIT flatfilewriter.so CUSEREXIT passthru includeupdatebefores, params "./AdapterExamples/filewriter/ffwriter.properties"
2013-10-02 12:10:16 INFO OGG-04524 /oracle/u04/ggs_trg/extract running with user exit library flatfilewriter.so, compatiblity level (3) is current.
2013-10-02 12:10:16 INFO OGG-04526 /oracle/u04/ggs_trg/extract running with user exit library flatfilewriter.so. Current session character set is operating system default character set.
SOURCEDEFS dirdef/t1pg.def
table T1.*;
2013-10-02 12:10:16 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:
/oracle/u04/ggs_trg/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
Started Oracle GoldenGate Adapter for Flat Files
11.2.1.0.0_ OGGADP_11.2.1.0.0_PLATFORMS_130429.0015
** Run Time Messages **
Opened trail file ./dirdat/T1000000 at 2013-10-02 12:10:16
+++++++
ffwriter_20131002.log
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:162) [INFO]:
Started Oracle GoldenGate Adapter for Flat Files
11.2.1.0.0_ OGGADP_11.2.1.0.0_PLATFORMS_130429.0015
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:192) [INFO]: Initializing the following writers: dsvwriter
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:211) [INFO]: Found 1 writers
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:216) [INFO]: Initializing writer: dsvwriter
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1701) [INFO]: Initializing File Writer: dsvwriter
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1719) [INFO]: NO TEMPLATE
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1743) [INFO]: Writer dsvwriter: Writer type is dsv
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1750) [INFO]: Writer dsvwriter: Data directory is ./dirout
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1770) [INFO]: Writer dsvwriter: Final data directory is ./dirout/
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1782) [INFO]: Writer dsvwriter: Rolled data file extension _data.dsv
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1793) [INFO]: Writer dsvwriter: Temp data file extension _data.dsv.temp
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1802) [INFO]: Writer dsvwriter: Data File BOM not used
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1814) [INFO]: Writer dsvwriter: Control file will be used
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1822) [INFO]: Writer dsvwriter: Control directory is ./dirout
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1842) [INFO]: Writer dsvwriter: Final Control directory is ./dirout/
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1853) [INFO]: Writer dsvwriter: Control file extension _data.control
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1860) [INFO]: Writer: dsvwriter Control Delimiter - , len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1867) [INFO]: Writer: dsvwriter Control Eol -
len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1898) [INFO]: Property dsvwriter.files.data.rollover.timetype is not specified, defaulting to System
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1931) [INFO]: Writer dsvwriter: Files will rollover after 10 seconds
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1953) [INFO]: Writer dsvwriter: Files will rollover after 10 seconds if no records
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1964) [INFO]: Writer dsvwriter: Before Images will not be captured
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1975) [INFO]: Writer dsvwriter: Column names will not be output
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1988) [INFO]: Writer dsvwriter: All column values will be output
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1999) [INFO]: Writer dsvwriter: Place holders for missing columns will be output
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2010) [INFO]: Writer dsvwriter: Column values will be output
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2021) [INFO]: Writer dsvwriter: Character data be captured as ascii
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2026) [INFO]: Property dsvwriter.files.onepertable is not specified, defaulting to true
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2033) [INFO]: Writer dsvwriter: Will output one file per table
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2038) [INFO]: Property dsvwriter.files.oneperopcode is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2045) [INFO]: Writer dsvwriter: Will output all opcodes in one file
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2063) [INFO]: Property dsvwriter.groupcols is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2069) [INFO]: Property dsvwriter.groupcols is set to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2074) [INFO]: Property dsvwriter.afterfirst is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2080) [INFO]: Property dsvwriter.afterfirst is set to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 0
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 0 set to position
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column position has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column position not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column position - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column position set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column position set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 1 set to txind
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column txind has a fixed length value of 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column txind not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column txind - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column txind set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column txind set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 2
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 2 set to opcode
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column opcode has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column opcode not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column opcode - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column opcode set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column opcode set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 3
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 3 set to timestamp
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column timestamp has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column timestamp not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column timestamp - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column timestamp set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column timestamp set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 4
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 4 set to schema
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column schema has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column schema not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column schema - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column schema set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column schema set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1344) [INFO]: Num Meta Cols: 5
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1432) [INFO]: Writer dsvwriter: Meta Column 5 set to table
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1484) [INFO]: Writer dsvwriter: Meta Column table has a variable length value
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1495) [INFO]: Writer dsvwriter: If Meta Column table not found value is: [NO VALUE]
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1503) [INFO]: Writer: dsvwriter Fixed padchar for Meta Column table - len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1515) [INFO]: Writer dsvwriter: Fixed justify for Meta Column table set to left
2013-10-02 12:10:16: FILEWRITER(filewriter.c:1527) [INFO]: Writer dsvwriter: Omit for Meta Column table set on
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2098) [INFO]: Writer: dsvwriter Insert Indicator - I len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2105) [INFO]: Writer: dsvwriter Update Indicator - U len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2112) [INFO]: Writer: dsvwriter PK Update Indicator - K len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2119) [INFO]: Writer: dsvwriter Delete Indicator - D len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2126) [INFO]: Writer: dsvwriter TX Begin Indicator - B len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2133) [INFO]: Writer: dsvwriter TX Middle Indicator - M len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2140) [INFO]: Writer: dsvwriter TX End Indicator - E len 1
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2147) [INFO]: Writer: dsvwriter TX Whole Indicator - 3 len 1
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:47) [INFO]: Initializing CSV Writer: dsvwriter
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:56) [INFO]: CSV Writer: dsvwriter Null Indicator - <NULL> len 6
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:63) [INFO]: CSV Writer: dsvwriter Field Delimiter - | len 1
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:70) [INFO]: CSV Writer: dsvwriter Line Delimiter -
len 1
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:77) [INFO]: CSV Writer: dsvwriter Quote Char - " len 1
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:113) [INFO]: CSV Writer: dsvwriter Escaped Quote Char - "" len 2
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:118) [INFO]: Property dsvwriter.dsv.onecolperline is not specified, defaulting to false
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:125) [INFO]: Writer dsvwriter: Will output all columns on one line
2013-10-02 12:10:16: CSVFILEWRITER(csvfilewriter.c:129) [INFO]: Property dsvwriter.dsv.quotealways is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2176) [INFO]: Property dsvwriter.statistics.toreportfile is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2185) [INFO]: Property dsvwriter.statistics.period is not specified, defaulting to onrollover
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2205) [INFO]: Property dsvwriter.statistics.time is not specified, defaulting to 60 secs
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2215) [INFO]: Property dsvwriter.statistics.overall is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2223) [INFO]: Property dsvwriter.statistics.tosummaryfile is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2230) [INFO]: Writer dsvwriter: Summary will not be output to stats file
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2295) [INFO]: Property dsvwriter.files.rolloveronshutdown is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2300) [INFO]: Rollover on shutdown is: 0
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2304) [INFO]: Property dsvwriter.metacols.position.format is not specified, defaulting to hex
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2324) [INFO]: Using hex Position Format
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2339) [INFO]: Property dsvwriter.files.formatstring set to pump_%s_%t_%d_%05n
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2345) [INFO]: Property dsvwriter.writebuffer.size is not specified, defaulting to 8k
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2357) [INFO]: Property dsvwriter.files.rollover.multiple is not specified, defaulting to FALSE
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2369) [INFO]: Property dsvwriter.files.data.rollover.multiple is not specified, defaulting to FALSE
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2398) [INFO]: Owners file not found
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2410) [INFO]: Property dsvwriter.files.useownerfiles is not specified, defaulting to false
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2416) [INFO]: Writer dsvwriter: Owner files will not be created
2013-10-02 12:10:16: FILEWRITER(filewriter.c:2428) [INFO]: Property dsvwriter.files.includeprocessname is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:239) [INFO]: Property goldengate.userexit.buffertxs is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:245) [INFO]: Transactions will not be buffered
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:249) [INFO]: Chars output as ascii
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:253) [INFO]: Property goldengate.userexit.buffertxs is not specified, defaulting to ops
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:266) [INFO]: Property goldengate.userexit.timestamp is not specified, defaulting to Local Time
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:291) [INFO]: Checkpoint file prefix set to: ffwriter_
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:295) [INFO]: Property goldengate.userexit.chkpt.ontxend is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:307) [INFO]: Property goldengate.userexit.datetime.removecolon is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:313) [INFO]: Datetime colons will not be removed
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:317) [INFO]: Property goldengate.userexit.datetime.maxlen is not specified, defaulting to unlimited
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:326) [INFO]: Property goldengate.userexit.convertnchartoutf8 is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:332) [INFO]: NCHARs will not be converted to UTF8
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:348) [INFO]: Property goldengate.userexit.utf8mode is not specified, defaulting to false
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:360) [INFO]: Output mode is ops
2013-10-02 12:10:16: FFUSEREXIT(flatfileuserexit.c:375) [INFO]: Initialized User Exit
2013-10-02 12:10:20: FILEWRITER(filewriter.c:3159) [INFO]: Checking for checkpoint file
2013-10-02 12:10:20: FILEWRITER(filewriter.c:3203) [INFO]: Checkpoint file does not exist
2013-10-02 12:10:20: FILEWRITER(filewriter.c:2590) [INFO]: Handling any existing temp files
2013-10-02 12:10:20: FILEWRITER(filewriter.c:2591) [INFO]: Looking for temp files in ./dirout/ -
Implementation of Goldengate with RMAN
hi,
I just want to integrate the RMAN with Goldengate. just want to purge the trailfiles on source through RMAN.
Any document or link You reffer.
Regards,
AMSIISo, RMAN, being used for backup and recovery, is now supposed to be used to manage files in an entirely separate application? I don't think so.
-
Goldengate 11.1.1.1 Oracle 11.2 Encrypted tablespace
Please advise why this error is showing and help us on this situation
Line: -----
Windows 2008 x64
Oracle 11.2.0.1 x64
Oracle Goldengate 11.1.1.1 x64
++++++++++++SOURCE++++++++++++++
sql>conn / as sysdba
**************CREATE TABLESPACE AND TABLE********************
CREATE TABLESPACE encrypted_ts
DATAFILE 'd:\oradata\test\encrypted_ts01.dbf' SIZE 128K
SIZE 15M
AUTOEXTEND ON NEXT 20M
MAXSIZE UNLIMITED
LOGGING
ENCRYPTION USING 'AES192'
EXTENT MANAGEMENT LOCAL
SEGMENT SPACE MANAGEMENT AUTO
DEFAULT NOCOMPRESS STORAGE(ENCRYPT);
CREATE TABLE TESTA
ID NUMBER,
NAME VARCHAR2(16 CHAR)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
cmd> mkstore -wrl d:\test\wallet -createEntry ORACLE.SECURITY.CL.ENCRYPTION.ORACLEGG
Enter <secret> : test
cmd>mkstore -wrl d:\test\wallet -viewEntry ORACLE.SECURITY.CL.ENCRYPTION.ORACLEGG
ORACLE.SECURITY.CL.ENCRYPTION.ORACLEGG = test
sql>ALTER SYSTEM SET ENCRYPTION WALLET CLOSE IDENTIFIED BY 'welcome1';
sql>ALTER SYSTEM SET ENCRYPTION WALLET OPEN IDENTIFIED BY 'welcome1';
Compile dbms_internal_clkm package.
sql>@prvtclkm.plb
sql>GRANT EXECUTE ON SYS.DBMS_INTERNAL_CLKM TO GGS_OWNER;
**********************************GOLDENGATE******************************************
ggsci>dblogin userid ggs_owner, ggs_owner
ggsci>add extract ext2ts, tranlog, begin now
ggsci>add rmttrail D:\ggs\dirdat\ts, extract ext2ts
ggsci>ENCRYPT PASSWORD test ENCRYPTKEY DEFAULT
Using default key...
Encrypted password: AACAAAAAAAAAAAEAZAMEFCPGPEOHYDHE
ggsci>edit params ext2ts
EXTRACT ext2ts
USERID ggs_owner, PASSWORD ggs_owner
RMTHOST 192.168.0.2, MGRPORT 7809
RMTTRAIL D:\ggs\dirdat\ts
DBOPTIONS DECRYPTPASSWORD AACAAAAAAAAAAAEAZAMEFCPGPEOHYDHE ENCRYPTKEY DEFAULT -- ???
TABLE TESTA;
+++++++++++++TARGET++++++++++++++++
sql> conn / as sysdba
**************CREATE TABLESPACE AND TABLE********************
cmd>
CREATE TABLESPACE ts
LOGGING DATAFILE 'd:\oradata\test\ts.dbf'
SIZE 15M
AUTOEXTEND ON NEXT 20M
EXTENT MANAGEMENT
LOCAL SEGMENT SPACE
MANAGEMENT AUTO;
CREATE TABLE TESTA
ID NUMBER,
NAME VARCHAR2(16 CHAR)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
************************************GOLDENGATE*****************************************
ggsci>DBLOGIN USERID ggs_owner, PASSWORD ggs_owner
ggsci>ADD CHECKPOINTTABLE GGS_OWNER.CHKPTAB
ggsci>ADD REPLICAT rep1, EXTTRAIL D:\ggs\dirdat\ts, CHECKPOINTTABLE GGS_OWNER.CHKPTAB
ggsci>EDIT PARAMS rep1
REPLICAT rep1
ASSUMETARGETDEFS
USERID ggs_owner, PASSWORD ggs_owner
MAP GGS_OWNER.TESTA, TARGET GGS_OWNER.TESTA;
+++++++++++++TARGET+++++++++++++++
ggsci>start replicat rep1
+++++++++++++SOURCE+++++++++++++++
ggsci>start extract ext2ts
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!EXTRACT - REPORT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2011-07-05 11:46:50 ERROR OGG-01028 ORA-06521: PL/SQL: Error mapping function
ORA-06512: at "SYS.DBMS_INTERNAL_CLKM", line 3
ORA-06512: at line 1.
2011-07-05 11:46:50 ERROR OGG-01668 PROCESS ABENDING.
Edited by: Oyunbold on Jul 7, 2011 3:25 AM
Edited by: Oyunbold on Jul 19, 2011 6:09 PMYesterday, I met the same problem. How do you solve it ? Plz, help me.
OS : AIX 5.3
DB : Oracle 11.1.0.7
OGG : 11.1.1.1
2011-09-06 15:26:56 INFO OGG-01515 Oracle GoldenGate Capture for Oracle, eora01.prm: Positioning to begin time Sep 2, 2011 6:50:49 PM.
2011-09-06 15:26:56 ERROR OGG-01028 Oracle GoldenGate Capture for Oracle, eora01.prm: ORA-12427: invalid input value for FLAGS parameter ORA-06512: at "SYS.DBMS_INTERNAL_CLKM", line 3 ORA-06512: at line 1.
2011-09-06 15:26:56 ERROR OGG-01668 Oracle GoldenGate Capture for Oracle, eora01.prm: PROCESS ABENDING.
Our Extract configuration is below :
EXTRACT EORA01
USERID ogg, PASSWORD AACAAAAAAAAAAADAHBMDHBECUCZBPIYE, encryptkey XKEY
DBOPTIONS DECRYPTPASSWORD AACAAAAAAAAAAAIARIXFKCQBMFIGFARA ENCRYPTKEY DEFAULT
ENCRYPTTRAIL
exttrail ./dirdat/ea
EOFDELAYCSECS 50
FLUSHCSECS 50
DISCARDFILE ./dirrpt/EORA01.DSC, APPEND, MEGABYTES 500
DISCARDROLLOVER AT 07:30
TABLE TVANBT.TLF_BUYS_MISS;
... -
GoldenGate GGSCI not installing on Windows 7
Hi,
I have downloaded "Oracle GoldenGate V11.1.1.1.0 for Oracle 11g 64bit on Windows XP, 2003, 2008" File Name "V26209-01" from https://edelivery.oracle.com
My laptop's operating system is MS Windows 7.
I have also installed "Microsoft Visual C++ 2008 Redistributable Package (x64)".
When I go to the directory that contains the extracted GG zip file and excute "GGSCI" for installing GoldenGate, following error is encountered
C:\ggtraining\ggshome1>ggsci
Error Message: “The application failed to initialize properly (0xc0150002). Click on Ok"
Kindly let me know if we can install Oracle GoldenGate 11.1.1.1.0 on Windows 7 ?
I feel that "Microsoft Visual C++ 2008 Redistributable Package (x64)" is incorrect..
Kindly guide
Thanks in advanceUse this link:
http://www.oracle.com/technetwork/middleware/data-integration/goldengate1111-cert-matrix-349179.xls
Do you see Windows 7 in the list of certified Windows platforms in the spreadsheet? No. -
Email and SMS services in Goldengate
Hi;
i am able to make active-active replication enviroment. but i want some another facility. if there some process failure, some data error or you can say any type of error and stop the process. in case can we get any EMAIL or SMS alert for user notification.
Is there any facility to make EMAIL or SMS alert to user. if yes could you please share the process, how can we achive this functionality.
Thanks & Regards,
AbhishekSteven:
Thanks for your quick reply !!! You are genius !!!
could you please elobrate this ? i started goldengate before a some time.
i created three user A, B or C. to make relication. A and B is transaction user means where i put the records. and C is common user it holds checkpointables.
where i update in A its automatically updated in B also and vise-versa.
I created extract, pump and replicat process for both. now where i put above code to get the EMAIL or SMS alerts.
Please help !!!
Thanks & Regards,
Abhishek -
Goldengate expects a column that is not in the unique constraint
I do not know golden gate. I am working with a golden gate engineer who doesn't really know oracle. I am the DBA supporting this. This is the issue we are having. Please bare with me if I have trouble explaining it.
I am pulling from oracle and loading to teradata. I confirmed that the unique index is correct in teradata (don't have access. I asked).
Oracle 10.2.0.5
golden gate: 11.1.1.0.29
error: the name of the schema listed in the error is from teradata. So TERADATA_SCHEMA. represents that.
Key column my_id is missing from update on table TERADATA_SCHEMA.MYTABLE
Missing 1 key columns in update for table TERADATA_SCHEMA.MYTABLEbelow is a create table statement. I have altered table and column names. but the structure is the same.
it does NOT have a primary key. It has a unique key. I am not allowed to add a primary key
UNIQUE INDEX: UNIQUE_ID
When we test an updates, golden gate is expecting MY_ID to be sent as well and golden gate abends
The DDL below includes the partitioning/subpartition, unique index, and supplemental logging command that golden gate runs.
I have also run the following 2 commands to turn on supplemental logging:
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
ALTER SYSTEM SWITCH LOGFILE;
CREATE
TABLE MYTABLE
"UNIQUE_ID" NUMBER(10,0) NOT NULL ENABLE,
"MY_ID" NUMBER(10,0),
"MYNUMBER" NUMBER(8,0),
"TOTALNUMBER" NUMBER(8,0),
"USED" NUMBER(8,0),
"LOTSUSED NUMBER(8,0),
"LAST_UPDATE_USER" VARCHAR2(30 BYTE),
"LAST_UPDATE_DATE" DATE,
"MYDATESTAMP" DATE,
"MYTYPE" NUMBER(2,0) NOT NULL ENABLE,
"MYTHING" CHAR(1 BYTE) NOT NULL ENABLE
PARTITION BY RANGE
"MYTYPE"
SUBPARTITION BY LIST
"MYTHING"
SUBPARTITION TEMPLATE
SUBPARTITION "MYTHING_X" VALUES
'X'
SUBPARTITION "MYTHING_Z" VALUES
'Z'
PARTITION "MYTHING1" VALUES LESS THAN (2) ,
PARTITION "MYTHING2" VALUES LESS THAN (3) ,
PARTITION "MYTHING3" VALUES LESS THAN (4) ,
PARTITION "MYTHING4" VALUES LESS THAN (5) ,
PARTITION "MYTHING5" VALUES LESS THAN (6) ,
PARTITION "MYTHING6" VALUES LESS THAN (7) ,
PARTITION "MYTHING7" VALUES LESS THAN (8) ,
PARTITION "MYTHING8" VALUES LESS THAN (9) ,
PARTITION "MYTHING_OTHER" VALUES LESS THAN (MAXVALUE)
ALTER TABLE MYTABLE ADD SUPPLEMENTAL LOG GROUP
"MYGROUP_555"
"UNIQUE_ID"
ALWAYS;
CREATE UNIQUE INDEX MY_IND ON MYTABLE (
"UNIQUE_ID"
;Edited by: Guess2 on Nov 3, 2011 12:57 PM
Edited by: Guess2 on Nov 3, 2011 1:21 PMGoldenGate expects a primary key, a unique key, or a list of key columns.
The addition of supplemental logging for the table can be done via SQL, but typically, it is done via the GGSCI interface:
GGSCI 4> dblogin userid <your DB GoldenGate user>, password <your password?
GGSCI 5> add trandata schema_owner.table_name
How Oracle GoldenGate determines the kind of row identifier to useUnless a KEYCOLS clause is used in the TABLE or MAP statement, Oracle GoldenGate selects a
row identifier to use in the following order of priority:
1. Primary key
2. First unique key alphanumerically with no virtual columns, no UDTs, no function-based
columns, and no nullable columns
3. First unique key alphanumerically with no virtual columns, no UDTs, or no function-based
columns, but can include nullable columns
4. If none of the preceding key types exist (even though there might be other types of keys
defined on the table) Oracle GoldenGate constructs a pseudo key of all columns that
the database allows to be used in a unique key, excluding virtual columns, UDTs,
function-based columns, and any columns that are explicitly excluded from the Oracle
GoldenGate configuration.
NOTE If there are other, non-usable keys on a table or if there are no keys at all on the
table, Oracle GoldenGate logs an appropriate message to the report file.
Constructing a key from all of the columns impedes the performance of Oracle
GoldenGate on the source system. On the target, this key causes Replicat to use
a larger, less efficient WHERE clause.
How to specify your own key for Oracle GoldenGate to use
If a table does not have one of the preceding types of row identifiers, or if you prefer those
identifiers not to be used, you can define a substitute key if the table has columns that
always contain unique values. You define this substitute key by including a KEYCOLS clause
within the Extract TABLE parameter and the Replicat MAP parameter. The specified key will
override any existing primary or unique key that Oracle GoldenGate finds.>
"I have altered table and column names. but the structure is the same."
What column name did you alter?
The source table table and target table are either identical, or there must be a source definition file created on the source and copied over to the target and referenced in the replicat.
I don't see why my_id would cause a problem (based on what you posted), unless the tables are different. -
GoldenGate Replication - Between Schemas On Same Host
Guys - My requirement is fairly simple.I have two schemas, GG [Source] and GGR [Target] on the same host. Have one table called GG.SYNC_TABLE. I am having difficulties to push data from GG to GGR
Below are the extract and replicat information
EXTRACT EXT_AP1
SETENV (ORACLE_SID=ERPA4)
RMTHOST mdeagaix825, mgrport 7809
USERID GG@ERPA4, PASSWORD goldengate1
DISCARDFILE ./dirrpt/ext_ap1_discard.rpt, append, megabytes 50
RMTTRAIL ./dirdata/sa
TABLE GG.AP_AE_HEADERS_ALL;
TABLE GG.AP_AE_LINES_ALL;
TABLE GG.AP_BANK_ACCOUNTS_ALL;
TABLE GG.AP_BANK_BRANCHES;
TABLE GG.AP_CARDS_ALL;
TABLE GG.AP_CHECKS_ALL;
TABLE GG.AP_CREDIT_CARD_TRXNS_ALL;
TABLE GG.AP_EXPENSE_REPORTS_ALL;
TABLE GG.AP_EXPENSE_REPORT_HEADERS_ALL;
TABLE GG.AP_EXPENSE_REPORT_LINES_ALL;
TABLE GG.AP_EXPENSE_REPORT_PARAMS_ALL;
TABLE GG.AP_EXP_REPORT_DISTS_ALL;
TABLE GG.AP_HOLDS_ALL;
TABLE GG.AP_HOLD_CODES;
TABLE GG.AP_INVOICES_ALL;
TABLE GG.AP_INVOICE_DISTRIBUTIONS_ALL;
TABLE GG.AP_INVOICE_LINES_ALL;
TABLE GG.AP_INVOICE_PAYMENTS_ALL;
TABLE GG.AP_NOTES;
TABLE GG.AP_PAYMENT_HISTORY_ALL;
TABLE GG.AP_PAYMENT_HIST_DISTS;
TABLE GG.AP_PAYMENT_SCHEDULES_ALL;
TABLE GG.AP_POL_VIOLATIONS_ALL;
TABLE GG.AP_SELF_ASSESSED_TAX_DIST_ALL;
TABLE GG.AP_SUPPLIERS;
TABLE GG.AP_SUPPLIER_SITES_ALL;
TABLE GG.AP_SYSTEM_PARAMETERS_ALL;
TABLE GG.AP_TERMS_LINES;
TABLE GG.AP_TOLERANCE_TEMPLATES;
TABLE GG.SYNC_TABLE;
REPLICAT REP_AP1
SETENV (ORACLE_SID=ERPA4)
USERID GG@ERPA4, PASSWORD goldengate1
ASSUMETARGETDEFS
REPORTCOUNT EVERY 1 MINUTES, RATE
DISCARDFILE ./dirrpt/rep_ap1.dsc, PURGE
MAP GG.AP_AE_HEADERS_ALL, TARGET GGR.AP_AE_HEADERS_ALL;
MAP GG.AP_AE_LINES_ALL, TARGET GGR.AP_AE_LINES_ALL;
MAP GG.AP_BANK_ACCOUNTS_ALL, TARGET GGR.AP_BANK_ACCOUNTS_ALL;
MAP GG.AP_BANK_BRANCHES, TARGET GGR.AP_BANK_BRANCHES;
MAP GG.AP_CARDS_ALL, TARGET GGR.AP_CARDS_ALL;
MAP GG.AP_CHECKS_ALL, TARGET GGR.AP_CHECKS_ALL;
MAP GG.AP_CREDIT_CARD_TRXNS_ALL, TARGET GGR.AP_CREDIT_CARD_TRXNS_ALL;
MAP GG.AP_EXPENSE_REPORTS_ALL, TARGET GGR.AP_EXPENSE_REPORTS_ALL;
MAP GG.AP_EXPENSE_REPORT_HEADERS_ALL, TARGET GGR.AP_EXPENSE_REPORT_HEADERS_ALL;
MAP GG.AP_EXPENSE_REPORT_LINES_ALL, TARGET GGR.AP_EXPENSE_REPORT_LINES_ALL;
MAP GG.AP_EXPENSE_REPORT_PARAMS_ALL, TARGET GGR.AP_EXPENSE_REPORT_PARAMS_ALL;
MAP GG.AP_EXP_REPORT_DISTS_ALL, TARGET GGR.AP_EXP_REPORT_DISTS_ALL;
MAP GG.AP_HOLDS_ALL, TARGET GGR.AP_HOLDS_ALL;
MAP GG.AP_HOLD_CODES, TARGET GGR.AP_HOLD_CODES;
MAP GG.AP_INVOICES_ALL, TARGET GGR.AP_INVOICES_ALL;
MAP GG.AP_INVOICE_DISTRIBUTIONS_ALL, TARGET GGR.AP_INVOICE_DISTRIBUTIONS_ALL;
MAP GG.AP_INVOICE_LINES_ALL, TARGET GGR.AP_INVOICE_LINES_ALL;
MAP GG.AP_INVOICE_PAYMENTS_ALL, TARGET GGR.AP_INVOICE_PAYMENTS_ALL;
MAP GG.AP_NOTES, TARGET GGR.AP_NOTES;
MAP GG.AP_PAYMENT_HISTORY_ALL, TARGET GGR.AP_PAYMENT_HISTORY_ALL;
MAP GG.AP_PAYMENT_HIST_DISTS, TARGET GGR.AP_PAYMENT_HIST_DISTS;
MAP GG.AP_PAYMENT_SCHEDULES_ALL, TARGET GGR.AP_PAYMENT_SCHEDULES_ALL;
MAP GG.AP_POL_VIOLATIONS_ALL, TARGET GGR.AP_POL_VIOLATIONS_ALL;
MAP GG.AP_SELF_ASSESSED_TAX_DIST_ALL, TARGET GGR.AP_SELF_ASSESSED_TAX_DIST_ALL;
MAP GG.AP_SUPPLIERS, TARGET GGR.AP_SUPPLIERS;
MAP GG.AP_SUPPLIER_SITES_ALL, TARGET GGR.AP_SUPPLIER_SITES_ALL;
MAP GG.AP_SYSTEM_PARAMETERS_ALL, TARGET GGR.AP_SYSTEM_PARAMETERS_ALL;
MAP GG.AP_TERMS_LINES, TARGET GGR.AP_TERMS_LINES;
MAP GG.AP_TOLERANCE_TEMPLATES, TARGET GGR.AP_TOLERANCE_TEMPLATES;
MAP GG.SYNC_TABLE, TARGET GGR.SYNC_TABLE;
Extract, Replicat and Manager processes are running fine. But a commit on target is not propagating the data across to GGR schema. Supplemental logging is enabled. Archiving is not [I hope its not required]. What do you think I am missing here?
I am fairly new to GoldenGate, Hence if you want me to run any commands, Please provide the commands. Thanks much in advance.Duplicate post.
-
GoldenGate on Oracle Standard Edition
Hi,
GoldenGate supports extract from an Oracle Standard Edition One database, but I have not yet managed to create an extract queue.
I have read the manuals, I have searched Oracle forum and I have also searched Oracle Support pages, but I haven't found anything how it should be done.
Please guide me.
I have tried to create the extract with several different commands. Here are some of them:
add extract ggsrc, tranlog, begin now, threads 1
add extract ggsrc, tranlog, begin now, passive
Here is the error message I receive:
2011-11-10 12:14:00 WARNING OGG-01756 Cannot register EXTRACT GGSRC with database because of the following SQL error: OCI Error ORA-00439: feature not enabled
: Streams Capture
ORA-06512: at "SYS.DBMS_CAPTURE_ADM_INTERNAL", line 453
ORA-06512: at "SYS.DBMS_CAPTURE_ADM", line 289
ORA-06512: at line 1 (status = 0). See Extract user privileges in the Oracle Gol
denGate for Oracle Installation and Setup Guide. You can manually register this
group with the REGISTER EXTRACT command.
EXTRACT added.
As you can see the command is trying to use an option which is not enabled in the Standard Edition One. It is using some Streams functionality which is standard in Enterprise Edition.
Regards
Kjell Magne KvinneslandHave you seen this?
Adding an Extract Fails with OGG-01756 Cannot Register EXTRACT (Doc ID 1330577.1) -
Use of DBMS_REDEFINITION Package with Goldengate
All,
I am currently using OGG 11.2.1.0.4 in an active-passive configuration and have an opportunity where I need to re-partition a table due to performance reasons. Given my up-time requirements, using the DBMS_REDEFINITION package seems to be a really good option. I am concerned as to how this would work with Goldengate. I do not currently use DDL replication with this extract/pump/replicat, but would this be the way to use this package and do the REDEFINITION simultaneously on both sides? Is there a better way?
I haven't found anything online pertaining to the use of this package and Goldengate so I am hoping this forum can help out.
Thanks!From the 11.2 admin guide:
Create an empty interim table (in the same schema as the table to be redefined) with all of the desired logical and physical attributes. If columns are to be dropped, do not include them in the definition of the interim table. If a column is to be added, then add the column definition to the interim table. If a column is to be modified, create it in the interim table with the properties that you want.The table being redefined remains available for queries and DML during the entire process.
Execute the FINISH_REDEF_TABLE procedure to complete the redefinition of the table. During this procedure, the original table is locked in exclusive mode for a very short time, independent of the amount of data in the original table. However, FINISH_REDEF_TABLE will wait for all pending DML to commit before completing the redefinition.>
If you did not want to create an interim table, then this approach is not going to work for you. There is no requirement for you to create anything other than the interim table, and any dependent objects can be done automatically, including materialized views. Where did you see that you have to create mview logs? -
Problem in installing GoldenGate Director on weblogic 12c
hello friends,
we have a server with weblogic 12c and a basic domain namely "base_domain" on it.(i have no earlier experience about weblogic).its path is "D:\Oracle\Middleware_HOME\wlserver_12.1"
i can start its AdminServer and we can login to its console.
now i want to install GoldenGate Director Server.but in installing process when i set Weblogic location it gives me error :
"Please Select a valid weblogic install Directory"
i tried all of these paths :
"D:\Oracle\Middleware_HOME\wlserver_12.1"
"D:\Oracle\Middleware_HOME"
"D:\Oracle"
but the error remains yet.
i installed weblogic on another machine but nothing changed.
another thin is that i checked all places that oracle documents tells that should be updated
i mean :
1 Update the registry.xml file in Weblogic home directory to point to the
correct WebLogic Server home directory.
2 Update all of the scripts under %WLS_SERVER_HOME%/server/bin and %WLS_
SERVER%/common/bin to point to the correct WebLogic Server home directory.
3 Update the .product.properties file under %WLS_SERVER_HOME% to point to the
correct WebLogic Server home directory.
1 & 2 are correct (i think) but i couldn't find third one "product.properties"
please help me.
Whats the problem?
weblogic Servers : Windows Server 2008 64-bit SP2 and Windows Seven Ultimate 64bit
Weblogic version : oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32
GoldenGate Director : gg-director-serversetup_win_v11_1_1_1_0_001You should specify the middle-ware home direction.
The error normally caused by the wrong version installed, which doesn’t have the correct registry.xml in MW_HOME. I met this problem in the past which is because I installed a dev version of WLS in zip file.
After I install the installable version( I think it is the same version you used: oepe-indigo-installer-12.1.1.0.1.201203120349-12.1.1-win32.exe of WLS, it works fine. -
Goldengate inserting first and then performing delete, not in actual order
Hello Experts,
i am doing one direction replication by goldengate and what i did is i inserted a row on source and it get replicated on target after that i inserted one more row and the detele it immediatly and found unique key constrain error at replicat where as it should not be there as i did insert first. Any idea Plz?
ThanksDo you have the report file?
If you did an insert then a delete then a commit.
That transaction will be sent over to the target.
Deletes get sent over to the targets as well.
More details would be needed to fully answer. -
Goldengate calling plsql procedure
Hi Friends ,
as i am new to Goldengate features i need your help on working on this task.
i am actually need pl/sql procedure since i am working on Goldengate replication.in my parameter i will call this procdure .actuall requirement is like this .
i have tables A,B,C at source and at target i have tables B , C AND D Tables .
TABLE A has columns ID,TT_STATUS ,COUNTRY,DB_NAME
TABLE B HAS COLUMNS OPEN_BY,CREATED
TABLE C HAS COLUMNS NAME,DEPT
TABLE D HAS COLUMNS NAME,DEPT,OPEN_BY,CREATED ,OPEN_BY,CREATED,ID,TT_STATUS ,COUNTRY,DB_NAME
AT MY SOURCE when ever on TABLE A .TT_STATUS column changes or update like open to close or some other status i have to compare before.tt_status with tt_status if it is diffrent then i have to do an insert operation like as below and
insert in to table D AS SELECT NAME,DEPT,OPEN_BY,CREATED ,OPEN_BY,CREATED,ID,TT_STATUS ,COUNTRY,DB_NAME FROM a,b,c if both the status are same igonore
so here i have two tables B&C as lookup tables at target and other table A i dont have it at target side i want to know how to achive that with out bringing table A to target side .
i need your help in achiving this task since some of the features like calling procedure i am using it for the 1st time . i know its easy if i use pl/sql to achive this task but i dont how to pass the values in procedure.
thanks and regards
TomHi Tom.
Check out the OGG 11.1 reference manuel pages 245-258 that talks about SQLEXEC. It works the same for extract and replicat with one significant difference: extract does not support REPERROR yet.
Here's an example from said doc:
MAP sales.srctab, TARGET sales.targtab, &
SQLEXEC (SPNAME lookup, ID lookup1, PARAMS (param1 = srccol)), &
COLMAP (targcol1 = lookup1.param2), &
SQLEXEC (SPNAME lookup, ID lookup2, PARAMS (param1 = srccol)), &
COLMAP (targcol = lookup2.param2);
A few things to point out here:
1. The string after reserved word SPNAME is the name of your procedure. If logged in as the owner you don't need to qualify the schema but it's always good to do so
2. "param1" is the name of the IN parameter from your procedure
3. "param2" is the OUT parameter from your procedure
4. "srccol" is the name/value of a column in the table
5. You don't need the ampersand (&) to continue the line anymore with Table and Map statements
If we want to write this using a Table statement in the extract (Map statements are used in the replicat) you would store the data in a user defined token, which are declared on the fly and will be written with the OGG change record to the trail and available to the target. You'll want to read the document section on tokens (use @TOKEN in Map statements to pull out the value).
We can write a simpler version for example purposes like this in extract:
Tablle sales.srctab,
SQLEXEC (SPNAME lookup, ID lookup1, PARAMS (param1 = srccol)),
TOKENS ( TKN_STATUS = lookup1.param2),
If you want to do string comparisons on the target then check the @STR* functions. Otherwise you can do this logic in your procedure.
Hope this helps and good luck.
-joe -
Hi,
I am newbie in goldengate stuff. So I would appreciate any help. I want to build active-active GG on my personal laptop for practice purposes. I have Windows 8 and downloaded GG for 11g. It worked when I tried to perform initial load with generating files to replicat. But it didnt work when I tried to create just simple extract and pump on source and replicat on target. Seems like extract doesnt want to send information from table to the trail file.
I thought that maybe problem is in manager's port. In documentation says that preferable port for manager should be 7809. But I have two databases on one laptop so I cant use 7809 twice. That's why for source I chose port 1000 and for target - 1001.
Can you help,please? Where is problem?
Thank you.
Best regards,
VikHi Parth272025,
sorry I was a little bit unclear. Let me explain. I have a couple ideas which I would like to test before bringing to any our environments. I have two databases 11.2.0.1, which are running on Windows 8 (64 bit) platform.
First of all I tried to perform initial load. I chose "File to replicat" method. Data were sent to the files and successfully applied on the target database.
Then I tried to start building replication configuration. And on the first step I noticed that data is not replicated. I didn't do nothing complicated, just included first table into the extract, pump and replicat parameter files.
That's a problem. I dont see any specific messages in the ggserr.log. And according to the report file data was not extracted. I dont understand why.
My extract file:
extract gge
userid golden,password check
discardfile C:\app\Viktor\kosta\dirrpt\ge.dsc, purge
exttrail C:\app\Viktor\kosta\dirdat\ge
table GGTEST.ACCOUNT;
My pump file:
extract ggp
userid golden,password check
PASSTHRU
RMTHOST localhost, MGRPORT 7810, COMPRESS
RMTTRAIL C:\app\Viktor\tata\dirdat\gr
table GGTEST.ACCOUNT;
My replicat file:
REPLICAT gr
HANDLECOLLISIONS
userid golden,password check
ASSUMETARGETDEFS
map GGTEST.ACCOUNT , target GGREP.ACCOUNT;
Part of the extract report:
2014-02-01 09:47:02 INFO OGG-01635 BOUNDED RECOVERY: reset to initial or altered checkpoint.
2014-02-01 09:47:03 INFO OGG-01815 Virtual Memory Facilities for: BR
anon alloc: MapViewOfFile anon free: UnmapViewOfFile
file alloc: MapViewOfFile file free: UnmapViewOfFile
target directories:
C:\app\Viktor\kosta\BR\GGE.
Bounded Recovery Parameter:
Options = BRRESET
BRINTERVAL = 4HOURS
BRDIR = C:\app\Viktor\kosta
2014-02-01 09:47:03 INFO OGG-01815 Virtual Memory Facilities for: COM
anon alloc: MapViewOfFile anon free: UnmapViewOfFile
file alloc: MapViewOfFile file free: UnmapViewOfFile
target directories:
C:\app\Viktor\kosta\dirtmp.
CACHEMGR virtual memory values (may have been adjusted)
CACHESIZE: 8G
CACHEPAGEOUTSIZE (normal): 8M
PROCESS VM AVAIL FROM OS (min): 15.38G
CACHESIZEMAX (strict force to disk): 12G
2014-02-01 09:47:04 WARNING OGG-01842 CACHESIZE PER DYNAMIC DETERMINATION (8G) LESS THAN RECOMMENDED: 64G (64bit system)
vm found: 15.38G
Check swap space. Recommended swap/extract: 128G (64bit system).
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 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Database Language and Character Set:
NLS_LANG = ".WE8MSWIN1252"
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "WE8MSWIN1252"
2014-02-01 09:47:04 WARNING OGG-01423 No valid default archive log destination directory found for thread 1.
2014-02-01 09:47:04 INFO OGG-01515 Positioning to begin time Feb 1, 2014 9:27:17 AM.
2014-02-01 09:47:04 INFO OGG-01052 No recovery is required for target file C:\app\Viktor\kosta\dirdat\ge000000, at RBA 0 (file not opened).
2014-02-01 09:47:04 INFO OGG-01478 Output file C:\app\Viktor\kosta\dirdat\ge is using format RELEASE 11.2.
** Run Time Messages **
2014-02-01 09:47:04 INFO OGG-01515 Positioning to begin time Feb 1, 2014 9:27:17 AM.
2014-02-01 09:47:04 INFO OGG-01516 Positioned to Sequence 53, RBA 4280336, SCN 0.0, Feb 1, 2014 9:27:17 AM.
2014-02-01 09:47:04 INFO OGG-01517 Position of first record processed Sequence 53, RBA 4280336, SCN 0.1887742, Feb 1, 2014 9:27:18 AM.
2014-02-01 09:59:36 INFO OGG-01021 Command received from GGSCI: STOP.
* ** Run Time Statistics ** *
Report at 2014-02-01 09:59:36 (activity since 2014-02-01 09:47:02)
Output to C:\app\Viktor\kosta\dirdat\ge:
No records extracted.
REDO Log Statistics
Read ahead buffers 3
Read ahead buffer size 1024000
Read ahead for current log on
Bytes read 751616000
Bytes read ahead 750592000
Bytes unused 80896000
Bytes parsed 670723584
Bytes output 0
-- Write Operations ------------------ -- Read Operations -------------------
Queue Name Size Count Waited Signaled Count Waited Signaled
AsyncReader 1 Buffers 4 736 0 0 734 1 1
AsyncReader 1 Results 8 1386 0 0 1385 656 658
CACHE OBJECT MANAGER statistics
CACHE MANAGER VM USAGE
vm current = 0 vm anon queues = 0
vm anon in use = 0 vm file = 0
vm used max = 0 ==> CACHE BALANCED
CACHE CONFIGURATION
cache size = 8G cache force paging = 12G
buffer min = 64K buffer highwater = 8M
pageout eligible size = 8M
================================================================================
RUNTIME STATS FOR SUPERPOOL
CACHE Transaction Stats
trans active = 0 max concurrent = 4
non-zero total = 0 trans total = 355
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: 355
< 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
================================================================================
CUMULATIVE STATS FOR SUPERPOOL
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
================================================================================
RUNTIME STATS FOR CACHE POOL #0
POOL INFO group: GGE id: p7200_extr instance: 1 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 4
trans total = 355 (355 )
flag = 0x00000075
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
================================================================================
CUMULATIVE STATS FOR CACHE POOL #0
POOL INFO group: GGE id: p7200_extr instance: 1 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000075
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
================================================================================
RUNTIME STATS FOR CACHE POOL #1
POOL INFO group: GGE id: p7200_ORA-LOB-MEMPOOL instance: 0 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000079
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
================================================================================
CUMULATIVE STATS FOR CACHE POOL #1
POOL INFO group: GGE id: p7200_ORA-LOB-MEMPOOL instance: 0 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000079
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
================================================================================
RUNTIME STATS FOR CACHE POOL #2
POOL INFO group: GGE id: p7200_BLOB instance: 0 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000030
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
================================================================================
CUMULATIVE STATS FOR CACHE POOL #2
POOL INFO group: GGE id: p7200_BLOB instance: 0 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000030
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
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
================================================================================
RUNTIME STATS FOR CACHE POOL #0
POOL INFO group: GGE id: p7200_extr instance: 1 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 4
trans total = 355 (355 )
flag = 0x00000075
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
================================================================================
CUMULATIVE STATS FOR CACHE POOL #0
POOL INFO group: GGE id: p7200_extr instance: 1 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000075
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
================================================================================
RUNTIME STATS FOR CACHE POOL #1
POOL INFO group: GGE id: p7200_ORA-LOB-MEMPOOL instance: 0 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000079
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
================================================================================
CUMULATIVE STATS FOR CACHE POOL #1
POOL INFO group: GGE id: p7200_ORA-LOB-MEMPOOL instance: 0 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000079
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
================================================================================
RUNTIME STATS FOR CACHE POOL #2
POOL INFO group: GGE id: p7200_BLOB instance: 0 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000030
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
================================================================================
CUMULATIVE STATS FOR CACHE POOL #2
POOL INFO group: GGE id: p7200_BLOB instance: 0 tid: 0000000000000000
trans active = 0 trans concurrent (max) = 0
trans total = 0 (0 )
flag = 0x00000030
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
Best regards,
Vik -
Goldengate replication performance
Hi ,
This is about Goldengate replication performance.
Have configured Goldengate replication between OLTP and Reporting and the business peak hours occurs only for a one hour.
at that time I can see a LAG on the replicat side of around 10-15 minutes.
Rest of all the time there is no LAG.
I reviewed the AWR report of the target and I could see all the replicat process are executing with a elapsed time of 0.02 or 0.01 seconds.
However I could see a major wait event DB sequential read of 65%-71% of DB time and it is having the maximum Waits. apart from this there are no major wait event contributing to % DB time.(21% od DB CPU which I believe is normal )
and I can also see few queries are being hit at that peak time since it is a reporting server. and they are using select query which executes more than 15-20 minutes specially on the High transaction table.
Can you please advise where I should look on to resolve the LAG during the Peak hours.
I believe the select operation/wait event is causing the LAG during that peak hours. Am I correct.
can you please advise from your experience.
Thanks
SurendranHi Bobby,
Thanks for your response.
Please find my response as below,
Environment details as below.
1. Source and target DB - oracle database enterprise edition v 11.2.0.4
2. Goldengate version. 12.1.2.0.0 (Same Golden-gate version installed on source and target)
3 Classic CDC process is configured between source and target Goldengate.
Queries and response
Is there any long running transactions on the extract side?
No, long running transaction is seen, I can see a huge volume of transaction getting populated (over 0.3M records in 30 minutes)
Target environment information
High transaction DML activities is seen only on 3 tables.
As the target is reporting environment I can see many sql's querying those 3 high transaction populating tables and I can see DB sequential read wait event spiking up to 65%-71%.
I can also see in the AWR report that the GG session are executing the insert/update transaction is less than 0.01/2 sec.
Have to set the report for every 10 min. I will update to 1 min and share the report.
My query is : Is the select operation executed on that high transaction table on the reporting server during that high transaction window is causing the bottleneck and causes the LAG during that peak hours ?
or Do I need to look on other area's ?
Based on above information If you any further comments/advise please share.
Thanks
Surendran.
Maybe you are looking for
-
Yoga 13" Clementine Orange - Mini review
I got my Yoga 13, Orange, 8gb ram and 256gb SSD on Monday the 17th. I also ordered the slot case and the screen protector as well. In this post I’ll do a mini review of the unit that I got. I hope this will give people here some useful information. I
-
Reinstalling adobe flash player and upgrading to 11.5.
Hello, I unistalled my adobe flash player because I ran into issues trying to download the latest version of it and the website wont let me reinstall adobe back because it keeps saying my verison of windows areadly has flash on it but it doesn't sinc
-
Issue with Oracle Distributed Document Capture in table update
Hi All, I installed ODDC and configured with Oracle 11gr2 for document commit. I have table with 4 fields i.e id,c_number,content,mime_type. I am storing the image in content which blob datatype. when i import and send document from WebCapture screen
-
Burning info CD's using Disk Utility?
Ok, I've got a combo drive (a few years old, on my iBook G3). I'm trying to burn information CDs using Disk Utility. I've got the dmg in disk utility, I select it and click burn. It then asks what speed I want to burn the disk at etc etc. So, I selec
-
Maximum number of files supported in a folder for FileTable feature
Hi, I have implemented a solution using SQL 2012 FileTable with an expected workload of 150K files a year. File's size is not that big, just a few KB EDI file but I am wondering what is supported/recommended limit of number of files in a folder for F