ORA-00845 MEMORY_TARGET not supported on this system solution

ORA-00845: MEMORY_TARGET not supported on this system error resolution

Oracle  11g database starts database error after modifying pfile parameter ora-00845

SQL> startup

ORA-00845: MEMORY_TARGET not supported on this system

The new memory automatic management parameter MEMORY_TARGET in oracle 11g can automatically adjust SGA and PGA. This feature requires the use of the /dev/shm shared file system, and requires that /dev/shm must be greater than MEMORY_TARGET, if /dev/shm An error will be reported if it is smaller than MEMORY_TARGET

solution

1. The initialization parameter MEMORY_TARGET or MEMORY_MAX_TARGET cannot be larger than the shared memory (/dev/shm). To solve this problem, you can increase /dev/shm

Such as:

 

2. If /dev/shm is not mounted, the above error will also be reported. It is necessary to ensure that it has been mounted.

oracle@aaaprod-db ~]$ df -h

……

tmpfs                16G 8.9G 7.2G 56% /dev/shm

……

The following is a record of one operation

[root@aaaprod-db ~]# cat /etc/fstab | grep tmpfs

tmpfs                  /dev/shm              tmpfs  defaults,size=8g      0 0

[root@aaaprod-db ~]#

[root@aaaprod-db ~]# mount -o remount,size=16G /dev/shm

[root@aaaprod-db ~]# vi /etc/fstab

...

tmpfs                  /dev/shm              tmpfs  defaults,size=16g      0 0

...

[root@aaaprod-db ~]# df -h | grep shm

tmpfs                16G    0  16G  0% /dev/shm

SQL> startup

ORACLE instance started.

Total System Global Area 9420095488 bytes

Fixed Size                2236248 bytes

Variable Size          2315255976 bytes

Database Buffers        7046430720 bytes

Redo Buffers              56172544 bytes

Database mounted.

Database opened.

SQL> exit

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326169120&siteId=291194637