To reference objects in a database other than the local database, you must specify the name of the database link pointing to the database after the object name. A database link is a schema object that allows OceanBase Database to connect to a remote database to access its objects.
You can use the CREATE DATABASE LINK statement to create a database link. When you use this statement, you must specify the following information about the database link:
The tenant name, username, and password.
The network address and port number.
OceanBase Database stores the above information in the data dictionary.
The creation of a database link is subject to the following limitations:
You can create a database link only to connect an Oracle tenant in OceanBase Database to another Oracle tenant in OceanBase Database. OceanBase Database does not support creating a database link to connect to an external Oracle database.
A tenant can repeatedly create and drop database links, but at most 15 database links can exist at the same time.
