{"id":16,"date":"2013-02-04T14:40:00","date_gmt":"2013-02-04T13:40:00","guid":{"rendered":"http:\/\/anjo.pt\/wp\/keyword-oracle\/2013\/02\/04\/goldengate-and-oracle-11-2\/"},"modified":"2015-11-17T20:27:23","modified_gmt":"2015-11-17T19:27:23","slug":"goldengate-and-oracle-11-2","status":"publish","type":"post","link":"https:\/\/anjo.pt\/keyword-oracle\/2013\/02\/04\/goldengate-and-oracle-11-2\/","title":{"rendered":"GoldenGate and Oracle 11.2"},"content":{"rendered":"<p>Some weeks ago a customer upgraded its databases from 10.2 to 11.2.0.3.<\/p>\n<p>Some time after this change there were GoldenGate errors:<\/p>\n<p><span style=\"font-family: Courier New, Courier, monospace; font-size: x-small;\">2013-02-03 10:11:55 &nbsp;ERROR &nbsp; OGG-00519 &nbsp;Oracle GoldenGate Delivery for Oracle, r_xxxx.prm: &nbsp;Fatal error executing DDL replication: error [Error code [922], ORA-00922: missing or invalid option, SQL create table &#8220;XXXXXX&#8221;.&#8221;DBMS_TABCOMP_TEMP_CMP&#8221; organization heap &nbsp;tablespace &#8220;TBS_MAGIC&#8221; compress for all operations nologging as select \/*+ DYNAMIC_SAMPLING(0) *\/ * from &#8220;XXXXXX&#8221;.DBMS_TABCOMP_TEMP_U], no error handler present.<\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace; font-size: x-small;\">2013-02-03 10:14:55 &nbsp;INFO &nbsp; &nbsp;OGG-00482 &nbsp;Oracle GoldenGate Delivery for Oracle, r_xxxx.prm: &nbsp;DDL found, operation [create table &#8220;XXXXXX&#8221;.DBMS_TABCOMP_TEMP_CMP organization heap &nbsp;tablespace &#8220;TBS_MAGIC&#8221; compress for all operations nologging as select \/*+ DYNAMIC_SAMPLING(0) *\/ * from &#8220;XXXXXX&#8221;.DBMS_TABCOMP_TEMP_UNCMP mytab &nbsp;(size 209)].<\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace; font-size: x-small;\">2013-02-03 10:14:55 &nbsp;INFO &nbsp; &nbsp;OGG-00489 &nbsp;Oracle GoldenGate Delivery for Oracle, r_xxxx.prm: &nbsp;DDL is of mapped scope, after mapping new operation [create table &#8220;XXXXXX&#8221;.&#8221;DBMS_TABCOMP_TEMP_CMP&#8221; organization heap &nbsp;tablespace &#8220;TBS_MAGIC&#8221; compress for all operations nologging as select \/*+ DYNAMIC_SAMPLING(0) *\/ * from &#8220;XXXXXX&#8221;.DBMS_TABCOMP_TEMP_UNCMP mytab &nbsp;(size 211)].<\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace; font-size: x-small;\"><br \/><\/span><br \/>\n<span style=\"font-family: inherit;\">After some investigation we found out this is due to the new &#8220;feature&#8221; Compression Advisor, from Oracle <span style=\"font-family: inherit;\">11.2 (<\/span><a href=\"https:\/\/support.oracle.com\/epmos\/faces\/KmHome?_adf.ctrl-state=oa4i4vtg3_4&amp;_afrLoop=194944035582684#\" style=\"background-color: white; text-decoration: initial;\" title=\"Learn More document\">How Does Compression Advisor Work? [1284972.1]<\/a>).<\/span><br \/>\n<span style=\"font-family: inherit;\"><br \/><\/span><br \/>\n<span style=\"font-family: inherit;\">As it does &#8220;create table as select&#8221; (CTAS) which GoldenGate does not yet support well, the replicat abended.<\/span><br \/>\n<span style=\"font-family: inherit;\"><br \/><\/span><br \/>\n<span style=\"font-family: inherit;\">There is already one Metalink note on this issue:&nbsp;<span style=\"background-color: white; text-align: right;\">DDL \/ Remap Schema : ORA-942 Connected With DBMS_TABCOMP_TEMP_CMP &amp; DBMS_TABCOMP_TEMP_UNCMP [ID 1505178.1].<\/span><\/span><br \/>\n<span style=\"background-color: white; text-align: right;\"><span style=\"font-family: inherit;\"><br \/><\/span><\/span><br \/>\n<span style=\"background-color: white; text-align: right;\"><span style=\"font-family: inherit;\">So we added to the extract parameter files:<\/span><\/span><br \/>\n<span style=\"background-color: white; text-align: right;\"><span style=\"font-family: inherit;\">TABLEEXCLUDE xxxxx.DBMS_TABCOMP_TEMP*<\/span><\/span><br \/>\n<span style=\"background-color: white; text-align: right;\"><span style=\"font-family: inherit;\"><br \/><\/span><\/span><br \/>\n<\/p>\n<div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Some weeks ago a customer upgraded its databases from 10.2 to 11.2.0.3. Some time after this change there were GoldenGate errors: 2013-02-03 10:11:55 &nbsp;ERROR &nbsp; OGG-00519 &nbsp;Oracle GoldenGate Delivery for Oracle, r_xxxx.prm: &nbsp;Fatal error executing DDL replication: error [Error code [922], ORA-00922: missing or invalid option, SQL create table &#8220;XXXXXX&#8221;.&#8221;DBMS_TABCOMP_TEMP_CMP&#8221; organization heap &nbsp;tablespace &#8220;TBS_MAGIC&#8221; compress [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6,2],"tags":[],"class_list":{"0":"post-16","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-goldengate","7":"category-oracle","8":"category-oracle-11g","9":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/16","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":1,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/posts\/16\/revisions\/81"}],"wp:attachment":[{"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/anjo.pt\/keyword-oracle\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}