How Oracle Logical Dataguard database recovers skip table ora-02019\ora-16276\

Source: Internet
Author: User

---------------------------------------------------

Synchronizing tables

---------------------------------------------------

Sql> EXECUTE Dbms_logstdby. Instantiate_table (' USERNAME ', ' TABLENAME ', ' dblinkname ');

BEGIN Dbms_logstdby. Instantiate_table (' USERNAME ', ' TABLENAME ', ' dblinkname '); END;


---------------------------------------------------

Error phenomena

---------------------------------------------------

*

ERROR at line 1:

Ora-16276:specified database link does not correspond to primary database

Ora-06512:at "SYS. Dbms_internal_logstdby ", Line 5394

Ora-02019:connection description for remote database not found

Ora-06512:at "SYS. Dbms_logstdby ", line 636

Ora-06512:at Line 1

---------------------------------------------------

Solve

---------------------------------------------------

DATABASE LINK

CREATE Public DATABASE LINK Dblinknamedblink

CONNECT to USERNAME identified by action

USING ' (DESCRIPTION = (Address_list = (ADDRESS = (PROTOCOL = TCP) (HOST = 172.16.128.6) (PORT = 1521))) (Connect_data = (SERVICE _name = DBLINKNAME1)) ';


---------------------------------------------------

Execute again

---------------------------------------------------

Sql> EXECUTE Dbms_logstdby. Instantiate_table (' USERNAME ', ' TABLENAME ', ' dblinknamedblink ');


---------------------------------------------------

Log

---------------------------------------------------

Tue 12 21:47:33 2014

The value (in) of Maxtrans parameter ignored.

Kupprdp:master process DM00 started with pid=26, OS id=483392

To Execute-sys. KUPM$MCP. MAIN (' sys_import_table_01 ', ' SYS ', ' kupc$c_1_20140812214733 ', ' kupc$s_1_20140812214733 ', 0);

Kupprdp:worker process DW01 started with worker id=1, pid=27, OS id=507972

To Execute-sys. Kupw$worker. MAIN (' sys_import_table_01 ', ' SYS ');

Tue 12 21:48:03 2014


This article is from the "Wheat Dock" blog, please make sure to keep this source http://yunlongzheng.blog.51cto.com/788996/1539232

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.