ORA-00821: Specified value of sga_target 980M is too small, needs to be at least 1164M
SQL> startup
ORA-00821: Specified value of sga_target 980M is too small, needs to be at least 1164M
ORA-01078: failure in processing system parameters
这才发现前面设置的sga_target值980M太小
SQL> alter system set sga_target=980M scope=spfile;
创建pfile到指定位置
SQL> create pfile='/tmp/init20191126.ora' from spfile;File created.Elapsed: 00:00:00.00
对比下
[oracle@orcl u01]$ cat /tmp/init20191126.ora |grep sga_target
orcl.__sga_target=2365587456
*.sga_target=1027604480
[oracle@orcl u01]$ cat /u01/app/oracle/admin/orcl/pfile/init.ora.10232019194515|grep sga_target
sga_target=2254m
最后还是使用
SQL> create spfile from pfile='/u01/app/oracle/admin/orcl/pfile/init.ora.10232019194515';File created.Elapsed: 00:00:00.06
startup失败,startup force一下
SQL> startup
ORA-00093: _shared_pool_reserved_min_alloc must be between 4000 and 0
ORA-01078: failure in processing system parametersSQL> startup force
ORACLE instance started.Total System Global Area 2365587456 bytes
Fixed Size 8795472 bytes
Variable Size 805309104 bytes
Database Buffers 1543503872 bytes
Redo Buffers 7979008 bytes
Database mounted.
Database opened.
SQL> show parameter pgaNAME TYPE VALUE
------------------------------------ ----------- ------------------------------
pga_aggregate_limit big integer 2G
pga_aggregate_target big integer 752M
SQL> show parameter sgaNAME TYPE VALUE
------------------------------------ ----------- ------------------------------
allow_group_access_to_sga boolean FALSE
lock_sga boolean FALSE
pre_page_sga boolean TRUE
sga_max_size big integer 2256M
sga_min_size big integer 0
sga_target big integer 2256M
unified_audit_sga_queue_size integer 1048576
关闭开启数据库没有问题了。
SQL> startup
ORACLE instance started.Total System Global Area 2365587456 bytes
Fixed Size 8795472 bytes
Variable Size 805309104 bytes
Database Buffers 1543503872 bytes
Redo Buffers 7979008 bytes
Database mounted.
Database opened.
SQL> alter system set pga_aggregate_target=20M SCOPE=SPFILE;System altered.Elapsed: 00:00:00.02
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> show parameter pga
ORA-01034: ORACLE not available
Process ID: 0
Session ID: 0 Serial number: 0SQL> startup
ORACLE instance started.Total System Global Area 2365587456 bytes
Fixed Size 8795472 bytes
Variable Size 805309104 bytes
Database Buffers 1543503872 bytes
Redo Buffers 7979008 bytes
Database mounted.
Database opened.
SQL> alter system set sga_target=980M scope=spfile;System altered.Elapsed: 00:00:00.01
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.Total System Global Area 1027604480 bytes
Fixed Size 8800472 bytes
Variable Size 591398696 bytes
Database Buffers 419430400 bytes
Redo Buffers 7974912 bytes
Database mounted.
Database opened.
SQL> show sga;Total System Global Area 1027604480 bytes
Fixed Size 8800472 bytes
Variable Size 369100584 bytes
Database Buffers 641728512 bytes
Redo Buffers 7974912 bytes
SQL> show parameter sgaNAME TYPE VALUE
------------------------------------ ----------- ------------------------------
allow_group_access_to_sga boolean FALSE
lock_sga boolean FALSE
pre_page_sga boolean TRUE
sga_max_size big integer 980M
sga_min_size big integer 0
sga_target big integer 980M
unified_audit_sga_queue_size integer 1048576
SQL> create pfile='/tmp/init20191126a.ora' from spfile;File created.Elapsed: 00:00:00.01
SQL> show parameter pga;NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
pga_aggregate_limit big integer 2G
pga_aggregate_target big integer 20M
SQL>
再次修改pga和sga没有问题。
ORA-00821: Specified value of sga_target 980M is too small, needs to be at least 1164M相关推荐
- oracle11g ora00838,管理oracle11g內存設置 解決ora-02097 ora-00838 ora-00845報錯問題
Oracle對內存的管理的 優化從未間斷,從8i到11g不斷地提出新的管理概念.每個本版都對內存管理進行了簡化:1.8i->9i:PGA的自動管理;2.9i->10g:SGA的自動管理;3 ...
- 变态的windows----OERR: ORA-27100 shared memory realm already exists
昨天晚上帮一个朋友调oracle内存参数,环境是在windows 2008下的oracle 10.2.0.1.0 ,是HA集群,一台主机上装了三个数据库,另一台是装了一个库做HA. 中间碰到了几个比较 ...
- Oracle 数据库修改配置文件sga_target参数的值,sga_target值太小导致数据库服务起不来问题解决,调大sga_target参数方法
ORA-00821: Specified value of sga_target 4096M is too small, needs to be at least 5504M 译文:sga_targe ...
- spotlight soo5072:there was an error reading the tnsnames.ora
我使用spotlight的软件版本是spotlight 4.0.468,可是说版本比较老了.测试的数据库为LINUX AS4.0下10G:红旗LINUX下10G和WINDOWS下10G. 如果将服务器 ...
- linux ora 01092,ORA-01173的模拟与故障处理
1,数据库版本www.htz.pw > select * from v$version where rownum<3; BANNER ---------------------- Orac ...
- oracle 11g sga max,oracle 10g 11g中的SGA_MAX_SIZE与SGA_TARGET参数
oracle 10g中的SGA_MAX_SIZE与SGA_TARGET参数 sga_target是自动管理内存时使用的,这样你就不用设置DB_CACHE_SIZE,SHARED_POOL_SIZE等参 ...
- Oracle启动错误:ORA-00821: Specified value of sga_target 2352M is too small, needs to be at least 4352M
问题描述 oracle数据库启动出现错误: SQL> startup mount ORA-00821: Specified value of sga_target 2352M is too sm ...
- oracle 10g sga_target,Oracle 10g 中sga_max_size 和sga_target用法
每次要修改sga的时候,都发现把这两个参数记错了,今天整理了一下用法,但愿不会再忘记了[@more@] 一.oracle 10g中的SGA_MAX_SIZE与SGA_TARGET参数 sga_targ ...
- listener.ora、sqlnet.ora、tnsnames.ora 详解
三个配置文件 listener.ora.sqlnet.ora.tnsnames.ora,都是放在$oracle_home\network\admin目录下. 重点:三个文件的作用和使用 sqlnet. ...
最新文章
- JavaDoc注释的使用
- MySQL创建数据表(CREATE TABLE语句)
- 如何查看numpy库数组的:类型、数据类型、尺寸、形状、维度? (type、dtype、size、shape、ndim)
- cocos工程里面“”invalid ''cobl” in fuction xxx原理与解决方案
- 【目标定位】基于matlab循环增益卡尔曼滤波目标定位仿真【含Matlab源码 145期】
- html跑马灯代码大全(图片文字移动代码)
- 汪文君Google Guava实战视频教程
- 一步一步实现 iOS 微信自动抢红包(非越狱)
- CSS 美化checkbox
- 在mac上怎么把png转换成jpg
- es - elasticsearch search - missing value and unmapped fields
- PPT技巧:快速实现照片双重曝光效果
- 分布式事务解决方案:7种常见解决方案汇总
- Pandas 报错:index must be monotonic increasing or decreasing
- 【Python】Wordcloud 词云
- sqlserver 2008 Express离线安装包
- 分词器以及ik中文分词器
- 别以为Facebook只是互联网公司 他们还有一间黑科技实验室
- 即使面对好莱坞,周星驰也可以五次[视而不见]
- LaTeX段落缩进简介