Posts by Abishek Kathiresan

How to resolve ORA-39083 error during import

Error: =========== We came across below ORA error during import of Schema ORA-39083: Object type TYPE:”FMSDEV”.”SAMPLE_TYPE_TABLE” failed to create with error: ORA-02304: invalid object identifier literal Failing sql is: CREATE…

Read More

Script to Find Apex Page hits

Below script is for finding the Apex page hits ********************************************************************************************************** /home/oracle/backup/scripts/pagehits.sh . /home/oracle/db.env export SC_LOG=/Backup/pagehits/fms_`date +%d_%b_%H_%M_%Y`.log sqlplus -s <<EOF >>/usr/tmp/tmp1.log connect /as sysdba spool \$SC_LOG select flow_id,step_id,count(*) from FLOWS_030100.WWV_FLOW_ACTIVITY_LOG where…

Read More

Script to Find Apex Page Time

Below script is for finding the Apex Page Time ********************************************************************************************************** /home/oracle/backup/scripts/pagetime.sh . /home/oracle/db.env export SC_LOG=/Backup/pagetime/fms_`date +%d_%b_%Y_%H_%M`.log sqlplus -s <<EOF >>/usr/tmp/tmp2.log connect /as sysdba spool \$SC_LOG select flow_id,step_id,sum(elap)/count(*) “Average” from FLOWS_030100.WWV_FLOW_ACTIVITY_LOG…

Read More

Script to move files to FTP server

We can use the below script for moving files (like export dumps/RMAN backups) to FTP server for safety purpose. ******************************************************************************************************************** cat /TESTDB/app/bkp_scripts/test_sunday_to_ftp.sh . /home/oracle/test.env USERNAME=”—-Enter your username here—-” PASSWORD=”—-Enter your…

Read More

“Recovery Manager Failed to Restore Datafiles” – Using DBCA to Create Database 12.1.0.2.0 on Grid Infrastructure / ASM 12.1.0.2.0″

Error: ======= while creating a database using Database Configuration Assistant (DBCA) the following error is encountered:  “Recovery Manager Failed to Restore Datafiles Solution:-1 Check the compatibility of ASM & Database…

Read More

MATERIALIZED VIEW

DIFFERENCE BETWEEN View and Materialized View is that Views are not stored physically on the disk.View can be defined as a virtual table created as a result of the query but Materialized View is a…

Read More

Schema Refresh

SCHEMA REFRESH In this Post , Let us discuss the steps involved during schema refresh using datapump. Prerequisite to check on Before Export on SOURCE SIDE 1. Check the Schema…

Read More

RESTORE USING RMAN TO CREATE ORACLE 12C DATABASE ON SCRATCH SERVER

RESTORE USING RMAN TO CREATE ORACLE 12C DATABASE ON SCRATCH SERVER Overview Following is the scenario, All the hard drives of the production server have been damaged and we have…

Read More

REFRESH STANDBY USING INCREMENTAL(SCN BASED) BACKUP

REFRESH STANDBY USING INCREMENTAL(SCN BASED) BACKUP This method is used to resolve problems if a physical standby database has lost or corrupted archived redo data or has an unresolvable archive…

Read More

Installation and Configuration of Oracle Application Express with Oracle REST Data Services and Apache Tomcat

Installation and Configuration of Oracle Application Express with Oracle REST Data Services and Apache Tomcat Installed Softwares (requirement may vary) Oracle Application Express 5.1.4 Apache Tomcat 7.0.96 Oracle Rest Data Service ORDS…

Read More