GoldenGate IGNOREDELETES
I am replicating most tables of my environment to another DB.
I want to be able to not replicate deletes to one table out of all the ones I am moving.
Doc ID 1451842.1 says that it applies to Oracle GoldenGate - Version 8.0.0 and later.
I'm running on Linux. When using FILERESOLVE I get an error.
Oracle GoldenGate Capture for Oracle
Version 11.2.1.0.1 OGGCORE_11.2.1.0.1_PLATFORMS_120423.0230_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Apr 23 2012 08:42:16
Error:
FILERESOLVE immediate
Source Context :
SourceModule : [er.init]
SourceID : [/scratch/aime1/adestore/views/aime1_adc4150256/oggcore/OpenSys/src/app/er/init.cpp]
SourceFunction : [get_infile_params]
SourceLine : [2812]
ThreadBacktrace : [7] elements
: [/opt/data/ggsrpt/libgglog.so(CMessageContext::AddThreadContext()+0x1e) [0x2b268998606e]]
: [/opt/data/ggsrpt/libgglog.so(CMessageFactory::CreateMessage(CSourceContext*, unsigned int, ...)+0x2cc) [0x2b268998244c]]
: [/opt/data/ggsrpt/libgglog.so(_MSG_ERR_STARTUP_PARAMERROR_ERRORTEXT(CSourceContext*, char const*, CMessageFactory::MessageDisposition)+0x31) [0x2b26899725e9]]
: [/opt/data/ggsrpt/extract(get_infile_params(time_elt_def*, time_elt_def*, char**)+0x13dd) [0x5485ad]]
: [/opt/data/ggsrpt/extract(main+0xf2) [0x56c6b2]]
: [/lib64/libc.so.6(__libc_start_main+0xf4) [0x3ce9e1d974]]
: [/opt/data/ggsrpt/extract(__gxx_personality_v0+0x38a) [0x4e8b7a]]
2015-01-13 16:04:36 ERROR OGG-00303 Unrecognized parameter (FILERESOLVE).
Is there a way to accomplish this with the use of Wildcards?
IGNOREDELETES
table schema.test;
GETDELETES
table schema.*.*;
Hi ,
According to my understanding, you requirement is to ignore DELETE operations on specific table.
Check for the ddl_filter.sql in the goldengate directory. You can filter a specific DDL operation for a specific object at the extract level itself.
Kindly go through the below link, It works for Oracle GoldenGate 11.2 version also.
http://docs.oracle.com/goldengate/1212/gg-winux/GIORA/ddl.htm#A2258775
Under the above link, see the topic 13.8 Filtering DDL Replication
Regards,
Veera
Similar Messages
-
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. -
GoldenGate Installation Queries...
Please help me on the below questions..??
I got some questions on oracle goldengate configuration:
1) My source and Destination are in different nodes, then do I need to configure listener @ target db and Tns @ source db?
2) If my source and destination are resides in the same system, can I user same port for the both source and target dbs?
3) I have tried GG in the single node with two dbs' called source and target. with different ports. But I installed goldengate two times in two locations (same node) each for source and target dbs respectively. Is it a right thing?
Also please find current my configuration:
Source : 11gR2, GG11, RHEL 4
Target : 11gR2, GG11, RHEL 4
I tried configuring GG, started manager,extarct at source db, and manager,replicat at target db.but table's DML is not getting replicated. I tried this in the same server ( as step 3).
Thank you,
HarryTry going through the tutorial first.
http://www.oracle.com/technetwork/middleware/goldengate/learnmore/ogg-tutorial-ora-to-ora-10-4-177139.pdf
You can reason out all of your questions.
On the target, with GG trying to apply DML against the database, how is DML done? Just like it is anywhere: from a connection to the database. What does it take to connect to an Oracle database, from a client perspective?
There is no reason why two databases (instances) cannot share the same listener.
If you want to work on two Word documents, do you need to install Office twice? No. If you have two databases (on the same server) running at the same release, do you need to install Oracle twice? No. Take a guess on what the answer to having to install GoldenGate twice is. -
Hi
I am setting up goldengate. I am fairly new to oracle. On th einstallation guide step 4.8.1 it is referring to extract user name, i do not recall making such user or is this the goldengate user?
also what are the 4 other user names in the db for goldengate
Extract
Replicat
Manager
DEFGEN
Edited by: 963369 on 05-Oct-2012 02:17
Edited by: shorif2000 on Oct 8, 2012 3:27 AMSo I have decided to go with integrated capture with mining database as both instances shall be oracle and exactly identical. I am now on step 4.8.1 and it is referring to extract group which I am unsure of what is this gourp?
example given
EXTRACT financep
USERID ogg,
PASSWORD AACAAAAAAAAAAAJAUEUGODSCVGJEEIUGKJDJTFNDKEJFFFTC &
AES128, ENCRYPTKEY securekey1
TRANLOGOPTIONS MININGUSER oggm, &
MININGPASSWORD AACAAAAAAAAAAAJAUEUGODSCVGJEEIUGKJDJTFNDKEJFFFTC &
AES128, ENCRYPTKEY securekey1
TRANLOGOPTIONS INTEGRATEDPARAMS (MAX_SGA_SIZE 164, &
DOWNSTREAM_REAL_TIME_MINE y)
ENCRYPTTRAIL AES192, KEYNAME mykey1
EXTTRAIL /ggs/dirdat/lt
SEQUENCE hr.employees_seq;
TABLE hr.*;
My one
* EXTRACT do not knwo what group?
* USERID goldengate,
* PASSWORD AACAAAAAAAAAAAJAUEUGODSCVGJEEIUGKJDJTFNDKEJFFFTC & Can i use m5?
* AES128, ENCRYPTKEY securekey1 What is securekey1
* TRANLOGOPTIONS MININGUSER goldengate, & my user for testing is goldengate
* MININGPASSWORD AACAAAAAAAAAAAJAUEUGODSCVGJEEIUGKJDJTFNDKEJFFFTC &
* AES128, ENCRYPTKEY securekey1
* TRANLOGOPTIONS INTEGRATEDPARAMS (MAX_SGA_SIZE 164, &
* DOWNSTREAM_REAL_TIME_MINE y)
* ENCRYPTTRAIL AES192, KEYNAME mykey1 ??can this be md5 and wher is the key coming from named "mykey1"
* EXTTRAIL /u01/app/goldengate/dirdat/lt
* SEQUENCE hr.employees_seq; is this default?
* TABLE hr.*; is this default?
Maybe you are looking for
-
How do i use airplay with multiple speakers simultaneously?
I am trying to play music simultaneously on multiple speakers in different rooms using airplay. For some reason when i choose the "multiple speakers" option in itunes, the speakers that are connected by airtunes do not appear in the list. They do a
-
Power Mac G4 MDD Intermittent Boot from Internal HD?
I have a Power Mac G4 MDD with a 1.42G Dual Processor, 2GB Ram using a 500GB HD operating OS 10.5.8 The problem I am having is that my computer will boot just fine for a week or so then all of a sudden it won't boot up at all from the internal HD. He
-
Can I cause checking a box to add 1 to a calculated form field? I have a field that sums the numbers entered in several previous fields and need to be able to add "1" if a checkbox is selected as well.
-
What's the purpose for the resistor in the jack of Pismo's power supply?
Recently the power supply of my Pismo started failing and I decided to troubleshoot it. Turned out the cable next to the jack was broken. I went on with the repairs and inside the jack I found a resistor connecting the negative terminal with the shie
-
Caan someon help me find the way to be able to see the second keyboard on my texting while using Ipad? I have followed instructions and so I have open a second keyboard for emoticons but the "globe" would not show and therefore the emoticons would no