方法一:
select name from v$database;
方法二:
select instance_name from v$instance;
方法三:
show parameter instance;