alter system set sga_target=4g;sql>startup force;ORA-27102: out of memorySQL> startup nom..."/>
溫馨提示×

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

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

調(diào)整參數(shù)導(dǎo)致數(shù)據(jù)庫(kù)無法啟動(dòng)

發(fā)布時(shí)間:2020-04-08 17:19:49 來源:網(wǎng)絡(luò) 閱讀:359 作者:yangwangbaby 欄目:數(shù)據(jù)庫(kù)


.oraenv xxx

alter system set sga_max_size=4g scope=spfile;

sql>alter system set sga_target=4g;

sql>startup force;

ORA-27102: out of memory

SQL> startup nomount

ORA-27102: out of memory

SQL> shutdown immediate

ORA-01034: ORACLE not available

ORA-27101: shared memory realm does not exist

Linux Error: 2: No such file or directory

SQL> quit

Disconnected

--做一個(gè)pfile,進(jìn)去修改設(shè)置出錯(cuò)的參數(shù),注意strings出來的控制文件格式可能有問題

[oracle@edsir1p8- dbs]$ strings spfilePROD4.ora >>/home/oracle/aa.ora

[oracle@edsir1p8-PROD4 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Wed Jun 21 09:14:12 2017

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

Connected to an idle instance.

SQL> startup pfile='/home/oracle/aa.ora'

ORACLE instance started.

Total System Global Area  129724416 bytes

Fixed Size    1334996 bytes

Variable Size  113246508 bytes

Database Buffers    8388608 bytes

Redo Buffers    6754304 bytes

Database mounted.

Database opened.

SQL> show parameter spfile;

NAME     TYPE VALUE

-spfile     string

SQL> create spfile from pfile='/home/oracle/aa.ora'  ;

File created.

SQL> shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL> startup

ORACLE instance started.

otal System Global Area  129724416 bytes

Fixed Size    1334996 bytes

Variable Size  113246508 bytes

Database Buffers    8388608 bytes

Redo Buffers    6754304 bytes

Database mounted.

Database opened.

SQL> show parameter spfile;

NAME     TYPE VALUE

------------------------------------ ----------- --------------------------

----spfile     string /u01/app/oracle/product/11.2.0



向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI