Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Oracle Kernel parameters

Posted on 2010-11-17
16
Medium Priority
?
634 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 78

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 61

Accepted Solution

by:
HainKurt earned 400 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 78

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 78

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 800 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 400 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 78

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 800 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 400 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 78

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 78

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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month12 days, 11 hours left to enroll

971 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