zoukankan      html  css  js  c++  java
  • OCM_Session6_1_Instance Configuration

    • 1. Instance Configuration
     1.1 Configure your database to record checkpoints in the alert.log file.
     1.2 Ensure all user trace files are placed in the USER_DUMP_DEST location.

    实例配置:1.配置数据库记录检查点在告警日志日志中,2.确保所有用户的跟踪文件放在 USER_DUMP_DEST

    • 1.1 Configure your database to record checkpoints in the alert.log file.
    LOG_CHECKPOINTS_TO_ALERT lets you log your checkpoints to the alert file. Doing so is useful for determining whether checkpoints are occurring at the desired frequency.

    SQL> alter system set log_checkpoints_to_alert=true;
     
    System altered.


    • 1.2 Ensure all user trace files are placed in the USER_DUMP_DEST location.

    可能需要更改USER_DUMP_DEST位置
    USER_DUMP_DEST specifies the pathname for a directory where the server will write debugging trace files on behalf of a user process.
    SQL> show parameter dump

    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    background_core_dump                 string      partial
    background_dump_dest                 string      /u01/app/oracle/admin/PROD/bdu
                                                     mp
    core_dump_dest                       string      /u01/app/oracle/admin/PROD/cdu
                                                     mp
    max_dump_file_size                   string      UNLIMITED
    shadow_core_dump                     string      partial
    user_dump_dest                       string      /u01/app/oracle/admin/PROD/udump--所有用户的跟踪文件会放在此处。


  • 相关阅读:
    模板的一些概念和技巧
    [转] Linux TCP/IP网络小课堂:net-tools与iproute2大比较
    [转] boost库的Singleton的实现以及static成员的初始化问题
    static对象的高级用法
    const中的一些tricky的地方
    delphi软件启动的顺序解密。
    属性名、变量名与 内部关键字 重名 加&
    delphi Inc函数和Dec函数的用法
    Centos 关闭防火墙
    IntelliJ IDEA 启动方法
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315868.html
Copyright © 2011-2022 走看看