Oracle Trace Analytics database Start-up stages

Source: Internet
Author: User

Directory

    • Boot to Nomount State
    • Set Trace
    • Start the database to mount State and open
    • Check Trace
    • Another way to look up the trace V$diag_info view

The demo is as follows:

Boot to Nomount State
[email protected]> startup nomount;ORACLE instance started.Total System Global Area 1720328192 bytesFixed Size          2253944 bytesVariable Size         754977672 bytesDatabase Buffers      956301312 bytesRedo Buffers            6795264 bytes
Set Trace
[email protected]> oradebug setmypid;Statement processed.[email protected]> oradebug tracefile_name;/oracle/app/oracle/diag/rdbms/kyeupdbfs/kyeupdbfs/trace/kyeupdbfs_ora_13343.trc[email protected]> alter session set events ‘10046 trace name context forever,level 12‘;Session altered.
Start the database to mount State and open
[email protected]> alter database mount;Database altered.[email protected]> alter database open;Database altered.
Check Trace
路径:/oracle/app/oracle/diag/rdbms/kyeupdbfs/kyeupdbfs/trace/kyeupdbfs_ora_13343.trc
Another way to look up the trace V$diag_info view
[email protected]> select * from v$diag_info where name like ‘%Trace%‘;   INST_ID NAME         VALUE---------- -------------------- --------------------------------------------------     1 Diag Trace       /oracle/app/oracle/diag/rdbms/kyeupdbfs/kyeupdbfs/                trace     1 Default Trace File   /oracle/app/oracle/diag/rdbms/kyeupdbfs/kyeupdbfs/                trace/kyeupdbfs_ora_13343.trc

Oracle Trace Analytics database Start-up stages

Related Article

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.