zoukankan      html  css  js  c++  java
  • ORA-32001: write to SPFILE requested but no SPFILE specified at startup

    SQL> alter system set  sga_max_size=2048M scope=spfile;
    alter system set  sga_max_size=2048M scope=spfile
    *
    ERROR at line 1:
    ORA-32001: write to SPFILE requested but no SPFILE specified at startup

    SQL> show parameter spfile;

    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    spfile                               string

    SQL> create spfile from pfile;

    File created.

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

    Total System Global Area 1068937216 bytes
    Fixed Size                  2166536 bytes
    Variable Size             427819256 bytes
    Database Buffers          624951296 bytes
    Redo Buffers               14000128 bytes
    Database mounted.
    Database opened.
    SQL> alter system set sga_max_size=2048M scope=spfile;

    System altered.

    SQL> alter system set sga_target=2048M scope=spfile;

    System altered.

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

    Total System Global Area 2137886720 bytes
    Fixed Size                  2161400 bytes
    Variable Size             469763336 bytes
    Database Buffers         1644167168 bytes
    Redo Buffers               21794816 bytes
    Database mounted.
    Database opened.
    SQL> show parameter sga;

    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    lock_sga                             boolean     FALSE
    pre_page_sga                         boolean     FALSE
    sga_max_size                         big integer 2G
    sga_target                           big integer 2G

  • 相关阅读:
    一个棒棒糖引发的。。。
    做完了一个程序
    C# 串口操作系列(2) 入门篇,为什么我的串口程序在关闭串口时候会死锁 ? .
    MSSQL操作类
    煤矿粉尘监控系统需求分析
    C# 串口操作系列(3) 协议篇,二进制协议数据解析 .
    wp7 手机归属地查询
    .NET设计模式系列文章
    C# 串口操作系列(1) 入门篇,一个标准的,简陋的串口例子。
    常用经典算法
  • 原文地址:https://www.cnblogs.com/quanweiru/p/4053316.html
Copyright © 2011-2022 走看看