Quantcast
Channel: Doyensys Allappsdba Blog..
Browsing all 1640 articles
Browse latest View live

Recover Datafiles which are not backed Up

You recently added a data file to a tablespace and had a failure before the data file was backed up. For example, a backup is taken:RMAN> backup database;Sometime after the backup has finished, a...

View Article


Rename Diskgroup having OCR , Vote File , ASM SPILE

Consider a setup having OCR ,Vote File and ASM SPFILE on a diskgroup. You have a requirement to rename this diskgroup."renamedg" utility can be used to rename of the diskgroup when the diskgroup is...

View Article


Query all Data Pump jobs and session information

SET TERMOUT OFF;COLUMN current_instance NEW_VALUE current_instance NOPRINT;SELECT rpad(instance_name, 17) current_instance FROM v$instance;SET TERMOUT ON;PROMPT PROMPT...

View Article

Top CPU Consuming SQL During A Certain Time Period

select * from (selectSQL_ID, sum(CPU_TIME_DELTA),sum(DISK_READS_DELTA),count(*)fromDBA_HIST_SQLSTAT a, dba_hist_snapshot swheres.snap_id = a.snap_idand s.begin_interval_time > sysdate -1and...

View Article

Which Database Objects Experienced the Most Number of Waits in the Past One Hour

set linesize 120col event format a40col object_name format a40select * from ( select dba_objects.object_name, dba_objects.object_type,active_session_history.event, sum(active_session_history.wait_time...

View Article


Top 5 Queries for past week based on ADDM recommendations

/*Top 10 SQL_ID's for the last 7 days as identified by ADDMfrom DBA_ADVISOR_RECOMMENDATIONS and dba_advisor_log*/col SQL_ID form a16col Benefit form 9999999999999select * from (select b.ATTR1 as...

View Article

DBUPGDIAG script to check integrity of database before 11g upgrade

ol TODAY NEW_VALUE _DATEcol VERSION NEW_VALUE _VERSIONset termout offselect to_char(SYSDATE,’fmMonth DD, YYYY’) TODAY from DUAL;select version from v$instance;set termout onset echo offset feedback...

View Article

Data Guard Switchover Unix shell script

$ cd /var/opt/oracle/dataguard$ ./pre_switchover_check.sh$ ./make_me_standby.sh On the machine where the Standby Database is running we need to run the following script: $ cd /var/opt/oracle/dataguard$...

View Article


Script – Top SQL (Physical Reads)

set serverout on size 1000000set feedback offdeclaretop5 number;text1 varchar2(4000);x number;len1 number;Cursor c1 isselect disk_reads,substr(sql_text,1,4000)from v$sqlareaorder by disk_reads...

View Article


Article 2

RC-00110: FATAL: ERROR OCCURRED WHILE RELINKING OF APPLYDBTECHSTACKRC-00110: Fatal: Error occurred while relinking of ApplyDBTechStackProblem:I faced the following error while cloning one of our...

View Article

Article 1

LSINVENTORYSESSION FAILED: RAWINVENTORY GETS NULL ORACLEHOMEINFOerror :$  opatch lsinventoryOracle Interim Patch Installer version 12.2.0.1.8Copyright (c) 2017, Oracle Corporation.  All rights...

View Article

Article 0

                            "ORA-01092: ORACLE instance terminated. Disconnection forced"Alert log shows lot of trace file and majorly shows Errors in file...

View Article

Migrating Database from ASM to Non-ASM

Migrating ASM Database to Non-ASM1.Take a note of files like spfile, controlfile, datafiles, tempfiles, and onlinelog files.2.Create the pfile from spfileSQL> create pfile from...

View Article


Install 12.1.5 oem management agent in silent mode

Overview:Installing a management agent in silent mode is only an alternative option to installing the agent using “Add Hosts” from console. “Add Hosts” target wizard will be useful if you want to...

View Article

ERROR: Invalid username and/or password LOG: Local Authentication...

Issue:Got the following error while setting preferred credentials for the host targetERROR: Invalid username and/or password LOG: Local Authentication failed...Attempt PAM authentication...PAM failed...

View Article


Article 0

                               UDI-31623: operation generated ORACLE error 31623                               ORA-31623: a job is not attached to this session via the specified handle.ISSUE:-We...

View Article

ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired

Error: ORA-39120: Table "OWNER"."TABLENAME" can't be truncated, data will be skipped. Failing error is:ORA-00054: resource busy and acquire with NOWAIT specified or timeout expiredSolution:Please see...

View Article


Image may be NSFW.
Clik here to view.

Article 0

ORA-39142: incompatible version number 5.1 in dump fileORA-39142: incompatible version number 5.1 in dump file.Recently I came across one issue while importing schema dump in 12c database.My...

View Article

Article 2

FAILED_NOT_RESTARTABLE in WebLogic Server 12CCAUSE : - Weblogic Server which you are trying to start is already running. - Weblogic Server which you are trying to start did not stop...

View Article

Article 1

root.sh fails Reporting 'srvctl start nodeapps -n <nodename> ... failed' as ons won't startAPPLIES TO:Oracle Database - Enterprise Edition - Version 11.2.0.1 and laterSYMPTOMS:New installation of...

View Article
Browsing all 1640 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>