oracle lock_sga ORA-00847
来源:互联网 发布:科鲁兹方向机在线编程 编辑:程序博客网 时间:2024/06/06 01:20
oracle lock_sga
LOCK_SGA locks the entire SGA into physical memory. It is usually advisable to lock the SGA into real (physical) memory, especially if the use of virtual memory would include storing some of the SGA using disk space. This parameter is ignored on platforms that do not support it.
eg:
oracle:~ # su - oracleoracle@oracle:~> sqlplus "/as sysdba"SQL*Plus: Release 11.1.0.6.0 - Production on 星期四 6月 27 21:39:14 2013Copyright (c) 1982, 2007, Oracle. All rights reserved.连接到: Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing optionsSYS@orcl#show parameter sga_targetNAME TYPE------------------------------------ ----------------------VALUE------------------------------sga_target big integer512MSYS@orcl#set linesizeSP2-0267: linesize 选项 0 超出范围 (自 1 至 32767)SYS@orcl#SYS@orcl#SYS@orcl#SYS@orcl#set linesize 200SYS@orcl#show parameter sga_targetNAME TYPE VALUE------------------------------------ ---------------------- ------------------------------sga_target big integer 512MSYS@orcl#show parameter sga_max_targetSYS@orcl#show parameter sga_maxNAME TYPE VALUE------------------------------------ ---------------------- ------------------------------sga_max_size big integer 772MSYS@orcl#show parameter lock_sgaNAME TYPE VALUE------------------------------------ ---------------------- ------------------------------lock_sga boolean FALSESYS@orcl#create pfile='./pfile.ora' from spfile;文件已创建。SYS@orcl#!free -m total used free shared buffers cachedMem: 1004 973 31 0 35 683-/+ buffers/cache: 254 750Swap: 2055 108 1946SYS@orcl#alter system set lock_sga=true scope=spfile;系统已更改。SYS@orcl#start forceSP2-0310: 无法打开文件 "force.sql"SYS@orcl#startup forceORA-00847: MEMORY_TARGET/MEMORY_MAX_TARGET and LOCK_SGA cannot be set togetherSYS@orcl#解决办法:见 ID 577898.1
参考文章:http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1176205889966
http://www.askmaclean.com/archives/know-more-about-lock_sga-parameter.html
http://managingoracle.blogspot.com/2010/06/locksga-and-asmm.html
- oracle lock_sga ORA-00847
- ORA-00847: MEMORY_TARGET/MEMORY_MAX_TARGET and LOCK_SGA cannot be set together
- oracle锁定sga物理内存:pre_page_sga和lock_sga
- linux lock_sga
- Oracle 使用lock_sga和pre_page_sga参数保证SGA常驻物理内存
- Ora-27102: Out Of Memory: Linux Error: 12: Cannot Allocate Memory with LOCK_SGA=TRUE[ID 401077.1]
- Ora-27102: Out Of Memory: Linux Error: 12: Cannot Allocate Memory with LOCK_SGA=TRUE[ID 401077.1]
- lock_sga and pre_page_sga设置
- lock_sga和pre_page_sga参数
- 配置lock_sga/pre_page_sga/hugepages
- oracle listener.ora sqlnet.ora tnsnames.ora
- Oracle sqlnet.ora, tnsnames.ora, listener.ora
- Oracle ORA-01034,ORA-27101,ORA-00600
- oracle ORA-01200&ORA-01110&ORA-01122
- ORACLE ORA-00132 ORA-00214
- oracle ora-39062,ORA-39107
- oracle ORA-00600,ORA-01033
- Oracle -- ORA-09817 ORA-09945
- QML中MouseArea元素的介绍
- 半虚拟化与全虚拟化的区别
- 汇编-ARM寻址方式
- 有道难题2009复赛题解答(Java版):求大于给定数的最小不重复数
- 个人博客:谷歌模拟手机浏览器设置
- oracle lock_sga ORA-00847
- C++中的inl文件
- 从零开始反编译修改Rom-精简、调整布局、添加设置项、美化
- toString()用法
- Oracle索引优化
- 内部类小谈
- 解释器模式
- 百万级php网站架构
- 苹果对企业主也有野心:iOS 7发布一系列针对企业用户的新功能