91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

ORA-27102: out of memory解決辦法

發布時間:2020-08-11 07:29:31 來源:ITPUB博客 閱讀:360 作者:達芬奇的夢 欄目:建站服務器

數據庫運行一定時間后,性能調優就顯得很重要了,其中一項就是調整SGA區域。

一個朋友在測試機上練習增大SGA動作。發出如下命令:

更改系統的sga大小
alter system set sga_max_size=4g scope=spfile;
alter system set pga_aggregate_target=2G;
alter system set sga_target=4g scope=spfile;
shutdown immediate
startup

系統直接報錯:SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup
ORA-27102: out of memory

程序測試人員要用數據庫,如何恢復?

解決辦法如下:

[hqmss@topup dbs]$ sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jul 1 10:45:58 2013

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

SQL> conn / as sysdba
Connected to an idle instance.
SQL> create pfile from spfile;

在當前系統下生產pfile文件,修改參數文件的內存信息。

[hqmss@topup dbs]$ vi initHQMSS.ora

HQMSS.__db_cache_size=1660944384
HQMSS.__java_pool_size=33554432
HQMSS.__large_pool_size=16777216
HQMSS.__shared_pool_size=419430400
HQMSS.__streams_pool_size=0
*.audit_file_dest='/opt/oracle/admin/HQMSS/adump'
*.background_dump_dest='/opt/oracle/admin/HQMSS/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/opt/oracle/oradata/HQMSS/control01.ctl','/opt/oracle/oradata/HQMSS/control02.ctl','/opt/oracle/oradata/HQMSS/control03.ctl'
*.core_dump_dest='/opt/oracle/admin/HQMSS/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=8
*.db_name='HQMSS'
*.DB_UNIQUE_NAME='stanDB'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=HQMSSXDB)'
*.FAL_CLIENT='primDB'
*.FAL_SERVER='stanDB'
*.job_queue_processes=10
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(primDB,stanDB)'
*.LOG_ARCHIVE_DEST_1='LOCATION=/opt/oracle/flash_recovery_area/HQMSS/onlinelog/

VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stanDB'
*.LOG_ARCHIVE_DEST_2='SERVICE=primDB LGWR ASYNC

VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=primDB'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
*.open_cursors=300
*.pga_aggregate_target=2147483648
*.processes=750
*.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'
*.sessions=830
*.sga_max_size=4294967296
*.sga_target=4294967296

*.STANDBY_FILE_MANAGEMENT='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/opt/oracle/admin/HQMSS/udump'
~

修改后的文件如下:

[hqmss@topup dbs]$ vi initHQMSS.ora

HQMSS.__db_cache_size=1660944384
HQMSS.__java_pool_size=33554432
HQMSS.__large_pool_size=16777216
HQMSS.__shared_pool_size=419430400
HQMSS.__streams_pool_size=0
*.audit_file_dest='/opt/oracle/admin/HQMSS/adump'
*.background_dump_dest='/opt/oracle/admin/HQMSS/bdump'
*.compatible='10.2.0.1.0'
*.control_files='/opt/oracle/oradata/HQMSS/control01.ctl','/opt/oracle/oradata/HQMSS/control02.ctl','/opt/oracle/oradata/HQMSS/control03.ctl'
*.core_dump_dest='/opt/oracle/admin/HQMSS/cdump'
*.db_block_size=8192
*.db_domain=''
*.db_file_multiblock_read_count=8
*.db_name='HQMSS'
*.DB_UNIQUE_NAME='stanDB'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=HQMSSXDB)'
*.FAL_CLIENT='primDB'
*.FAL_SERVER='stanDB'
*.job_queue_processes=10
*.LOG_ARCHIVE_CONFIG='DG_CONFIG=(primDB,stanDB)'
*.LOG_ARCHIVE_DEST_1='LOCATION=/opt/oracle/flash_recovery_area/HQMSS/onlinelog/

VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=stanDB'
*.LOG_ARCHIVE_DEST_2='SERVICE=primDB LGWR ASYNC

VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=primDB'
*.LOG_ARCHIVE_DEST_STATE_1='ENABLE'
*.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
*.open_cursors=300
*.pga_aggregate_target=343597384
*.processes=750
*.REMOTE_LOGIN_PASSWORDFILE='EXCLUSIVE'
*.sessions=830
*.sga_max_size=2147483648
*.sga_target=2147483648

*.STANDBY_FILE_MANAGEMENT='AUTO'
*.undo_management='AUTO'
*.undo_tablespace='UNDOTBS1'
*.user_dump_dest='/opt/oracle/admin/HQMSS/udump'

啟動數據庫:

SQL> conn / as sysdba
Connected to an idle instance.
SQL> startup pfile='/opt/oracle/product/10.2.0/db/dbs/initHQMSS.ora';
ORACLE instance started.

Total System Global Area 2147483648 bytes
Fixed Size                  1220460 bytes
Variable Size             469762196 bytes
Database Buffers         1660944384 bytes
Redo Buffers               15556608 bytes
Database mounted.
Database opened.
SQL> create spfile from pfile;

File created.

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

额尔古纳市| 桐梓县| 土默特右旗| 三原县| 抚顺市| 佛学| 临桂县| 韶关市| 辰溪县| 桃江县| 靖宇县| 伽师县| 奉新县| 尼勒克县| 湘潭县| 临城县| 南康市| 迭部县| 黄浦区| 荆门市| 墨脱县| 维西| 将乐县| 山东省| 荔浦县| 景宁| 金平| 板桥市| 阿合奇县| 乌拉特前旗| 公主岭市| 乐东| 永顺县| 讷河市| 玉树县| 乌苏市| 年辖:市辖区| 萍乡市| 阜阳市| 乌兰浩特市| 贵定县|