SQL> Create pluggable database new_pdb from
remote_pdb@clone_link keystore identified by my_keystore_password |
Above error is related to database link and it may appear during a pluggable database clone, as in above example, or during any other distributed operation being performed using a database link.
The
reason of this error is TNS string used in the database link. You have two ways
to create a database link. You can use a full connect string, or you can use a
TNS service entry from TNSNAMES.ORA file. Following are examples of both of
these methods.
Example
1 (Using full connect string) |
You
will not face this issue if you created the database link using example 1,
however, if you are using method demonstrated in example 2, you may face this
error in a RAC environment unless you create TNS service (my_tns_service in
this example) on all nodes of the RAC.
So
the conclusion is that major cause of this error is to not having TNS service
created on all RAC nods that was used in the database link. OR the safest way
is to use a full connect string while creating a database link.
No comments:
Post a Comment