OGG-08221 Cannot register or unregister EXTRACT

Hi,

Sometimes you can get ” OGG-08221 Cannot register or unregister EXTRACT ” error during register or unregister extract process.

Details of error are as follows.

GGSCI> register extract EXTMSD database
2020-04-09 04:54:09  ERROR   OGG-08221  Cannot register or unregister EXTRACT EXTMSD because of the following 
SQL error: OCI Error 44,004.
To solve this problem, Run the following commands.
SQL> exec DBMS_XSTREAM_GG_ADM.STOP_OUTBOUND('OGG$EXTRACT_NAME',true);
SQL> exec DBMS_XSTREAM_ADM.DROP_OUTBOUND('OGG$EXTRACT_NAME');
SQL> exec DBMS_STREAMS_ADM.REMOVE_QUEUE(queue_name => 'GGMINING.OGG$Q_EXTRACT_NAME', cascade => true, drop_unused_queue_table => true);

 

Check if extract exists or not with the following queries.

SQL> select * from DBA_XSTREAM_OUTBOUND;
SQL> select * from SYS.XSTREAM$_SERVER;

 

If you use the Container Database and Pluggable database then Rename the GLOBAL_NAME of the PDB so it’s different from the CDB GLOBAL_NAME.

It will allow then the REGISTER to successfully complete.

 

Or

Increase the processes file size limit (ulimit) and then retry.

 

Or If  Supplemental log isn’t enable at the database level, then enable it as follows.

SQL> ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;

 

Do you want to learn Oracle Goldengate from scratch, then read the following Goldengate Tutorial articles.

https://ittutorial.org/goldengate-tutorials-oracle-for-beginners/

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *