Oracle11G: generate the PFILE: createpfilehomeoracleinitorcl. orafromspfile; modify the value of *. memory_target542570912 in PFILE. Then restart the database from the new PFILE file to the NOMOUNT state. SQLstartupnomountpfilehomeOracleinitorcl. ora; ORA-00845: ME
Oracle 11G: generate the PFILE: create pfile =/home/oracle/initorcl. ora from spfile; modify the value of *. memory_target = 536870912 in PFILE. Then restart the database from the new PFILE file to the NOMOUNT state. SQL startup nomount pfile =/home/Oracle/initorcl. ora; ORA-00845: ME
Oracle 11G: Generate PFILE file: create pfile = '/home/oracle/initorcl. ora' from spfile;
Modify the value of *. memory_target = 536870912 in PFILE.
Then restart the database from the new PFILE file to the NOMOUNT state.
SQL> startup nomount pfile = '/home/Oracle/initorcl. ora ';
ORA-00845: MEMORY_TARGET not supported on this system
The reason is that the value is greater than the value of/dev/shm.
Df-k/dev/shm
Filesystem 1K-blocks Used Available Use % Mounted on
Tmpfs 517600 0 517600 0%/dev/shm
Solution:
Modify FSTAB
Vi/etc/fstab
/Dev/VolGroup00/LogVol00/ext3 defaults 1 1
LABEL =/boot ext3 defaults 1 2
Tmpfs/dev/shm tmpfs ults, size = 1024 m 0 0
Devpts/dev/pts devpts gid = 5, mode = 620 0 0
Sysfs/sys sysfs defaults 0 0
Proc/proc defaults 0 0
/Dev/VolGroup00/LogVol01 swap defaults 0 0
Remount:
[Root @ localhost ~] # Umount/dev/shm
[Root @ localhost ~] # Mount/dev/shm
[Root @ localhost ~] # Df-h/dev/shm
Filesystem Size Used Avail Use % Mounted on
Tmpfs 1.0G 0 1.0G 0%/dev/shm
Start the database again
SQL> startup pfile = '/home/Oracle/initorcl. ora ';
Oracle instance started.
Total System Global Area 535662592 bytes
Fixed Size 1337720 bytes
Variable Size 327157384 bytes
Database Buffers 201326592 bytes
Redo Buffers 5840896 bytes
Database mounted.
Database opened.
SQL> show sga
Total System Global Area 535662592 bytes
Fixed Size 1337720 bytes
Variable Size 327157384 bytes
Database Buffers 201326592 bytes
Redo Buffers 5840896 bytes
SQL> select 535662592/1024/1024 from dual;
535662592/1024/1024
-------------------
510.847656
You can see that it has been modified.
Finally, verify the synchronization function.