We should all be familiar with the word global_name, which usually needs to be focused on global_name when it comes to the creation of DB link.
Note that what I'm talking about here is not initialization parameter global_names.
The settings for the current parameter can be obtained through view global_name:
Sql> select * from Global_name;
Global_name
--------------------------------------------------
Wapdb. Regress. Rdbms. DEV. US. Oracle.com
So where does the data from the Global_name view come from?
By creating statements from the Global_name view, we can get the following information:
Create or Replace view Global_name
(Global_name)
As
Select value$ from sys.props$ where name = ' Global_db_name '
We see that the information in the Global_name is actually from the props$ internal table, and the information obtained is the Global_db_name field.
Sql> Select value$ from sys.props$ where name = ' Global_db_name ';
value$
--------------------------------------------------
Wapdb. Regress. Rdbms. DEV. US. Oracle.com
Sql> select * from Global_name;
Global_name
--------------------------------------------------
Wapdb. Regress. Rdbms. DEV. US. Oracle.com
Here is the default setting that is usually created by the database, and in a production environment we can modify the Global_name with the following command:
sql> ALTER DATABASE rename Global_name to wapdb. Eygle.com;
Database Altered
Sql> select * from Global_name;
Global_name
--------------------------------------------------
Wapdb. Eygle.com
Why is this global_name important?
Because the final format of DB link is associated with the creation of DB link, the global_name is actually made up of two parts, Db_name and Db_domain. When you create DB link, Oracle automatically adds the db_domain as a suffix. And it's hard to change once you join.
Therefore, in the advanced replication, streams replication configuration, it is best to first of the multiple nodes global_name planning.
-the end-