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> 
  • 相关阅读:
    搜索引擎代码资源
    shell十三问(很不错的shell解释)
    Export/Import 使用技巧与常见错误
    利用java实现数据结构中常用的插入排序和快速排序算法
    java23种设计模式与追MM
    sqlldr使用小结(zt)
    排序算法的java实现的网址链接
    Rdesktop与Window相联
    java抽取word,pdf的四种武器
    常用数据库JDBC连接写法
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13315900.html
Copyright © 2011-2022 走看看