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> 
  • 相关阅读:
    esp8266(3) Arduino通过ESP8266连接和获取网站源代码
    esp8266(2) 智能配置
    图像工程考试
    Arduino IDE for ESP8266 ()esp8266项目 WIFI攻击器
    esp8266(1) 手机+Arduino+esp8266通信
    esp8266(0) AT指令
    ROS ZED
    手机APP
    Arduino IDE for ESP8266教程(0)配置IDE
    Arduino 433 + 串口
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315900.html
Copyright © 2011-2022 走看看