Oracle: how to view the Oracle SID that is instance_name and dbname

SID and instance_name
is the
instance name

db_name is the name of the database
to find out the two concepts, databases and instances

Examples: Examples are a set of processes and memory structures of the database starts initializing
the database: it refers to a database file in the user store some physical data such as data files, control files, etc.

How to view SID the Oracle
: PS -ef | grep PMON process can be seen from the name can also be held by sqlplus / as sysdba show parameter instance_name

How to view db_name
the SELECT * from v $ instance;

select * from v$database;

Published 58 original articles · won praise 5 · Views 5093

Guess you like

Origin blog.csdn.net/weixin_42161670/article/details/103137191