Article 8
Script to check the Database status in HTML formatset lines 200col FIRST_CHANGE# format 999999999999999col NEXT_CHANGE# format 999999999999999col name format a60col member format a70spool...
View ArticleArticle 7
Script to get the Metadata of all Dblinks in the Databaseset lines 240set echo offset feedb offset termout offset heading offSET VERIFY offset trimspool onset long 32766set longchunksize 120col l1...
View ArticleArticle 6
Script to check the Scheduled Jobs in the Databaseset lines 200col owner format a12col username format a12col job format a30col instance format a12col last_date format a20col next_date...
View ArticleArticle 5
Script to add new Standby Logfilecol member format a60set lines 200set pages 999set serveroutput on size 1000000DECLARE CURSOR c_inst IS SELECT thread#, MIN(GROUP#) min_group, MAX(GROUP#)...
View ArticleFind objects size in MBytes (TABLES, INDEXES, PARTITIONS etc)
SummaryFinding object size in Oracle database is very important and common.Is it very useful to know the exact size occupied by the object at the tablespace.The object size in the following scripts is...
View ArticleArticle 3
Script to drop Standby LogfileCOL MEMBER FORMAT A48SET SERVEROUTPUT ON SIZE 1000000DECLARE lv_sql_1 VARCHAR2(400) := 'ALTER DATABASE DROP STANDBY LOGFILE GROUP '; lv_sqL VARCHAR2(400) := NULL;...
View ArticleBuffer Pool used
SummaryYou know that you can define the size of each buffer pool in the buffer_cache as you like, but how much of them is used? Use this script first to find how buffer pools are set.SELECT...
View ArticleArticle 1
Scripts to bounce the database to Archivelog mode and Flashback modeset echo offset feedb offset heading offset verify offset trimspool onset lines 200set define onSET SERVEROUTPUT ON SIZE 1000000--...
View ArticleArticle 0
Scripts to check the nologging tables and indexescol index_name format a50col table_name format a50col db_name format a14col type format a10select sys_context('userenv', 'db_name') db_name,...
View ArticleJava out of memory "java/lang/OutOfMemoryError" in glassfish
Java heap space increase in glass-fish console.Go to Configurations ---> JVM Setting.Change the value -XX:MaxOermSize=192m to Approximate value -XX:PermSize= 64m to...
View ArticleORA-03134: Connections to this server version are no longer supported
12c Db-link cannot connect 9i Database as per the latest upgrade and the compatibility matrix 1) connecting from 12c to 9i Db by adding another 11g Database in-between....
View ArticleEBS R12 Front page is not opening
Hi,After running the following steps issue has been resolved. 1).cd $FND_TOP/patch/115/bin2).perl ojspCompile.pl --compile --flush -p 23).Run the autoconfig both db and apps tier4).bringup the service...
View ArticleHow to export/import full Oracle Apex applications
Script for Apex application and workspace export:#!/bin/sh#apex application backupAPPBKP=/u01/oracle/appbkpWRKSPCBKP=/u01/oracle/wrkbkpJAVA_HOME=/home/oracle/jdk1.7.0_71cd...
View ArticleQuery To Get Concurrent Request ID for a Given Oracle SID
SELECTs.inst_id,a.request_id,s.sid,s.serial#,c.spidFROMapps.fnd_concurrent_requestsa,gv$processc,gv$sessionsWHEREs.sidin('&SID')ANDs.paddr=c.addrANDa.oracle_process_id=c.spidANDa.phase_code=UPPER('...
View ArticleERROR: ORA-00020: maximum number of processes (1000) exceeded
ORA-00020 this error occure when database exceeds the initialization parameter PROCESSES value. 1)The solution will be to increase the PROCESSES parameter, 2)kill the the unwanted process like...
View ArticleHow to use Goldengate Logdump Utility
Logdump Commands:Open LogdumpGo to the Oracle GoldenGate Software directory.[GoldenGate]$ $GG_HOME/logdumpOpen a Trail FileTo open a trail file and read it’s content, specify the trail file at the...
View ArticleQuery to monitor the ASM diskgroup daily
Script :spool /oracle/app/script/log/prod_report_asm.log_asm.logset serveroutput ondeclarev_diskgroup_name varchar2(50);v_total_space number(12);v_free_space number(12);v_pct_free number(6,3);beginfor...
View ArticleDBMS_METADATA.GET_DDL Scripts
To extract package definition from database:set pagesize 0set long 90000SELECT DBMS_METADATA.GET_DDL('PACKAGE','') FROM dual;To extract package body definition from database:set pagesize 0set long...
View ArticleCheck number of sessions per hour for EACH INSTANCE in a RAC environment
Script :SELECTto_char(TRUNC(s.begin_interval_time,'HH24'),'DD-MON-YYYY HH24:MI:SS') snap_begin,r.instance_number instance,r.current_utilization sessions FROMdba_hist_resource_limit r,dba_hist_snapshot...
View ArticleCheck no. of count and datewise occurrence of ORA-1555 alerts from database
Date wise occurrence of ORA-1555select to_char(begin_time, 'mm/dd/yyyy hh24:mi') "Int.Start",ssolderrcnt "ORA-1555s", maxquerylen "Max Query",unxpstealcnt "UNExp SCnt",UNXPBLKRELCNT "UnEXPblks",...
View Article