In a multi tenant
environment, this error comes when you try to open a password-based keystore in a pluggable
database and the keystore in root container is no already open. Please note
that to open keystore in any pluggable database, the keystore in root container
(CDB$ROOT) must be opened first, or alternatively you can use CONTAINER=ALL
option while opening keystore in the root container so that keystore for all
the pluggable databases is also opened.
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.
Wednesday, February 15, 2017
Tuesday, January 31, 2017
Transparent Data Encryption in 11g
In this article I would discuss how to implement Transparent Data Encryption (TDE) in 11g. TDE is used to encrypt data at table/column level or tablespace level. This ensures that encrypted data is accessible only by using encryption key that is stored in either Wallet or Hardware Security Module.
For RAC setups, encryption key needs to be stored/copies on all the RAC nodes. In dataguard setup, encryption key should also be copied on dataguard sites.
Monday, January 23, 2017
ORA-28365: wallet is not open
This error means that
you are trying to perform some operation in the database which requires encryption
wallet to be open, but wallet is not open. In 11g, use following command to open the
wallet. Provide password after “identified by” clause. In the following
scenario, password is “welcome”.
alter system set encryption wallet open identified
by "welcome1";
|
Saturday, December 31, 2016
Wednesday, October 26, 2016
DUPLICATE Database using Backup of a Database
If you want to create a duplicate database from a live/active database, you can follow this article. But if you want to DUPLICATE a database using backup of another database, you can use following steps. I am creating new database with a different name using DUPLICATE command, or you may want to retain same name for the database while duplicating.
Friday, October 14, 2016
Configuring OEM Express Control
Starting 12c, OEM
Database Control has been replaced by OEM Database Express. OEM Express
configuration is very simple as compared to previous OEM Database Control.
Following is the method to configure OEM Express. OEM Express Database is
configured separately for container database and each pluggable database.
Method is same; you just need to set current container to pluggable database
for which you want to configure the OEM, and execute the steps as explained
bellow.
Tuesday, October 4, 2016
Calculating ASM diskgroup Usable Size
Sometimes sizing
information of an ASM diskgroup returned by “lsdg” command from “asmcmd” prompt
(similar information is also available under v$asm_diskgroup view) leaves DBAs
perplexed. Sizing information and usable space for diskgroups with EXTERNAL
REDUNDANCY is quite easy to understand, but when it comes to NORMAL or HIGH
redundancy diskgroups, it is not very straightforward. Here I would explain ASM
diskgroup space calculation in detail to make it easier to understand. Before I
explain how to calculate usable space in an ASM diskgroup, some useful
information to note is as follows
Tuesday, September 20, 2016
Linux Error: No Space Left on Device
On Linux machine, there could be several reasons for this error message appearing in some log file, or on the command line output while executing some command. Most of the time we immediately start checking if our file system has still sufficient space left, but file system space is not the problem most of the time. Following are a few of them I will be discussing.
Monday, September 12, 2016
Enable Asynchronous IO for file System using FILESYSTEMIO_OPTIONS
We noticed that on one of our standby database, the log apply was quite
slow. I stopped managed recovery process which showed ORA-16037 in the alert
log file along with trace file name.
ALTER DATABASE RECOVER
managed standby database cancel Fri Nov 20 16:13:12 2015 RFS[2]: Selected log 12 for thread 1 sequence 504809 dbid -1228626264 branch 748801133 Fri Nov 20 16:13:13 2015 |
Thursday, August 11, 2016
Backing up OEM Cloud Conrol 12c, 13c
Just like any other application
or database deployment, we should also devise a backup and recovery policy for
the OEM deployments. Here I would discuss how we devise a backup policy to back
up our OEM 13c (and also previous versions) deployment. Following are the major
components that should be considered for the backup. Official documentation explains this in more detail
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 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, ...
-
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 ...
-
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...