zoukankan      html  css  js  c++  java
  • oracle内存管理

    参考文章

    参考文章

    参考文章

    参考文章

    参考文章

    /*

      内存自动管理

      当前数据库内存是自动管理的,业务需求调整SGA的尺寸大小;

    */

    调整之前

    SQL> show parameter target
    
    NAME                                 TYPE                              VALUE
    ------------------------------------ --------------------------------- ------------------------------
    archive_lag_target                   integer                           0
    db_flashback_retention_target        integer                           1440
    fast_start_io_target                 integer                           0
    fast_start_mttr_target               integer                           0
    memory_max_target                    big integer                       804M
    memory_target                        big integer                       804M
    parallel_servers_target              integer                           16
    pga_aggregate_target                 big integer                       0
    sga_target                           big integer                       0
    View Code

    开始调整

    SQL> alter system set memory_max_target=1024M scope=spfile;
    
    System altered.
    
    SQL> alter system set memory_target=1024M scope=spfile;
    
    System altered.
    View Code

    关闭数据库

    SQL> shutdown immediate;
    Database closed.
    Database dismounted.
    ORACLE instance shut down.
    View Code

    重新启库

    SQL> startup
    ORACLE instance started.
    
    Total System Global Area 1068937216 bytes
    Fixed Size                  2260088 bytes
    Variable Size             687866760 bytes
    Database Buffers          373293056 bytes
    Redo Buffers                5517312 bytes
    Database mounted.
    Database opened.
    View Code

    调整之后

    SQL> show parameter target
    
    NAME                                 TYPE                              VALUE
    ------------------------------------ --------------------------------- ------------------------------
    archive_lag_target                   integer                           0
    db_flashback_retention_target        integer                           1440
    fast_start_io_target                 integer                           0
    fast_start_mttr_target               integer                           0
    memory_max_target                    big integer                       1G
    memory_target                        big integer                       1G
    parallel_servers_target              integer                           16
    pga_aggregate_target                 big integer                       0
    sga_target                           big integer                       0
    SQL> 
    View Code
  • 相关阅读:
    govendor用法
    java.util.DualPivotQuickSort的实现
    windows注册表
    一道正则表达式题目
    JDK10、JDK11、JDK12新特性
    初夏清晨有所思
    Java 9新特性
    sklearn聚类评价指标
    沉浸式和全局式
    [抄]外部奖励对内在动机的侵蚀
  • 原文地址:https://www.cnblogs.com/arcer/p/3832871.html
Copyright © 2011-2022 走看看