测试总结:
From below test case, I set the sga_max_size large than memory_targe successfully.
Step:
1. Set the memory_target to 2G, and then restart db.
2. Set the memory_max_target to 3G, and then restart db.
I found the sga_max_size also change to 3G after step 2.
It means that you can set the size of the parameters memory_target and memory_max_target. After restarting db, The sga_max_size will change to memory_max_target size automatically.
But you can not set the SGA_MAX_SIZE more than MEMORY_TARGET alone.
Step:
1. Set the memory_target to 2G, and then restart db.
2. Set the memory_max_target to 3G, and then restart db.
I found the sga_max_size also change to 3G after step 2.
It means that you can set the size of the parameters memory_target and memory_max_target. After restarting db, The sga_max_size will change to memory_max_target size automatically.
But you can not set the SGA_MAX_SIZE more than MEMORY_TARGET alone.
About shmmax in solaris 10, the older "shminfo_shmmax" (set in /etc/system) is replaced by project.max-shm-memory parameter (set in /etc/project).
As per 'Solaris Tunable Parameters Reference Manual'
project.max-shm-memory resource control limits the total amount of shared memory of one project, whereas previously, the shmsys:shminfo_shmmax parameter limited the size of a single shared memory segment.
Set the value of project.max-shm-memory greater than sum of all the SGAs required to run on your server. If you want to set the memory_target as 80GB, you need to change the kernel parameter shmsys:shminfo_shmmax large than 80GB.
After the kernel parameter changed, you need to reboot the OS system to take effect.
I suggest you also running the Health Check script as described in the following note:
Note 250262.1 - RDA 4 - Health Check / Validation Engine Guide
As per 'Solaris Tunable Parameters Reference Manual'
project.max-shm-memory resource control limits the total amount of shared memory of one project, whereas previously, the shmsys:shminfo_shmmax parameter limited the size of a single shared memory segment.
Set the value of project.max-shm-memory greater than sum of all the SGAs required to run on your server. If you want to set the memory_target as 80GB, you need to change the kernel parameter shmsys:shminfo_shmmax large than 80GB.
After the kernel parameter changed, you need to reboot the OS system to take effect.
I suggest you also running the Health Check script as described in the following note:
Note 250262.1 - RDA 4 - Health Check / Validation Engine Guide