Viewing the dbid of an Oracle database

Source: Internet
Author: User


(1) using Rman to view
$ Rman Target/
Recovery manager:release 11.2.0.4.0-production on Fri June 12 03:20:19 2015
Copyright (c) 1982, Oracle and/or its affiliates. All rights reserved.
Connected to target Database:dbtest (dbid=1275017193)
Rman>


(2) Use Sqlplus to view
Sql> select dbid from V$database;

DBID
----------
1275017193


(3) Dump file View

#dump日志文件
sql> alter system dump logfile '/u01/app/oracle/oradata/dbtest/redo01.log ';

#dump数据文件

sql> alter system dump DataFile '/u01/app/oracle/oradata/dbtest/users01.dbf ' block min 1 block max 4;

#dump归档日志
sql> alter system dump logfile '/home/oracle/arch/1_11_882154347.dbf ';

Then view the contents of the dump file

Viewing the dbid of an Oracle database

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.