zoukankan      html  css  js  c++  java
  • OCM_Session1_1_Database Setup and Undo Management

    TIMES: 45 minutes 

    1. Database Setup and Undo Management
     1.1 Run the minimum required scripts to complete the basic configuration of the PROD database.
    1.2 Set up automatic undo management in the PROD database to support the following requirements:
      1.2.1 Avoid ORA-01555 Snapshot too old errors for queries running up to 90 minues on average.
      1.2.2 The number or concurrent OLTP users will be approximately 120 during normal business hours.
      1.2.3 The number or concurrent batch processes that will run in the evenings and weekends will approximately 12 to 15  


    • 7.跑脚本,跑catalog和catporc这两个脚本

    • 1.1 Run the minimum required scripts to complete the basic configuration of the PROD database.
    SQL> @$ORACLE_HOME/rdbms/admin/catalog.sql
    SQL> @$ORACLE_HOME/rdbms/admin/catproc.sql

    PL/SQL procedure successfully completed.

    SQL> select open_mode from v$database;

    OPEN_MODE
    ----------
    READ WRITE

    1 row selected.

    •   1.2.1 Avoid ORA-01555 Snapshot too old errors for queries running up to 90 minues on average.

    SQL> alter system set undo_retention=5400;

    System altered.

    •  1.2.2 The number or concurrent OLTP users will be approximately 120 during normal business hours.

    SQL> alter system set processes=135 scope=spfile;

    System altered.

    • 1.2.3 The number or concurrent batch processes that will run in the evenings and weekends will approximately 12 to 15  

    SQL> alter system set job_queue_processes=15;

    System altered.

    SQL> shutdown immediate
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.

    Total System Global Area  524288000 bytes
    Fixed Size                  1220360 bytes
    Variable Size             150995192 bytes
    Database Buffers          369098752 bytes
    Redo Buffers                2973696 bytes
    Database mounted.
    Database opened.
    SQL> 
  • 相关阅读:
    IntelliJ IDEA 安装和破解教程
    IntelliJ IDEA 快捷键
    分布式事务框架-seata初识
    Spring超详细总结
    spring注解之@Import注解的三种使用方式
    双亲委托模型
    日志管理-log4j与slf4j的使用
    最详细的自定义Spring Boot Starter开发教程
    深入JVM(二)JVM概述
    一篇长文说 git 基础
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315900.html
Copyright © 2011-2022 走看看