Friday, June 14, 2024

SQL for troubleshooting services in multitenant environment

Query for troubleshooting services in a multitenant environment:
set lines 200
col name format a40
col network_name format a40
col pdb format a20
col global format a20

select name,network_name,con_id 
from v$active_services
order by con_id,name;
  
select name,network_name,con_id,pdb,global 
from v$services 
order by con_id,name;
 
select con_id#,name,network_name 
from  cdb_service$ 
order by con_id#,name ;
exit

No comments:

Post a Comment