My Oracle Diary
Search This Blog
Sunday, February 19, 2012
check whether a database is primary or standby
SQL> select DATABASE_ROLE from v$database;
DATABASE_ROLE
-------------------------------
PRIMARY
SQL> select DATABASE_ROLE from v$database;
DATABASE_ROLE
-------------------------------
PHYSICAL STANDBY
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment