Simple command to get the DB ID or database
RMAN> list db_unique_name of database QA1TST;
List of Databases
DB Key DB Name DB ID Database Role Db_unique_name
------- ------- ----------------- --------------- ------------------
8320622 QA1TST 4251438513 PRIMARY QA1TSTP
8320622 QA1TST 4251438513 STANDBY QA1TSTD
RMAN>
RMAN> list db_unique_name of database QA1TST;
List of Databases
DB Key DB Name DB ID Database Role Db_unique_name
------- ------- ----------------- --------------- ------------------
8320622 QA1TST 4251438513 PRIMARY QA1TSTP
8320622 QA1TST 4251438513 STANDBY QA1TSTD
RMAN>
No comments:
Post a Comment