Oracle Database Appliance software configuration defaults.
Topics:
kernel.sem
, hugepage
size, and oracle memlock
limit to improve storage performance.Oracle homes on Oracle Database Appliance follow Optimal Flexible Architecture guidelines.
Table A-1 Directory Paths for Oracle Database Appliance
Item | Directory Path |
---|---|
Grid home |
|
Grid base |
|
Oracle home |
|
Oracle base |
|
Oracle Inventory |
|
Review the table to see the groups and default users created when you deploy the appliance. All passwords are set to the Master password that you define during deployment.
Oracle Groups and Users Configurations
Table A-2 Oracle Groups and Users Configuration for Oracle Database Appliance
Groups and Users | Default Value |
---|---|
Oracle Grid Infrastructure installation owner |
|
Oracle Database installation owner |
|
Oracle Database system administrator |
|
Oracle Database generic administrator |
|
Oracle Inventory system privileges group |
|
Oracle ASM Administrators system privileges |
|
Oracle ASM Users system privileges |
|
Oracle ASM Operator system privileges |
|
Oracle Database Administrators system privileges |
|
Oracle Database Operator system privileges |
|
Review to see the configuration options for Oracle Database Appliance.
Table A-3 System Configuration for Oracle Database Appliance
Item | Value |
---|---|
Oracle Linux with the Red Hat-compatible kernel |
Oracle Linux 6.8 with kernel-4.1.12-61.44.1.el6uek.x86_64 |
Oracle Database release |
12.1.0.2.170418, 11.2.0.4.170418 Oracle Database Enterprise Edition, Oracle Database Standard Edition 2, Oracle Database Standard Edition 1, Oracle Database Standard Edition |
SCAN port number |
1521 |
Oracle Enterprise Edition DB control port |
1158 To access Enterprise Manager , enter the following URL string, where
|
After you expand memory, tune the I/O per second (IOps) values by adjusting the values for kernel.sem
, hugepage
size, and oracle memlock
limit to improve storage performance.
Performance is determined by the configuration of a fully deployed Oracle Database Appliance. After you expand the memory, use the oakcli reconfigure osparams
command to view the current configuration and suggested values for memlock
and vm.nr_hugepages
. The values provided for tuning the kernel.sem
, hugepage
size, and oracle memlock
are estimated values. Your settings might vary, depending on the workload.
Note:
When adjusting the settings, ensure that you make the changes on both nodes.Increasing the kernel.sem Parameter
When running multiple Oracle databases on Oracle Database Appliance, increase the semaphore parameters (kernel.sem
) on both nodes to improve performance.
The following semaphore parameters define shared memory:
semmsl
: The number of semaphores per set. The default is usually 250.
semmns
: The total number of semaphores available. The default is usually 32000.
semopm
: The number of operations which can be made per semaphore call. The default is usually 100.
semmni
: The maximum number of shared memory segments available in the system. The default is usually 142.
The parameters appear in order in the /etc/sysctl.conf
file. For example, kernel.sem = 250 32000 100 142
Edit the values in the /etc/sysctl.conf
file from 250 32000 100 142
to 1510 214420 1510 200
on both nodes as follows:
# vi /etc/sysctl.conf kernel.sem=1510 214420 1510 200 # sysctl -p /etc/sysctl.conf
Increasing the Size of HugePages
Using very large page sizes (greater than the default 4 KB) can improve system performance by reducing the amount of system resources required to access page table entries. With HugePages
, the operating system page table (virtual memory to physical memory mapping) is smaller, since each page table entry is pointing to larger pages and the kernel has fewer pages whose lifecyle must be monitored.
Increase the hugepages
from 67200 to 103865 on both nodes:
# vi /etc/sysctl.conf vm.nr_hugepages=103865 # sysctl -p /etc/sysctl.conf
Increasing the Memory Limits for the Oracle User
The memory limits for user oracle
are calculated by multiplying the number of HugePages
with the Hugepagesize
. For example, 2013*2048 = 4122624.
Increase the memlock
limit from 192000000 to 256000000 on both nodes:
# vi /etc/security/limits.conf oracle soft memlock 256000000 oracle hard memlock 256000000
Shared Memory Settings
The following parameters determine how much shared memory (in pages) is available to use:
shmall
: The total amount of shared memory that can be allocated on the system.
shmmax
: The maximum size of a shared memory segment.
shmmni
: The maximum number of shared memory segments available on the system. Oracle recommends 4096.
total_mem = `cat /proc/meminfo | grep MemTotal: | awk '{print $2}`
For Huge pages = (total_mem / 4096 ) * 1.05 (an extra 5% is added to handle any other processes, such as oc4j
)
For memlock = 3/4 * total_mem
Estimated IOps Configuration for Performance with Expanded Memory
The table provides suggested configuration settings to improve performance after expanding memory. Adjust the settings on both nodes.
Table A-4 Oracle Database Appliance IOps Configuration Settings
Environment Variable | 384 GB | 512 GB | 768 GB |
---|---|---|---|
|
294000000 |
391000000 |
588000000 |
|
102681 |
137088 |
205900 |
Note:
The memlock
and hugepages
settings are specified in KB.
Related Topics