Quantcast
Channel: 12c – EasyOraDBA
Browsing latest articles
Browse All 60 View Live

Enable Transparent Data Encryption in Oracle 12c (12.1 12.2)

1. Add Encryption Wallet in sqlnet.ora Location $ORACLE_HOME/network/admin [oracle@localhost admin]$ vi sqlnet.ora ENCRYPTION_WALLET_LOCATION = (SOURCE =(METHOD = FILE)(METHOD_DATA = (DIRECTORY =...

View Article


Install Oracle Database 12cR2 Silent Mode on CENT OS 7 & Oracle Linux 7

If you are going to work on Oracle Database in cloud or in environments where X11 client or server is not available. It is always good to learn how to do a silent installation of Oracle. Specially in...

View Article


Create or Drop Public Synonyms in Oracle

Synonym is an alternative name for a table, view, sequence, procedure, stored function, package, materialized view, Java class schema object, user-defined object type, or another synonym. — Create a...

View Article

Patching Oracle 12c Multi-tenant to latest PSU now known as DPBP

Before we begin this is a note from the Oracle Website The name of these bundle patches was changed to “Database Proactive Bundle Patch” in April 2016. The patches include fixes for both Engineered...

View Article

Query to check sessions writing to flashcache on Exadata

Query to check sessions writing to flashcache on Exadata select se.sid, sn.name, s.value, se.program from v$sesstat s natural join v$statname sn left join v$session se on (s.sid = se.sid) where sn.name...

View Article


Oracle Dataguard Broker 12c with password file in ASM

Configure 12c dataguard broker using the below command onPrimary database server primeprd – > tnsnames for primary database primedr-> tnsnames for standby database /home/oracle::11g–>dgmgrl...

View Article

Configuring Oracle Wallet for Multiple RAC Databases sharing same Oracle Home

1 ) Set the environment variable also via srvctl @ oracle user. export ORACLE_UNQNAME='$ORACLE_HOME/bin/srvctl config database |grep -w ${ORACLE_SID%?}' srvctl setenv database -d secdev -T...

View Article

Oracle 12c Dataguard RAC Primary to RAC Standby with Dataguard Broker (on...

Setup for the Environment ——————- Exadata X4-2 Quater Rack n Primary and Standby Site Grid Version : 12.1.0.2 DB Home Version : 12.1.0.2 Primary, 2 Node RAC, db_unique_name = primeprd Instance 2 :...

View Article


Check ASM Diskgroup Space and Directory Size

The script below can be used to check the Disk Group Space Free and also Check Directory sizes for each Disk Group The script is written by somebody at Pythian but i cannot re-collect the original link...

View Article


Generate Excel and PDF in Oracle and Send Report by Email

First Install UTL_MAIL ### To install UTL_MAIL: [code language="sql"] sqlplus sys/**** @$ORACLE_HOME/rdbms/admin/utlmail.sql @$ORACLE_HOME/rdbms/admin/prvtmail.plb [/code] ### Create a Reporting User...

View Article

Monitor Tablespace Script Oracle 12c 11g 10g

The Below Script will generate output if percentage of tablespace space left free is less tan 20%. You can easily put in a shell script and schedule it on crontab to send alerts on a daily basis....

View Article

SYSAUX tablespace growing rapidly in Oracle, 12c Unified Audit Trail AUDSYS

The Unified Auditing in Oracle 12c can Grow the SYSAUX table to a large size. In our case it grew to about 100GB and We had to take action to make sure it did not grow any larger. First we query to...

View Article

Oracle 12c Transparent Data Encryption (TDE) on RAC Database with Physical...

Oracle 12c TDE on RAC Database with Physical Standby RAC. The Oracle Database Home has Multiple Instances, due to which we have to use parameter $ORACLE_UNQNAME for ENCRYPTION_WALLET_LOCATION in...

View Article


EXPDP/IMPDP – ORA-04063 (view "SYS.KU$_RADM_FPTM_VIEW" Has Errors) on Full...

This is caused by a mismatch between the character set in which the table radm_fptm$ is created and in which the type ku$_radm_fptm$_t is created. This leads to the ORA-932 error when trying to...

View Article

Restore Table from RMAN Backup Oracle 12c

  One of the amazing features of Oracle Database 12c is that now you can do a logical restore from a physical backup. Before 12c it was not possible to restore a table from a RMAN backup. This feature...

View Article


Move Table to Another Tablespace Online Oracle Database 12c

The new PL/SQL procedure REDEF_TABLE in Oracle 12c  lets you redefine a table online in a single step. It can do the below changes Move table,partition or index to another tablespace Compression type...

View Article

Rebuild All Indexes on a Schema in Oracle

spool index_rebuild.sql select 'alter index '||owner||'.'||index_name ||' rebuild online nologging;' from dba_indexes where owner=upper('SAMPLE'); spool off   The post Rebuild All Indexes on a Schema...

View Article


ORA-00600: internal error code, arguments:...

Error in Alert Log: Errors in file /u03/app/oracle/diag/rdbms/primeprd/primeprd1/trace/primeprd1_ora_303370.trc (incident=1070393): ORA-00600: internal error code, arguments:...

View Article

Restore and Upgrade Oracle Database from 11gR2 to 12c from Exadata X4-2 to X7-2

Upgrade from Exadata X4-2 11g (11.2.0.4) to Exadata X7-2 12CR1 (12.1.0.2.0) : ASM to ASM Oracle Database 11.2.0.3and 11.2.0.4 to Oracle 12.2.0.1 Direct upgrade is supported by Oracle. If you have...

View Article

Shell Script to Monitor Oracle Tablespace and Send Email Alert Only If...

export MMSG=/tmp/$$.mail export ADDR="shadab@easyoradba.com" export ORACLE_HOME=/u01/app/oracle/product/12.1.0/dbhome_1 export ORACLE_SID=orcl file=/tmp/${$}_`date +%Y%m%d` sqlplus -s "/as sysdba"...

View Article

ORA-00201: control file version 11.2.0.0.0 incompatible with ORACLE version...

One of my readers today send me an error they got while restoring a database via RMAN RMAN> startup mount; Oracle instance started RMAN-00571:...

View Article


Image may be NSFW.
Clik here to view.

Move Oracle Database 12c from On-Premise to AWS RDS Oracle Instance using SQL...

Amazon Web Services has been gaining popularity in the last few years since cloud computing has been in the spotlight. Slowly the Traditional Enterprises are making the journey to the cloud. Oracle is...

View Article


Install Statspack for Performance Tuning on OCI VMDB Standard Edition Databases

— Go to Directory location for Statspack Install scripts on the VMDB host —cd /u01/app/oracle/product/12.2.0.1/dbhome_1/rdbms/admin — From cdb$root — sqlplus “/as sysdba” @spcreate.sql Enter value for...

View Article

HTTP 404 Not Found The Request Could Not Be Mapped To Any Database After...

Error : The request could not be mapped to any database. Check the request URL is correct, and that URL to database mappings have been correctly configured Reason : This error usually occurs when you...

View Article
Browsing latest articles
Browse All 60 View Live