Solved

servicename

Posted on 2011-03-23
5
340 Views
Last Modified: 2012-05-11
Is there any command to find the service name in oracle.
or else what is the best way to find service name..
0
Comment
Question by:nobleit
  • 3
5 Comments
 
LVL 51

Expert Comment

by:HainKurt
ID: 35204117
try

select name,value from v$parameter
where name='instance_name'
0
 
LVL 51

Expert Comment

by:HainKurt
ID: 35204123
or check for service_names

select name,value from v$parameter
where name='service_names'
0
 
LVL 51

Expert Comment

by:HainKurt
ID: 35204127
also this one

select name,value from v$parameter
where name='db_name'
0
 
LVL 7

Accepted Solution

by:
MrNed earned 500 total points
ID: 35204158
Some services related views:

select * from gv$services;
select * from gv$servicemetric;
select * from gv$servicemetric_history;
select * from gv$service_event;
select * from gv$service_stats;
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35206208
Instance name or database name?

In addition to the above:
select global_name from global_name;
select name from v$database;
select instance_name from v$instance;

0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question