Solved

Oracle Kernel parameters

Posted on 2010-11-17
16
631 Views
Last Modified: 2012-05-10
Hey what Oracle Kernel parameters do we need to know as an Oracle DBA. I really appreciate your help. Thanks in advance
0
Comment
Question by:hussainkhan22
  • 6
  • 4
  • 2
  • +3
16 Comments
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34157810
These can be found where?  Of course: The online docs.

You will need to check the installation guide for your specific OS.  This will have the important ones.
0
 
LVL 52

Accepted Solution

by:
Huseyin KAHRAMAN earned 100 total points
ID: 34157890
0
 
LVL 8

Expert Comment

by:Chakravarthi Ayyala
ID: 34160085
Do you mean kernel parameters for Oracle on Linux/Sun ?
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34160712
Based on their previous questions it would be AIX.
0
 

Author Comment

by:hussainkhan22
ID: 34163541
Yes kernel parameters for oracle on linux/sol
0
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 200 total points
ID: 34163621
Have to even tried looking for the installation guides on the online docs?  It's really quite easy.

Go to:  http://www.oracle.com/pls/db112/portal.all_books

Look for:
Database Installation Guide for Linux
Database Installation Guide for Oracle Solaris

http://download.oracle.com/docs/cd/E11882_01/install.112/e17163/pre_install.htm#CIHBJIFJ

http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/pre_install.htm#CHDCFJJE
0
 
LVL 16

Assisted Solution

by:Joseph Gan
Joseph Gan earned 100 total points
ID: 34166819
For Enterprise Linux 4.5, the following lines should be appended to the "/etc/sysctl.conf" file.
kernel.shmall = 2097152
kernel.shmmax = 2147483648 # Smallest of -> (Half the size of the physical memory) or (4GB - 1 byte)
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144
For Enterprise Linux 5.0, the following lines should be appended to the "/etc/sysctl.conf" file.
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144
0
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 200 total points
ID: 34167164
ganjos,

That appears to be a copy/paste from a website.  When you do this you need to paste the link of the site so the original author gets credit:

http://www.oracle-base.com/articles/11g/OracleDB11gR1InstallationOnEnterpriseLinux4and5.php
0
 
LVL 16

Expert Comment

by:Joseph Gan
ID: 34167561
That was in my notes. I was doing similar thing. Forgot which website I got from.
0
 
LVL 25

Assisted Solution

by:madunix
madunix earned 100 total points
ID: 34168891
http://ivan.kartik.sk/oracle/install_ora10gR2_redhat.html
kernel.shmall = 2097152
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34168994
@madunix,

I'm on mobile right now so I can't verify this but is what you posted different than what ganjos posted previously?
0
 
LVL 25

Expert Comment

by:madunix
ID: 34169076
@slightwv
same as  oracle-base
0
 
LVL 8

Expert Comment

by:Chakravarthi Ayyala
ID: 34169663
In addition to all these, if you have big memory and using huge pages, those paraemters have to be set separately.
0
 
LVL 8

Expert Comment

by:Chakravarthi Ayyala
ID: 34169672
vm.nr_hugepages is the parameter for huge page setting.
0
 
LVL 8

Expert Comment

by:Chakravarthi Ayyala
ID: 34170256
Hello hussainkhan22,
  Could you please answer the following questions?

1. How much RAM you have?
2. How much memory you want to allocate for Oracle?
3. Reason for asking Q 2 is to suggest you the values for parameters like shmmax accordingly.

 
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 34172790
This question is likely derived from a previous question:
http://www.experts-exchange.com/Database/Oracle/Q_26618357.html
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question