select instance from v$thread;
select sys_context('userenv','instance_name') from dual;
select name from v$database;