|
我們的項(xiàng)目比較特殊,經(jīng)常需要外出演示,領(lǐng)導(dǎo)覺得Oracle企業(yè)版過于龐大,讓我們嘗試一下OracleXE對(duì)資源的最低要求??纯次覀児哦?jí)的電腦(512M 內(nèi)存)能否運(yùn)行我們的演示程序。但是我設(shè)置的memory_target過低,導(dǎo)致數(shù)據(jù)庫不能啟動(dòng)了。 解決過程如下,創(chuàng)建pfile,修改參數(shù),然后使用pfile啟動(dòng)數(shù)據(jù)庫。 SQL> alter system set memory_target=20M scope=spfile; 系統(tǒng)已更改。 SQL> startup force; ORA-00838: Specified value of MEMORY_TARGET is too small, needs to be at least 88M SQL> create pfile='c:/tmp/init.ora' from spfile; 文件已創(chuàng)建。 修改c:\tmp\init.ora文件,在memory_target參數(shù)后面補(bǔ)一個(gè)零即可。 *.dispatchers='(PROTOCOL=TCP) (SERVICE=orclXDB)' *.memory_target=20971520 *.nls_language='SIMPLIFIED CHINESE' *.nls_territory='CHINA' SQL> startup pfile='c:/tmp/init.ora'; ORACLE 例程已經(jīng)啟動(dòng)。 Total System Global Area 209235968 bytes Fixed Size 1373600 bytes Variable Size 167774816 bytes Database Buffers 33554432 bytes Redo Buffers 6533120 bytes 數(shù)據(jù)庫裝載完畢。 數(shù)據(jù)庫已經(jīng)打開。 |
|
|