Archive for the ‘Oracle Queries’ Category

Delete Expired Or Obsolete Archvielog Files By RMAN

August 10th, 2025, posted in Oracle Queries
Share
C:\Users\user>rman target /
Recovery Manager: Release 12.1.0.1.0 - Production on Wed Oct 11 17:19:15 2017
Copyright (c) 1982, 2013, Oracle and/or its affiliates.  All rights reserved.
connected to target database: DEV (DBID=4027486540)
RMAN>
RMAN> list expired archivelog all;
using target database control file instead of recovery catalog
specification does not match any archived log in the repository
RMAN>
Before crosscheck its shows like this.
RMAN> crosscheck archivelog all;
RMAN> backup archivelog until time 'sysdate-2' delete input;
To crosscheck all backups use:
RMAN> CROSSCHECK BACKUP ;
To list any expired backups detected by the CROSSCHECK command use:
RMAN> LIST EXPIRED BACKUP ;
To delete any expired backups detected by the CROSSCHECK command use:
RMAN> DELETE EXPIRED BACKUP ;
To crosscheck all archive logs use:
RMAN> CROSSCHECK ARCHIVELOG ALL ;
To list all expired archive logs detected by the CROSSCHECK command use:
RMAN> LIST EXPIRED ARCHIVELOG ALL ;
To delete all expired archive logs detected by the CROSSCHECK command use:
RMAN> DELETE EXPIRED ARCHIVELOG ALL ;
To crosscheck all datafile image copies use:
RMAN> CROSSCHECK DATAFILECOPY ALL ;
To list expired datafile copies use:
RMAN> LIST EXPIRED DATAFILECOPY ALL ;
To delete expired datafile copies use:
RMAN> DELETE EXPIRED DATAFILECOPY ALL ;
To crosscheck all backups of the USERS tablespace use:
RMAN> CROSSCHECK BACKUP OF TABLESPACE USERS ;
To list expired backups of the USERS tablespace:
RMAN> LIST EXPIRED BACKUP OF TABLESPACE USERS ;
To delete expired backups of the USERS tablespace:
RMAN> DELETE EXPIRED BACKUP OF TABLESPACE USERS ;
Share

Query To List Scheduled Jobs in Oracle Database

July 12th, 2025, posted in Oracle EBS Application, Oracle Queries
Share
Share

Oracle R12 E-Business Suite Output Post Processor (OPP) Fails To Pick Up Concurrent Requests With Error ‘Unable to find an Output Post Processor service to post-process request ’

November 17th, 2024, posted in Concurrent Request, Oracle Queries
Share
SELECT fcp.concurrent_process_id
FROM fnd_concurrent_queues fcq, fnd_concurrent_processes fcp
WHERE concurrent_queue_name = ‘FNDCPOPP’
AND fcq.concurrent_queue_id = fcp.concurrent_queue_id
AND fcq.application_id = fcp.queue_application_id
AND fcp.process_status_code = ‘A’;

Output example:

CONCURRENT_PROCESS_ID
———————
93557
93558
select name from APPLSYS.AQ$FND_CP_GSM_OPP_AQTBL_S ;

Output example:
NAME
——————————
OPP35562
OPP35563
OPP35564
OPP35565
exec fnd_cp_opp_ipc.unsubscribe(”);
Example:
exec fnd_cp_opp_ipc.unsubscribe(‘88933’);
exec fnd_cp_opp_ipc.unsubscribe(‘92625’);
Share

Output Post Processor (OPP) – An Overview By Author – A.Kishore/Sach

October 12th, 2024, posted in Concurrent Request, Oracle EBS Application, Oracle Queries
Share
SELECT service_id, service_handle, developer_parameters
FROM fnd_cp_services
WHERE service_id = (SELECT manager_type
FROM fnd_concurrent_queues
WHERE concurrent_queue_name = 'FNDCPOPP');
SERVICE_ID SERVICE_HANDLE DEVELOPER_PARAMETERS

Profile Option : Concurrent:OPP Process Timeout
Internal Name : CONC_PP_PROCESS_TIMEOUT
Description : Specifies the amount of time the manager waits for the OPP to actually
process the request.
Share