签到成功

知道了

CNDBA社区CNDBA社区

pfile和spfile之间的转换

2021-10-02 09:58 1021 0 原创 oracle
作者: hbhe0316

SQL> create pfile=’/tmp/init.ora’ from spfile;
File created.

SQL>!echo ‘*.sga_target=2000M’ >> /tmp/init.orahttp://www.cndba.cn/hbhe0316/article/4846http://www.cndba.cn/hbhe0316/article/4846

SQL> shutdown immediate
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> create spfile from pfile=’/tmp/init.ora’;
File created.http://www.cndba.cn/hbhe0316/article/4846http://www.cndba.cn/hbhe0316/article/4846

SQL> startup
ORACLE instance started.
Total System Global Area 2097152000 bytes
Fixed Size 8622624 bytes
Variable Size 822087136 bytes
Database Buffers 1258291200 bytes
Redo Buffers 8151040 bytes
Database mounted.
Database opened.

http://www.cndba.cn/hbhe0316/article/4846

SQL> show parameter sga;

http://www.cndba.cn/hbhe0316/article/4846
http://www.cndba.cn/hbhe0316/article/4846

NAME TYPE VALUE

http://www.cndba.cn/hbhe0316/article/4846
http://www.cndba.cn/hbhe0316/article/4846


allow_group_access_to_sga boolean FALSE
lock_sga boolean FALSE
pre_page_sga boolean TRUE
sga_max_size big integer 2000M
sga_min_size big integer 0
sga_target big integer 2000M
unified_audit_sga_queue_size integer 1048576http://www.cndba.cn/hbhe0316/article/4846

版权声明:本文为博主原创文章,未经博主允许不得转载。

Linux,oracle

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1038657次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ