instance_name(实例名)
1 | SQL> select instance_number,instance_name from v$instance; |
sid
1 | SQL> select instance from v$thread; |
global_name(全局数据库名)
1 | select * from global_name |
db_name(数据库名)
1 | SQL> select dbid,name from v$database; |
service_name(服务名)
service_name alias(服务别名)
1 |