Solved

servicename

Posted on 2011-03-23
5
341 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle 12c database link between pdb not working 20 118
PL SQL Search Across Columns 4 53
SQL Workhours Count beetween Workhours 3 26
oracle differnce between two timestamps 5 31
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
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.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

860 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