I recently faced a
problem whereby full memory of system got occupied after the database startup
and eventually system was hung and reboot was inevitable. The recent change was
to setting huge pages on the host. Eventually
we found the reason that “soft memlock” was not set (oracle software owner name
was wrongly spelled when specifying memlock in /etc/security/limits.conf file).
Bu default “soft memlock” was set to a default value 64KB and none of huge
pages was in use by the Oracle (SGA). As a result, SGA was allocated from the
remaining memory (Huge pages would remain unused, yet allocated) and huge pages
were merely consuming memory without any use. Following message in alert log
let us understand the problem
Oracle Installation guides, Linux Administration tips for DBAs, Performance Tuning tips, Disaster Recovery, RMAN, Dataguard and ORA errors solutions.
No contents from my website can be published anywhere else without my permission. Test every solution before implementing in the production environment.
Friday, June 28, 2019
Saturday, June 22, 2019
Setting Huge Pages in Linux
If your Linux based
database server has huge amount of physical memory, it will be a good idea to
enable huge pages so that memory could be used efficiently by Oracle instance.
Setting huge pages means that you have bigger sized (2 MB) memory blocks in
memory to allocate to Oracle SGA. Bigger memory block size would mean fewer
number of total memory blocks, and this is where managing memory becomes
efficient by the OS. I would recommend to use/enable huge pages if host’s
physical memory size goes beyond 128G. But you can also set huge pages even for
a small amount of memory.
Monday, June 10, 2019
Migrating from Filesystem to ASM
While migrating from file system to ASM, we
create ASM instance on the current host before we could stamp the disks and
create asm diskgroups to migrate existing datafiles from the file system to the
ASM. Before we create/start ASM instance, we need to start “Oracle Cluster
Synchronization Service” (CSS). So, we initiate “dbca” to create/start ASM
instance as a first step. If you are using Windows, invoke dbca application
using right click and “Run as Administrator”.
Subscribe to:
Posts (Atom)
Popular Posts - All Times
-
This error means that you are trying to perform some operation in the database which requires encryption wallet to be open, but wallet is ...
-
Finding space usage of tablespaces and database is what many DBAs want to find. In this article I will explain how to find out space usage ...
-
ORA-01653: unable to extend table <SCHEMA_NAME>.<SEGMENT_NAME> by 8192 in tablespace <TABLESPACE_NAME> This error is q...
-
You may also want to see this article about the ORA-12899 which is returned if a value larger than column’s width is inserted in the col...
-
This document explains how to start and stop an Oracle cluster. To start and stop Grid Infrastructure services for a standalone installatio...
-
If database server CPU usage is showing 100%, or high 90%, DBA needs to find out which session is hogging the CPU(s) and take appropriate ...
-
If you want to know how we upgrade an 11g database to 12c using DBUA, click here . For upgrading 12.1.0.1 to 12.1.0.2 using DBUA, ...
-
By default AWR snapshot interval is set to 60 minutes and retention of snapshots is set to 8 days. For better and precise investigation of...
-
SWAP space recommendation from Oracle corp. for Oracle 11g Release 2 If RAM is between 1 GB and 2 GB, SAWP should be 1.5 times the s...
-
This article explains how to install a 2 nodes Oracle 12cR1 Real Application Cluster (RAC) on Oracle Linux 7. I did this installation on O...