Blog / Category
Database Blog
2094 articles in this category
Query to Identify Initial and Latest Login Sessions in Oracle Database
Please use the query below to identify and provide the SID and Serial#. col first_seen for a30 col last_seen for a30 SELECT MIN(sample_time) AS first_see…
Steps to Renew Default OHS Keystore Wallet in Oracle Enterprise Manager (OEM)
Please follow the below steps. Prerequisites Take a backup of the existing wallet. Ensure you have appropriate Oracle user privileges. Verify OMS…
How to Unlock Locked SQL Server Logins
How to Unlock Locked SQL Server Logins Introduction / Issue During day-to-day SQL Server administration, users may report that they are unable to connect to the…
SQL Server Audit File Enabled for Both Failed and Successful Logins
SQL Server Audit File Enabled for Both Failed and Successful Logins Introduction During a routine SQL Server security review, it was observed that SQL Server Au…
Upgrading to PostgreSQL 16 Using pg_dump and pg_tresore
One of the safest and most reliable upgrade methods is to use pg_dump and pg_restore. This guide walks through the process of migrating your databases from an o…
Kafka Administration Commands
Kafka Administration Commands Introduction Apache Kafka is a distributed event-streaming platform used to build real-time data pipelines and streaming applicati…
Applying the October 2025 Critical Patch Update (CPU) in EBS R12.2
Oracle E-Business Suite Release 12.2 – Applying the October 2025 Critical Patch Update (CPU) Overview This article outlines the high-level procedure for applyin…
Oracle E-Business Suite R12.2 AD/TXK Delta 16 Upgrade – Practical Implementation Guide
Introduction Oracle E-Business Suite (EBS) Release 12.2 requires periodic updates to its Application DBA (AD) and Technology Stack (TXK) components to maintain…
Encryption in Vulnerability Management
Introduction/ Issue: Organizations store and transmit sensitive information, including user credentials, employee records, financial data, system configurations…
Ciphers and Their Importance in Security
Introduction/ Issue: A cipher is a cryptographic algorithm used to convert readable data, called plaintext, into an unreadable format called ciphertext. Authori…
Managing REST Service Activities in Oracle E-Business Suite Using Ant Scripts
Introduction Oracle E-Business Suite (EBS) provides the Integrated SOA Gateway (ISG) to expose business logic as REST and SOAP web services. As organizations pr…

Using DBVERIFY (DBV) to Validate Oracle Datafiles in Oracle Database 19c Standalone
Introduction Oracle Database stores all user and system data in datafiles. Although Oracle performs automatic integrity checks during normal database operations…

Why Equal Sized Data Files Matter: Understanding SQL Server Allocation Behavior
Introduction Among all the databases, tempDB is one of the most heavily utilized system databases in SQL Server. Every day, it supports critical internal operat…

One of SQL Server’s Biggest Misconceptions : Concurrency vs Parallelism
Introduction One of the biggest misconceptions among SQL Server professionals is assuming that Concurrency and Parallelism mean the same thing. Many DBAs…
SQLT INSTALLATION AND DEINSTALLATION
Introduction Performance tuning is one of the most critical responsibilities of an Oracle DBA. When an SQL statement runs slowly, consumes excessive CPU, perfor…
Resolving ORA-65047 and ORA-07445 Errors While Recompiling Invalid Objects in Oracle 19c PDB
Issue: After successfully upgrading an Oracle Database 19c environment, it is common to validate the database by checking for invalid objects and recompiling th…

SQL Server TempDB Log Growth: Finding the Root Cause
Introduction TempDB is one of the busiest databases in SQL Server. It supports temporary objects, sorting operations, version stores, hash operations, and many…

SQL Server Always On: Diagnosing Secondary Replica Connectivity Issues
SQL Server Always On: Diagnosing Secondary Replica Connectivity Issues Introduction High Availability is one of the most critical aspects of a SQL Server enviro…
ADRCI-Automatic_Diagnostic_Repository_Command_Interpreter
ADRCI -Automatic Diagnostic Repository Command Interpreter in Oracle Database 19c Introduction Oracle Database includes a powerful diagnostic tool called ADRCI…
Oracle_EBS_12_2_15_fresh_installation
Oracle E-Business Suite 12.2.15 Fresh Install on Oracle Cloud Infrastructure (OCI) Introduction Oracle Cloud Infrastructure (OCI) Marketplace makes it easy to d…
Frequently Encountered ECC Challenges in Oracle EBS
Oracle Enterprise Command Center (ECC) significantly improves the Oracle E-Business Suite user experience by providing role-based dashboards, data visualization…
Oracle Enterprise Command Center (ECC) V13 Installation and Integration with Oracle E-Business Suite 12.2.5
Overview Oracle Enterprise Command Center (ECC) provides a modern, search-driven user experience that enables business users to analyze transactional data throu…
Installing DBMS_CLOUD on 19c
Description DBMS_CLOUD is the Oracle package that lets the database connect to cloud object storage (OCI, Amazon S3, Azure Blob Storage) to create credentials,…
Real-Time MongoDB Performance Monitoring Using jq
Learn how to build lightweight, production-ready Bash and PowerShell scripts using jq to stream database logs and monitor server metrics in real-time. In our pr…

Installation and Configuration of Apex 26.1 in Oracle 26AI Database
Introduction: Oracle APEX is Oracle’s low-code development platform that enables developers to build secure, scalable, and enterprise-grade web applications wit…

Red Hat Satellite Content Views, Lifecycle Environments and Activation Keys – A Practical Enterprise Design
Introduction/ Issue Managing software packages and updates across hundreds or thousands of Red Hat Enterprise Linux (RHEL) servers can quickly become difficult…

Azure VM Restore from One Region to Another Using OS Disk Snapshot
Introduction/ Issue Disaster recovery and workload migration are common operational requirements in cloud environments. There are situations where an Azure Virt…

Upgrade Oracle Container Database from 19c to 26AI using AUTOUPGRADE Utility.
Introduction: Keeping Oracle databases on supported releases is essential for security, performance, and access to new features. Oracle AI Database 26ai introdu…
Optimizing Oracle Data Guard: Reducing Archive Logs & Apply Lag
Issue On an Active Data Guard configuration, we noticed periods where archive log generation on the primary spiked well above normal, and the standby’s apply la…
Boosting Analytic Query Performance with Oracle Database In-Memory
Introduction A set of reporting and analytic queries against a large, frequently scanned table were taking longer than expected, with a large share of the respo…
The Hidden Power of jq for Processing MongoDB Logs
Stop scrolling through raw JSON lines. Master command-line log querying using jq pipelines to diagnose errors, isolate slow queries, and monitor replication eve…
OCI Vault-Based TDE vs Traditional Wallet-Based TDE: What Changes for a DBA
Introduction: Transparent Data Encryption (TDE) has been part of the Oracle DBA toolkit for years – encrypt the datafiles, manage a wallet, move on. But once a…
Azure SQL Database Service Tiers Explained: Which One Should You Pick?
Introduction/ Issue: One of the most common challenges organizations face when migrating databases to Azure is selecting the appropriate Azure SQL Database serv…
SQL Server Snapshot vs Backup: Stop Confusing Them Before It Costs You
Introduction/ Issue: Database snapshots and backups are often mistaken for the same feature because both capture the state of a database at a specific point in…
Fixing FRM-92101 Error After Re-Enabling a Custom Concurrent Program in Oracle EBS
Introduction During a recent Oracle E-Business Suite (EBS) maintenance activity, we needed to re-enable a custom concurrent program that had been disabled for a…
Resolving PDB PLUG IN VIOLATION Wallet Key Needed Error When Opening Encrypted PDB
Introduction When attempting to open a plugged-in pluggable database (PDB) that contains encrypted tablespaces, the following error is raised: “TEST(5):ALTER PL…
ORA-01000: Maximum Open Cursors Exceeded – Causes and Solutions
Introduction ORA-01000: maximum open cursors exceeded is a common Oracle Database error encountered when a session opens more cursors than allowed by the OPEN_C…
ORA-04021: Timeout Occurred While Waiting to Lock Object – How to Find the Blocker
Introduction ORA-04021: timeout occurred while waiting to lock object occurs when Oracle tries to get a lock on an object, but another session is already using…
Azure Availability Sets vs Availability Zones Choosing the Right High Availability Solution
When we deploy applications in Azure, one of the first things we think about is availability. Nobody wants an application to go down because a physical server f…
Azure Resource Locks: Preventing Accidental Deletion
Introduction If you’ve worked in Azure for any length of time, you’ve probably experienced that moment of panic after clicking Delete on the wrong resource—or a…

Text Chunking in Oracle AI Database 26ai: A Practical DBA Guide
Artificial Intelligence is becoming a core capability of Oracle Database, and one of the first concepts you’ll encounter while exploring AI Vector Search is tex…
What Happens When You Corrupt the Wrong Block: Lessons from Oracle 26ai’s Transaction Quarantine
Introduction I run a single-instance Oracle AI Database 26ai lab on my own VM, and I keep a running list of new features I want to actually get my hands dirty w…

Deploying a SQL Server database to a Microsoft Azure SQL database
Introduction / Issue Organizations often need to migrate SQL Server databases from on-premises environments to Microsoft Azure SQL Database to leverage c…

Migration from On-Premises SQL Server to Azure SQL Database Using a BACPAC File
Introduction / Issue Organizations migrating from on-premises SQL Server environments to Microsoft Azure SQL Database often encounter challenges because…
Understanding MongoDB’s Distributed Architecture: Replication and Sharding
Understanding MongoDB’s Distributed Architecture: Replication and Sharding Introduction / Issue As applications grow, they require databases that can handle inc…
Understanding MongoDB Document Model and Flexible Schema
Understanding MongoDB Document Model and Flexible Schema Introduction / Issue Traditional relational databases require a predefined schema, where every record i…
Immutable table in oracle database 19c
Why Do We Need Immutable Tables? In many applications, certain data should never be modified once it is stored. Traditional tables allow UPDATE and DELETE opera…
How to Configure Oracle Database Vault on an Oracle 19c CDB
Why Oracle Database Vault? In a traditional Oracle database, users with powerful privileges such as SYS or DBA can access sensitive application data. While thes…

Create custom software image in OCI console
Introduction: A software image in Oracle Base Database Cloud Service serves as a preconfigured template containing a specific Oracle Database and Grid Infrastru…
ORA-14656: Cannot Drop the Parent of a Reference-Partitioned Table – Root Cause and Resolution
Introduction Partitioning is one of Oracle Database’s most powerful features for managing large tables efficiently. Among the available partitioning methods, Re…
Oracle 19c: Resolving ORA-28374 “Typed Master Key Not Found in Wallet” After Creating a New PDB
Introduction While working with Oracle Database 19c in a multitenant environment with Transparent Data Encryption (TDE) enabled, I ran into an issue while addin…
How to Create a New PDB with TDE Enabled and an Encrypted Tablespace in Oracle 19c
Introduction In modern Oracle database environments, securing sensitive data at rest is a critical requirement. Transparent Data Encryption (TDE) ensures that d…
From Alert to Insight: How AI Agents Are Transforming SQL Server Performance Troubleshooting
1. Introduction / Issue It’s a typical Tuesday morning. The helpdesk lights up with reports: “CRM is crawling,” “Reports are timing out.” You, the SQL Server DB…
From Overwhelmed to Autonomous: How AI Agents Are Reshaping Oracle DBA Workflows
1. Introduction / Issue It’s 2 a.m., and your phone buzzes with a critical alert: “Order processing application slow – month-end batch delayed.” You log in, ope…
Secure OCI Databases with Network Load Balancers
When designing cloud architecture, security and accessibility are often at odds. You want your external clients to reach your database, but directly exposing a…

How to Configure Peer-to-Peer Replication in SQL Server in 7 Simple Steps
How to Configure Peer-to-Peer Replication in SQL Server: Complete Guide Introduction: In high-availability environments, applications often require data…

How to Configure Merge Replication in SQL Server in 7 Simple Steps
Merge Replication in SQL-Server Introduction: Merge Replication in SQL Server is used in distributed environments where multiple databases need to work independ…
Troubleshooting Oracle EBS R12.2 Login Page Hang Caused by WebLogic OACORE
Introduction One of the common issues Oracle E-Business Suite (EBS) administrators face is the login page hanging or failing to load. In many cases, the root ca…

Tried to import a partitioned table from Oracle enterprise edition to Standard edition 2 database.
Tried to import a partitioned table from Oracle enterprise edition to Standard edition 2 database. 1st Method : impdp \”/ as sysdba\” directory=DUMP dumpfile=2t…

Keys vs Indexes in SQL Server: Architecture and Behavior
In SQL Server environments, confusion between keys and indexes remains a common and often overlooked issue. Although closely related, keys and indexes serve dif…
Unlocking the Power of Table Partitioning in Oracle Databases
Unlocking the Power of Table Partitioning in Oracle Databases Managing large datasets efficiently is a key challenge for database administrators (DBAs). One sol…

Speeding Up SQL Server Operations with Instant File Initialization (IFI)
In SQL Server environments, routine administrative operations such as database restores, data file growth, and the addition of new data files can become increas…
Step-by-Step Guide: Configure Debezium with PostgreSQL 17 and Apache Kafka
Prerequisites PostgreSQL 17 installed and running. • Java 11 or later installed. • Apache Kafka and Kafka Connect. • Debezium PostgreSQL connector JAR placed in…
Index Usage & Missing Index Checks in Oracle
A Practical Guide for Oracle DBAs Indexes play a critical role in Oracle database performance. While well-designed indexes can dramatically improve query respon…
Oracle Audit Trail Queries
A Practical Guide for DBAs Auditing helps Oracle DBAs track who did what, when, and from where. Whether for security reviews, compliance, or incident investigat…
Resolving PRCR-1079 / CRS-5076 Due to DB_UNIQUE_NAME Mismatch in Oracle RAC
Error While starting an Oracle RAC database using srvctl, the startup failed with: PRCR-1079: Failed to start resource ora.RACDB.db CRS-5076: Startup of databas…
How to Enable Active Data Guard on a Physical Standby
Description: – Active Data Guard allows a physical standby database to be opened in READ ONLY mode while redo apply continues in the background. This enables th…
How to Perform Password-Based Encrypted RMAN Tablespace Backup & Restore
Overview This blog explains how to secure an Oracle 19c tablespace using RMAN password-based encryption and demonstrates a complete backup, restore, and recover…

Oracle 19c Table Shrink Space
Shrinking a table in an Oracle database is used to reclaim unused space and optimize storage. As data is inserted, updated, and deleted over time, tables can be…
Query to get the output for object privileges, roles, system privileges with details
Please use the below query to get the output. set echo on; SELECT COUNT(*) AS object_priv_count FROM dba_tab_privs WHERE grantee = ‘A’; set echo on; SELE…
Script to create trace at database schema level by enabling trigger model.
Please execute the below and change the username accordingly. After the trace drop the trigger. CREATE OR REPLACE TRIGGER “1234_TMP_LOGGINGTRIG” AFTER LO…

Telegraf configuration to scrape database information in windows server
Telegraf is a small tool that collects system and application data and sends it to monitoring tools like Prometheus, Grafana.Telegraf helps you see what is happ…

Automating_patch_in_windows_server
1.Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass # — CONFIGURATION — $oracleHome = “D:\automation\WINDOWS.X64_193000_db_home” $patchDir = “D:\automa…

Step-by-Step guide to installing MySQL Server
Step-by-Step guide to installing MySQL Server Step 1: Download MySQL Installer Open your web browser and go to the official MySQL downloads page. Choose the MyS…

Common causes of SQL Server Timeout
Common causes of SQL Server Timeout During a recent production run, a stored procedure timed out at peak order processing. This caused delays in processing orde…

Oracle LogMiner: Unlocking the Power of Database Transaction Analysis
Oracle LogMiner: Unlocking the Power of Database Transaction Analysis In the world of database management, understanding the changes happening inside your Oracl…

How Oracle 19c Protects SQL Performance Using SQL Plan Management (SPM)
How Oracle 19c Protects SQL Performance Using SQL Plan Management (SPM) What is SQL Plan Management (SPM)? SQL Plan Management ensures that only known and verif…

Copying Table Data from Source to Destination in SQL Server
Purpose and Scope This document describes the procedure to copy table data from a source server to a destination server using the SQL Server Import and Export W…
Basic SQL Performance Tuning tips
The purpose of this article is to give newbies some basic advice about SQL performance tuning that helps to improve their query tuning skills in SQL Server. Int…
How to Add a Database to an Existing Always On Availability Group
Introduction : Always On Availability Groups is a high-availability and disaster-recovery feature in SQL Server that ensures database continuity with minimal do…
Oracle EBS Security Under Control: Automated Audits with FND Tables
1. Security Model Overview Oracle EBS security is built on a multi-layer authorization model: FND_USER → user identity FND_RESPONSIBILITY → functional access FN…
Why OACORE Slows Down: A JVM Health Monitoring Guide for EBS 12.2
1. Background & Architecture Context In Oracle E-Business Suite 12.2, OACORE is the primary Java container responsible for handling: OA Framework pages Forms se…
High_Severity_)Vulnerability
Oracle E-Business Suite Hit by New High-Severity Vulnerability (CVE-2025-61884) Overview Oracle has disclosed a new high-severity vulnerability, CVE-2025-61884,…
Remove_Used_Disk_from_an_ASM_Disk_Group_in_Oracle_19c_RAC
How to Safely Remove a Used Disk from an ASM Disk Group in Oracle 19c RAC Removing or deleting a used disk from an ASM disk group in Oracle 19c RAC without impa…
Configuring OSWatcher on Linux Systems
Introduction: Performance issues on Linux servers rarely announce themselves politely. A database slows down for a few minutes, an application freezes under loa…
Configuring a Reverse Proxy on a Linux VM Using NGINX
Introduction In many Linux-based environments, applications are deployed on separate virtual machines or run on different ports of the same VM. While this appro…

Postgresql Installation
POSTGRESQL INSTALLATION ON WINDOWS PURPOSE AND SCOPE This document focuses exclusively on the installation of PostgreSQL. It outlines the purpose…

SQL Server Index Maintenance
SQL Server Index Maintenance: Improving Query Performance PURPOSE AND SCOPE This document explains the importance of index maintenance in SQL Server and demonst…

Oracle GoldenGate Installation on Linux
Oracle GoldenGate Installation on Linux Introduction Oracle GoldenGate is a real-time data integration and replication tool that enables reliable, secure, and h…
Setting Up Azure Monitor and Alerts for Proactive Incident Detection
Introduction / Issue In modern cloud environments, infrastructure reliability depends heavily on continuous monitoring. Virtual machines, storage accounts, data…
Recovering Deleted Files Using Snapshot Backups in Linux
Introduction / Issue Accidental file deletion is a common risk in production environments. Even experienced administrators can mistakenly remove critical files…
Oracle Data Guard Setup in Oracle 23ai Migrating from Non-CDB (Primary) to CDB (Standby)
Introduction This document explains how to configure a normal Oracle Data Guard physical standby in Oracle Database 23ai, where the primary database is a Non-CD…
Step by Step Guide to Oracle Data Guard Broker (DGMGRL)
Introduction High availability and predictable disaster recovery are critical in any Oracle production environment. While managing Data Guard manually via SQL*P…

Creating a Database Link in Oracle 19c Database to connect MS SQL Server using ODBC Driver
Prerequisite: 1. MS SQL Server with a SQL Authenticated User. CREATE LOGIN Sivakumar WITH PASSWORD = ‘Doyen@123′, CHECK_POLICY = OFF; SELECT name, type_desc, is…
Parameter Sniffing Issue in SQL Server and Its Resolution
Parameter Sniffing Issue in SQL Server and Its Resolution Parameter Sniffing Issue in SQL Server and Its Resolution
Performance Tuning of Slow Running Queries in SQL
Performance Tuning of Slow Running Queries in SQL
The Transaction Log Trap: How to Shrink Smart and Avoid SQL Server Pitfalls
Introduction: Transaction log growth is a common operational challenge in SQL Server environments. Uncontrolled log file growth can lead to disk space issues, p…
The One Data Guard Step I Missed: Forgetting Standby Redo Logs (And How I Fixed It)
Introduction Data Guard setups often appear straightforward on paper, but real-world environments have a way of exposing gaps in even the most familiar procedur…
How to Verify Transport, Apply Status, Gaps, and Errors in Oracle Data Guard
INTRODUCTION: As an Oracle DBA, setting up Data Guard is only half the job. The real responsibility starts after the setup — making sure redo is shipping, apply…
Stop Wrestling with Your Data: How SQL Server 2025 Turns Every Employee into an Insight Power User
Introduction: Picture a retail buyer, minutes before a key vendor meeting, asking their system, “What were our top-selling colours in outdoor apparel last seaso…
Oracle Database 26ai: Making Every Employee a Data Expert Without the Complexity
Title: How Your Team Can Finally Ask Questions in Plain English and Get Instant Answers (No Tech Skills Needed) Introduction: Imagine a sales manager on a Monda…
AWS RDS to OCI Migration –(Oracle Data Pump Based)
Introduction Migrating Oracle databases from AWS RDS to Oracle Cloud Infrastructure (OCI) is a common requirement for organizations adopting OCI-native services…
Building Secure Cloud Environments in OCI Without Networking Complexity
Introduction As organizations move critical workloads to the cloud, traditional perimeter-based security models are no longer sufficient. Modern cloud environme…
Keeping OCI Logging Costs Under Control: A Practical Guide for Cloud Users
Introduction Many OCI users are noticing sudden cost increases even though their compute or storage usage hasn’t changed. In most cases, this happens because lo…
Reducing AWS Costs by Right-Sizing Kubernetes Workloads
Introduction/Issue:Running Kubernetes on AWS gave us flexibility, but we noticed our monthly bills were climbing fast. On closer inspection, we found workloads…
Fixing CrashLoopBackOff in Kubernetes Pods
Introduction/Issue:During one of our deployments, we noticed several pods stuck in a CrashLoopBackOff state. This immediately raised alarms since critical servi…
Apply ASM and Oracle Patch in Standalone Server
Apply ASM and Oracle Patch in Standalone Server This detailed guide walks you through applying ASM and Oracle patches in a standalone server environment, from d…
WSO2 configuration
Table of Contents Create User in Carbon URL 1.1 Assign Privileges to the Created User 1.2 Verify the Created User Create API in Publisher URL Get Token from Dev…

Automating Oracle 23ai DB Deployment with Ansible Playbooks across Hosts
Prerequisites Install Python 3 and Ansible on the source (control) host. Install Python 3 on the destination (target) host (Ansible requires Python on the targe…

Oracle Enterprise Manager 13.5 Deployment in Oracle 19c DB
Prerequisite: 100GB size is required for OEM, Agent. Below parameters to be updated on DB. Alter system set “_allow_insert_with_update_check”=true scope=both; A…
23ai_Unified_Auditing_feature_and_Best_Practices
Oracle 23ai Auditing: Unified Audit Trail, Features, and Best Practices Why Auditing Matters in Oracle Database 23ai In today’s high-stakes data environment, kn…
Creating_Auditing_in_Oracle_Database_23ai
How to Check and Create Auditing Policies in Oracle Database 23ai Auditing in Oracle Database 23ai is not just about compliance — it’s about knowing exactly who…
Oracle Table Partitioning Strategies
Managing Partitions in Oracle Database – A Complete Guide for DBAs Partitioning in Oracle Database offers a powerful way to improve performance, manageability,…

Dataguard manual switchover
Introduction Oracle Data Guard plays a pivotal role in ensuring business continuity by maintaining synchronized standby databases that can seamlessly take over…

Error while deploying agent in windows server
Introduction Deploying a Management Agent through Oracle Enterprise Manager (OEM/Cloud Control) is a critical step—enabling monitoring, alerting, and diagnostic…

Always On Availability Group – Database in Recovery Pending
Introduction / Issue During routine monitoring of SQL Server Always On Availability Groups, one of the secondary replica databases was found in a NOT SYNCHRONIZ…

SQL Server – TempDB Transaction Log Full
Introduction / Issue During routine operations, SQL Server encountered a critical issue where TempDB’s transaction log became full due to an active transaction.…
OEM Agent Installation in 13.5
Description: This guide provides a detailed, step-by-step process for installing and configuring the Oracle Enterprise Manager (OEM) 13.5 Management Agent on ta…
APEX & ORDS UPGRADE
Description: This document explains how we upgraded Oracle APEX, ORDS, and Java on the DBNAME database. It covers the checks and backups done before starting, t…

DATAGAURD BROKER CONFIGURATION
DATAGAURD BROKER CONFIGURATION Introduction: Oracle Data Guard Broker is a management framework that automates and simplifies the configuration, monitoring, and…

APEX 21.2 Installation in Oracle Linux 19C Database
Introduction:This document provides a step-by-step guide to installing Oracle APEX 21.2 on an Oracle 19c database running on Oracle Linux.It covers prerequisite…
Failover issues in Always-on AG
Failover issues in Always-on AG What is failover in always-on AG in SQL server.? In SQL Server Always On Availability Groups (AG), failover is the process of sw…
SA account is locked in sql server
SA account is locked in SQL server What is SA account in SQL server.? The “SA” (system administrator) account in SQL Server is a highly privileged, built-in acc…
Configuring Transparent Data Encryption (TDE) in Oracle 19c with WALLET_ROOT and FILE Keystore
IntroductionThis guide explains how to enable Transparent Data Encryption (TDE) in Oracle 19c.TDE protects sensitive data at rest by encrypting it automatically…
Automated Compilation of Invalid Database Objects in Oracle Multitenant Architecture
Detailed Description: The compile_invalid_objects.sh script is designed to automate the identification and compilation of invalid objects across pluggable datab…
Automated PDB Enumeration and Dynamic Login Selector for Oracle Multitenant Databases
Detailed Description: This Bash script automates the enumeration and dynamic selection of Pluggable Databases (PDBs) in an Oracle Multitenant environment. It co…

How to recover suspect/Recovery pending databases in SQL Server?
How to recover suspect/Recovery pending databases in SQL Server? Introduction: In SQL Server, a database may enter SUSPECT or RECOVERY PENDING state due to corr…
High-Level Steps to Add SQL Server to a Cluster
High-Level Steps to Add SQL Server to a Cluster Introduction: Adding a SQL Server instance to a Windows Server Failover Cluster (WSFC) is a process that enables…

How to fix orphan user in SQL server?
Introduction In SQL Server, an orphaned user occurs when a database user exists without a corresponding login in the server’s master database. This usually happ…

Copying table data from source to destination in SQL Server
PURPOSE AND SCOPE: This document explains how to transfer table data from source server to destination server. Prerequisites Database Access Permissions: Ensure…

Using TKPROF to Enable SQL Trace and Analyze Query Performance for Identifying Slowness in the Database
Introduction In Oracle databases, performance issues often stem from inefficient SQL queries. TKPROF is a powerful utility that formats the output of SQL trace…

Enabling Query Store on SQL Server 2019
Introduction: When it comes to database performance tuning, that’s where Query Store appears. Introduced in 2017 version and significantly enhanced in 2019, Que…

Archiving and Deleting Data From MS SQL Server Database
Archiving and Deleting Data From SQL Server Database Server: SERVER1 Main Database: DB1 Archive Database: DB1_archive Target Table: dbo.PerformanceCounters Obje…

Resolving Error ORA-00955: name is already used by an existing object
Introduction While working with Oracle databases, you may encounter the error ORA-00955: name is already used by an existing object when trying to create object…
Resolving ORA-39405: Upgrading Target Database Time Zone File to Match Source in Oracle Data Pump Imports
Introduction When performing an Oracle Data Pump import, mismatched database Time Zone File (TSTZ) versions between the source and target databases can cause an…

Issue faced after cloning pluggable database
Verify the pbs’s in the database. Create the pluggable database using the below command. In the above screenshot, new pluggable database opened with errors and…

How to change the Database SYS password in OCI console
Step 1: Login to database where you want to change the sys password. In the example we choose Oracle Base Database Service. Step 2 : In the Database Page…
Automating Linux VM Configuration with Puppet A Real-Time Use Case
Introduction/ Issue In modern DevOps environments, automation is not just a luxury—it’s a necessity. When you’re managing hundreds of Linux virtual machines acr…
Administering VMware VMs in Azure through Azure Arc, A Hybrid Cloud Breakthrough
Introduction/ Issue: With the growing adoption of hybrid cloud strategies, organizations often run critical workloads on-premises while embracing cloud-native m…
Using Azure Automation Runbooks for Scheduled Maintenance
Introduction / Issue: In Azure environments, performing regular maintenance tasks such as patching, cleanup, and service restarts is essential for operational h…
Creating Custom Dashboards in Azure Monitor for Hybrid Environments
Introduction / Issue: In hybrid cloud environments, monitoring resources across both Azure and on-premises infrastructure can be challenging. Azure Monitor prov…
How to install Data dog agents in Linux server
Introduction / Issue: Monitoring Linux servers without real-time metrics and logs can delay issue detection. The challenge is setting up the Datadog Agent corre…
Adding servers to azure Load balancer
Introduction / Issue: In Azure environments, load balancers are used to distribute incoming traffic across multiple virtual machines (VMs). A common issue occur…
Safely Remove a Used Disk from ASM DiskGroup in Oracle 19c RAC
How to Safely Remove a Used Disk from ASM DiskGroup in Oracle 19c RAC In this post, I’m sharing a step-by-step process to safely remove a used disk from an ASM…
AFTER_PASTEBINARY_COMMENV
Issue: During adcfgclone execution in EBS 12.2, the commenv.sh file was populated with an incorrect JAVA_HOME path after the paste binary step. This caused the…
The Oracle Migration Challenge – Datatype Conversion Nightmares
When Database Migrations Go Wrong: Snowflake to Oracle Every database migration project starts with optimism: “We’ve mapped the tables, the data looks similar –…
Encrypting SQL Server Database: Transparent Data Encryption (TDE)
Introduction Transparent Data Encryption (TDE) in SQL Server secures sensitive data by encrypting database files at rest without impacting application access, h…
Removing Transparent Data Encryption (TDE) from SQL Server
Introduction Removing Transparent Data Encryption (TDE) from SQL Server involves carefully disabling encryption and cleaning up encryption keys to ensure your d…

Oracle Autonomous Health Framework Fleet Insights Configuration
Introduction: AHFFI is a function that collects data collected by AHF from multiple servers and displays it on a single screen. Why we need to do Observe key is…
Invalid APPS Database User Credentials in txkPostPDBCreationTasks After PDB Creation in Oracle EBS 12.2
Introduction: When performing a Post-PDB Creation Task in Oracle EBS 12.2, you may encounter the following error while running the txkPostPDBCreationTasks.pl sc…
Script to enable Unified Auditing at Db level
Please find the below steps to enable the same. create audit policy audit_all actions all only toplevel; audit policy audit_all by user1,user2,user3; aud…
Query to check identity columns in a table and enable/disable options.
Please run the below query to get the output. SELECT owner, table_name, column_name, generation_type, identity_options FROM dba_tab_identity_cols ORDER BY owner…
Change MAX_STRING_SIZE in an Oracle 19c Physical Standby Environment
In Oracle Database 19c, the MAX_STRING_SIZE parameter controls the maximum length for VARCHAR2, NVARCHAR2, and RAW columns. By default, it’s set to STANDARD, wh…
Cloning a Pluggable Database in Oracle
Within Oracle’s multitenant architecture, cloning a PDB allows you to build a duplicate environment—perfect for testing, patching, or sandboxing—without touchin…
Enhancing Cloud Security with OCI Cloud Guard’s New Threat Recipes
Introduction Oracle Cloud Infrastructure (OCI) introduced new Cloud Guard threat detector recipes to help organizations better identify and respond to evolving…
Secure SFTP Setup for Application File Exchange
Introduction There was a requirement to securely exchange application files (such as configuration files, logs, or deployment packages) between internal users a…
Managing ORDS Credentials in Wallet Using Oracle Secret Store Tool
Introduction: In some cases, while configuring or updating Oracle REST Data Services (ORDS), you may need to manage credentials stored in the Oracle Wallet. Thi…

TLS Certificate Renewal in SQL Server
Objective: To renew and bind a new TLS certificate to SQL Server to ensure continued secure connections. Frequency: Annually or prior to certificate expiration…

Troubleshooting SQL Server Worker Thread Exhaustion
Overview: When SQL Server runs out of worker threads, it can cause performance degradation, query delays, and even login failures. Understanding the root cause…

How to Estimate Undo Usage Before Running Large DML in Oracle
Overview This helps DBAs predict Undo tablespace usage before executing heavy DML operations in Oracle. It uses a combination of shell scripting and SQL to esti…

Troubleshooting SQL Server Deadlocks using Foglight and T-SQL Queries
Troubleshooting SQL Server Deadlocks using Foglight and T-SQL Queries Introduction:- This document explains how to find and fix SQL Server deadlocks using Fogli…

Troubleshooting High Disk Queue Depth in SQL Server
Troubleshooting High Disk Queue Depth in SQL Server Introduction This document helps to find and fix high disk queue depth problems in SQL Server. These issues…
Foglight Monitoring Tool
1. Introduction Foglight, developed by Quest Software, is a powerful and comprehensive monitoring and performance management tool. It provides real-time visibil…
Page Life Expectancy (PLE) in SQL Server
1. Introduction Page Life Expectancy (PLE) is a key performance metric in Microsoft SQL Server that measures the duration (in seconds) a data page stays in memo…
Resolving RMAN Backup Errors Caused by Uninitialized TDE Keys in Oracle DBCS
Introduction: In Oracle Database Cloud Service (DBCS), Transparent Data Encryption (TDE) is a default security feature that helps protect sensitive data at rest…
Troubleshooting RMAN Backups in Oracle DBCS (OCI): A Practical Guide for Cloud DBAs
Introduction: To check and manage RMAN backups using dbcli in Oracle Database Cloud Service (DBCS) on Oracle Cloud Infrastructure (OCI), follow these practical…
Mastering PostgreSQL TOAST & Vacuum
Mastering PostgreSQL TOAST & Vacuum Keep Your Large Tables Fast and Lean Have your PostgreSQL queries slowed down despite all the right indexes and optimization…
Oracle Data Guard: Key Configs & Parameters
As Oracle DBAs, ensuring zero data loss (RPO) and minimal downtime (RTO) is critical. Oracle Data Guard is the industry-standard solution for high availability,…
Break Into Data Engineering: Master These 12 Tools First
𝟭. 𝗱𝗯𝘁 → Transforms raw data into clean, analytics-ready models, ensuring consistent and reliable pipelines. 𝟮. 𝗔𝗽𝗮𝗰𝗵𝗲 𝗦𝗽𝗮𝗿𝗸 → We process massiv…
Oracle PLSQL to Generate XML Tag Using Standard Functionality
declare l_ctx dbms_xmlquery.ctxHandle; l_clob clob; begin l_ctx := dbms_xmlquery.newContext(‘select * from <TABLE_NAME>’); dbms_lob.createtemporary(:g_clob,true…
Exploring the New Security Features in Oracle Database 23ai
Oracle Database 23ai introduces advanced security features designed to enhance data protection, simplify configurations, and align with modern security standard…
Dynamic Query Script to create public synonym and private synonym in database
Please use the below query to generate the script and run accordingly. Public Synonym: ——————– select ‘create or replace public synonym ‘||table_name||’…
Script to fix export issue while it hangs during Statistics, Marker, Type
Please run the below and do the export again. create index SYS.IMPDP_STATS_1 ON SYS.IMPDP_STATS (c5,type,c1,c2,c3,c4,statid,version);
Step-by-Step Guide for SQL Server Always on Failover
Step-by-Step Guide for SQL Server Always on Failover Introduction SQL Server Always On Availability Groups provide high availability and disaster recovery capab…
Essential Guide for Regular MS SQL Server Patching
Essential Guide for Regular MS SQL Server Patching Introduction: In SQL Server management, keeping up with service packs and cumulative updates is not just a re…
Snowpipe (a continuous data ingestion pipeline) in Snowflake
To create a new Snowpipe (a continuous data ingestion pipeline) in Snowflake, follow these steps: Prerequisites Storage Integration: Set up a cloud storage inte…
Creating new VM in azure environment
Creating new VM in azure environment Title/ Description of the Process This process outlines the steps to manually or programmatically create a new Virtual Mach…
Overview of Microsoft Azure Cloud Services
Overview of Microsoft Azure Cloud Services Introduction to Cloud Computing: Briefly discuss cloud computing and how Azure fits into the market of cloud service…

Create the OEM Repository Database
Notes: Database oemdb is created via dbca Non-CDB database is created (PDB is also supported for repository database) Redo Log file size should be minimum 300 M…

Deploy OEM Agents
Notes: 1.Deployment of agent from within OEM failed with SSH check.2.Manually deploy the agent by downloading the agent image from OMS and then perform a silent…
PostgreSQL VACUUM FULL: When and Why to Use It
Introduction PostgreSQL, a robust and popular open-source relational database system, employs a sophisticated mechanism called Multi-Version Concurrency Control…
AWS PostgreSQL RDS vs. AWS Aurora PostgreSQL: A Deep Dive
Introduction When selecting a managed PostgreSQL database service on AWS, developers face a crucial choice between Amazon RDS for PostgreSQL and Amazon Aurora P…
Diagnosing and Repairing Failures with Data Recovery Advisor
Data Recovery Advisor feature helps in diagnosing and repairing data failures. It will automatically diagnose the issue and provides the recommendation for the…
Redo log corruption
What is a Redo log corruption? In the Oracle RDBMS environment, redo logs comprise files in a proprietary format which log a history of all changes made…
Recreate the Automatic Workload Repository
1. Check current snap_interval and disable snapshot creation, see below. Check current AWR snapshot interval as follows: sqlplus /nolog connect / as sysdba sele…
datapatch failes after applying latest RU patch on 19.25.0.0
ERROR:- ********* Error occurred while running ./datapatch -verbose after applying latest patch on 19.0.0.0 Error at line 8325: script md/admin/sdoutlb.plb – 16…

SYSTEM TABLESPACE RECOVERY USING RMAN
Introduction: The SYSTEM tablespace is a critical component of the Oracle database, containing essential metadata and data dictionary objects necessary for data…
Usage of XMLImporter and adcgnjar in Oracle E-Business Suite
What is XMLImporter The XMLImporter utility is used to import and deploy customizations or extensions in the form of XML metadata files (e.g., OA Framewo…
Procedures for Using Code-Signing Certificates with an HSM (Hardware Security Module) in EBS
Issue: EBS procedures to follow when using code-signing certificates which utilizes an HSM (Hardware Security Module) or Token Cause of the issue: Starti…
Column Limit in 23c Oracle database
To Increase the Column Limit in 23c Oracle database The One of the New Features of oracle database 23C. Increase Column Limit The maximum number of columns allo…
Essential PostgreSQL Shortcut Commands for Efficient Database Management
Essential PostgreSQL Shortcut Commands for Efficient Database Management 📌 Master psql with these quick and powerful shortcut commands! Category: Database, Pos…
DB Cloud Backup module
Create a new RSA Key Oracle$ java -jar oci_install.jar -newrsakeypair -walletDir $ORACLE_HOME/dbs/opc_wallet Oracle Database Cloud Backup Module Install Tool, b…

Creating DBLink from MSSQL to ORACLE database schema
This document describes the process of creating a DBLink from an MSSQL database to an Oracle database schema A database link (DBLink) allows seamless integratio…
Maximizing Performance with Table Partitioning in Oracle Databases
Managing large datasets efficiently is a key challenge for database administrators (DBAs). One solution to this problem is table partitioning, a feature in Orac…
Shrinking the FND_LOG_MESSAGES Table in Oracle EBS 12.2
In Oracle E-Business Suite (EBS) environments, it’s a good practice to occasionally analyze the largest database objects to identify potential inefficiencies. R…

Installation of DbFetchX application in Oracle database
Introduction: DbFetchX is a robust application designed to streamline data extraction, transformation, and retrieval from Oracle Databases. Its installation inv…
RMAN Incremental Backups to Refresh Standby Database
Description to standby: A standby database is a transactionally consistent replica of the primary database, designed to ensure continuity and data integrity in…
Manual Data Guard Switchover in oracle 19c
Description: After configuring Data Guard, databases operate in either the primary or standby role, which can be switched dynamically without data loss or reset…

OS upgrade from version Linux 7 to 8 in OCI console
Introduction: Upgrading from Linux 7 to Linux 8 in the Oracle Cloud Infrastructure (OCI) environment is a crucial step to ensure the operating system is…

How To Export Data Using Select Query In MYSQL
Introduction Exporting data using a SELECT query in MySQL is a common practice to extract specific data from a database and save it in a usable format. This all…

How To Generate Dynamic Numbers in MYSQL
Introduction: Generating dynamic numbers in MySQL involves creating a sequence of numbers or generating numbers dynamically in queries. This is useful in variou…
Cost Optimization Strategies in Oracle Cloud
Introduction/ Issue Managing costs effectively in Oracle Cloud can help businesses maximize their cloud investment while maintaining performance and scalability…

Multi-Cloud Strategies with OCI: How to Leverage OCI
Introduction/ Issue Multi-cloud refers to using multiple cloud providers (e.g., OCI, AWS, Azure) to host different parts of an organization’s infrastructure, av…

Golden Gate – Source and target server configuration(Extract, dump and replicate)
Introduction Oracle GoldenGate is a robust and flexible data replication and integration tool widely used for real-time data replication across heterogeneous sy…

SQL Server database restore from one server to another server
SQL Server database restore from one server to another server Introduction Restoring a SQL Server database from one server to another is a common administrative…

POSTGRES DATABASE INSTALLATION ON WINDOWS
INTRODUCTION PostgreSQL is a powerful, open-source relational database management system (RDBMS) known for its advanced features, extensibility, and strong stan…

DATA BLOCK CORRUPTION RECOVERY USING RMAN
Data block recovery is a specialized feature within Oracle’s Recovery Manager (RMAN) designed to address instances of data corruption at the block level. Unlike…

EXPORT AND IMPORT TABLE FROM ONE DATABASE TO ANOTHER DATABASE IN SAME SERVER
INTRODUCTION: Exporting and importing tables between databases on the same server is a common task in database management. This process involves transferring da…
A Beginner’s Guide to Azure Resource Groups and Management
Introduction/ Issue Microsoft Azure is a versatile cloud platform that provides an extensive range of services for businesses to build, deploy, and manage appli…
Automating the Start and Stop of Azure Virtual Machines
Introduction: Azure Virtual Machines provide flexibility and scalability for managing workloads in businesses. However, many times the requirement on the exact…
Oracle APEX: Handling URL Changes
Introduction Recently, our team migrated the server from an Oracle T8 to an M8 server. As a result, the Oracle APEX URL changed from: https://test.com:8080/ords…

Understanding SQL Server Execution Plans: A Beginner’s Guide
SQL Server execution plans are valuable tools for developers and database administrators aiming to optimize query performance.

SQL Server Indexes: The Ultimate GPS for Your Data Journey
We all have noticed how some SQL Server queries feel like a luxury express train, zooming to their destination, while others resemble a sluggish car through tra…

Effortless Automation: Scheduling Snowflake Pipelines
How to Schedule a Pipeline in Snowflake Snowflake offers an effective method for automating and scheduling data pipelines through the use of Tasks. These tasks…

Snowflake Meets AWS S3: A Complete Walkthrough for Data Loading
This blog provides a step-by-step guide to setting up a Snowflake environment for loading data from AWS S3. Prerequisites: Snowflake Account-> Ensure you have a…

Backup and Restore SQL Server Databases Using PowerShell
Introduction: The document outlines the procedures for performing backup and restoration of SQL Server databases using PowerShell. These processes ensure data s…

SQL Server Database and Login migration
Introduction; The Data Migration Assistant (DMA) tool is a Microsoft utility designed to simplify the migration of databases from older SQL Server versions or o…
Step-by-Step Troubleshooting for SQL Server CPU Usage Spike
Introduction: The user is experiencing a high CPU usage spike on their SQL Server instance, leading to performance degradation. The objective is to identify the…
Step-by-Step Troubleshooting for SQL Server Memory Usage Spike
Introduction: The user has reported a sudden memory usage spike on their SQL Server instance, resulting in degraded performance. You need to troubleshoot and id…

File Share Witness server Offline Issue in SQL Server.
1. Introduction This document provides a detailed investigation and resolution report for the File Share Witness server issue observed in the failover cluster f…

Queue enable issue in SQL Server
Introduction This document provides a detailed procedure for diagnosing and resolving the issue of a SQL Server queue that automatically disables itself after b…
DBCC CHECKDB Command in SQL Server
Introduction The DBCC CHECKDB command is an essential tool in SQL Server for ensuring the physical and logical integrity of databases. It helps detect any corru…

SQL Server Query/Job Timeout Expired troubleshooting
Introduction: This document provides a comprehensive guide to resolving “Query Timeout Expired” errors in SQL Server. These errors typically occur when a query…

Steps to move SQL Server database files
Introduction Moving SQL Server database files is a common task for database administrators, whether due to storage reorganization, performance optimization, or…

Steps to Blackouts the alerts in Foglight
Introduction This document explains the process of configuring Foglight Blackouts to suppress alerts, particularly for ‘Days since Last Backup’ notifications ge…
Resolving DPY-4011: The Database or Network Closed the Connection
Introduction : The error “DPY-4011: The database or network closed the connection” can occur when attempting to connect to an Oracle Database using the python-o…
Resolving ORA-65122: GUID Conflicts During Pluggable Database Creation in Oracle
Introduction: Creating a new Pluggable Database (PDB) in Oracle is a routine task for DBAs. However, errors like ORA-65122: Pluggable database GUID conflicts wi…

SQL server MAX server memory configuration
SQL server MAX server memory configuration Introduction:- This document addresses SQL Server memory issues, including errors in resource pools internal and defa…

SQL Server Database not accessible suspect mode.
SQL Server Database not accessible suspect mode. Introduction:- This document provides a concise guide for troubleshooting and resolving SQL Server databases in…
Importance of Synchronizing ebs_system and system Passwords Post AD-TXK 15 Upgrade in Oracle EBS
Introduction: Managing EBS environments effectively requires attention to detail, especially after upgrades like AD-TXK 15. One critical aspect is ensuring pass…
Resolving DBTechStack Errors Caused by Insufficient Temporary Space in Oracle EBS
Introduction: Oracle E-Business Suite (EBS) Rapid Clone is a critical tool for creating copies of an EBS environment. However, issues may arise during the cloni…
How to overcome ORA-20002
Introduction Oracle EBS DBAs often face frustration when seemingly simple tasks take an unexpectedly long time to resolve. One common example is assigning a res…
𝗖𝗵𝗼𝗼𝘀𝗶𝗻𝗴 𝘁𝗵𝗲 𝗥𝗶𝗴𝗵𝘁 𝗦𝘁𝗼𝗿𝗮𝗴𝗲 𝗢𝗽𝘁𝗶𝗼𝗻 𝗶𝗻 𝗢𝗖𝗜 𝗳𝗼𝗿 𝗘𝗕𝗦 𝗔𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻𝘀
Selecting the appropriate storage for Oracle E-Business Suite (EBS) in Oracle Cloud Infrastructure (OCI) is crucial, as different storage types delivers varying…
Resolving ORA-20001: Synonym Does Not Point to an Editioning View in ADOP Phase of Oracle EBS
Introduction During the ADOP (Online Patching) process of Oracle E-Business Suite (EBS), you might encounter the following error message while running Autoconfi…
Resolving Port Conflicts During ADOP Validation in Oracle E-Business Suite
Introduction: The ADOP (Autonomous Database Operations) process is a crucial component of the Oracle E-Business Suite (EBS) used during patching, cloning, and u…
Detect symbolic link directories in Oracle
With the de-support of UTL_FILE_DIR with Oracle Database 18c. There’s a major behavior change in Oracle 18c/19c: No symbolic links for Data Pump directories. So…
Using INCLUDE & EXCLUDE parameters together in Data Pump – Oracle 21c
A new enhancement in Oracle Database version 21c is saving a lot if effort in Data pump activities. In the earlier versions of Oracle using the INCLUDE and EXCL…
How to Generate AWR snaps for Multitenant Database at CDB and PDB level
The AWR snaps are usually generated at the CDB level by default. They can be created both at the CDB and PDB level. To generate AWR report at CDB level,…

Oracle Latest DBSAT – Database Security Tool
In today’s fast-paced digital landscape, the importance of database security cannot be overstated. For leaders across your organization—be it a CEO guiding over…
Resource access issue in Azure resource Group
Why We Need to Do Cause of the Issue Cause of the Issue: Intermittent resource access issues in an Azure Resource Group can be caused by various factors, includ…
Network Connectivity issue in Azure VM
Introduction/ Issue: Intermittent network connectivity drops on an Azure Virtual Machine (VM) Why we need to do / Cause of the issue: Network connectivity issue…

SQL Always on Configuration
Description: SQL Server Always On is a feature that keeps your databases available even if something goes wrong with the server. It copies your data to other se…
Error while changing Apps _NE Password
Unable to alter user APPS_NE to change password while changing APPS password using FNDCPASS Issue: Changing apps password using FNDCPASS fails with below error…

Manually Upgrade APEX for 19c upgrade:
Introduction: This document is intended for APEX upgrade from 23.1 to 24.1 Why we need to do: Upgrade older version to newer version. Steps to upgrade: a. Check…
OAM and OID Issue
OAM is configured with EBS and you see errors like below while opening SSO Url (although EBS non-SSO link is working fine). Error 500–Internal Server Error Fail…

The listener supports no services.
The listener supports no services Introduction: This document is intended for DBA’s who need to know the listener supports no services. Why we need to do: Liste…

OPatch failed with Error code 73
NOTE: While applying patch in Agile server database we got this error INTRODUCTION: This document aims to provide a comprehensive guide for troubleshooting OPat…

To Move a PostgreSQL Data Directory To a different location
Description: This document outlines the steps required to change the data directory of a PostgreSQL database to a different location. The data directory is wher…

How to Install PostgreSQL 16 on Oracle Linux 8
Description: This document provides simple, step-by-step instructions for installing PostgreSQL on Oracle Linux. It guides you through the entire process, from…
Azure deployment of IaaC with Terraform
Azure deployment of IaaC with Terraform Introduction: In this blog, we will go through steps to deploy terraform for deploying infrastructure to Azure. Using be…
All about txkCfgUtlfileDir.pl utility in Oracle 19c for EBS database
All about txkCfgUtlfileDir.pl utility in Oracle 19c for EBS database: Introduction: Recently, we upgraded our ERP system from version 12.1.0.2 to Oracle 19c in…
sys.wrm$_wr_control( ACTIVE_SESSION_HISTORY)Does Not Get Purged Based upon the Retention Policy
It appears there is an issue with the purging mechanism of AWR (Automatic Workload Repository) tables in Oracle databases. The main problem is that the tables a…
AWR Snapshots to Reduce Space Usage of SYSAUX Tablespace
AWR (Automatic Workload Repository) snapshots can be used to reduce the space usage of the SYSAUX tablespace by periodically purging older snapshots. The SYSAUX…
ORA-19809: limit exceeded for recovery files in dataguard
SYMPTOM On primary database side, ORA errors in alert log: Errors in file /u01/app/oracle/diag/rdbms/testdb001/TESTDB001/trace/TESTDB001_arc4_10114.trc: ORA-072…

Enable CloudWatch Contributor Insights of DynamoDB tables in AWS Console
Introduction Amazon CloudWatch Contributor Insights is a powerful tool that helps you understand the most active and impactful contributors to your DynamoDB wor…

Backup a DynamoDB Table Using AWS Management Console
Introduction Amazon DynamoDB is a popular database service used by many businesses to store important data. Just like you would save your work to avoid losing i…

OEM13.4 TARGET STATUS SHOWING WARNING
INTRODUCTION This blog is about, one of our non-prod OEM13C environment the Database target status was showing warning eventhough the target is actually up and…

Manual Data Guard Manual Failover
Introduction to Failover: Oracle Failover is a critical feature designed to ensure high availability and continuous operation of Oracle databases in the event o…
Oracle patch prerequisite failed with PRVF-4083 & PRKN-1035
ISSUE: When I initiated the grid patch, it failed while executing the prerequisite with the following errors: PRVF-4083: Node reachability check failed from nod…
How to download the database backup from OCI storage using MV2bucket
Introduction : Oracle database automated backups are stored in Oracle Managed Object Store Buckets in OCI. This blog covers step by step process to download the…

Backup and Restore validation for Oracle database in OCI console
Introduction: Oracle Cloud Infrastructure (OCI) offers robust tools and features that allow database administrators to manage backups and restores efficiently.…

Steps to apply and rollback patch in OCI console
Introduction : Maintaining the security and performance of your Oracle Database is crucial, and applying patches is a key aspect of this maintenance. Oracle Clo…
How to upload the backup files to OCI Archival storage using MV2bucket
Introduction : Oracle database automated backups are stored in Oracle Managed Object Store Buckets in OCI. This blog covers step by step process to Upload the d…
Steps to delete the Inactive Patches in Oracle Database
Please follow the below steps to delete the same. cd $ORACLE_HOME/OPatch ./opatch util listorderedinactivepatches -silent ./opatch util deleteinactivepat…
Monitoring and Managing Streaming Replication in PostgreSQL
Streaming replication in PostgreSQL is a vital feature for ensuring data availability and redundancy. Once your primary and standby servers are set up, it’s ess…
PostgreSQL Master and Slave Configuration Guide: Implementing Streaming Replication
PostgreSQL’s streaming replication is a powerful feature that allows real-time data replication from a primary database server (master) to one or more standby s…
Integrating Active Directory (AD) with a Linux Instance
Introduction Integrating our Linux instances with Microsoft Active Directory (AD) can streamline user management, here will walk you through the steps needed to…

Simplify Cloud Automation: How to Use Terraform with OCI Stacks
Introduction In Oracle Cloud Infrastructure (OCI), the OCI Stack provides a powerful and streamlined way to manage infrastructure with Terraform directly from t…
RAC Node Addition Steps
RAC Node Addition Steps At Present we are having 2 node Rac Environment , we are going to add Node3 .. RAC – Node Addition 1)Assigning IP address in all Node1 a…
Configuring Oracle E-Business Suite REST Services in EBS R12.2.1
Configuring Oracle E-Business Suite REST Services in EBS R12.2.1 Configuring Oracle E-Business Suite Integrated SOA Gateway for REST Services Note: Ensure that…
Getting error APP-FND-01564 When Form Is Called Or Responsibility Selected after enabling Unified Auditing in EBS
Issue: After enabling unified auditing feature in EBS R12.2.5 with 19c database version , getting “APP-FND-01564: ORACLE error in afpodbinit” when opening a ebs…
R12_2 application patching adop cutover failed
Issue: EBS R12.2 application patching “adop cutover” got failed with following error. Node Primary: Failed Cutover status: FS_CUTOVER_COMPLETED Node DMZ: Failed…
Oracle Data Guard Physical Standby switchover using DGMGRL:-
Oracle Data Guard Physical Standby switchover using DGMGRL:- Performing a Oracle Data Guard Switchover Using DGMGRL Step1:-Check the Primary Database &nb…
Reinstate Failed Primary Database using Flashback:-
Reinstate Failed Primary Database using Flashback:- Methods to Reinstate database using Flashback:- 1) Using DGMGRL 2) Using SQL*PLUS 1) Us…
Step by Step Guide on Provisioning a Virtual Machine in Azure
Businesses require more and more instances of virtual machines (VMs) to launch new products and achieve a beneficial marketplace position. As a result, users ar…
Automating Infrastructure Management Through Ansible
Introduction Ansible is an effective configuration management, application distribution, and automation tool. It is agentless, user-friendly, and supports multi…

Common Data Integration Mapping Issues
Handling integration issues relating to data mapping within OCI (Oracle Cloud Infrastructure) or any other data integration platform can be quite challenging. T…
Unveiling Oracle 23c: The Game-Changing Features Revolutionizing Database Management
Exploring the New Features in Oracle 23c: What You Need to Know Oracle’s latest release, Oracle 23c, brings a suite of new features and enhancements designed to…
Outline of the Oracle Autonomous Health Framework (AHF)
Introduction In today’s fast-paced digital landscape, maintaining the health and performance of your Oracle databases is critical. The Oracle Autonomous Health…

Steps to Move and Transform Data Using Data Integrator
Data Integrator on the other are very useful for moving and converting data between systems, databases and various platforms. Here’s a detailed overview of the…
Concurrent Manager Has Put The Concurrent Request On Hold all of Sudden
Introduction: In Oracle E-Business Suite 12.2, concurrent requests can occasionally be placed on hold due to various system behaviors and user actions. This blo…

LOG SHRINK IN THE SQL SERVER
Introduction In SQL Server, effective management of disk space is crucial to maintaining optimal database performance and preventing issues caused by excessive…

AWS EC2 Instance Setup and SSH Connection Guide
Introduction Launching the AWS ec2 instance from scratch step by step procedure. Step 1: AWS Console Login Access the AWS console by navigating to: AWS Console…

Steps to Enable the Trace/Debug for An Apex Session
Introduction: In this blog, we will walk through the process of enabling debug logging and tracing in Oracle APEX applications. Debug logging and tracing are es…

How To Insert Data from One Database into Another Database Using Apache Nifi
Introduction: – In modern data management, transferring data between different databases is a common requirement. Apache NiFi, an open-source data integration t…
Steps to Fix Export Issues with expdp full=y Not Exporting All Tables
If a point-in-time recovery is not an option, follow the steps below: Backup the Database as sys user. We will have to patch fed$apps and obj$. startup restrict…

Troubleshooting Support Connectivity Issues in OEM 13.5
Troubleshooting My Oracle Support Connectivity Issues in Oracle Enterprise Manager (13.5) Introduction: Greetings! This blog is all about my oracle support conn…
Oracle datafiles mount filled and PDB goes to mount state
Introduction: In Oracle databases, datafiles are crucial components that store the actual data. Datafiles are physical files on disk that store the data for all…
Edition-Based Redefinition[EBR] –Granualar access in EBS R12
Introduction: Edition-Based Redefinition is an essential feature in Oracle, designed for oracle database administrators, developers who manage application upgra…

Conquering Primary Key Violation – SQL Server Replication
Transactional replication in SQL Server is a robust feature that allows you to replicate data from a primary database (publisher) to one or more secondary datab…

A deep troubleshooting on oacore issues
In this blog, we will explore the common OACore issues, their potential causes, and step-by-step troubleshooting techniques to resolve them. Whether you’re an O…
Troubleshooting Opatch Rollback
The purpose of this blog is to assist DBAs in resolving issues encountered while applying or rolling back OPatch in an Oracle database. , we faced the issue “OP…
Mitigating the Impact of SQL Server Corruption
Introduction Database corruption presents a substantial risk to the integrity and accessibility of critical data within SQL Server environments. Such incidents…

Buffer Pool Parallel Scan: SQL Server 2022’s Answer to High-Memory Optimization
Introduction In today’s data-driven world, database performance is crucial for business success. SQL Server 2022 introduces significant advancements, including…
New Features and Enhancements in SQL Server 2022
New Features and Enhancements in SQL Server 2022 SQL Server 2022 introduces a variety of innovative features and performance enhancements. Below is a det…

Have you ever wondered how Timescale handles time-series data?
TimescaleDB introduces Hypertables, a feature that automatically partitions data based on time. While Hypertables behave like regular Postgres tables, they offe…

Launching TimescaleDB Timeseries Database in Docker Containers
TimescaleDB, is a revolutionary open-source database engineered specifically for time-series data. Built on the robust foundation of PostgreSQL, TimescaleDB com…
The Diverse Use Cases of Timeseries Databases
In the realm of data management and analysis, the spotlight often shines on a variety of databases designed to handle specific types of data and workloads. Amon…
Query to get the FTS, Scattered read, Sequential read, Direct path read, write information
Please use the below query. set lines 132 col waitevent head EVENT format a5 trunc col username format a10 col osuser format a10 trunc col p1 format 9999…
Steps to delete all the latest inactive patches.
Please follow the below steps to delete all the latest inactive patches using the following command. One inactive patch remains, to allow the current patch to b…
How to upgrade the OEM Agent Release update
Steps to upgrade the latest OEM Agent Release update 1. Install the latest AgentPatcher Download the latest Agentpatcher from oracle support. cd <Patch location…
Invalid Component of Oracle XML Database
Step:-1 Check invalid Invalid Component:- SQL> SELECT COMP_NAME FROM DBA_REGISTRY WHERE STATUS=’INVALID’; COMP_NAME ——————————————————————————– Oracle XML Datab…
Step by step apply Rolling PSU Patch in Oracle Database 19c RAC environment
Patch Information: – Patch 30087906 – Database Release Update Revision 19.3.2.0.191015 Step: -1 Environment Details export ORACLE_HOME=/u01/app/19c/grid…

Rotate any logs with logrotated.services
Logrotate logrotate is a utility for managing… Continue reading Rotate any logs with logrotated.services

Backup and Restore MySQL Database
Introduction: In this article, we are here to know different ways to generate the backup in the MySQL database server. It is essential to make regular backups o…

MYSQL DB SWITCHOVER
INTRODUCTION: This doc will guide you through the process of performing a MySQL replication switchover, ensuring a smooth transition without any data loss. Let’…

Controlling visibility of databases and server level setting by Contained Database
Controlling visibility of databases and server level setting by Contained Database Introduction: Contained Database is a new feature of SQL Server 2012. A conta…

How to install POSTGRESQL and PGADMIN on linux 7 (REDHAT,CENTOS,ORACLE LINUX)
INTRODUCTION: This doc will guide you through the process of installing Postgresql14, Pgadmin4 and also Creating users, databases, schemas VERSION: Postg…

BACKUP USING SQL SERVER AGENT
In this blog post, we will explore the process of scheduling and taking a backup of a SQL Server database using the SQL Server Agent method. Firstly, log in to…

BACKUP USING MAINTENANCE PLAN
In this blog post, we will explore the process of scheduling and taking a backup of a SQL Server database using the SQL maintenance plan method. Firstly, log in…
Smart Flash Log Write-Back in oracle exadata
Smart Flash Log Write-Back Let us go through what is Smart Flash Log Write-Back in oracle exadata. On High Capacity Oracle Exadata Storage Servers, all redo log…
LPX-00202: could not open opmn.xml
Recently we faced the below issue in fsclone. I have given the solution for it to resolve it. Issue: cat FSCloneApplyAppsTier_12210307.log ERROR: RC-50410: Fata…

SETUPAWS CERTIFICATE TO SEND E-MAIL
SETUPAWS CERTIFICATE TO SEND E-MAIL Download the certificates from the link provided by Amazon. Click on PEM Copy the text. Create five certificate file…

Enabling Database management and Operation insights in OCI console
Enabling Database management and Operation insights in OCI console Enabling Database Management: Navigate to the Observability & Management. In the Observabilit…
ORA-1555 FOR LONG RUNNING QUERIES IF “_UNDO_AUTOTUNE”=TRUE
There were interesting situation happened after recreating undo. Most of the requests which have child requests and running more than hour are getting fail with…
Oracle Internet Of Things (IoT)
Dear Readers I would like to explain more about the Oracle IoT Cloud services. Will provide continues blogs on this technology. In this block we will explore wh…
Transferring file from one server to another using sftp in shell script
1. Overview In this document, we will explore a shell script named sftp_file_transfer.sh that automates the process of transferring files from one server…
Sending email alert with multiple attachment using shell script
1. Overview In this document, we will explore how to create a simple yet effective shell script to send email alerts with multiple attachments. 2.…

Creating Dynamic SQL Generator in Oracle PL/SQL
Table of Contents Introduction Technologies and Tools Used Steps Conclusion 1. Introduction The Dynamic SQL Generator in Oracle PL/SQL allows you to dynamically…
Resolving Concurrent Request Report Output Error in Oracle E-Business Suite
Introduction: Encountering an issue where the Concurrent Request Report Output from the Oracle Report Manager Homepage dashboard redirects to the DMZ node inste…
Resolving BBM JAR Issue in Oracle E-Business Suite R12.2
Introduction: In Oracle E-Business Suite (EBS) R12.2, encountering BBM (Business Intelligence and Business Process Management) JAR issues can disrupt normal ope…
Unveiling the Latest Seeded Programs in Oracle E-Business Suite 12.2
Introduction: Upgrading from Oracle E-Business Suite 11i to R12 or transitioning between 12.x versions is a crucial step for organizations seeking enhanced func…

Enabling Query Store Using SSMS and Transact-SQL statements
Query Store The Query Storeis a feature in SQL Server that helps you monitor query performance by capturing a history of queries, plans, and runtime statistics,…

Installation of Database Migration Assessment for Oracle Extension
Migrating databases from Oracle to Azure SQL can unlock significant benefits, including cost savings, enhanced performance, and access to the full suite of Azur…
Oracle TDE Encryption at Tablespace and Table Column Level
The security of data in Oracle Database is ensured through robust authentication, authorization, and auditing mechanisms. A critical aspect of data storage invo…

Troubleshooting Tips for Seamless SQL Server Transactional Replication
SQL server issue and solution Troubleshooting Tips for Seamless SQL Server Transactional Replication Introduction: Transactional Replication is a powerful High…

Unlocking Solutions: Common Errors in SQL Server Database Restoration
SQL server issue and solution Unlocking Solutions: Common Errors in SQL Server Database Restoration Introduction: The process of restoring Databases in SQL Serv…
SQL query optimization best practices
SQL Server performance tuning and SQL query optimization are some of the main aspects for database developers and administrators. They need to carefully conside…
Identifying SQL Server Performance Issues
Detecting and resolving performance problems in SQL Server is crucial for database developers and administrators. Utilizing dynamic management views (DMVs) can…
EBS ADOP Woes: Tackling ORA-20001 in Cleanup Phase
This blog aims to support DBAs who encounter issues during the EBS application R12.2 ADOP phase=cleanup, specifically when it fails with the ORA-20001 error mes…
Behind the ORA-02020 Error: A Deep Dive into Database Link Troubleshooting.
This blog is intended for DBA’s who have error while using a database links.Let’s work on a journey to decode, troubleshoot, and over the challenge posed by the…

Unifying Your OCI Monitoring with Service Connector and Logging Analytics
Introduction: In the fast-paced world of cloud computing, effective monitoring and management of resources are crucial for maintaining optimal performance and e…

Understanding and Setting Up OCI Alarms with Topic-Based Notifications
Introduction In the ever-changing world of cloud computing, ensuring your resources are working well is important. Oracle Cloud Infrastructure (OCI) has a cool…

Atera’s Proactive Linux Monitoring: Configuring SNMP & Agent-Based Monitoring.
Atera’s Proactive Linux Monitoring: Configuring SNMP & Agent-Based Monitoring. Introduction Keeping an eye on your Linux systems is important because all applic…

VSS Integration: Strengthening OCI (Oracle Cloud Infrastructure) Security with VSS (Vulnerability Scanning Service.
VSS Integration: Strengthening OCI (Oracle Cloud Infrastructure) Security with VSS (Vulnerability Scanning Service. Introduction In today’s digital world, secur…
ADOP Cutover Phase Fails When Starting Application Tier Services
During Cutover phase while Patching , ADOP failed with below error stating unable to start the application. Please find the root cause and its related solution…
Identify versions of components in EBS
Useful commands to find the versions of various components used in Oracle E-Business Suite Find Apache Version or Oracle Application server version in R12 Log i…
Smart Flash in Oracle Exadata
Smart Flash in Oracle Exadata In the realm of data management and high-performance computing, Oracle Exadata has established itself as a powerhouse, delivering…
Smart Scans in Oracle Exadata
Smart Scans in Oracle Exadata In the ever-evolving landscape of data management and analytics, businesses are continually searching for ways to extract more val…

STEPS TO INSTALL SQLSERVER IN WINDOWS 10
STEP – 1 1 First download .netframework 3.5 Completed. Now the .net framework 3.5 has been installed in the windows system STEP-2 -Download software for…

METABASE INSTALLING IN ORACLE DATABASE
METABASE INSTALLING IN ORACLE DATABASE Requirements – Metabase requires a Java Runtime Environment (JRE), with a Java version of 11 or higher. – Check yo…
Feature Oracle Database 12c, 19c, 21c
Feature Oracle Database 12c, 19c, 21c Introduction: Oracle is by far the leader in all key leading research reports for On-prem and Cloud Database…
Query to get inactive count as per machine name and sql id
Please use the below query. SELECT count(prev_sql_id),prev_sql_id,sql_text FROM v$session LEFT OUTER JOIN v$sql ON v$session.prev_sql_id = v$sql.s…
ORA-07445: exception encountered: core dump [kggchk()+52] [SIGSEGV] [ADDR:0x444C5E6E0] [PC:0x117171614] [Application data integrity precise] [3]
Please find the below steps to resolve the same. ADI [Application Data Integrity] memory feature is enabled by default in Solaris SPARC Download and apply Patch…
what is psudocolumn, Rowdepandancy and Norowdepandency in oracle
what is psudocolumn, Rowdepandancy and Norowdepandency in oracle A pseudocolumn behaves like a table column, but is not actually stored in the table. You can se…

SQL DBA: Backups
Description: Copy of the database that is used to recover the data after the system failure. Backups are used as safeguards for databases because data may be lo…
Adding data file to Mirroring database
Adding data file to Mirroring database What is Mirroring? Database mirroring involves redoing every insert, update, and delete operation that occurs on the prin…
All Redo log group Members are in active state, ORA-20 max number of processes exceeded, Database went hung state After restart
All Redo log group Members are in active state, ORA-20 max number of processes exceeded, Database went hung state After restart A) All Redo log group Members al…

Inplace Upgradation
Inplace Upgradation Introduction: Upgradation involves overwriting existing SQL Server instance and upgrading from one version to another version. Applying a pa…
Step-by-step procedure for performing a switchover between a primary database and a standby database
Description: We can alter the database roles of primary and standby according to planned maintenance. During a switchover, the original primary database convert…

Steps to create ACFS file system
Step 1: List the disks using the below command. #oracleasm listdisks Step 2: Create the oracleasm disk using the below command. #oracleasm createdisk ARCH03 /de…

Log Shipping issues in SQL Server. Out of Sync is the Common issue in Log Shipping. It can be raised when Transaction Log Backups are not applied to the Secondary Server.
SQL Server issue and solution Error: Log Shipping issues in SQL Server. Out of Sync is the Common issue in Log shipping. It can be raised when Transaction Log B…
High Level Steps for Datagaurd SwithOver
Please find the following High level steps to convert the primary to standby using switch over method .With this method the failover and switchover happens with…
Generate OTP and Integrate SMS API
1. Overview This document talks about how to generate OTP & Integration of SMS. 2. Technologies and Tools Used The following technologies has been used to Integ…
Automate send report to Finance Team
1. Overview This document talks about how to send report with excel file automatically to Finance Team every month of 21st. This report for employee referred th…

HOW TO ACCESS ORATOP UTILITY
Description : Oratop is an interface that takes data from top and oracle databases on a host. The utility combines the data to OS data and session data. It allo…
Security Care in AWS RDS
Running Oracle Database on Amazon Web Services (AWS) Relational Database Service (RDS) provides a variety of advantages, including scalability, flexibility, and…
New Features of Oracle Database 23c
Oracle Database 23c, Oracle Corporation’s most recent release, includes a slew of new features and changes designed to provide organizations with expanded capab…

Create a login using SSMS for SQL Server
To use SQL Server, you need a login. You can log in using a regular Windows account or a special SQL Server account. SQL Server Supports two Authentication Mode…

Demystifying Load Balancer Setup in Oracle Cloud Infrastructure (OCI)
Demystifying Load Balancer Setup in Oracle Cloud Infrastructure (OCI) Introduction Load Balancing allows customers to distribute web requests among a group of s…
Comprehensive Guide: Removing and Adding RAC Nodes in Oracle Clusterware
Overview Diving into the intricacies of Oracle Clusterware management, this comprehensive guide elucidates the meticulous steps involved in the process of delet…

Troubleshooting and Resolving ‘CheckApplicable’ Prerequisite Error When Applying Oracle GI RU July-2023 Patch
Overview of blog In this blog post, we will explore a comprehensive solution to resolve the issue of ‘oracle.rdbms.deconfig, 19.0.0.0.0’: Cannot delete file ‘/u…
Manual Failover of Oracle Data Guard
A failover is performed only when the primary database becomes unavailable, and there is no possibility of recovering the primary database. Steps involve in fai…

Fortifying Oracle Identity Cloud Service with Multifactor Authentication (MFA)
Fortifying Oracle Identity Cloud Service with Multifactor Authentication (MFA) Introduction Oracle Identity Cloud Service employs MFA, where users utilize two-f…
HARNESSING BLOCK CHANGE TRACKING FOR ENHANCED PERFORMANCE
Block changing tracking improves the performance of incremental backups by recording changed blocks in the block change tracking file. During an incremental bac…

ORA-20004:ERROR IN SENDING AN EMAIL IN APEX
ORA-20004: Error in sending an Email – You have exceeded the maximum number of email messages per workspace. Please contact your administrator. REASON: Actually…
ODA (Oracle Database Appliance) Monitoring commands
Hardware monitoring commands: – Display information about the environment and hardware:- odaadmcli show env_hw Display information about the filesystem:- odaadm…
ORA-07445 – exception encountered: core dump
ORA-07445 – exception encountered: core dump Issue :- DB was down due to the ORA – 07445 error in the alert log Cause:- ORA-07445: exception encountered: core d…
5 Exciting Features of Oracle Database 23c Simplified
Introduction: Oracle Database 23c brings along a plethora of new and impressive features that have got database enthusiasts excited. In this blog, we wil…
Managing Flash Recovery Area and Handling ORA-19815 Error in Oracle Database 12c
Introduction: Oracle Database 12c offers a robust mechanism for handling backup and recovery tasks through its Flash Recovery Area (FRA). However, users may enc…
Web Application Firewall In Oracle Cloud Infrastructure
Web Application Firewall In Oracle Cloud Infrastructure Introduction In today’s digital universe, web applications are the backbone of numerous businesses and s…

Creating, Attaching & Resizing Block Volume in OCI
Creating, Attaching, and Resizing Block Volume in OCI Introduction In cloud computing environments, such as Oracle Cloud Infrastructure (OCI), block volumes pla…
Secure PDBs using LOCKDOWN PROFILEs
Purpose: LOCKDOWN Profiles concept will be applicable for Oracle Multitenant databases. We can apply this LOCKDOWN Profiles concept to specific CDB, specific PD…
Adop hot patch failed with unexpected Error in EBS 12.2.8
Introduction: This blog is intended for DBA’s who may pass off with the below error message on applying a patch as hot patch in the instance. While applying ado…
Find unused or unnecessary Privileges of Oracle Database user
Purpose: Usually a Privilege can be treated as unused privilege if this is not being used by user or pre-running programs at database level. During new applicat…

AWS – Creating a Web server with EC2 ( Virtual Server in Cloud)
Login to AWS Management Console Then Navigate to EC2 Click Launch Instance Choose an AMI Choose Instance Type Configure Secur…
Error Running ADOP prepare – [UNEXPECTED]Error calling runSyncFS subroutine.
Description : When triggering ADOP prepare phase on 12.2.8 environment for patching got below error. Error: PROCEDURE] Calling: /RMAN/apps/JAYAN/R12apps/fs2/EBS…
Ebs database Custom table columns missing while running a full mode cleanup
The purpose of this blog is to assist DBAs encountering ebs database custom table column missing while running adpatching cycle. The steps shared here will help…
TxkADOP PreparePhaseSynchronize.pl failure in adop fsclone
This blog is intended for DBA’s who have error while running a fsclone phase run patching cycle error, we have solution for fsclone phase error. Issue: We are f…

Creating Data Source in WebLogic Server
1. Overview This document talks about how to create a data source for java project using Oracle Web logic server. 2. Technologies and Tools Used The following t…

Common Search Using MSSQL Server Stored Procedures
1. Overview This document talks about how to use the search operation for all the reports using MSSQL server Stored Procedure. [Note: Steps included in this doc…
Rename Pluggable Database
Rename Pluggable Database Introduction: This document is intended for DBA’s who need to know how to change the name of the existing PDB in a multitenant databas…

Using DBMS_SQL.RETURN_RESULT in Oracle PL-SQL and C#
Introduction: In this post, we will explain how to use the DBMS_SQL.RETURN_RESULT procedure in Oracle PL/SQL to return a result set from a stored procedure and…
Diagnosing and Repairing Failures with Data Recovery Advisor
Data Recovery Advisor feature helps in diagnosing and repairing data failures. It will automatically diagnose the issue and provides the recommendation for the…
Changing EBS user password failed with error “APP-FND-01564: ORACLE error 3113”
Changing EBS user password failed with error “APP-FND-01564: ORACLE error 3113” Introduction: Recently while changing password for application user in Oracle EB…
Lesser Known yet effective software for DBA’s
Introduction: There are numerous tools on the market that can boost productivity and make our jobs easier. Screen is a full-screen window manager that multiplex…
EBS File system Diagnostic Program
Effective troubleshooting of critical issues in the Oracle E-business Suite can be achieved through various means. We’d like to share information on recent issu…

DATABASE PATCHING
BEFORE WE HAVE CHECK THE OPATCH VERISON AND LAST UPDATE CHECK OPATCH VERSION [oracle@kaamesh OPatch]$ pwd /u01/app/oracle/product/19.0.0/dbhome_1/OPatch [oracle…
COLLECTING INFORMATION TO TROUBLESHOOT EBS WORKFLOW NOTIFICATION MAILER
COLLECTING INFORMATION TO TROUBLESHOOT EBS WORKFLOW NOTIFICATION MAILER ============================================================================= The follow…
AUTOCONFIG ERROR’S OUT WITH “S_SHARED_FILE_SYSTEM” CONTEXT VARIABLE ISSUE
AUTOCONFIG ERROR’S OUT WITH “S_SHARED_FILE_SYSTEM” CONTEXT VARIABLE ISSUE. Error ===== [ERROR]: Either the value of context variable s_shared_file_system is not…

BACKUP BASED DATABASE CLONING
Before cloning we have to take full database backup using RMAN Target / COMMAND: RMAN> BACKUP DATABASE PLUS ARCHIVELOG; Once completed,move the backup file to t…
How RECOVERY SPACE AREA will impact RMAN BACKUP
Introduction: This blog is intended for DBA’s who have issues in completing rman backup, we tried to take a rman full backup, but it failed with the below error…
How to overcome ORA-39126 in Oracle export pump?
Introduction: I get to work in export and import of particular schema, but ended up with some fatal error. While EXPDP the schema (EXPDP fails with ORA-39126 Wo…
MRP process getting terminated with error ORA-10567
This blog is intended for DBA’s who have issues in Oracle standby MRP (Managed Recovery Process) and MRP process stops with below ORA error. ” ORA-00600: intern…
How to trace oracle database session
The purpose of this blog is to assist DBAs encountering performance issues in locating the problematic query by taking a trace of the session. The steps shared…
Query to get CPU and Memory usage from OEM database
Please use the below query for a period. SELECT to_char(rollup_timestamp,’DD-MON-YY HH24′) “Date”, average “CPU Usage %” FROM sysman.MGMT\$METRIC_HOURLY…

MICROSOFT WINDOWS 19C DATABASE CREATION
STEPS TO CREATE 19C DATABASE IN MICROSOFT WINDOWS STEP 1: Download the 19c software from the e-delivery site. STEP 2: Create a directory for the software files…
Script to create trace at database schema level by using trigger
Please create the below and disable or drop the trigger once completed. create or replace trigger set_trace after logon on database begin if user not in…
Migrate to Oracle Cloud Database within “1-Click”
Introduction: Oracle provide a tool called MV2OCI(Move to Oracle Cloud Database) and it is a new tool is permitting the load data and migration from “on premise…
11G to 19c autoupgrade failled with ORA-00904 Error
Introduction: During 11.2.0.4 database upgrade to 19c, Autoupgrade fails with error – NVL(bundle_series,’0′)||’#’|| * ERROR at line 3: ORA-00904: “BUNDLE_SERIES…

TXK Delta 13 failed due to missing files
TXK Delta 13(32392507) plus critical TXK patches 33550674, 33535778 failed because of missing files adsign.txt and adkeystore.dat under $APPL_TOP_NE/ad/admin Th…
Adop Phase=cutover Failing With AutoPatch – AidafoGetFileDbVersion: INFO: ORA-01403: No Data Found
AutoPatch – aidafoGetFileDbVersion: INFO: ORA-01403: no data found when apply adop phase=cutover failing with AutoPatch Please follow below steps to overcome th…

Cost estimate with AWS Pricing Calculator
How to create a cost estimate with the AWS Pricing Calculator? Concepts: Create a logical pricing group. Create weekly, monthly, and yearly estimates for Amazon…

Wonders in AWS RDS – Good Deployment techniques
Introduction Amazon Web Service offers a diverse range of products and services to clients across the globe and shapes. Amazon RDS is one of the most popular an…
HUGE PAGES CONCEPTS
HUGE PAGES What are Huge Pages? Linux Manages memory in pages while loading data from disk to memory or writing back to disk from memory. Huge pages is a Linux…
Oracle Blob and Clob Datatypes
CLOB and BLOB are two types of data types used in databases to store large amounts of data. BLOB: BLOB, or Binary Large Object, is used to store binary data suc…
what are the oracle index status
Oracle index is a database object that is used to improve the performance of certain queries by providing direct access to the data in a table. Indexes are crea…
Steps for modifying the scan name configuration in oracle RAC.
INTRODUCTION What is scan name for Oracle database? Single Client Access Name (SCAN) is a feature used in Oracle Real Application Clusters environments that pro…
SQL Server installation Slipstream
Slipstream in SQL Server What is the slipstream how to use slipstream to install SQL server? Slipstream is a technique used by System Admins to easily update th…
Different ways to get the Explain Plan for a SQL ID
1.To Display the execution plan of the last SQL statement executed by the current session SET LINESIZE 150 SET PAGESIZE 2000 SELECT * FROM table (DBMS_XPLAN.DIS…
Deep Dive – Data Dictionary Views
Introduction:- The current topic should be very familiar to the freshers and DBA’S as we know earlier. In general, The data dictionary is structured in tables a…
Role of Global Names in Database Links
ROLE OF GLOBAL NAMES IN DATABASE LINKS Introduction:- This is mainly for Oracle DBA’S who are widely seen about Database links in their organizations, Let us un…

In order to up multiple Apex application in a single instance.
The objective of this blog is to start multiple apex application in a single instance. While doing so, we get an issue in apex applications. Issue: We have abou…
WHAT IS THE DIFFERENCE BETWEEN SRVCTL AND CRSCTL?
SERVER CONTROL UTILITY (SRVCTL) Server Control Utility (SRVCTL): It is used to administer Oracle Real Application Clusters (Oracle RAC) databases and instances.…
How to run SQL tuning advisor manually in Oracle Database
Step 1: Get the hash value of the SQL using the SQL ID. Enter the SQL ID select a.plan_hash_value from v$sql a where sql_id=’&a’; Step 2: Create a tuning…

MICROSOFT SQL DATABASE CREATION
STEPS TO CREATE THE MS-SQL DATABASE STEP 1: Download the .NET Framework version 3.5 and above, if not installed already. STEP 2: Download the SQL server…

Backup and Restore Boot Volume in OCI
BACKUP AND RESTORE BOOT VOLUME IN OCI Introduction In Oracle Cloud Infrastructure (OCI), it’s crucial to have a backup of the boot volume of your instances to e…

Adding and Grouping Server in Logic Monitor
ADDING & GROUPING SERVER IN LOGIC MONITOR INTRODUCTION: Logic Monitor is a cloud-based infrastructure monitoring solution designed to help organizations monitor…

OEM Upgrade from 13.4 to 13.5
OEM UPGRADE FROM 13.4 TO 13.5 PRE-REQUISITE: First, we need to take a backup of the Middleware Home, the Management Repository, Central inventory, Software libr…
NFS Server & Client Installation on Linux Environment
What is Network File System (NFS) Network File System (NFS) is a distributed file system that allows various users to access and share files over a network. It…

Automate All IT Operations in Linux using OLAM 2.0
Automate All IT Operations in Linux using OLAM 2.0 Introduction of OLAM 2.0(Oracle Linux Automation Manager/Engine) In today’s fast-paced business environment,…

OEM 13.4 Step by Step Installation
OEM 13.4 INSTALLATION AND CONFIGURATION OEM OVERVIEW: Oracle Enterprise Manager is management tool, which is used to integrated solution for managing your heter…

Reduce cloud efforts upto 30% in OCI
The rapid growth of cloud technologies is accelerating the expansion of cloud applications and driving demand for higher levels of application performance and a…
To Fix SQL Server Always on Availability Group Database in Secondary Replica is Not Synchronized with Primary Replica.
SQL Server Issue and Solution Error Summary: To Fix SQL Server Always on Availability Group Database in Secondary Replica is Not Synchronized with Primary Repli…
SQL Server Database in Suspect Mode
SQL server issue and solution Error Summary: Suspect is a state where database becomes inaccessible due to different reasons. These are the few reasons why the…
Adcfgclone Fails while instantiating OHS Config
Below was the detailed error found on /u01/TEST/R12apps/fs2/inst/apps/TEST_Mars/admin/log/clone/patch/txkSetOHSConfig_01567873/provision_01567873.log Error : ==…
Unable to see roles & responsibilities on EBS Home Page
My user name which not synced is “JASON” There are two methods to synchronize user data. First Method : This one is our usual method , which will be done by all…
Error: Transaction Log File is full at the primary Replica of the Always on Availability Group.
SQL server issue and solution Error Summary: Assume we receive 9002 error message when trying to execute a new query on one of the Always on Availability Group…
ERROR:26(A network-related or instance-specific error occurred while establishing a connection to SQL Server.)
SQL server issue and solution Error summary: The users might often see the error “SQL Network Interfaces, error:26- Error Locating server/Instance Specified” Th…
Loading and unloading java Jar in to database
1.For Loading jar use cmd loadjava -force -genmissing -r -user username/password@servicename -verbose jar 2.For droping jar use cmd dropjav…
Find the session which generates more archive log
Query: select s.sid,sn.SERIAL#,n.name, round(value/1024/1024,2) redo_mb, sn.username,sn.status,substr (sn.code1,1,21) “code”, sn.type, sn.module,sn.sql_i…
Query to find how many chained (and migrated) rows each table has
Query: SELECT owner, table_name, chain_cnt FROM dba_tables WHERE chain_cnt > 0; SELECT owner_name,table_name,count(head_rowid) row_countFROM chained_rows GROUP…
How to Recompile Invalid Schema Objects
When we are doing the operations like upgrades, patches, and DDL changes the associated schema objects will get invalid. So it is difficult to recompile all the…
Tablespace Level Fragmentation — Defragmentation/Shrink A Big Tablespace In Oracle
The most efficient/effective way to defrag/shrink a big tablespace in oracle is to migrate the tables/indexes to new tablespaces. Here below are the steps: Step…
How To PLAY_SOUND in Oracle Forms
Introduction Play sound is used to play audio files in Oracle Forms, Play Sound plays the sound object in the specified sound item PLAY_SOUND examples The follo…
Error: resource-env-ref,CDI Container and disable policy
org.apache.cxf.jaxws.context.WebServiceContextResourceResolver/bus’ declared in the standard descriptor or annotation has no JNDI name mapped to it. The resourc…
weblogic error ‘could not get the server file lock’
Down the Admin server console Clear AdminServer.lok file from tmp foleder under Admin server
LsInventorySession failed: RawInventory gets null OracleHomeInfo
Description: In Oracle EBS Instance, recently I have faced the error as lsinventory session failed while try to run ./opatch lsinventory in our Instance.OPatch…
Inline External Tables
Overview Inline external tables enable the run time definition of an external table to be part of a SQL statement, thus eliminating the need to create an extern…
Loading CSV Files from External Tables
Overview This topic provides examples of how to load CSV files from external tables under various conditions. Some of the examples build on previous examples. T…
19C LISTAGG DISTINCT
Overview The LISTAGG aggregate function now supports duplicate elimination by using the new DISTINCT keyword. The LISTAGG aggregate function orders the rows for…

Oracle Analytical Functions
The easiest way to understand analytic functions is to start by looking at aggregate functions. An aggregate function aggregates data from several rows into a s…
Facing performance issue after upgrading database from 12.1.0.2 to 19C with Ebusiness suite 12.2
Scenario : Facing performance issue after upgrading database from 12.1.0.2 to 19C with Ebusiness suite 12.2 Analysis : While analyzing we came across the parame…
Missing Archive log error in Golden gate integrated capture.
Scenario: There was a missing archive log error and we need to change the archive log location for integrated capture process in Goldengate. Error : ERROR OGG-0…
DB Node Crashes after upgrading to 19c
Scenario: DB node Crashes after upgrading from 12.0 to 19c. Error: 2021-02-04T12:00:15.450521+00:00 Errors in file /u01/database/19.0.0/diag/rdbms/doyen/doyenB/…

Tally Integration
Tally Data Integration & Data Migration Tally Integration : Comprehensive and medium-scale organizations use different applications to maintain their business a…

Configuring Physical Standby Database Using Data Guard
Configuring Physical Standby Database Using Data Guard Primary Database – Dhee Standby Database – Dheedr STEP 1: Check the Primary DB is in archive log mode or…
How to Change the Default Request Group in E-Business Suite Support Analyzer Bundle Menu
It is possible to change the default request group for a given Analyzer at the individual analyzer level. 1.Start the menu with “perl Menu.pl” 2,Select a Produc…
How to install Trace File Analyzer (TFA)
Description: Trace File Analyzer Collector also known as TFA is a diagnostic collection utility which greatly simplifies the diagnostic data collection for both…
ORA-29532: Java call terminated by uncaught Java exception: java.lang.OutOfMemoryError – ecx_utils.INITIALIZE
When trying to submit one of GL report end with error. The error message shows ORA-29532: Java call terminated by uncaught Java exception. select * from *******…
How to resolve ORA-00379: no free buffers available in buffer pool DEFAULT for block size 8K 16K or 32K errors
APPLIES TO: Oracle Database – Enterprise Edition – Version 11.2.0.3 and later GOAL: This note helps in how to use multiple cache size for tablespaces with diffe…
Autoconfig issue with s_applptmp after database upgrade to 19c
APPLIES TO: Oracle Applications DBA – Version 12.1.3 to 12.2.9 [Release 12.1 to 12.2] SYMPTOMS: Autoconfig failed in application tier node after upgrading datab…
ASM Fails to Start with ORA-4031: unable to allocate 16416 bytes of shared memory (“shared pool”,”unknown object”,”sga heap(1,0)”,”dbktb: trace buffer”)
APPLIES TO: Oracle Database – Enterprise Edition – Version 11.2.0.1 and later Oracle Database Cloud Schema Service – Version N/A and later Oracle Database Exada…
OPatch Cannot Continue Because it Would not be Able to Load OUI Platform Dependent Library from the Directory “$ORACLE_HOME/oui/lib/linux”
APPLIES TO: Oracle Database – Enterprise Edition – Version 11.2.0.4 and later Oracle Database Cloud Schema Service – Version N/A and later Oracle Database Exada…
RMAN DUPLICATE without TARGET fails with RMAN-03002 / RMAN-06171
APPLIES TO: Oracle Database – Enterprise Edition – Version 11.2.0.1 and later SYMPTOMS: Database Names: UAT RMAN DUPLICATE without TARGET fails with RMAN-03002…
R12 E-Business Suite Applications Manager Clone Process Fails With Error ‘AC-50006: Could not assign any APPL_TOP name to this instance’ When Running Adcfgclone.pl AppsTier On An Environment
APPLIES TO: Oracle Applications Manager – Version 12.1.3 and later SYMPTOMS: E-Business Suite R12 Applications Manager, Rapidclone related issues java.lang.Exce…

ORACLE GOLDEN GATE INSTALLATION IN 19c DATABASE
Environment Details Server Name : primegg.localdomain OS Version : Oracle Linux Server release 7 Database Version : 19.0.0.0 GoldenGate Version : 19.1.0.0.4 for…

Automatic Storage Management Cluster File System(ACFS) mount point creation
ACFS concept was introduced in 11.2.0.1 it only manages the non-database files. Oracle ACFS (Automatic Storage Management Cluster File System) is the preferred…
Script to create VMSTAT and to collect Metrix in a database
Please use the below. CREATE TABLE DBA.STATS$TOTALUSERS ( MEASURED_DATE DATE, TOTAL_USERS NUMBER, ACTIVE_USERS NUMBER ) TABLESPACE USERS PCTUSED 0 PCTFRE…
Query to get the user details from Cluster database
Please use the below query. set line size 750 pages 9999 col box for a30 col username for a30 col spid for a30 col program for a30 col os_user for a20 col logon…
vi editor commands usage
There are so many commands we use while working with vi editors. Here I have shared some commands. i – for insert mode. I – inserts text at the curson A – appen…
Query To Check Concurrent Program Run History in EBS
The following query will help you to find the history of concurrent programs run in your EBS environment. You should connect to ‘apps’ user for executing this q…
Deprecation of the embedded PL/SQL Gateway and mod_plsql
Introduction: Beginning with Oracle APEX 20.2, the only supported Web listener is Oracle REST Data Services (ORDS). What is ORDS? Oracle REST Data Services (ORD…
Hold Pending Concurrent Requests and release them
Here is an easy way to put all the Pending Concurrent requests in hold, if we are going through any situation(Mostly any Production Cutover/Go live scenarios).…
How to Change MTU Size in Exadata Environment
How to Change MTU Size in Exadata Environment Issue: Having a larger value for MTU such as 65520 bytes = 64kb will require more memory pages to support IPoIB, t…
OEM13.4 not monitoring all Disks
INTRODUCTION: OEM13.4 is not monitoring all the Disks so we are unable to monitor the Disk alerts. SOLUTION: To fix this issue we need to change a parameter cal…
To find the SQL query history which was executed yesterday in oracle
The below query is used to find the history of sql statement which has been executed earlier. Below query has been used for finding the yesterday data. eg: set…
BLOCK CHANGE TRACKING
BLOCK CHANGE TRACKING Block changing tracking improves the performance of incremental backups by recording changed blocks in the block change tracking file. Dur…
How to increase the report server engine in 12c reports
Increase the report server engine to run multiple reports in parallel. Take a backup of rwsever.conf file cd $DOMAIN_HOME/config/fmwconfig/components/ReportsSer…
21c New Feature – Result Cache for Standby Database
Oracle 21c introduces the ability to improve the performance of queries executed on the read-only active Standby Database by enabling the use of the Result Cach…
Collecting OSWatcher Logs for a Particular Period of Time
1. As <ROOT_USER>, log in to Node 1 and cd to the “/tmp” directory. # cd /tmp 2. Use “vi” or editor of your choice, to create the “osw_capture” script as shown…
Manually Generating Segment Advisor Advice
Manually Generating Segment Advisor Advice ========================================== Step 1 – Create a task. dbms_advisor.create_task ( advisor_name => ‘Segmen…
The Store Record X Could Not Be Found
Shutdown manage servers and Admin server, clear below extension file on under domain home. Clear temp and cache of manage and admin servers find . -name…
New Data Guard Oracle 19c Database
Data Guard Oracle 19c Database Replicate Restore Points from Primary to Standby Dynamically change Fast-Start Failover (FSFO) target standby database to another…
New tables/views in Oracle 19c Database
New tables/views in Oracle 19c Database dba_auto_index_config dba_sql_quarantine V$SQL_TESTCASES DBA_REGISTRY_BACKPORTS
New initialization parameters in Oracle Database 19c
New initialization parameters in Oracle Database 19c “_optimizer_gather_stats_on_conventional_dml” and “_optimizer_use_stats_on_conventional_dml” which are true…
Oracle Database Diagnostic and Tuning Pack Usage
Introduction: Oracle database always comes up with additional licensing for extra features and most prominent feature is Diagnostics and Tuning pack. These pack…
ORA-17506: I/O Error Simulation when backup controlfile
Issue : ORA-17506: I/O Error Simulation when backup of a controlfile Observation : When trying to backup a controlfile it throws the below error ERROR ———————–…
JNDI Creation Failed For EBS Database
Issue : JNDI Creation Failed For EBS Database Observation : When attempting to create JNDI as per step 4 the following error occurs. The edit lock associated wi…
Could not authenticate to Oracle Database Cloud Backup Module
Issue : Could not authenticate to Oracle Database Cloud Backup Module Observation : Oracle Database Cloud Backup Module Install Tool, build 2016-10-07 java.net.…

Creating Physical Standby using RMAN Backup
Creating Physical Standby using RMAN Backup: A physical standby database is an exact, block-for-block copy of a primary database. A physical standby is maintain…
Schema validation errors while parsing /Weblogic/Admin/config/config.xml
While starting weblogic aAdmin server getting error as below Schema validation errors while parsing /Weblogic/Oracle/Admin/config/config.xml – Expected elements…
HOW TO RESOLVE ORA-04031: UNABLE TO ALLOCATE 11513896 BYTES OF SHARED MEMORY (“LARGE POOL”,”LARGE POOL”,”CTWR DBA BUFFER”)
Step1: We want to ensure the block change tracking is enabled in our database or not by using the below sql statement. i.e, SQL> select filename,status from v$b…
Mail server configuration in 12c Reports
For the mail server configuration in 12c reports, need to the update the rwserver.conf files with mail server credentials. cd $DOMAIN_HOME/config/fmwconfig/comp…
Grants Are Not Replicating In Golden Gate
Grants Are Not Replicating In Golden Gate SYMPTOMS Grants are not being replicated from source to target when using Integrated extract CAUSE Bug 30120608 : Capt…

How to apply SSL/HTTPS vendor certificate for apex application deployed on apache tomcat
Description: This article shows how to enable HTTPS for Tomcat. It uses a Third party vendor certificate for wildcard SSL and It should be format of certificate…

Oracle Cloud 19c Grid and Database Installation in Silent mode.
Now we are going to create an instance in cloud. Create a VM instance. Click compute —>instance—>create instance. Give name to your instance and choose in which…
How to create or rebuild Context file in database DB Tier on R12.2
1. Find out the Template file. [oracle@ebs bin]$ cd $ORACLE_HOME [oracle@ebs 12.1.0]$ cd appsutil/template/ [oracle@ebs template]$ pwd /u01/StageR122/PROD/12.1.…
Gather Schema Statistics fails with ORA-20005
Gather Schema Statistics fails with “ORA-20005: Object Statistics Are Locked (Stattype = ALL)” Log file shows the following error, ORACLE error 20005 in FDPSTP…
How to Change Weblogic Password in R12.2
1. Shutdown the Application Services using $ADMIN_SCRIPTS_HOME/adstpall.sh 2. Start the admin server on Primary node using $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh…
How to Resolve Gaps in Data Guard Apply Using Incremental RMAN Backup
Step-1: Check the SCN of Standby ( Data guard ) database and Find the lowest SCN from the following Queries. SQL> SELECT CURRENT_SCN FROM V$DATABASE; CURRENT_SC…
Weblogic Error : The Store Record X Could Not Be Found
ERROR weblogic.store.PersistentStoreFatalException: [Store:280029]The store record 4 could not be found. Solution The issue can be caused by the corruption of t…
HIGH RESOURCE-CONSUMING SQL STATEMENTS WHICH ARE CURRENTLY IN THE MEMORY
–Create the tuning set EXEC DBMS_SQLTUNE.CREATE_SQLSET(‘HIGH_DISK_READS’); –Populate the tuning set from the cursor cache DECLARE cur DBMS_SQLTUNE.SQLSET_CURSOR…
ORA-20000
ORA-20000 Programs that rely on PL/SQL can often be hit with run-time errors that occur due to faults in design, problems with coding, and a number of other iss…
ORA-39510 When Startup 12.2.0.1 Database From Sqlplus Using Pfile
When trying to startup [nomount] an instance in 12.2.0.1.0 from sqlplus by using a pfile, (startup nomount pfile=’my_pfile’) the following messages are displaye…
12.2 ADOP Prepare Phase Issue : prepare failed with “Use of uninitialized value $result in split” in txkADOPValidations.error
12.2 ADOP Prepare Phase Fails with below error message, Error: Validating configuration on node: [apps]. Log: /u01/install/APPS/fs_ne/EBSapps/log/adop/87/202108…
Oracle Multitenant explained in simple terms
Many of us would have come across the word “Multitenant Architecture” in Oracle world. By the time, we read this, some of us feel boring to go in detail and to…
Script to see all lock objects
set term on; set lines 130; column sid_ser format a12 heading ‘session,|serial#’; column username format a12 heading ‘os user/|db user’; column process format a…
Query to get the baseline for an sql id
Please use below query. col sql_text for a60 wrap set verify off set pagesize 999 set lines 155 col username format a13 col prog format a22 col sid forma…
How to remove the Oracle OLAP Option from a 12c Database during 19c Upgrade
Check the OLAP option is enabled in database. select parameter, value from v$option where parameter = ‘OLAP’; PARAMETER VALUE OLAP FALSE select comp_id, comp_na…
RMAN Active Duplicate Fails with ORA-19837 ORA-19849 ORA-19850
RMAN active duplicate fails with error: RMAN-03002: failure of Duplicate Db command at 09/25/2018 08:24:05 RMAN-05501: aborting duplication of target database R…
Useful CRSCTL Commands
STOP & START CRS: ( run from root user) $GRID_HOME/bin/crsctl stop crs $GRID_HOME/bin/crsctl start crs Enable/Disable auto restart of CRS. $GRID_HOME/bin/crsctl…
Schedule Statspack Report Generation.
Declaration : In this scripts using for schedule statspack report generation for hourly, frequently and purge weekly snapshots. Statspack is instead of AWR beca…

Create a New PL/SQL Library
The steps in this section will show you how to create a new PL/SQL library, then create a function that will live in this library. To create the library: Launch…
ORA 02049: Distributed Transaction Timeout waiting for lock
ORA 02049: Distributed Transaction Timeout waiting for lock This error occurs when a session is trying to modify a table’s row in a remote database through a da…
ORACLE GOLDEN GATE ERROR OGG-00868
In this tutorial, we are going to learn about, “How to resolve this ERROR OGG-00868″ I got the below type of error while re-start the replicat in golden gate. I…

ASM Instance cloning using RMAN in same host
Description: In this article step by step Cloning the asm instance in same host.Earlier we use to clone database using rman backup. After adding the database se…
How to fix INVALID status for RAC component in dba_registry
Before upgrade or after upgrade, database may show INVALID status for component Real Application Clusters in dba_registry as below . SQL> select comp_nam…

Kinsing (kdevtmpfsi and dbused) malware in linux impacting oracle
Introduction: Do you know there is malware in Linux that impacts your Oracle Database and Oracle Applications environment? This malware impacting critical Linux…

HOW TO RESOLVE THE ORA-01092: ORACLE instance terminated. Disconnection forced ORA-00704: bootstrap process failure ORA-39700: database must be opened with UPGRADE option
In this tutorial, we are going to learn about, “How to resolve these ORA ERRORS: ORA-01092, ORA-00704 and ORA-39700”. I got the below type of error while startu…
ORA-65114: space usage in container is too high
ORA-65114: space usage in container is too high While an import for a pluggable database and it ran out of space so I tried to resize one of the datafile and go…
Script to Detecting Unindexed Foreign Keys
SELECT table_name, constraint_name, cname1 || Nvl2(cname2,’,’ ||cname2,NULL) ||Nvl2(cname3,’,’ ||cname3,NULL) || Nvl2(cname4,’,’ ||cname4,NULL) ||Nvl2(cname5,’,…
ORA-01516: nonexistent log file, data file, or temporary file container in stand by Database
ORA-01516: nonexistent log file, data file, or temporary file container in stand by Database: ==================================================================…

Installing Oracle 18c XE on Windows
This blog talks about How to Install Oracle Database 18c XE on Windows OS and Connect the database using SQL Plus and SQL Developer. It will help the developer…
How to Create the boot.properties in IDCS Asserter
Problem: When you are running the weblogic in production mode and when you try to start the weblogic using nohup then there is no chance to enter the username a…
How to Change APEX admin password using SQL
Steps to change APEX admin password using SQL, 1. Change the current schema to the one relevant for your APEX version ALTER SESSION SET CURRENT_SCHEMA = APEX_05…
FS_CLONE Fails with no such files or Directory ADOPValidationUtils.pm
When you run adop phase=fs_clone, this will endup with the error no such files or Directory ADOPValidationUtils.pm in a minute or so, this is due to the patch c…

Backing Up a Block Volume in OCI
Description: The backups feature of the Oracle Cloud Infrastructure Block Volume service lets you make a crash-consistent backup, which is a point in time snaps…

Rename Disk group name
Old disk group name : PROD New disk group name : NEWDG Check the databases are located in the Disk group srvctl config database -d clouddb Create a backup of sp…
RETURNING CLAUSE with EXECUTE IMMEDIATE
RETURNING Clause With EXECUTE IMMEDIATE 1. Overview The RETURNING clause allows you to retrieve values of columns (and expressions based on columns) that…
RETURNING CLAUSE with BULK COLLECT
RETURNING Clause Using Bulk Collect 1. Overview The RETURNING clause can return multiple rows of data, in which case you will use the RETURNING BULK COLLECT INT…
Returning Clause in Oracle Plsql
Use RETURNING Clause to Avoid Unnecessary SQL Statements 1. Overview The RETURNING clause allows you to retrieve values of columns (and expressions based on col…

How to Create Manual Database in Oracle ASM File-system using Cloud Instance
Description: The recommended method of creating your database is to use database configuration assistant (dbca). however, if you create your database manually u…

Find Database Query From the Linux PID
Find Database Query From the Linux PID PID=32370 select t.sql_id,t.sql_text from gv$process p , gv$session s , gv$sqlarea t where p.addr=s.paddr and s.sql_addre…
Calculate Actual Size of All Tables in a Schema in Oracle
SELECT owner, table_name, TRUNC(sum(bytes)/1024/1024) MB FROM (SELECT segment_name table_name, owner, bytes FROM dba_segments WHERE segment_type in (‘TABLE’,’TA…
Output Post Processor (FNDOPP) is not Staring
The Output Post Processor (FNDOPP) Manager is not starting, process status is shown as Actual with 0 and the Target is 1 The OPP logfile shows the following exc…
Setting A Discoverer Preference At A User Level
For Discoverer 10g: 1. On the Discoverer 10g Server machine, please set the environment variables by running the following script, . ./$OH/discoverer/discwb.sh…
ASMCMD useful commands
One small article on ASMCMD commands which can help you in day to day ASM Command-Line tasks. 1. Let’s check ASMCMD’s version. [oracle@dbnode1 ~]$ asmcmd -V asm…
Steps to Uninstall Apex in Database
Please follow the below steps col COMP_ID for a15 col COMP_NAME for a45 col STATUS for a20 set lines 100 pages 100 select COMP_ID,COMP_NAME,STATUS from dba_regi…
Stesp to Add/Resize Redolog files
Steps to Resize the Online Redo Logfiles >sqlplus /nolog SQL> connect / as sysdba SQL> select name,open_mode from v$database; NAME OPEN_MODE ——— ——————– PROD RE…
Script to compare two initoras.sh file
Please use the below script. #!/bin/ksh file1=$1 file2=$2 for parameter in `cat $file1 | grep = | awk ‘{print $1}’ | grep -v ‘#’` do value1=`grep ^$param…

DATABASE UPGRADE USING AUTOUPGRADE TOOL FROM 12c to 19c.
It is a feature that is enhanced in oracle 19c and it is mainly used to automate the upgrade process.it not only automates the database upgrade but also perform…
Recovering Datafile Without Rman Backup
It is possible to recover datafile when accidentally removed or deleted and when there is no backup at all , We can recover the datafile without any issues ,now…
ORA-01555 / ORA-600 in standby database after switchover
ORA-01555 / ORA-600 in standby database after switchover After doing a SwitchOver from Production to standby(open read only), We were facing frequent ORA-01555…
DBA_HIST_SEG_STAT become invalid
Unpublished Base Bug 3603160 has been fixed in the patchset 10.2.0.3.0 For version 10.1.0.4 and version 10.1.0.5 oneoff patches exists for some platforms. Below…
Install oracle client via yum
CMD for Installation. yum -y -q install oracle-instantclient18.3-basic.x86_64.
How to Cancel the Request from the backend if frontend not helping to Cancel.
Problem: when we try to cancel a concurrent request using frontend “Cancel Request” button from the Administer > Concurrent > Manager form. We are getting the f…
ADOP ERROR with Following “package body “APPS.AD_ZD_ADOP” has errors (DBD ERROR: OCIStmtExecute)”
Problem: [ERROR] Failed to execute SQL statement: select AD_ZD_ADOP.GET_INVALID_NODES() from dual [ERROR] Error Message: [ERROR] ORA-04063: package body “APPS.A…
Query to check the generation of all redo during the time period
Description: This query used to check the generation of all redo during the time period. Script: select to_char(begin_interval_time,’YYYY_MM_DD HH24:MI’) snap_t…
Script (.sh) scheduled in Crontab is not working
Issue: In Linux Environment, script scheduled in Crontab is not working. Impact: Not able to do any automatic healthcheck, schedule a backup etc.. in Production…

Step by Step Oracle Database Firewall Installation on VMware
Introduction: This post is a guide to install Oracle Database Firewall 12.2.0.8 on VMware. High Level steps 1. Media Download 2. Prerequisites 3. Installation o…
Top 20 tables size by growth on user requested days.
Description: This query used to find and calculate the top 20 tables by growth for users requested days. Script: select * from (select so.owner, so.object_name,…
Job DDL
Creates the DDL for the specified job:- SET LONG 20000 LONGCHUNKSIZE 20000 PAGESIZE 0 LINESIZE 1000 FEEDBACK OFF VERIFY OFF TRIMSPOOL ON BEGIN DBMS_METADATA.set…
DDL of Foreign key
Script to create foreign key DDL on all tables. SET LONG 20000 LONGCHUNKSIZE 20000 PAGESIZE 0 LINESIZE 1000 FEEDBACK OFF VERIFY OFF TRIMSPOOL ON BEGIN DBMS_META…
The SQLAccess Advisor
DBMS_ADVISOR :- 1. Gather a number of SQL statements that will form the tuning workload. 2. Check that the user running DBMS_ADVISOR has the ADVISOR privilege,…
APP-FND-01542: This Applications Server is not authorized to access this database.
By default in Oracle Applications R12, users are not able to access Forms directly via the following url: http://hostname:port/forms/frmservlet The following er…
Alert Log:Warning: VKTM detected a time drift,Time drifts can result in an unexpected behavior such as time-outs.
Below message keeps repeating in Alert-log. Warning: VKTM detected a time drift. Time drifts can result in an unexpected behavior such as time-outs. Please chec…

Renaming a pluggable database
Renaming a pluggable database After renaming the pdb we need to move the datafiles to new directory if needed.

Masking a column using dbms_redact
Masking a column using dbms_redact To mask a sensitive data from any column using dbms_redact package. Here profile column in redactt table is masked. [o…

sys and dba privileged schema over DBMS_REDACT
The sys and dba privileged schemas can view the details of columns masked using DBMS_REDACT .
HISTORY Command from 12.2 SQL*Plus
SYNTAX HIST[ORY] [n RUN | EDIT | DEL[ETE]] | [CLEAR | LIST] Enables users to run, edit, or delete previously used SQL*Plus, SQL, or PL/SQL commands from the his…
How to stop/start Cost Manager
1. Go to View All Concurrent Requests form System Administrator: (N) Requests > View 2. Query on the concurrent requests for the Cost Manager as below: In Find…
Apps password unable to change due to error “APP-FND-02704: Unable to alter user APPLSYS to change password”
Error: APP-FND-02704: Unable to alter user APPLSYS to change password. Oracle error 28003: has been detected in alterpassword2. SYS@PROD> select username,profil…
Workflow notification mailer not sending emails to users
Issue: Workflow notification mailer not sending emails to users. But mails going out from middle tier server and concurrent program report’s mail going out. Bel…
Application clone error in R12.2: Error while executing alter_ebs_logon_trigger.sql
Issue: Recently while doing clone for R12.2 environment, faced the below issue. Configuring: Run file system…. LogFile located at /u01/apps/fs1/inst/apps/PROD_s…
How to apply PSU patch in Grid Home
Steps to apply PSU patch in GRID Home, 1. Download the PSU patch from oracle support. 2. Check the opatch version before applying the patch. If you have older o…
Deinstall 19c Grid Home
The following steps to Deinstall 19c Grid Home, 1. Stop all the database which are related to ASM instance. 2. Stop all the listeners which are related to ASM i…
Deinstall 19c Oracle Home
The following steps to Deinstall 19c Oracle Home, 1. Stop all the database which are running under this oracle home. 2. Stop all the listeners which are running…
How To Resolve Agent Stuck Issue
How To Resolve Agent Stuck Issue: ================================= Workout 1. emctl stop agent 2. ps -ef | grep emagent kill all the process 3. emctl start age…
Agent deployment On Target Host
AGENT DEPLOYMENT ON TARGET HOST: ================================= 1) Before creating agent image sync the EM CLI client with OMS emcli login -username=sysman -…
Flashback Restore Point
FLASHBACK RESTORE POINT: ======================= Restore point plays important role in restore and recovery scenario as it allows to store the state of the data…

Mount ACFS after Reboot On Standalone GI
Description In this case we are using standalone grid infrastructure and having an ACFS file system in it. In Standalone, ACFS does not start automatically so c…

ORACLE WALLETS
Oracle Wallets Oracle Wallet is a container/repository that stores credentials such as certificates, certificate requests, and private keys, with oracle wallets…

MANUAL DATAGUARD SWITCHOVER 19c
MANUAL DATAGUARD SWITCHOVER 19c Switch over: It is reversal of role between a standby database and a primary database. The primary database assumes role of stan…

Oracle Dataguard physical Standby configuration in 19c(Active method)
Oracle Dataguard physical Standby configuration in 19c:(Active method-without using rman backup) Overview steps: Step:1 we have to enable the archive log mode ,…
Resolving ORA-39701: database must be mounted EXCLUSIVE for UPGRADE or DOWNGRADE
SQL> Startup upgrade ORACLE instance started. Total System Global Area 1.3262E+11 bytes Fixed Size 2304584 bytes Variable Size 2.2481E+10 bytes Database Buffers…

ORACLE OS WATCHER
ORACLE OS WATCHER What is oracle OS watcher? Oracle OS watcher is collects and stores as archives operating system and network metrics that you can use to diagn…
ADOP: Fs_clone fails with error Failed to delete the directory
Issue : ADOP: Fs_clone fails with error Failed to delete the directory Observation : Fs_clone fails with the following error: ERROR ———————– *******FATAL…
adop fs_Clone Failed “ERRORMSG: File instantiation failed”
Issue : adop fs_Clone Failed “ERRORMSG: File instantiation failed” Observation : Fs_clone fails with the following error: Completed FSCloneStage… shell-init: er…
adop phase=FS_CLONE Failed On Slave Node
Issue : adop phase=FS_CLONE Failed On Slave Node Observation : ERROR ———————– FS_CLONE failed on slave node Reason : File ownership wrong/changed on [ EBSapps.e…

ORACLE TRACE FILE ANALYZER UPGRADE TO 21.1.2
TRACE FILE ANALYZER UPGRADE TO 21.1.2 Oracle Trace file Analyzer provides a number of diagnostic tools in single bundle, making it easy to gather diagnostic inf…
STANDBY LOG NOT APPLYING IN STANDBY DATABASE
Issue: We found standby log was not applying in standby database and the difference count was keep increasing. Media recover process also not starting up. Cause…

ORACLE RAC STARTUP SEQUENCE
There are 2 ways we can do it as short and detail version . Short startup sequence : 1) OS 2) Cluster 3) ASM 4) INSTANCE 5) Listener 6) Service Detail explained…

ORACLE GOLDENGATE ARCHITECTURE
Oracle Goldengate supports the replication of data for various heterogeneous platforms. It provides support for IBM Informix and extended support for Microsoft…
In Oracle 12c Sql tuning advisor is not running even though its enabled
Faced a strange issue in oracle 12c. In automated maintenance task, sql tuning advisor was enabled. However, it was still not running. Validated dba_autotask_op…
utlrp hangs after upgrade to 12c ERP database
We were performing database upgrade from oracle 11g to oracle 12c with Oracle Apps 12.1.3. We faced an issue where database upgrade took < 30 mins. However, it…
SOA webservices not working after 12c ERP db upgrade
After upgrading database from oracle 11g to 12c in Oracle Apps R12.1.3, got a strange issue where SOA webservices- SOAP, REST stopped. The following url showed…
Oracle apps adpatch fails
Many times , when applying patch using adpatch in oracle apps, the patch session session gets terminated because of network problems. The best way to continue t…

Importing excel data to oracle table using sqldeveloper
Importing excel data to oracle table using sqldeveloper Choose the table and right click Uncheck Header Select columns Choose match by position
FRM-92102 Errors when Accessing a Forms Module
When attempting to access E-Business Suite Forms on a cloned E-Business Suite instance the following error occurs: FRM-92102 A network Error has occurred. The F…
Sometimes the Formsapp.ear deployment fails on Application startup after applying Patches
Error while executing the perl script txkChkFormsDeployment.pl We have determined that you need to redeploy Forms (using txkChkFormsDeployment.pl). But could no…

Oracle NID Utility
Oracle NID Utility – Changing the Database Name This utility allows the user to change the DBID or the database name NID utility was introduced in Oracle…

Oracle GoldenGate 19c Silent Installlation
Introduction Usually to install database software we will use ./runInstaller graphical user interface. Some times we may not have access to a graphical user int…
Image copy Of Database using RMAN
Introduction: By default RMAN takes the backup as BACKUPSETS i.e. it combines of multiple datafiles into one or more backupsets.If you want to take the backup o…

Silent mode Installation of Grid and database in oracle cloud (19C)
Description: The Oracle Grid Infrastructure for a standalone server is the Oracle software that provides system support for an Oracle database including volume…

Migrating a Normal disk group to flex disk group in ASM oracle cloud (19C)
Description: Flex Diskgroups are the new features in oracle 12c R2 for quotas, cloning and filegroups. Oracle ASM provides two-way mirroring by default for newl…

Step by Step Oracle Audit Vault Installation on VMware
Introduction: This post is a guide to install Oracle Audit Vault 12.2.0.8 on VMware. High Level steps 1. Media Download 2. Prerequisites 3. Installation of Audi…
PDB is in restricted mode, datapatch puts pdb$seed to restricted mode
Container and Pluggable database SYMPTOMS The PDB$SEED is in restricted mode. CON_ID CON_NAME OPEN MODE RESTRICTED 2 PDB$SEED READ ONLY YES When we try to open…
BI Publisher program failed due to opp
Error: “Post-processing of request 4667897 failed at 30-Apr-2021 15:54:50 with the error message: One or more post-processing actions failed. Consult the OPP se…

NID UTILITY IN ORACLE12C
NID UTILITY IN ORACLE 12C DATABASE We can change both DBID and DB NAME using NID utility, the following will show how to change the DB NAME using NID utility. S…

Step by step Creating a Custom Application top for EBS 12.2 Using AD Splice
Introduction: This post is to guide to Create a Custom Application top for EBS 12.2 Using AD Splice. Steps to create a Custom Application top for EBS 12.2 Using…

ORA-01012: not logged on error
ORA-01012: not logged on error while trying to start the oracle database. Solution: To resolve this error remove the orphaned shared memory segment using sysres…
SQLTXTRACT and SQLTEXECUTE -Revealing Confusion
SQLT XTRACT is the easiest report to create because it does not require the execution of the SQL at the time of the report generation. The report can be collect…
Query to find the dbms_jobs running
To find the job details set pages 1000 lines 1000 col schema_user for a20 col this_date for a20 col next_date for a20 col what for a80 col instance for 99999999…
Query to generate AWR report
set lines 500; set pages 500; set long 1000000; SELECT X.SQL_ID, X.CPU_TIME, X.EXECUTIONS, T.SQL_TEXT FROM DBA_HIST_SQLTEXT T, ( SELECT S.SQL_ID SQL_ID, SUM(S.C…
Script to generate statspack report
set lines 300; set pages 500; set long 1000000; select A.hash_value, A.text_subset, A.module, trunc((B.cpu_time-A.cpu_time)/1000) “CPU_TIME(ms)”, B.executions-A…
Script to find Session_longops query for datapump
select x.job_name,b.state,b.job_mode,b.degree , x.owner_name,z.sql_text, p.message , p.totalwork, p.sofar , round((p.sofar/p.totalwork)*100,2) done , p.time_rem…
Script to Identify the Datapump Progress
set lines 150 pages 100 numwidth 7 col program for a38 col username for a10 col spid for a7 select to_char(sysdate,’YYYY-MM-DD HH24:MI:SS’) “DATE”, s.program, s…
Query to check snapshot refresh are successfully completed and refresh for materialized views.
Please use the below query. SELECT DISTINCT(TRUNC(last_refresh)) FROM dba_snapshot_refresh_times; select owner, mview_name, last_refresh_type, las…
Query to check whether database has any externally authenticated SSL users
Please use the below query. SELECT name FROM sys.user$ WHERE ext_username IS NOT NULL AND password = ‘GLOBAL’;
Script to check for corruption in the database dictionary
Set verify off Set space 0 Set line 120 Set heading off Set feedback off Set pages 1000 Spool analyze.sql SELECT ‘Analyze cluster “‘||cluster_name||’” validate…
Script to check duplicate objects in SYS and SYSTEM
Please use the below query to check the same. column object_name format a30 select object_name, object_type from dba_objects where object_name||object_type in (…
Installing sqlt
Download sqlt_10g_11g_12c_18c_19c_5th_June_2020.zip set db environment cd /home/oracle unzip sqlt_10g_11g_12c_18c_19c_5th_June_2020.zip cd sqlt/install s…

MIGRATING 19C DATABASE FROM LINUX TO WINDOWS.
INTRODUCTION The below steps showes us how to migrate a 19c database using Transportable Tablespace. MIGRATION FROM LINUX TO WINDOWS MIGRATION FROM LINUX TO WIN…

Steps to scp file from one server to another server in oracle cloud
INTRODUCTION: The below steps shows us how to enable the scp for file transfers in oracle cloud. Open the puttygen Import the target server ppk file It will ask…
Moving Table from one tablespace to another tablespace
The alter table move command moves rows down into un-used space and adjusts the HWM but does not adjust the segments extents, and the table size remains…

RMAN – Backup Based Clone
RMAN has the ability to duplicate, or clone, a database from a backup or from an active database. It is possible to create a duplicate database on a remote serv…
Recycle Bin in Oracle
Oracle database has the recycle bin which is a data dictionary table and contains information about dropped objects. Until we don’t use the purge option,…
Useful TFACTL Commands
1. Check tfactl status with version: tfactl status 2. Check tfactl tool status: tfactl toolstatus 3. Get config details: tfactl print config 4. List of user hav…
PDB Lockdown Profiles In Oracle 12.2
ALTER LOCKDOWN PROFILE statement to alter a PDB lockdown profile. You can use PDB lockdown profiles in a multitenant environment to restrict user operations in…
SGA TARGET ADVISORY IN ORACLE
The V$SGA_TARGET_ADVICE view provides information that helps us in deciding optimal value for SGA_TARGET. MMON background process gather statistics about sga_ta…
Query To Find Dependent Objects Of An Invalid Object
SELECT owner, object_type, object_name FROM dba_objects WHERE status = ‘INVALID’ AND object_name IN (SELECT referenced_name FROM dba_dependencies WHERE name = ‘…
Query to Check locks on a table
Select object_id, session_id, oracle_username, os_user_name, Process, locked_mode From sys.v_$locked_object; Select a.object_name, b.oracle_username From all_ob…
Support date for Oracle WebLogic Server versions
The following table provides the date each version was released and its end of Grace Period. These are dependent on a Patch Set released in order for the Grace…
OID EMAGENT not started once after Daylight Savings
Once after Daylight saving happened, Some of the IAM & IDM management service was down. So we thought of bouncing the complete SSO services. While starting IDM…
Opmnctl Process Hangs During Installation and Cloning Due to a Bug in the Opmnctl Script
Environment: Oracle Fusion Middleware – Version 10.1.3.1.0 to 10.1.3.3.0 [Release AS10gR3] Symptoms: The opmnctl process hangs and goes into a loop, executing o…

Oracle 19c Database Upgrade From 11.2.0.4 to 19.0.0.0 Using DBUA
Description:- There are different ways of upgrading to the latest release of Oracle database and Oracle provides multiple methods to upgrade. Few are listed bel…
Could not initialize the Service Manager FNDSM__ Verify that has been registered for concurrent processing
Cause The issued was found to have been caused by the FND_NODES table having incorrect node entries (old node from the source instance) and that no Service Mana…
SQL Profiles & Baselines
To check SQL Profile : select NAME,SIGNATURE ,STATUS,FORCE_MATCHING from dba_sql_profiles; ENABLE/DISABLE/DROP EXEC DBMS_SQLTUNE.ALTER_SQL_PROFILE(‘coe_5273fz2c…
Scripts to identify performance related issues.
one script to Identify all performace issue related to sql query Set echo off set trimspool on set define on column filename new_val filename select to_char(sys…
Undo related queries
Undo Related Queries To check retention guarantee for undo tablespace select tablespace_name,status,contents,logging,retention from dba_tablespaces where tables…
Long running requests
Long running Concurrent Requests:- 1.How to Determine Which Manager Ran a Specific Concurrent Request? col USER_CONCURRENT_QUEUE_NAME for a100 select b.USER_CON…
Oracle Database Upgrade from 12c to 19c database Using Manual Upgrade
Introduction: There are different methods to upgrade an Oracle database from a lower version to a higher version. Oracle provides multiple methods to upgrade ba…
R12.2 EBS Application Services
Group Services Scripts Purposes Root Services Node Manager adnodemgrctl.sh WLS Node Manager controls server instances within a domain providing automatic restar…
Difference between R12.1 & R12.2
Category 12.1 12.2 Forms & Reports, Developer Home, Tools Home 10.1.2 – ORACLE_HOME 10.1.2 ORACLE_HOME OC4J/OHS/OPMN 10.1.3 – IAS-ORACLE_HOME OPMN, oacore-oc4j,…
Clone 19c Oracle Home
a. Create a gold image of the 19c Oracle Home. $ cd $ORACLE_HOME/ $./runInstaller -createGoldImage -destinationLocation /u03/database19c -silent $./runInstaller…
tkprof multiple trace files
Introduction: There are many times where DBA has to run tkprof for multiple trace files at one time and get them uploaded in Oracle SR. Here, I will be sharing…
Converting a physical standby database into snapshot standby database
What is snapshot standby database? It allows to perform read-write operation on the standby database.ie converting the physical standby to snapshot standby data…
How to change the db name using nid utility
Introduction to Nid Utility: NID is an utility which is used to change the database internal name and dbname of a database. The utility is placed in the $ORACLE…

Migrating Non ASM Database to ASM Database.
Database Migration from Non-ASM to ASM We are going to convert our oracle Database to be migrated from Non ASM to ASM storage using RMAN commands Check the ASM…
OPMNCTL startall Fails with “unexpected exit: status 4200”
While trying to start the opmnctl services in idm we are getting 4200 error code as below applmgr@*****:~ $ applmgr@*****:~ $ /*****/fmw/idm/instances/IDM_inst1…
PRCT-1011 : Failed to run “osdbagrp”. Detailed error
Trying to register the database manually, it fails with: $ srvctl add database -d <dbname> -o <ORACLE_HOME> PRCR-1006 : Failed to add resource ora.<dbname>.db f…
Goldengate Extract Abends with “CACHESIZE TOO SMALL” upon Startup but Succeeds upon Immediate Restart
Issue : Goldengate Extract Abends with “CACHESIZE TOO SMALL” upon Startup but Succeeds upon Immediate Restart Observation : Multiple Goldengate Extract a…
GoldenGate Extract Abends With Errors OGG-01417 OGG-01262
Issue : GoldenGate Extract Abends With Errors OGG-01417 OGG-01262 Observation : Using the extract parameter TRANLOGOPTIONS _DISABLESTREAMLINEDDBLOGREADER does n…
Replicat Is Abending With OGG-00660 Could not find unique key column within table definition When FUNCTION BASED INDEX and BATCHSQL Is Used
Issue : Replicat Is Abending With OGG-00660 Could not find unique key column within table definition When FUNCTION BASED INDEX and BATCHSQL Is Used Note : The i…
Replicat Abends With ERROR OGG-01029 Extract Reposition err – CDR Info sequence 0, rba 0
Issue : Replicat Abends With ERROR OGG-01029 Extract Reposition err – CDR Info sequence 0, rba 0 Observation : Replicat Abending with Error “OGG-01029 Extract r…

Pipelined Function for String Separation
We might face some scenarios for convert string data into rows. Here you can separate a string into rows by giving the string separator as input. Users can give…
EXPORT AND IMPORT DATAPUMP BACKUP USING TABLESPACE PARAMETER
EXPORT AND IMPORT DATAPUMP BACKUP USING TABLESPACE PARAMETER In this blog, we are going to learn about how to do export/import data pump backup by using the tab…
SCRIPT TO VIEW WHICH DATABASE INSTANCE IS RUNNING CURRENTLY
SCRIPT TO VIEW WHICH DATABASE INSTANCE IS RUNNING In this tutorial, we going to learn about to find which database instance is running now. Mostly we use “/etc/…
Easy way to find SID in database using basic information
There are many scenarios, DBA struggling to identify the sessions running in database on sudden adhoc request. To capture the session quickly with the informati…
CommVault Backup failed due to connectivity issues in RAC
Issue: The Commvault issue is reporting saying that first node connection is fine and rest all the 2 nodes is not connecting. Solution: The following are the ke…
Key points to look about TDE Wallet on Bare metel during backup failure.
Database backups fail if the TDE wallet is not in the proper state. The following scenarios can cause this problem If the database was started using SQL*Plus, a…
Script to check the Highest SQL Wait Time using Active Session History (ASH)
Below sql script to check the Highest SQL Wait Time using Active Session History (ASH) col session_id for a10 col session_serial# for a10 col session_state for…
Script to see if any Debug or Trace profile options have been set to Y in Oracle ERP application.
Below sql script to check if any Debug or Trace profile options have been set to Y in Oracle ERP application, select distinct a.application_short_name app_short…
Remove Disk from ASM diskgroup in Oracle 19c.
Follow the below steps to remove a disk from ASM diskgroup in Oracle 19c. 1. Check the ASM disks in ASM DiskGroup. 2. Remove disk from ASM diskgroup. 3. Check t…
Add Disk to ASM diskgroup in Oracle 19c.
Follow the below steps to add a disk to ASM diskgroup in Oracle 19c. 1. Create ASM disk. 2. Check the ASM disks. 3. Add disk to ASM diskgroup. 4. Check the reba…
Drop ASM Diskgroup in Oracle 19c.
Follow the below steps to drop the ASM Diskgroup. 1. Check the ASM diskgroup. 2. Drop ASM diskgroup. 3. Check the disk dropped from from ASM Diskgroup 1. Check…
Create ASM Diskgroup in Oracle 19c
Follow the below steps to create the ASM Diskgroup. 1. Create ASM disk. 2. Check the ASM disks. 3. Create ASM diskgroup. 4. Check the newly added disk in ASM Di…
ORA-56920: a prepare or upgrade window or an on-demand or datapump-job loading of a secondary time zone data file is in an active state
Please use the below to fix the issue. CONN / as sysdba alter session set “_with_subquery”=materialize; alter session set “_simple_view_merging”=TRUE; se…
ORA-01591: lock held by in-doubt distributed transaction 1.92.66874
Below is an example for transaction id 1.92.66874, you need to replace correct transaction id. Trying to manually commit or rollback this transaction com…
Query to get session details for pending transactions in Oracle Database
Please get session detail for transaction 95.22.1516570 (Replace with your transaction id) select t1.sid, t1.username, t2.xidusn, t2.used_urec, t2.used_ublk fro…
Way to analyze ADOP logs
DBA’s find ADOP is little is bit tricky when compare to adpatch. In this blog we are going to cover to best ways to scan adop logs. To debug Online Patching iss…
After 19c upgrade in EBS 12.1.3 running autoconfig errors on application tier
Autoconfig errors after 19c upgrade on application tier while read UTL_FILE_DIR parameters. Error Message: PROGRAM : (/d01/dev/appl/apps/fnd/12.0.0/patch/115/bi…
Getting ORA-600 error while running Generate Asset Trace program
When running the concurrent program ” Generate Asset Trace” report and the initial request for this fails, subsequent spawns of “FATRACE – SLA Sub request” cont…
Script to find total no of database startup in the year or month
Description : This script is used to find total number of database startup in the year or month. You can schedule the script in crontab for every month. Script…
Script to find total number of database shutdown within the year or month
Description: This Shell script is very useful to calculate and review total no of database shutdown in the year or month. We can schedule the script to crontab…
How to Identify If a Disk/Partition Is Still Used by ASM
How to Identify If a Disk/Partition Is Still Used by ASM Introduction: To find whether an ASM disk is still used by ASM, or has Been used by ASM or has not been…
Oracle Clusterware (CRS/GI) – ASM – Database Version Compatibility
Oracle Clusterware (CRS/GI) – ASM – Database Version Compatibility Introduction: You can have different release combinations of Oracle Clusterware, ASM and data…
What is ocssd.bin, how To Stop-Start This Process To Apply A Patch in non-RAC
What is ocssd.bin ? How To Stop/Start This Process To Apply A Patch in non-RAC Introduction: You have installed Oracle Database 10g Products into the Oracle Hom…
Troubleshooting ASMLIB on Linux
Troubleshooting ASMLIB on Linux ASMLIB Disk Discovery troubleshooting checklist ———————————————— In Oracle10g, storage management and provisioning for Or…
ASM is Unable to Detect ASMLIB Disks-Devices
ASM is Unable to Detect ASMLIB Disks/Devices Introduction: We can detect ASMLIB devices/disks thru the ASM instance using the below steps. How to detect ASM dev…
How to restrict a particular database user to login within time period
Description: We are restricting the logon time for a particular database user so the user can only access the database within defined periods. If the user attem…
Script to spool SQL query output to HTML
set pages 5000 SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON – HEAD “<TITLE>EMPLOYEE REPORT</TITLE> – <STYLE type=’text/css’> – <!– BODY {background: #FFF…
Script to resize datafile without ORA-03297 error
select ‘alter database datafile’||’ ”’||file_name||””||’ resize ‘||round(highwater+2)||’ ‘||’m’||’;’ from ( select /*+ rule */ a.tablespace_name, a.file_name, a…
Script to view hidden parameter setting
Set lines 2000 col NAME for a45 col DESCRIPTION for a100 SELECT name,description from SYS.V$PARAMETER WHERE name LIKE ‘\_%’ ESCAPE ‘\’;
Script to find rollback segment used
set lines 1000 pages 1000 col RBS format a20 col sid format 9999 col user format a28 col status format a12 SELECT r.name “RBS”, s.sid, s.serial#, s.username “US…
Prevent users from log into a database within defined period
Description: It shows how to set up the database security so that users cannot log into the database outside defined time-window. Here we are using Event Trigge…
RECOVER TABLE USING RMAN
TO FIND THE CURRENT SCN ======================== select current_scn from v$database; TO FIND THE SCN FROM TIMESTAMP =============================== select times…
Script to check index column positons
set pages 1000 lines 1000 col column_name for a40 col index_name for a45 col column_expression for a40 set lines 120 pages 50000 select c.index_name, c.column_n…
Oracle Flashback Query: Recovering at the Row Level
In a data recovery context, it is useful to be able to query the state of a table at a previous time. If, for instance, you discover that at 4:25 AM, an employe…
Script to find the session events
col sql format a35 col username format a20 col child format 999 col secs format 9999 col machine format a12 col event format a25 col state format a10 select /*+…
Invalid OLAP Objects GENMETADATAPROVIDERINTERFACE
Environment: Oracle OLAP – Version 11.2.0.3 and later Symptoms: OLAP is valid in dba_registry but the following OLAP objects are invalid: SQL> select owner,obje…
query to check ORA errors
This query is used to check the ORA error in past one hour. query: COLUMN ORIGINATING_TIMESTAMP FORMAT A40 COLUMN message_text FORMAT A100 set linesize 300 SELE…
script to copy and import schema backup from prod to uat
This script is useful to import monthly backup of specific schema from prod to uat after taking necessary schema backup in uat. In prod every month the schema i…

Oracle Database 19c Patch Release Update – Jan 2021(Patch Id – 32218454)
DESCRIPTION This article we are going to see steps to apply the latest Oracle 19c Database Release Update Patch 32218454 DOWNLOAD THE PATCH FROM ORACLE SUPPORT…
DROP AND RECREATE UNDO
INTRODUCTION: The below steps shows how to drop and recreate undo tablespace, by doing this activity we can gain more space in mount points and the database siz…
RMAN Scratch
INTRODUCTION The below steps will describe how to perform Rman Scratch. STEP 1: Take a RMAN full backup of the database [oracle@Clone oradata]$ export OR…

MOVING DATA FILES AND REDO LOGS
INTRODUCTION: The activity of moving redo logs online can gain us more space in mount points. STEPS: STEP 1: Check the size of the mount points us…
DATABASE INCARNATION
In this tutorial we are going to learn about Database incarnation. I have mentioned below about incarnation and its different types of incarnation falls. Then f…
EXPORT DP AND IMPORT DP IN SCHEMAS PARAMETER USING PARFILE
EXPORT DP AND IMPORT DP IN SCHEMAS PARAMETER USING PARFILE In this tutorial we are going to learn about how to do export and import datapump using schemas param…
EXPORT AND IMPORT DATAPUMP IN DATABASE_LINK PARAMETER
In this blog we are going to learn about the export and import in datapump using database link. DESCRIPTION: A database link , is a schema object in one databas…
ORACLE DATABSE CLONING USING COLD BACKUP
ORACLE DATABSE CLONING USING COLD BACKUP DESCRIPTION: The Cold database backup is, while taking backup or doing cloning, we need to shutdown the source database…

APEX INSTALLATION(5.1) in ORACLE12c
APEX INSTALLATION(5.1) in ORACLE12c In this blog we are going install the apex 5.1. Here, i have a database with 12c. So here i explained about this install ste…

MIGARATION FROM WINDOWS TO LINUX(12.1.0.1 TO 19.0.0)
INTRODUCTION Migration of a windows database 12.1.0.1 to linux database of version 19.0.0, below are the steps to perform the migration. INSTALLED A DATA…

Restore A Loss Of Controlfile Using Autobackup
Follow the steps to Restore A Loss Of Controlfile Using Autobackup: Step:1 connect to RMAN and view the default parameters using SHOW ALL. Step:2 see the…

BACKUP DATABASE USING RECOVERY CATALOG.
Steps in Backuping database using Recovery Catalog: What is a Recovery Catalog? RMAN metadata can be stored in either of the two places, Controlfile Recovery ca…

How to Apply a Patch(Patch 30886680: DATABASE APR 2020 RELEASE UPDATE 12.2.0.1.200414)
Steps for applying the patch: Step:1 Check current version of OpatchTool Step:2 Upgrade the Opatch utility Step:3 Take the backup of ORACLE_HOME Step:4 Shutdown…
Introduction to Materialised views
MATERIALISED VIEWS: Materialized views are schema objects that can be used to summarize, precompute, replicate and distribute data. In mview, the query result i…

Active Cloning
Steps to perform Active Cloning : Target database – RAHUL Clone database – DOYEN 1)create the particular directories for clone database for storing datafiles,co…

Recover a tablespace using RMAN
Recover a tablespace using RMAN: Step:1 create a tablespace Rahul. Step:2 view the tablespaces present in the database using Select tablespace_name from dba_tab…

Data Recovery Advisor in Oracle 12c
Data Recovery Advisor feature/utilty was introduced in oracle 12c to identify and repair the failure automatically,before that we have to manually identify and…

Block change Tracking (BCT)
Block Change Tracking(BCT): It improves the performance of incremental backups by recording changed blocks in the block change tracking file.It is used when an…
Database Incarnation
Database incarnation is a new version of the database that happens when you reset the online redo logs using alter database open resetlogs; Database incarnation…
RMAN CONSISTENT BACKUP
CONSISTENT BACKUP: A consistent backup of the database is one taken when the database is in a consistent state, that is, one taken after the database has been s…

ORA-19809: limit exceeded for recovery files:
ORA-19809: limit exceeded for recovery files In this blog, we are going to resolve the “ORA-19809” error The limit for recovery files specified by the db_recove…

Multiplex Oracle control file
Multiplex Oracle control file: In order to reduce the risk of losing control files due to corruption, accidental removal, or any possible worst. Viewing the Con…
DATABASE_LINK PARAMETER
DATABASE_LINK PARAMETER A database link is a schema object in one database that enables you to access objects on another database. The other database need not b…
Recovering online redo log files without Backup
In this blog, We are going to learn about recovering online redo log files without any backup Step 1: Starting Up the database, SQL> startup ORACLE instance sta…

Recover a loss of all online redo log files using RMAN Backup
Steps to recover a loss of all online redo log files using RMAN Every instance of an Oracle database has an associated online redo log to protect the database i…

Creating a Instance in cloud
Here I am going to explain about how to create a Instance in cloud, Step 1: Provide the instance name as your suitable: Step 2 : Click the change Image and sele…
Query(Row) Level Export data pump and Import data pump
Description:- Allows you to specify a query clause that is used to filter the data that gets export and import.When the query is to be applied to a specific tab…
Schema Level Export data pump and Import data pump
Description:– Performing the import of Schemas of your database is as simple as exporting them. Similar to expdp Schema export, we use SCHEMAS parameter to perf…
Recover User and Table using Flashback Database
Description:- Oracle Flashback Technology provides a set of features that support viewing and rewinding data back and forth in time. The flashback features offe…
How to Create and Manage Partition Tables in Oracle
Description:- Partitioning is powerful functionality that allows tables, indexes, and index-organized tables to be subdivided into smaller pieces, enabling thes…
Oracle Database Cloning
DESCRIPTION: In this blog,we are going to learn Oracle Database Cloning. INTRODUCTION: The cloning operation creates a copy of the database data files, and crea…
RECOVER THE LOST DATAFILE USNIG FLASHBACK SCN CONCEPT
RECOVER THE LOST DATAFILE USNIG FLASHBACK SCN CONCEPT In this blog we are going to learn about how to recover the lost data file by using flashback database in…

Backup files through using to create Database in Oracle 12c
Description:- Backup your databases and use the restore and recover features to restore a database to the same or another system or to recover database files.It…
EXPORT AND IMPORT DATAPUMP IN REMAP_DATA & REMAP_SCHEMA
EXPORT AND IMPORT DATA PUMP IN REMAP_DATA & REMAP_SCHEMA In this blog we are going to learn about EXPORT AND IMPORT in data pump using remap data and remap sche…
ORA-01157: CANNOT IDENTIFY/LOCK DATA FILE %S – SEE DBWR TRACE FILE
DESCRIPTION: In this blog,we are going to resolve ORA-01157 error in database. Cause: The background process was either unable to find one of the data files or…

ORA – 19809 & ORA – 19804
DESCRIPTION: In this article, we are going to see how to resolve ORA – 19809 & ORA – 19804. CAUSE: By default RMAN backup goes to Flash Recovery Area if it is s…
ORA-02019: CONNECTION DESCRIPTION FOR REMOTE DATABASE NOT FOUND.
DESCRIPTION: In this blog,we are going to know about how to overcome ORA-02019 error in database. CAUSE: An attempt was made to connect or log in to a remote da…
Performing point in time recovery using RMAN
Description:- RMAN database point-in-time recovery (DBPITR) restores the database from RMAN backups. RMAN will be consider all ( required ) backups (full, incre…
RESTORE DROPPED TABLES FROM RECYCLE BIN
DESCRIPTION: In this blog,we are going to see how to restore dropped table from recyclebin. Oracle database has the recycle bin which is a data dictionary table…
Transportable Tablespace using RMAN
DESCRIPTION: In this article, we are going to know how to perform Transportable tablespace using Rman. [oracle@trichy BIJU1]$ rman target / Recovery Manager: Re…

How to Converting Non CDB to CDB in Oracle 12c
Description:- The multitenant option introduced in Oracle Database 12c allows a single container database (CDB) to host multiple separate pluggable databases (P…
RMAN Active based Cloning Database using Oracle 12c
Description:- Duplicating from an active database doesn’t require any RMAN backup to be taken from the source database.Active database duplication copies the li…
Restore control file without backup
DESCRIPTION: In this article we are going to see how to Restore control file without backup. Step 1 – Start the instance [oracle@trichydoyen ~]$ export ORACLE_S…

RMAN Backup based Cloning Database using Oracle 12c
Description:- RMAN has the ability to duplicate, or clone, a database from a backup or from an active database. It is possible to create a duplicate database on…

How to Recover From Lost or Missing Database Parameter Files Without any Backup
Description:- If you lost both spfile and pfile of the instance when it is up and running. Suppose you don’t have any type of rman or autobackup also. How can y…
CREATING A DATABASE USING REMOTE DATABASE FILES
In this Blog we are going to learn about how create the database in local server by using another database files from remote server. For this blog i have used m…

MANUAL DATABASE CREATION
MANUAL DATABASE CREATION IN ORACLE LINUX In this blog describe the installation of Oracle database 12c release 2 on Oracle Linux 6 as manual method. First, you…

How to enable Xclock in cloud environment via putty.
How to enable Xclock in cloud environment via putty. Before setup the Display. Need to Apply the private Key Provide the IP address and click open Need t…

ALTERING ARCHIVE LOG DESTINATION:
ARCHIVE LOG: In Oracle, the Archive log is a copy of a filled redo log file, The process of converting the redo log into archiving log file is called Archiving.…
Importing a .dmp file in a Pluggable database
Importing a traditionally exported dump file in a Pluggable database: Step 1: Creating a new pluggable database : Create a new pluggable database(dbca) Step 2:…

CONVERTING NON-CONTAINER DATABASE TO CONTAINER DATABASE
CONVERTING NON-CONTAINER DATABASE TO CONTAINER DATABASE In this tutorial, we are going to learn about how to convert a non-container database to a container dat…

Creating A Multitenant Database in Oracle 19c using DBCA.
Description:- In this Blog,we are going to Creating A MultiTenant Database In Oracle 19c. The primary database that contains multiple plugged-in databases. Many…

Cloning a Local Pluggable Database
Here we are going to see about how to clone a local Pluggable database in simple steps, Pluggable Database Name- PDB1 Step 1: Check the available Pluggable Data…

Creating container database in Oracle 12c using DBCA.
Description: In this blog, we are going to know about how to create container database in Oracle 12c using DBCA method. Creating a multitenant container databas…

Creating a Pluggable Database in previously created Container Database
Here I am going to explain about Creating a Pluggable Database in our Container Database using DBCA method Let’s see, Note: Before creating a PDB we need to ens…

SSL/HTTPS Implementation for apex application deployed on Apache Tomcat
Introduction: This article shows how to enable HTTPS for Tomcat. It uses a self-signed certificate, but you could replace this with a valid Certificate Authorit…

ORACLE DATABASE CRITICAL PATCH – JANUARY 2021
Description: In this article we are going to see Oracle12c Critical Patch Update for January 2021 High Level steps for applying the Patch: Check current version…
How to configure two OC4j containers for two different applications running on same server
How to configure two OC4j containers for two different applications running on same server. Introduction: The default port for the OC4j container is 8888. You m…
OC4j: How to Resolve the sharing violation by ending the process currently holding the file lock or by using a different persistence directory for one or both processes
Introduction: Requirement to configure additional OC4J instance for PDF printing for two different application. Error: ERROR ServerFile[PersistentMap,/u02/oc4j/…
Oracle Apex : Failed to load resource: the server responded with a status of 404 ()
Environment: In our case, Apex: 19.2.0.00.18 Tomcat: apache-tomcat-9.0.36 ORDS: 19.1 Error: Developer reported Dashboard images and themes are not loading for o…
Removing a managed server in EBS R12.2
Information: The following steps should be executed in order to delete a managed server from the domain. As in the case of managed server addition, deletion of…
How to change the Port Numbers of the Managed Servers
Detail: Customizing Managed Server Configuration via WebLogic Server Administration Console The managed server configuration can be customized via native WebLog…
R12.2 : Patch seems to hang in adobjcmp.sql or appostimportaad.sql or fapostimportaad.sql
Issue: While applying a patch or Maintenance Pack the adpatch worker does not seem to finish when running one of the following jobs : adobjcmp.sql appostimporta…
After Entering Username/Password in R12.2 Login window- Password Field become Blanks
Login Page Loops Back to Login Page Immediately After Entering Username/Password – Password Field Blanks Problem: In 12.2, find the login page “loops” and never…
EBS Homepage Help Link Shows A Blank Page In R12.2 After SSL Is Enabled
EBS Homepage Help Link Shows A Blank Page In R12.2 After SSL Is Enabled Problem : In Oracle E-Business Suite Release 12.2, a non-SSL port is kept open for those…
Find All the Corrupted Objects in Your Database
SELECT e.owner, e.segment_type, e.segment_name, e.partition_name, c.file# , greatest(e.block_id, c.block#) corr_start_block# , least(e.block_id+e.blocks-1, c.bl…
ORA-00600: error in Queue Table SYS.SYS$SERVICE_METRICS_TAB
If this error is coming in Oracle database, then take downtime and do the following: Drop the queue table – exec dbms_aqadm.drop_queue_table( queue_table=>’SYS.…
RMAN-06091: no channel allocated for maintenance
RMAN> delete obsolete; the following error occurs: RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MES…
Check the temporary tablespace usage
column sid_serial format A12 heading “Sid-Serial” column tablespace format a15 heading ‘TBS Name’ column spid format 9,999 heading ‘Unix ID’ column segblk# form…
Check the undo tablespace usage
col NAME format a15 col TABLESPACE_NAME format a10 col Programme format a20 col machine format a30 SELECT a.usn, e.sid, e.serial#, e.username, e.program, e.mach…
Check datapump job is being executed
SELECT owner_name ,job_name ,operation ,job_mode ,state ,degree ,attached_sessions FROM dba_datapump_jobs; To get the constraints list: #set linesize 1000 #set…
To check the waits stats
column object_name format a20 column owner format a20 column object_type format a20 column sample_time format a27 column sql_text format a50 set ver off prompt…
To get the SGA statistics
DECLARE libcac number(10,2); rowcac number(10,2); bufcac number(10,2); redlog number(10,2); spsize number; blkbuf number; logbuf number; BEGIN select value into…
Managing control files in ASM
Copying Control File to Other locations Just a couple of notes on how to create multiple ASM control files and moving control files to a different diskgroup. As…

How to access HTTPS/SSL URL via utl_http using the orapki wallet command
How to access HTTPS/SSL URL via utl_http using the orapki wallet command Goal: Our goal is to call/access the HTTPS/SSL url from within PL/SQL The instruction p…

Install and Configure Oracle APEX with ORDS and Apache Tomcat
Install and Configure Oracle APEX with ORDS and Apache Tomcat Introduction: In this post, we will discuss about the step by step procedure to install Oracle App…
DBMS_SCHEDULER in Oracle Database
DBMS_SCHEDULER in Oracle Database Scheduler in the Oracle Database is done by DBMS_SCHEDULER package. This package can be used to create different types of jobs…
OEM CONTROL COMMANDS
OEM CONTROL COMMANDS: ===================== Stop/start and status oms in cloud control =============================== cd $ORACLE_HOME/bin emctl stop oms emctl…
Viewing an Alert Log from ADRCI
Viewing an Alert Log from ADRCI ================================ You want to view an alert log by using ADRCI commands. To view an alert log with ADRCI, follow…
Finding What’s Consuming the Most Undo
Finding What’s Consuming the Most Undo ======================================= Use the following query to find out which SQL statement has run for the longest t…
Determining the Optimal Undo Retention Period
Determining the Optimal Undo Retention Period ============================================== You need to determine the optimal length of time for undo retention…
Find the current patchset levels for products in Oracle Apps
To obtain the current patchset levels for each specific E-Business Suite functional product test the following steps: 1. Log into OAM. (Responsibility System Ad…
Queries Related to Undo in Oracle
To find retention guarantee for undo tablespace select tablespace_name,status,contents,retention from dba_tablespaces where tablespace_name like ‘%UNDO%’; To fi…
Locking and Disabling User Accounts in Linux
Locking and Disabling User Accounts in Linux 1. Locking the user account To lock a user account use the command usermod -L or passwd -l. Both the commands adds…
Setup a password less SSH Connectivity Quickly on Linux
We can use ssh to connect between servers, but many times it is required to setup a password less connectivity between the servers. We can follow below s…
Error in `FNDLIBR’: double free or corruption (out) in Oracle Apps R12.1
Error in `FNDLIBR’: double free or corruption (out) In some concurrent programs, I was seeing the error as FNDLIBR corrupted. Other programs were working fine.…
MRP process stopped with ORA-01111,ORA-01110,ORA-01157 error
PROBLEM: After adding a datafile in primary database, recovery process in standby stopped with below error. — Error in alert log of standby database Fri Jan 15…
Oracleasm lib commands
ASMLIB is a storage management interface. ASMLIB is not required for ASM to function; it is like an add-on library that simplifies the tasks of managing and dis…
All About Oracle DB Audit
The auditing mechanism for Oracle is extremely flexible. Oracle stores information that is relevant to auditing in its data dictionary. Every time when a user a…
ASMCMD useful Commands
Below are some of the useful ASM commands which will be helpful all the time. ASMCMD > showversion ASMCMD > showversion –releasepatch –softwarepatch ASMCMD > sh…
adcfgclone return code = .16.17.18.19.20.21
Where I Faced this Issue? When I ran adcfgclone appsTier on EBS 12.2 I got this error, and it said got error while running autoconfig, but the actual error is f…

Which type of Database release customer should follow? Long Term Release and Innovation Release?
Long Term Release: Oracle Database Long Term Releases offers highest level of stability including lot of bug fixes developed over the period of years. It…
Oracle Golden Gate files Location and extension
Below are the major Golden gate files and their locations. Reports (.rpt) /u01/doyen/goldengate/ogg/dirrpt Parameters (.prm) /u01/doyen/goldengate/ogg/dirprm Re…
Differences between data dictionary views and V$ views
Here are the differences between data dictionary views and V$ views, in Oracle. Data Dictionary Views : 1. Data will not be lost even after the instance is shut…
Steps to remove OLAP API and OLAP Catalog
1. Remove Oracle OLAP API: *************************** @?/olap/admin/olapidrp.plb @?/olap/admin/catnoxoq.sql @?/rdbms/admin/utlrp.sql select comp_id, comp_name,…
Step to remove database componentes
1. Remove Oracle Text: *********************** @?/ctx/admin/catnoctx.sql drop procedure sys.validate_context; select comp_id, comp_name, version, status from db…
ORADEBUG utility
Working wit ORADEBUG utility for uploading SR to check on slowness:- ************************************************************************ connect / as sysdb…
Adop Fails With Error: ssh is not enabled for the following nodes
Getting the following error applying a patch running Adop: adop phase=prepare Enter the APPS password: Enter the SYSTEM password: Enter the WLSADMIN password: V…
GoldenGate Error Queue For Apply Process “OGG$RNDDEV_A” Contains New Transaction With ORA-904
Issue : GoldenGate Error Queue For Apply Process “OGG$RNDDEV_A” Contains New Transaction With ORA-904 Observation : *** ACTION NAME:(OGG$RNDDEV_A – Apply Server…
ORA-02020: too many database links in use
Cause: The current session has exceeded the INIT.ORA open_links maximum. To find: ——— SQL> show parameter open_links; NAME TYPE VALUE ———————————— ———– ————————…
RMAN is hung or it is very slow / Clearing RMAN repository / Troubleshoot RMAN-06214 error
RMAN> DELETE FORCE NOPROMPT OBSOLETE DEVICE TYPE DISK; If error still occurs, then try the below RMAN> CROSSCHECK COPY OF CONTROLFILE; rman> DELETE FORCE NOPROM…
Concurrent manager become up after 3-4 hours after start Oracle Application
Description: These two tables FND_ENV_CONTEXT FND_CONCURRENT_REQUESTS grown to 4 GB size . To speed up. Solution: 1. First Purge and then De-fragmentation to im…
All RDF Reports Running Forever With No Completion
Problem: Concurrent program are running from long time and are not getting completed. $INST_TOP/ora/10.1.2/bin/appsrwrun.sh userid=apps/apps mode=character repo…
How to change EBS R12 Database and Application Port Number
Execute the below in Application Tier: Run adpreclone on Application Tier $ perl ./adpreclone.pl appsTier Execute the following on the Database Tier: Logon as o…
OCI VMDB Automatic Backup Failed With DCS-10434:Control file and/or spfile handles could not be retrieved from rman logs
APPLIES TO: Oracle Cloud Infrastructure – Database Service – Version N/A and later SYMPTOMS: OCI VMDB system automatic backup failed with DCS-10434:Control file…
How to validate CATALOG And CATPROC in Multitenant environment
APPLIES TO: Oracle Database – Enterprise Edition – Version 12.1.0.2 to 12.2.0.1 [Release 12.1 to 12.2] Oracle Database Cloud Schema Service – Version N/A and la…
ORA-4045 Error During Recompilation/Revalidation Of SYS.DBMS_STANDARD
APPLIES TO: Oracle Database – Enterprise Edition – Version 9.2.0.8 and later Oracle Database Cloud Schema Service – Version N/A and later Oracle Database Exadat…
Utlrp.sql results to “Warning: XDB Now Invalid, Could Not Find Xdbconfig”
APPLIES TO: Oracle Database – Enterprise Edition – Version 10.2.0.3 to 12.1.0.1 [Release 10.2 to 12.1] Oracle Database Cloud Schema Service – Version N/A and la…
ORA-02082: a loopback database link must have a connection qualifier
ORA-02082: a loopback database link must have a connection qualifier Such error occurs when there is a db link which is a loop back database link i.e. points to…
Fix for ORA-19505: failed to identify file in RMAN
Fix — ORA-19505: failed to identify file in RMAN RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSA…
ORA-65086: cannot open/close the pluggable database
solution: ORA-65086: cannot open/close the pluggable database — Unplug a pluggable database SQL> ALTER PLUGGABLE DATABASE VELDB close immediate; Pluggable datab…
OC4J Configuration issue… OC4J_DBConsole_ not found.
I am trying to start EM on my newly created database, while starting EM, getting failed with OC4J Configuration issue… while diagnosed there is no OC4J_DBConsol…
Autoconfig Issues seen after a Clone
After Completion of oracle clone , faced issue while running autoconfig. ERROR : ——– ERROR at line 1: ORA-04091: table APPLSYS.FND_PROFILE_OPTION_VALUES is muta…
Corrupt Block alert in Alert Log
Error : ======= Bad header found during buffer read Data in bad block: type: 2 format: 2 rdba: 0x21008dd0 last change scn: 0x0006.12114f8e seq: 0x37 flg: 0x04 s…
Autoconfig errors on adgentns.pl ORA-01400: cannot insert NULL into FND_APPS_SYSTEM.CSI_NUMBER
APPLIES TO: Oracle Applications DBA – Version 12.0.0 to 12.1.3 [Release 12 to 12.1] SYMPTOMS: On application Release 12 When attempting to run autoconfig on APP…
XDB Now Invalid Could Not Find Xdbconfig after applying DBPSU
APPLIES TO: Oracle Database – Enterprise Edition – Version 12.1.0.2 and later Oracle Database Cloud Schema Service – Version N/A and later Oracle Database Exada…
Oracle Cloud Shell – Configuration and its uses
Oracle Cloud Shell is web based terminal access from Oracle Cloud console. It is free to use and provides access to Linux shell. Cloud shell is a small VM runni…
The register extract of goldengate failed with OCI Error 959
Issue : The register extract of goldengate failed with OCI Error 959 Observation : Cannot register extract in Goldengate . It abends with the OCI Error 959. Rea…
The extract of the goldengate failed with the error : Error “OGG-00665 OCI Error executing fetch for TABLE (status = 1031-ORA-01031: insufficient privileges)”
Issue : The extract of the goldengate failed with the error : Error “OGG-00665 OCI Error executing fetch for TABLE (status = 1031-ORA-01031: insufficient privil…
12.2 Rapid Install Fails On Installing Web Tier Utilities With Error “Fatal Error: TXK Install Service”
APPLIES TO: Oracle Applications DBA – Version 12.2 to 12.2.5 [Release 12.2Cloud to 12.2] SYMPTOMS: 12.2 Rapid-Install fails while Installing Web Tier Utilities…
ERROR: URL Validation Failed. The Error Could Have Been Caused Through The Use Of The Browser’s Naviation
APPLIES TO: Oracle HRMS (US) – Version 12.1.3 to 12.2.5 [Release 12.1 to 12.2] SYMPTOMS: When trying to open either the ‘Disclose Veteran Status’ or the…
Gather Stats ORA-0000: normal, successful completion
ERROR: Gather Stats ORA-0000: normal, successful completion SOLUTION: Check to see what records will be backed up on the wf_queue_temp_jms_table backup table: s…
Ways To find whether the module is installed or not in Oracle Applications
We have 3 ways to find out if a module is installed in oracle apps 1 We can run the following script cd $AD_TOP/sql/adutconf.sql In this script, there is a sect…
12C : Unified Audit Trial was not captured during successful Login and Failures
From oracle 12.1, unified audit trail has been introduced. To enable this audit_trail parameter should be set to none. However we observed that even though ORA_…
12C : SQL Tuning Advisor is not Running even though its enabled
Recently I faced a new issue in 12C. In automated maintenance task, sql tuning advisor was already enabled. but its still showing not running. Even I have valid…
12.2 E-Business Suite startCD 50 Install Fails with Fatal Error: TXK Install Service oracle.apps.fnd.txk.config.ProcessStateException: OUI process failed Cannot install Web Tier Utilities
APPLIES TO: Oracle Applications DBA – Version 12.2.5 to 12.2.5 [Release 12.2] Oracle Applications Manager – Version 12.2.5 and later Information in this documen…
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 nnnnn’
E-Business Suite R12 Concurrent Processing, Output Post Processing related issues Requests fail during Post Processing with the following errors: ‘Unable to fin…
ORA-12152 “Unable To Send Break Message” on Connection
When trying to login to the database from a client(Toad, SQL Developer) when using a Cisco GSS and a CSM (Content Switch Module) the connection fails to complet…
Error: “Unable to Connect” Oracle Apex Access Issue
Recently we had install the Oracle Apex and installation done successfully and access via local system Oracle Apex running perfectly but while we access in remo…
How to resolve ORA-01994: GRANT failed: password file missing or disabled
ERROR: ORA-01994: GRANT failed: password file missing or disabled SOLUTION: 1)Log in as the same user who owns the file $ORACLE_HOME and create the password fil…
ORA-30012: undo tablespace ‘UNDOTBS’ does not exist or of wrong type
ERROR: ORA-30012: undo tablespace ‘UNDOTBS’ does not exist or of wrong type. CAUSE: The parameter UNDO_MANAGEMENT is set to AUTO but the undo_tablespace does no…
Cannot Start Oracle HTTP Server on Privileged Port (80/443) on Solaris 9
APPLIES TO: Oracle HTTP Server – Version 9.0.2 to 10.1.3.0.0 [Release 9iAS to AS10gR3] Oracle Solaris on SPARC (64-bit) Oracle Solaris on SPARC (32-bit) Web Cac…
OPMN Fails to Start Oracle HTTP Server 10g After Changing ‘apachectl’ to Root Ownership and 6750 Permissions
APPLIES TO: Oracle Fusion Middleware – Version 9.0.4.0.0 to 10.1.4.3.0 [Release AS10g to AS10gR3] Oracle HTTP Server – Version 9.0.4.0.1 to 10.1.3.5.0 [Release…
Full details about oracle database startup and shutdown in background
Here this blog is useful to understand what will happen while giving startup or shutdown database commands in background. Full details about oracle datab…
IMPDP Hangs – Wait For Unread Message On Broadcast Channel
If IMPDP hangs long time, and if checking in v$sessionwait shows it is waiting on “wait for unread message on broadcast channel”, check the alert log. You may s…
Add Services to a Single instance
Please follow to Add Services to a Single instance While the database is up, run the following as sys: alter system set service_names=’DB_DEFAULT_SERVICE, DB_HT…
How to Create a Custom Concurrent Manager
Adding Concurrent Manager is a crucial decision. Lots of things needs to be examined before adding new Concurrent Manager. One of the major area is resources.If…
How To Remove Error Notifications From The Worklist (Doc ID 357904.1)
racle Workflow – Version 11.5.10.2 to 12.2 [Release 11.5.10 to 12.2] Oracle Order Management – Version 12.2.4 to 12.2.4 [Release 12.2] Information in this docum…
EBS R12: Oracle Application Manager – All Self Service page Display format and images not showing and overlapping:
We are on Oracle Linux 6.5, Oracle Database 11.2.0.4, Oracle EBS 12.1.3 for all Self Service Application, under Oracle Application Manager, like – Workflow, Lic…
R12 HTTP_Server Shows Status as Down After Running Apachectl.sh Start, and the Apache Log Shows Error ‘apachectl is not owned by this user’
APPLIES TO: Oracle E-Business Suite Technology Stack – Version 12.1.3 to 12.1.3 [Release 12.1] Information in this document applies to any platform. SYMPTOMS: E…
Internal Concurrent Manager Has Terminated With Status 137 – Giving Up . ld.so.1: mail: warning: /usr/lib/extendedFILE.so.1: open failed: illegal insecure pathname
APPLIES TO: Oracle Concurrent Processing – Version 12.1.3 to 12.1.3 [Release 12.1] Oracle Solaris on SPARC (64-bit) SYMPTOMS: Error in the Concurrent Manager Lo…

Maximum Security Zone in Oracle Cloud
Maximum Security Zones provides both preventative and detective security controls for cloud environment. Maximum Security Zones is the preventative control, des…
Mobile First strategy with Oracle CX Mobile App
Enterprise are emphasizing on building a culture of proactive sales with responsibility of identifying leads,new account openings and agility in closing deals.…
TOP Elapsed time SQL in certain hours with below script
Query will find out TOP Elapsed time SQL in certain hours with below script SELECT st.sql_text, sub.sql_id, sub.ELAPSED_TIME PER_EXEC_ELAPSED_TIME_MINUTES FROM…
Find undo blocks and connect by SQL_ID
Provided script will find out the UNDO tablespace blocks usage to the corresponding SQL ID which you will provide. select dhs.sql_id, round(sum((vu.activeblks*8…
clrg comand for Oracle Apps DBA in Oracle SuperCluster Environment
Hi All, In Oracle SuperCluster Environment we use important command ‘clrg’ for stopping and Starting of Oracle Web tier and Concurrent Manager Services. clrg st…
How to Check If Oracle Transport Agent (OTA) and ECX Agents Are Running
APPLIES TO: Oracle XML Gateway – Version 11.5 to 12.2.7 [Release 11.5 to 12.2] Information in this document applies to any platform. GOAL: Provide a SQL Script…
ORA-600 [6006] ORA-600 [6856] During Startup Instance, Followed by Termination by SMON
APPLIES TO: Oracle Database – Enterprise Edition – Version 10.2.0.1 to 10.2.0.3 [Release 10.2] Oracle Database Cloud Schema Service – Version N/A and later Orac…
Some Operations performed by the Grid Control Agent 10g or 11g Fail With ‘ERROR: NMO Not Setuid-root (Unix-only)’
APPLIES TO: Enterprise Manager Base Platform – Version 10.1.0.2 to 11.1.0.1 [Release 10.1 to 11.1] Generic UNIX SYMPTOMS: The Grid Control Management Agent has…
EM 12c, EM 13c: Fix the Cloud Control Agent error ‘ERROR: NMO Not Setuid-root (Unix-only)’
APPLIES TO: Enterprise Manager Base Platform – Version 12.1.0.1.0 and later Generic UNIX Generic Linux SYMPTOMS: The Cloud Control Management Agent has been ins…
Workflow Notification Mailer Not Sending Notifications As event oracle.apps.wf.notification.send.group Is Disabled
APPLIES TO: Oracle Workflow – Version 12.1.3 to 12.2 [Release 12.1 to 12.2] Information in this document applies to any platform. SYMPTOMS: On Oracle Applicatio…
How To Query And Change The Oracle Hidden Parameters In Oracle 10g and Later
GOAL: Q1: How to query the hidden initialization parameters in sql ? Q2: How to change these hidden parameters? SOLUTION: A1: The hidden parameters start…
Oracle Cloud Guard
Oracle Cloud Guard, a new Oracle Cloud Infrastructure (OCI) service designed to maintain a strong security in OCI. Cloud Guard is just one of the new services t…
EM 12c, 13c: Enterprise Manager Cloud Control Agent Install Fails with Message: ERROR: Agent Configuration Failed SEVERE: emctl start agent command has failed with status1
APPLIES TO: Enterprise Manager Base Platform – Version 12.1.0.1.0 to 12.1.0.5.0 [Release 12.1] Information in this document applies to any platform. SYMPTOMS: T…
Simple Script to Disable & Enable Cronjobs
Script disen_cronjobs.sh will help to disable and enable all cronjobs during maintenance. Script can be executed with below two options Disable cronjobs before…
[EM 13c]: 13c Cloud Control Agent Status Shows “Status agent Failure:unable to connect to http server”
APPLIES TO: Enterprise Manager Base Platform – Version 13.2.0.0.0 and later Information in this document applies to any platform. SYMPTOMS: 13.2 agent status sh…
EM12c: ‘java.io.IOException: Cannot run program “/usr/lib/oracle/agent/sbin/nmo”: java.io.IOException: error=2, No such file or directory’ Reported in gcagent.log
APPLIES TO: Enterprise Manager Base Platform – Version 12.1.0.4.0 and later Information in this document applies to any platform. SYMPTOMS: $AGENT_INST/s…
XML Gateway Outbound PO Errors With Filenotfoundexception On Cwallett.Sso
APPLIES TO: Oracle XML Gateway – Version 12.0.0 to 12.1.3 [Release 12 to 12.1] Information in this document applies to any platform. SYMPTOMS Setup xml gateway…
POXML Workflow fails intermittently with Error Process ‘POXML/XXXX-XXXXX’ has no activities waiting to receive event ‘oracle.apps.po.event.xmlpo’
APPLIES TO: Oracle Purchasing – Version 12.1.3 and later Information in this document applies to any platform. SYMPTOMS When attempting to send some Purchase Or…
Query to find Fragmentation on Database
select table_name,round((blocks*8),2) “size (mb)” , round((num_rows*avg_row_len/1024),2) “actual_data (mb)”, (round((blocks*8),2) – round((num_rows*avg_row_len/…
12.2 E-Business Suite – How To Clean Up a Rapid Install Failure and Restart a Fresh Install
APPLIES TO: Oracle Applications Manager – Version 12.2 to 12.2.5 [Release 12.2Cloud to 12.2] Information in this document applies to any platform. GOAL: How to…
Patching failed with “The inventory pointed at location is not valid” and ORA-48146 in OCI DBCS
APPLIES TO: Oracle Database Cloud Service – Version N/A to N/A [Release 1.0] Linux x86-64 SYMPTOMS: Customer tried to apply the patch from console and it was fa…
OCI DBCS: RESTORE the DB from backup, OPEN command fails, wallet status is found to be CLOSED,
Issue : OCI DBCS: RESTORE the DB from backup, OPEN command fails, wallet status is found to be CLOSED, Observation : – Took a complete database backup – Used th…
OCI Restore fails during Recreate Controlfile step while adding tempfile to PDB
Issue : OCI Restore fails during Recreate Controlfile step while adding tempfile to PDB SYMPTOMS : Create new DB System from backup fails during Recreate Contro…
OCI Restore failure during Tempfile Creation
Issue : OCI Restore failure during Tempfile Creation Trying to create a new DB System from backup in OCI. Restore fails during “Re-Create Control File” step: &n…
Got the error : ORA-20401: Authorization failed, while listing contents of OCI Object storage using PL/SQL in ADB
Issue : Got the error : ORA-20401: Authorization failed, while listing contents of OCI Object storage using PL/SQL in ADB Error : ERROR at line 1: ORA-20401: Au…
Cannot Install Oracle Database Home / oracle.apps.fnd.txk.config.ProcessStateException: OUI process failed : Exit=255
APPLIES TO: Oracle Applications Manager – Version 12.2 to 12.2 [Release 12.2Cloud] Information in this document applies to any platform. SYMPTOMS: Trying to ins…
Rapid Install fails at second node: RW-20004: No Installs found for this host
APPLIES TO: Oracle Applications Manager – Version 12.0 to 12.0.4 [Release 12] Information in this document applies to any platform. This problem can occur on an…
Synchronization of AD tables FND_NODES, ADOP_VALID_NODES and FND_OAM_CONTEXT_FILES in 12.2 when adop fails
Issue : Autoconfig was failing in EBS R12.2 during cloning Error Faced : Directory: <EBS_BASE>/fs#/FMW_Home/webtier/perl/bin/perl -I <EBS_BASE>/fs#/FMW_Home/web…
Script To Check The Techstack Component Versions in Unix/Linux Environment
Introduction: In this article, we will find the versions of Technology stack components like Forms, iAS, Framework, JDK, OJSP, Database, etc On Application Tier…
User Notification Preference Updated to DISABLED in Workflow
Introduction: User’s notification preferences are being disabled in WF_LOCAL_ROLES table and the administrator is receiving email notification such as following…
Determine the version of Berkeley Database in Oracle Unified Directory
Introduction: In this article we will see how to determine the version of Berkeley Database in Oracle Unified Directory (OUD). Ways to determine the version: Th…
Remote Connections Via the Listener to the Database Fail with TNS-12526, TNS-12527 or TNS-12528
Introduction: Connections via the listener to an instance that is in RESTRICTED status or in NO MOUNT status may fail with TNS-12526, TNS-12527 or TNS-12528 eve…
Disabling Language Selection Option In AppsLocalLogin.jsp
Introduction: The below post discusses about disabling language selection option available in AppsLocalLogin.jsp. Method to disable the language selection: Chec…
Glimpse of External Tables in Oracle Database
Introduction: In this article, we can see what External Tables are and how to manage those tables within the Oracle Database. About External Tables: Exte…
Examples of Partition Methods and Keys for Oracle EBS Tables
This is not an exhaustive list, just an example of some of partitioning designs that may work well for some customers. There are many other examples that are no…

WebAdi Download Is Failing Intermittently performance issue
The download of WEBADI is taking too long and has a Performance issue. It takes 1 minute to 8 minutes when users expect 8 seconds to 30 seconds. The user waits…
Upgrade Excel To 2013 64-bit Error ‘The code in this project must be updated for use on 64 bit systems’ Uploading Data To WEBADI Template
After upgrading Microsoft Excel to version 2013 64bit, when uploading data to the template WEBADI, the template is blank. However when looking at the Excel Macr…
WEB ADI Performance Issue When Data Entry Rows is High
WEB ADI Performance Issue When Data Entry Rows is High While updating the Data Entry Rows in the Lines section to 30000, then the upload takes a long time (10 m…
Forms memory consumption
The Following query is to get the memory consuming forms sessions. #!/bin/sh ALLPROCS=`ps -ef|grep “f60webmx webfile=” | grep -v grep | tr -s ” ” | cut -f3 -d”…
Script to Bounce EBS Middletier in EBS 12.2
In an earlier version of EBS (R12 and 11i) – restarting middle-tier services is quite simple though application running in multiple nodes. Starting from EBS 12.…
Script to collect all the required information for understanding the Concurrent Processing workload on a system
REM HEADER REM $Header: cp_analyzer.sql v1.01 MCOSTA $ REM REM MODIFICATION LOG: REM REM MCOSTA REM REM Consolidated script to diagnose the current status and f…
Query to generate Baseline Script for a SQL_ID in Oracle Database
Please use the below query. col sql_text for a60 wrap set verify off set pagesize 999 set lines 155 col username format a13 col prog format a22 col sid format 9…
Steps to Export and Import AWR Stats
Please find the steps to export and import AWR stats. Exporting AWR snapshot data:- ***************************** SQL> @?/rdbms/admin/awrextr.sql AWR EXTRACT **…
Steps to Backup and Restore Java Classes and Privileges only in Oracle Database
The following SQL script, when run as user SYS, will generate an ordered script to recreate all the java grants, and java policies, assigned to users. It does n…
Purge AUD$ Table
The AUD$ table growth will impact the performance of database so we want to purge it regularly by using the DBMS_AUDIT_MGMT package Check AUD$ table is not in S…
Moving AUD$ table to another tablespace using DBMS_AUDIT_MGMT
Steps to move the Audit table from SYSTEM tablespace to newly created tablespace. • Audit trail tables called SYS.aud$ and SYS.fga_log$ keeps all Audit records…
CREATING AN EXTERNAL USER
EXTERNAL USER CREATION External users and their authentication are managed by external services such as operating system or a network service. If our OS environ…
ORA-01000 maximum open cursors exceeded
CURSORS A cursor is a temporary work area created in the system memory when a SQL statement is executed. It can hold more than one row but can process only one…
CONNECT TO USER WITHOUT KNOWING PASSWORD
We can connect to another user without knowing the password, with grant connect through privilege In this case a user TEST1 wants to connect to TEST2 user and c…
CREATE PASSWORD FILE IN ASM DISK GROUP
CREATE PASSWORD FILE IN ASM DISK GROUP FOR ORACLE 12C ONLY ASMCMD> pwcreate –dbuniquename {db_unique_name} {file_path} {sys_password} ASMCMD> pwcreate –dbunique…
Modify ASM user password
LIST ASM USERS ASMCMD> lspwusr Username sysdba sysoper sysasm SYS TRUE TRUE TRUE CRSUSER__ASM_001 TRUE FALSE TRUE ASMSNMP TRUE FALSE FALSE MODIFY USER PASSWORD…
Copy ASM file to remote ASM instance
ASM file can be copied to remote asm instance(diskgroup) using asmcmd command. SYNTAX asmcmd> cp – -port asm_port file_name remote_asm_user/remote_asm_pwd@remot…
SQL’s doing full table scan
select sql_id,object_owner,object_name from V$SQL_PLAN where operation=’TABLE ACCESS’ and options=’FULL’ and object_owner not in (‘SYS’,’SYSTEM’,’DBSNMP’);
Estimate space required for index creation
SET SERVEROUTPUT ON DECLARE v_used_bytes NUMBER(10); v_Allocated_Bytes NUMBER(10); BEGIN DBMS_SPACE.CREATE_INDEX_COST ( ‘ create index PROD.INDEX1 on PROD.EMP(E…
Session count Alert ( get mail more than 90 sessions were opened )
Description: Script for more Session count Alert ( get mail more than 90 sessions were opened ) Steps: select to_char(sysdate,’dd-mm-yy:HH:MM:SS’) from dual; se…
Global Temporary Table ( GTT) – key facts
The data in a GTT is written to the temporary tablespace, which is not directly protected by redo, so using a GTT improves performance by reducing redo generati…
Oracle 12c SQL Plan Directives – Disable | Enable | Use As Hint
What is it? In previous releases the database stored compilation and execution statistics in a shared sql area which is non persistent. Starting in 12c the data…
ORA-20005: object statistics are locked (stattype = ALL) – Solution
During tuning a query, I found one table has stale statistics. While running gather stats for that table, got below error. Let me demonstrate with a demo table:…
Ignore Duplicate Rows (ORA-00001) with the ignore_row_on_dupkey_index Hint
The simplest method is to add a hint to the query to overcome ORA-00001 Added in 11.2, the ignore_row_on_dupkey_index hint silently ignores duplicate values: in…
Create a Virtual Column:
A virtual column applies a function to a column in the table. The database only computes this at runtime. The value is not stored in the table. So instead of cr…
How to Fix ORA-01450: Maximum Key Length (6398) Exceeded Errors:
The smallest unit of data storage in Oracle Database is the block. This defaults to 8k (8,192 bytes). Each index entry must fit within one block. So the maximum…

How To Define Connection Filter Settings(t3,t3s) for WebLogic Server Domain Using WLST
APPLIES TO: Oracle WebLogic Server – Version 10.3.6 to 10.3.6 Generic Linux GOAL: If there are a lot of webLogic domains to configure, this document provides an…
Script to check temp used by session
set pagesize 10000 set linesize 133 column tablespace format a20 heading ‘Tablespace Name’ column segfile# format 9,999 heading ‘File|ID’ column spid format 9,9…
Finding Top sqls ordered by elapsed time in a period of time
set head on column module format a20 set lines 1000 pages 1000 prompt SQL Ordered by Elapsed time /*FIND THE SNAP ID*/ set pages 0 col begin_interval_time for a…
Oracle Statspack Installing and Configuration
Description: This Document for configuring oracle Statspack, schedule auto snapshot and report generation. The Statspack tool is instead of AWR report because A…
Adding and Configure Printer in Solaris 10 Sparc
Description: Oracle have lot of printing option to configuring in Solaris 10, this is also one method will follow to setup printer on EBSR12 in Solaris Sparc 10…
Session Trace (10064) for a concurrent request
Description: Oracles have lot of trace utility the oradebug is one the utility to trace particular running concurrent request using oracle spid. Steps: Check Re…
Unable to open user preference file
Description: The user was running RDF report and concurrent completed with error That issue occur on the prefs.ora file is missing or non-accessible owner Solut…

How to resolve ORA-28040: No matching authentication protocol
Error: ORA-28040: No matching authentication protocol Cause: 1. This problem was encountered on database instance version 12.2 and above and clients with versio…
How to export and import oracle apex application and workspace from command line
Query to identify applications/workspace information of your Oracle apex Application COLUMN workspace FORMAT A20 COLUMN workspace_id FORMAT 99999999999999999999…

How to enable trace/debug in tomcat and which log we need to analyze when there is any issue reported
The default log files and logging levels are defined in logging.properties file under the below location /home/oracle/tomcat_09_Aug_2020/apache-tomcat-9.0.36/co…
How to Find underscore_parameters in a database during Audit process
Impact: Unknown underscore parameters without proper advice from metalink, would impact the database. Solution: We need to ensure that we have proper advises fr…
How to resolve Resolve ORA-20005: object statistics are locked (stattype = ALL)
Introduction Need for want of lock statistics in a oracle table in some cases, for example 1. Don’t want a table to be analyzed by schedule statistics job but w…
How to resolve FRM-30087: Unable to create form file
Error: FRM-30087: Unable to create form file $ORACLE_HOME/forms/WOENTRY.fmx Cause: Non-oracle user cannot write in the “output” directory or the mentioned fmx e…
How to resolve Forms Builder Does not Launch on Linux RHEL 7
Error: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory Solution: 1. As a workaround, make sure the f…
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:…
How to reorganize table using alter table method
We have to check the below details before reorganize the table TABLE DETAILS SELECT OWNER, SEGMENT_NAME, SEGMENT_TYPE, TABLESPACE_NAME, BYTES/1024/1024/1024 FRO…
SQL Wise CPU Usage
SQL Wise CPU Usage select ss.username, se.SID, VALUE/100 cpu_usage_seconds from v$session ss, v$sesstat se, v$statname sn where se.STATISTIC# = sn.STATISTIC# an…
ASM files db wise
ASM files db wise to see all list of files in db column path format a70 column file_type format a15 select concat(‘+’||gname, sys_connect_by_path(aname, ‘/’)) p…
How to resolve ERROR: FRM-18108 while compiling the form in R12
FRM-18108: Failed to load the following objects. Source Module:APPSTAND Source Object: STANDARD_PC_AND_VA Source Module:APPSTAND Source Object: STANDARD_TOOLBAR…
ORA-12547: TNS :lost contact when try to connect to Oracle
ERROR: ORA-12547: TNS :lost contact when try to connect to Oracle There could be many reasons for the above error, but one of the common issue is due to incorre…
ORA-00245: control file backup failed in Rman backup
A snapshot controlfile is a read consistent copy of a database controlfile which RMAN creates because the controlfile is changed constantly. The snapshot contro…
11i: “APP-FND-01542” Error When Logging Directly Into Forms Via the f60cgi in 11.5.10
Applies to: Oracle E-Business Suite Technology Stack – Version 11.5.10.0 to 11.5.10.0 [Release 11.5] Information in this document applies to any platform. Check…
Manually create database 12c -NON CDB
We are going to see about manual database creation on oracle 12c nonCDB When we get the request to create a database on a Linux server. The basic prerequisite w…
Adcfgclone AppsTier Failing During Clone Into When Source And Target Are On Same Host
Applies to: Oracle Applications Manager – Version 12.2.4 and later Information in this document applies to any platform. Symptoms E-Business Suite 12.2 Applicat…
EXPDP Hangs at Processing object type SCHEMA_EXPORT/STATISTICS/MARKER
We got a request to do a schema refresh, We prepared the parfile as below $cat DEV_SCHEMA.par directory=MY_DIR dumpfile=DEV_SCHEMA_%u.dmp logfile=DEV_SCHEMA.log…
ORA-01422: Exact Fetch Returns More Than Requested Number Of Rows (Doc ID 2212698.1)
Applies to: Oracle Applications Manager – Version 12.2.4 and later Information in this document applies to any platform. Symptoms On : 12.2.4 version, Rapidclon…
JSON_TABLE Query Fails with ORA-7445
Patch for JSON_TABLE Query Fails with ORA-7445 [__intel_ssse3_rep_memcpy] (Doc ID 2311377.1) Prerequisite : Install OCT Patch : Patch 28662603 – Database Oct 20…
Script to Find Apex Page hits
Below script is for finding the Apex page hits ********************************************************************************************************** /home/…
opatch prereq CheckConflictAgainstOHWithDetail Shows multiple HOME
When i got a request to apply a patch, i did a prereq check and faced the below error. RAM:oracle$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./ Oracle…
Unable To Login into EBS With SYSADMIN User After Migrating To New Machine
Applies to: Oracle Application Object Library – Version 12.1.1 to 12.1.3 [Release 12.1] Information in this document applies to any platform. Symptoms Unable to…
Script to Find Apex Page Time
Below script is for finding the Apex Page Time ********************************************************************************************************** /home/…
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. ************************************************…

“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 D…
Script to compile all the INVALID objects and script to compile specific object type
Below is the script to compile all the INVALID objects and script to compile specific objects in oracle database. ***************************************…
Script to stop 12c Forms & Reports
Script to stop 12c Forms & Reports *************************************************************************** export MW_HOME=/u01/app/oracle/middleware…
Script to start 12c Forms & Reports
Script to start 12c Forms & Reports, ************************************************************************************ export MW_HOME=/u01/app/oracle/…
Create Standalone reports server in 12c Reports using WebLogic Scripting Tool (WLST)
Create the Standalone reports server using WebLogic Scripting Tool (WLST) after 12c Forms & Reports installation. 1. Login WebLogic Scripting Tool, cd $ORACLE_H…
Create ReportsToolsInstance in 12c Reports using WebLogic Scripting Tool (WLST)
Create ReportsToolsInstance in 12c Reports using WebLogic Scripting Tool (WLST) after 12c Forms & Reports installation. 1. Login WebLogic Scripting Tool, cd $OR…
Create dblinks without user access
When users asks the DBA’s to create a dblink, we would normally get back to the users asking for the dblink’s owner password to create the required db link. The…
Steps to find if there are any logical corruptions in the table that has BLOB column
a. Create a temporary dummy table for storing the rowids of the corrupted LOBs. here the dummy table name is “corrupt_lobs”. SQL> create table corrupt_lobs (cor…
Steps to Remove any logical corruptions in the table that has BLOB column
a. Create a temporary dummy table for storing the rowids of the corrupted LOBs. here the dummy table name is “corrupt_lobs”. SQL> create table corrupt_lobs (cor…
Export the table without the corrupted row
If your table has any logical corruptions the expdp of the table might fail with ORA-155 error. If your table has any logical corruption, first identify the row…
Reorganizing FND_LOBS table in Oracle EBS R12.1.3
Reorganizing FND_LOBS table in Oracle EBS R12.1.3 FND_LOBS is usually one of the top 10 table in an EBS environment. It stores all the attachments that have bee…
Recovering OCR using physical backup
Step 1: Identify OCR physical backup using the following command [root@rac1 ~]# ocrconfig -showbackup rac2 2020/04/03 16:57:56 /u01/app/12.1.0/grid/cdata/rac-sc…
ENABLE_DDL_LOGGING In Oracle 12c
ENABLE_DDL_LOGGING In Oracle 12c This ENABLE_DDL_LOGGING parameter has been introduced in oracle 12c. Enable the parameter: SQL> show parameter enable_dd…
How To Drop SQL Baselines In Oracle
How To Drop SQL Baselines In Oracle 1.Get the sql_handle and sql_baseline name of the sql_id: SELECT sql_handle, plan_name FROM dba_sql_plan_baselines WHERE sig…
Orapwd Tool For Password File In Oracle
Orapwd Tool For Password File In Oracle orapwd tool is used to create and manage password files. DEFAULT LOCATION FOR PWD FILE – $ORACLE_HOME/dbs Usage: orapwd…
How To Export And Import Statistics In Oracle
How To Export And Import Statistics In Oracle For Table: PROD> exec dbms_stats.export_table_stats(ownname=>’SCOTT’, tabname=>’TEST’, stattab=>’STAT_TEST’…
How To Add A Tempfile In Primary Database In Dataguard
How To Add A Tempfile In Primary Database In Dataguard Adding tempfiles to TEMP tablespaces in primary database, will not automatically create on standby databa…
Flashback Primary Database In Dataguard Environment
Flashback Primary Database In Dataguard Environment 1. Make sure both primary and standby databases have flashback enabled. – PRIMARY DB SQL> select name,databa…
Flash Recovery Area USED & FREE SPACE
select name, floor(space_limit/1024/1024) “Size MB”,ceil(space_used/1024/1024) “Used MB” from v$recovery_file_dest order by name;
Find Sessions on RAC
select inst_id,count(*) from gv$session where username is not null group by inst_id;
Find Schema Details in Oracle
select owner, count(1), object_type from dba_objects group by owner, object_type having owner in (select username from dba_users where default_tablespace = ‘USE…
Query to check all the schemas and their sizes
select OWNER,sum(bytes)/1024/1024/1000 “SIZE_IN_GB” from dba_segments group by owner order by owner;
Query to Display Archive Log Generation by Day in Oracle
SET PAGESIZE 70 SET LINESIZE 400 COL “Generation Date” FORMAT a30 SELECT TRUNC(completion_time) “Generation Date” , round(SUM(blocks*block_size)/1048576,0) “Tot…
Adding a Datafile to Temp Tablespace
Query to see Current Temp Datafiles State select d.TABLESPACE_NAME, d.FILE_NAME, d.BYTES/1024/1024 SIZE_MB, d.AUTOEXTENSIBLE, d.MAXBYTES/1024/1024 MAXSIZ…
Adding a Datafile to Tablespace
Query to see Current Datafiles State select d.TABLESPACE_NAME, d.FILE_NAME, d.BYTES/1024/1024 SIZE_MB, d.AUTOEXTENSIBLE, d.MAXBYTES/1024/1024 MAXSIZE_MB,…
Query To Check Tablespace Allocated Size and Free Size in GB
Select b.tablespace_name, tbs_size SizeGB, a.free_space FreeGB from (select tablespace_name, round(sum(bytes)/1024/1024/1024,1) as free_space from dba_free_spac…
OPATCH_JAVA_ERROR : An exception of type “OPatchException” has occurred:
ERROR: $opatch lsinventory OPATCH_JAVA_ERROR : An exception of type “OPatchException” has occurred: Can not get a list of inventory on this home. ERROR: OPatch…
Unable to connect sqlplus after cloning oracle_home
ISSUE: Unable to connect sqlplus after cloning oracle_home Solution: OSDBA_GROUP should be mentioned while cloning ORACLE_HOME as mentioned below $ORACLE_HOME/p…
ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA ERRORCODE = 1 ERRORCODE_END $ Solution ========= s_instLocalListener is not correct in da…
ORA-17627: ORA-01041: internal error. hostdef extension doesn’t exist
ERROR: ORA-17627: ORA-01041: internal error. hostdef extension doesn’t exist ORA-19849: error while reading backup piece from service PROD ORA-03113: end-of-fil…
Generating and Deploying a New Wallet for Non-TLS Enabled Release 12.2 Environments(Doc ID 2555355.1)
1) Log in as the user that owns the application tier installation (this is usually applmgr or oracle) 2) Source the run file system environment and the $FMW_HOM…
Steps to reformat the corrupted free blocks.
Please find the steps done below for one type of block but can be used for any block. create table demo.wcc99(n number, c varchar2(4000)) nologging table…
OEM Fix For Agent Shows Availability Evaluation Error
Please run the below command from <Agent base>/agent_inst/bin of the agent monitoring the target host. ./emctl config agent addinternaltargets ./emctl secure ag…
Transferring statistics between database
Transferring statistics between database In general, development DB usually will have only portion of the data when we compared to Production database. In such…
Histogram Stats in Columns
Histogram Stats in Columns The METHOD_OPT parameter is probably the most misunderstood parameter in the DBMS_STATS.GATHER_*_STATS procedures. It’s most commonly…
How to create SQL profiles using the SQLT utility.
How to create SQL profiles using the SQLT utility. Oracle has a utility called SQLT to create profiles. To create profiles we do not need to install this utilit…
Huges_Pages Setup for Host
Find the memory on the host: [gg60@ut03 :+ASM] /home/dba/gg60 $ free -m total used free shared buffers cached Mem: 3820 3773 47 0 396 2045 [gg60@ut03 :+A…
How to Format Corrupted Block Not Part of Any Segment
Step 1 – Identify corrupt datafile The corruption may be reported at the application level, such as DBV and RMAN, or the alert.log. Step 2 Run DBV/Rman validate…
Tips to import the export and import datapump performance
1) Use parallel 2)While mentioning the dump file, use _%U.dmp (generates multiple dumps), which will be faster. 3)Increase the stream pool size alter system set…
An Invalid redirect has been blocked error
Issue: As we all know, APEX page can be integrated into EBS as a function. After integrating Apex pages in EBS 12.2 when you access apex page from EBS, you will…

Moving datapump dumpfiles In and Out of Autonomous data warehouse
Click here to Download

Performing Expdp/Impdp in Autonomous datawarehouse using SQLDEVELOPER
Click here to Download

Cloning Autonomous data warehouse using backup
Click here to Download

Cloning Autonomous data warehouse from Live
Click here to Download as PDF
Script to check Long running 12c forms in Forms Application server
The below script is to check Long running 12c forms in Forms Application server #!/bin/bash #############################################################…
Script to get metadata for all dblinks
The below script is to get metadata for all dblinks # @(#) ==================================================================== # @(#) Reverse engineerin…
Script to Disable constraints
The below script is to Disable constraints, SET PAGES 0 SET TRIMSPOOL ON SET LINES 200 set echo off set feedb off set trimspool on set verify off col stm…
Script to Enable constraints
The below script is to Enable constraints, SET PAGES 0 SET TRIMSPOOL ON SET LINES 200 set echo off set feedb off set trimspool on set verify off col stmt…
Script to enable Archivelog and Flashback
The below script is to enable Archivelog and Flashback, set echo off set feedb off set heading off set verify off set trimspool on set lines 200 set defi…
Script to disable the plan baseline
The below script is to disable the plan baseline. # @(#) # @(#) ==================================================================== # @(#) Disable the S…
Script to enable the plan baseline
The below script is to enable the plan baseline # @(#) # @(#) ==================================================================== # @(#) Change SQL plan…
Script to gather stats the customs schemas
The below script is to gather stats the customs schemas. SET SERVEROUTPUT ON SIZE 1000000 set feedb off set trimspool on spool tmp_gather_schstats…
Script to identify ASM diskgroup space
set serveroutput on declare v_diskgroup_name varchar2(50); v_total_space number(12); v_free_space number(12); v_pct_free number(6,3); begin for diskgroup_rec in…
Materialized view refresh
MVIEW LOG =========== col log_owner for a30 col master for a40 col log_table for a40 col last_purge_date for a30 col last_purge_status for 9999999 select log_ow…
ESTIMATE INDEX SIZE BEFORE CREATION
GATHER STATS FOR TABLE exec dbms_stats.gather_table_stats (ownname=>’&Owner’,tabname=>’&Table_name’,estimate_percent=>100,block_sample=>true,method_opt=>’FOR AL…
ORA-46267 While initializing cleanup in audit table
BEGIN DBMS_AUDIT_MGMT.init_cleanup( audit_trail_type => DBMS_AUDIT_MGMT.AUDIT_TRAIL_AUD_STD, default_cleanup_interval => 12 /* hours */); END; / ERROR at line 1…
RW 50015 : HTTP SERVER NOT RESPONDING
Error ======= Errors IN EBS POST INSTALL:RW 50015 : HTTP SERVER NOT RESPONDING 19/09/22 22:21:26 Start process ————————— /u01/oracle/VIS/inst/apps/VIS_ebs/ora/1…
ORA -00600 while gather statistics
Error ===== BEGIN * ERROR at line 1: ORA-00600: internal error code, arguments: [qosdExpStatRead: expcnt mismatch], [], [], [], [], [], [], [], [], [], [], [] O…
Find the datafile used and free space
COL TABLESPACE_NAME FOR A30 COL FILE_NAME FOR A70 COL SIZE_GB FOR 99999 COL USED_GB FOR 99999 COL FREE_GB FOR 99999 COL %_Used FOR A15 SELECT Substr(df.tablespa…
Deploying apex in tomcat
Apex Location ============= /PROD/PROD2020/apex Linux version ============= [oracle@ip-172-31-25-66 ~]$ cat /etc/system-release Amazon Linux 2 cd /PROD/PROD2020…
Upgrade database 19c registry components invalid
The below CATJAVA and JAVAVM components are invalid during 19c database upgrade. The below steps are needs to run to fix the corrupted database components. Step…
Script to get metadata for schema creation and grants
select ‘create user ‘ ||username|| ‘ identified by values ”’ ||password|| ”’ default tablespace ‘ ||default_tablespace|| ‘ temporary tablespace ‘ ||temporary_ta…
How to Resync Tables & Schemas on Different SCN in Replicat OGG process
How to Resync Tables and Schemas to re-instantiate OGG replicat process :- Stop the Replicat process in the target environment if it is running by using the fol…
Decommission of pluggable databases
Steps to decommission of PDBs : Connect to container database : oracle $ sqlplus / as sysdba SQL*Plus: Release 12.2.0.1.0 Production on Mon Mar 23 08:19:41 2020…
Oracle GoldenGate upgrade 19c
A. Pre-Upgrade Tasks 1. Download the latest OGG software from support.oracle.com. In our demo we have downloaded Oracle_GoldenGate_19.1.0.0.4.zip for Linux 64 b…
To check trace file of concurrent request
SELECT ‘Request id: ‘||request_id , ‘Trace id: ‘||oracle_Process_id, ‘Trace Flag: ‘||req.enable_trace, ‘Trace Name: ‘||dest.value||’/’||lower(dbnm.value)||’_ora…
Sending Email From Oracle using Amazon Simple Email Service (SES)
Use the below Link to create the Cerfiticate using Amazon SMTP address. https://whatsmychaincert.com/?email-smtp.us-east-1.amazonaws.com Creating Oracle Wallet…
ORA-00392: log 4 of thread 1 is being cleared, operation not allowed
Got the below error during cloning. To fix this issue, need to “clear unarchived logfile group” Solution : SQL> alter database open resetlogs; alter data…

Protecting Data using Oracle Maximum Availability Architecture
When considering the security, it is important to ensure the availability. Data High availability ensured by achieving below key architecture to preventing down…
Oracle Data Safe
Data Safe is a control center for your Oracle Databases which helps understand the sensitivity of data, evaluate risks to data, mask sensitive data, implement a…
Guidelines for Securing the Network
Network security was improved by using client, listener, and network guidelines to ensure protection. Using SSL is an essential element in these lists, enabling…
Oracle Secure Backup
Oracle Secure Backup is a centralized tape backup management solution providing heterogeneous data protection in distributed UNIX, Linux, Windows, and Network A…

Oracle Sharding
A scalability and availability feature for custom-designed OLTP applications that enables distribution and replication of data across a pool of discrete Oracle…

LEAST PRIVILEGE AND SEPARATION OF DUTY
To support the principles of least privilege and separation of duty, the SYSOPER administrative privilege allows an administrator to perform limited tasks such…

Oracle Data Redaction
Oracle Data Redaction provides the ability to masking data, typically sensitive data in real-time like credit card, Aadhar card details etc. before displaying w…

How Oracle Database Vault Addresses Database Consolidation Concerns
Consolidation and cloud environments reduce cost but can expose sensitive application data to those without a true need-to-know. Data from one country may be ho…
Oracle Database Vault
The Oracle Database Vault security controls protect application data from unauthorized access and comply with privacy and regulatory requirements. We can deploy…
Object Storage vs Block Storage
Block storage is the oldest and simplest form of data storage. Block storage stores data in fixed-sized ‘blocks’. By itself, a block typically only houses a por…
How is Oracle Autonomous Data Warehouse different from the rest of Cloud Database Services
Cloud Database is not new. There are several options from various technology vendors to choose from. However, Oracle Autonomous Data Warehouse is a perfect fit…
Oracle Analytics Server (OAS) vs Oracle Analytics Cloud (OAC)
OAC and OAS are congruent products and therefore enable organizations to leverage both deployments simultaneously. Going from OAS to OAC or vice-versa is as sim…
ACLPrivileges for websites
FIND ACL PRIVILEGES ==================== set pages 1000 lines 1000 col acl for a50 col principal for a20 col privilege for a20 col is_grant for a20 col invert f…
Find the table size including LOB segments
col owner FOR a20 col segment_name FOR a40 SELECT S.owner “Owner”, Nvl(S.segment_name, ‘TABLE TOTAL SIZE’) “Segment_name”, Round(SUM(S.bytes) / 1024 / 1024 / 10…
How To Troubleshoot OID DIP Sync Mapping Problems
Consider the following scenarios: Scenario 1: DIP Import Sync from Active Directory (AD) to OID works for most entries, but fails when a new organizationalunit…
12.2 E-Business Suite Applications Technology Stack Oacore and OAFM Servers Do Not Restart And Are Stuck at State-Admin After Aborting ADOP Session And Restarting The Database / Applications Tiers
During an in progress ADOP patch session applying AD/TXK patch, users reported issues with login attempts to the E-Business Suite instance. To resolve the login…
Admin Server Startup Issue in EBS (R12.2) Must Run On Primary Node
Issue: Error starting Admin Server When we are starting Admin Server, getting below error sh $ADMIN_SCRIPTS_HOME/adadminsrvctl.sh start logs: $EBS_DOMAIN_HOME/s…
Integrate Oracle ADF with Oracle E-Business Suite 12.2 ASCP Instance for SPWA – Supply Planning Work Area
What is Oracle ADF? Oracle Application Development Framework (Oracle ADF) is an end-to-end application framework that builds on Java EE standards and open-sourc…
Query to get source code in database from back end
set verify off set feedback off set lines 300 set pages 0 set heading off set space 0 column text format a79 column line noprint select DECODE(line,1,’create or…
Query to get SQL changed Performance
SPO sql_performance_changed.txt; DEF days_of_history_accessed = ’31’; DEF captured_at_least_x_times = ‘1’; DEF captured_at_least_x_days_apart = ‘1’; DEF med_ela…
Query to get concurrent Manager status from back end.
SELECT DECODE ( CONCURRENT_QUEUE_NAME, ‘FNDICM’, ‘Internal Manager’, ‘FNDCRM’, ‘Conflict Resolution Manager’, ‘AMSDMIN’, ‘Marketing Data Mining Manager’, ‘C_AQC…
Restore the database from AVAMAR backup
As root user in Target Node: Step 1 : /usr/local/avamar/bin/avtar –backups –flagfile=/var/avamar/scripts/my-avtar-flags.txt Make a note of recent Seq in our cas…
How to activate Periodic Alert Scheduler in Oracle EBS Application
How to activate Periodic Alert Scheduler in Oracle EBS Application Step 1:Login to ORACLE EBS Application HOME PAGE with Alert Manager Responsibility We need to…
FORM is not opening after the clone
ERROR: FORM session is not opening after the clone SOLUTION: Go to FORMS node if it is multi node. cd $ORACLE_HOME/lib32 ls -lrt ldflags unlink ldflags ln -s /d…
RC-50204: Error: – Web Listener Port in use: Port Value = 8009
ERROR: RC-50204: Error: – Web Listener Port in use: Port Value = 8009 CAUSE: When cloning we have faced this error. This is due to some other process is using t…
Monitoring Progress of a SQL Execution Plan / sql query is really hanged or not
Monitoring Progress of a SQL Execution Plan / sql query is really hanged or not How to check the progress of a query is making from within the execution plan us…
Re-link error while applying optach
Error: Re-link fails on target “client_sharedlib”. Re-link fails on target “client_sharedlib”. Re-link fails on target “ldapmoddn”. Re-link fails on target “lda…
ORA-19909: datafile 1 belongs to an orphan incarnation
ERROR: ORA-19909: datafile 1 belongs to an orphan incarnation When I tried to Flashback on in standby database then suddenly below message found in alert log an…
Scheduled Request Goes Inactive/On Hold Status Automatically by Concurrent Manager User
Problem Scheduled Request Goes Inactive/On Hold Status Automatically by Concurrent Manager User Cause: It is an oracle bug Solution 1.Apply the Patch -22549247…
How to resolve the issue for concurrent program stuck in opp
Follow the below steps to resolve program stuck in OPP issues, 1.You will need to check and fix the Invalid FND Objects : select owner, object_name,object_type,…
How to START and STOP the TOMCAT Services
1.Start the Tomcat a.source the java path $ cat tomcat_java.env export JAVA_HOME=/rupdb01/oracle/tomcat/java71_64 export PATH=/rupdb01/oracle/tomcat/java71_64/j…
Install TOMCAT in oracle AIX
Below steps for installing tomcat in oracle 1.Pre-req: Install Java 8 For Apache Tomcat 9 to be installed and configured properly, you need to have Java version…
Export and Import in AWS Cloud
Below is the steps to do export and import in AWS Cloud Environment 1.CONNECT TO PROD AWS CLOUD FROM LOCAL PROD DB sqlplus root/<root_password>@awscld 2.EXPORT…
Installation Of OID 11.1.1.9 On RHEL7 Fails With linking phase (ins_sqlplus.mk)
APPLIES TO: Oracle Internet Directory – Version 11.1.1.9.0 to 11.1.1.9.0 [Release 11g] Oracle Fusion Middleware – Version 11.1.1.9.0 to 11.1.1.9.0 [Release Orac…
11g FMW Installations Fails with “Error in invoking target ‘install’ of makefile ” For ins_sqlplus.mk
APPLIES TO: Oracle Fusion Middleware – Version 11.1.2.2.0 and later Information in this document applies to any platform. ERROR: FMW 11.1.1.9 OID installation o…
Errors When Applying the Patches “genclntsh: Failed to link libclntsh.so.11.1” on OHS 11.1.1.7.0 or 11.1.1.9.0
APPLIES TO: Oracle HTTP Server – Version 11.1.1.7.0 to 11.1.1.9.0 [Release Oracle11g] Linux x86-64 ERROR: When applying the patches Patch 22290164 and Patch 266…

RCU Fails with ORA-28104, ORA-06512 Errors when 12.2.x Database is Used
APPLIES TO: Oracle Fusion Middleware – Version 12.2.1.0.0 and later Information in this document applies to any platform. ERROR: Running RCU fails with ORA-2810…
Return error “libc.so.6 version GLIBC_2.14 Not Found” Applying RUP Patches
APPLIES TO: Oracle EBS Applications Translation – Version 12.1.3 to 12.1.3 [Release 12.1] Information in this document applies to any platform. ERROR: While app…
Steps to add new hosts in OEM 13c
Logon as sysman in OEM console. 1. Choose: Setup, Add Target, Add Targets Manually. 2. Under “Add Host Targets” Click “Install Agent on Host” 3. Add Host Name:…
OPATCHAUTO-72043: Failed to create bundle patch object
I have recently faced this issue, while applying the PSU patch encountered “OPATCHAUTO-72043: Failed to create bundle patch object”. Issue: OPATCHAUTO-72043: Fa…

What is Smart Scan in Oracle Exadata
It’s a feature that can be used with Exadata. Exadata is capable of offloading a large portion of a query’s workload to the storage cells. So how it works? Smar…

RoCE in Exadata X8M
Oracle Exadata Database Machine X8M is on the way! Building on the Exadata X8 state-of-the-art hardware and software, the Exadata X8M family adopts two new cutt…

Exadata Cell software components
In this article, let us go through the Exadata Storage Cell Processes (MS, RS and Cellsrv). There are three main Exadata Storage Cell Processes: Cell Services (…

Oracle ORA-21561 : OID generation failed
Solution: Then the problem is most likely in the machine hosts file. Check that there is machine full name and short name in the machine hosts file. If these ar…
Database spending most of the time in wait event “log file switch (checkpoint incomplete) Waits event”
The wait event “logfile switch checkpoint incomplete” indicates that Oracle needs to reuse a redo log file, but the current checkpoint position is still in that…

Users unable to query in SQL Developer
A user was unable to query data from tables in sql developer, the query worked fine in sqlplus and toad. Upon checking the NLS settings were different in the SQ…
Convert physical standby to snapshot standby database
Snapshot standby is a feature in Oracle 11g that allows doing a read-write operation on the standby database. i. e we can convert the physical standby database…
Oracle GoldenGate: Resync Single Table with Minimum Impact to Other Tables Replication
1. Stop your Replicat on the Target side, most likely it already abended, goto step 2. ggsci>stop replicat <name> 2. Comment out the MAP statement of that table…
Forms Builder Does not Launch on Linux RHEL5
When attempting to launch Forms Builder using the command frmbld.sh in $ORACLE_INSTANCE/bin/, the following error message is displayed: $ORACLE_HOME/bin/frmbld:…
What is Checkpoint table in Oracle GoldenGate?
Oracle GoldenGate extract and replicat processes perform checkpoint operations. In case of some unexpected failure happened, the checkpoint file or database tab…
SQL PROFILE IN ORACLE
SQL PROFILE IN ORACLE SQL profile is a collection of additional statistical information stored in the data dictionary that helps the optimizer to generate the b…
Creating sqlplan Baselines
Creating sqlplan Baselines Create sql tuning set ————————- begin DBMS_SQLTUNE.CREATE_SQLSET(SQLSET_NAME => ‘&&sql_id’, DESCRIPTION => ‘SQL TUNE SET2’); END; / —…
Running Autoconfig Parallel On Multiple Nodes
The “Parallel Run” feature enables AutoConfig to be executed simultaneously across multiple nodes of an Oracle E-Business Suite instance. Certain AutoConfig con…

Performance Tuning Using Active Session History
Diagnosing performance issues in old sessions is easy with an Oracle Database feature called Active Session History. Every second, Active Session History polls…

How to Read an Execution Plan
What Is an Execution Plan? When you send a query to the database, it’s the job of the SQL optimizer to figure out how to execute it, and that process creates th…
Faster way to Delete Lakhs of Rows from a Oracle Table
Deleting lots of rows can be slow. And there’s a chance it’ll take even longer because another session has locked the data you want to remove. We can do this by…
Purging SM/OPTSTAT component in SYSAUX Tablespace
Issue Description. The SYSAUX tablespace is growing continuously and SM/OPTSTAT component occupies users more that 95% of the space.This can be identified by th…

Enabling WF_JAVA_DEFERRED Queue
Issue All the Autoinvoice Programs are failing with error in 11.5.10.2 Instance. Changes Performed OATM migration using the OATM script Solution Perform the Bel…

Oracle Adds Cloud Data Centers in Five Countries and Sets New Goals
After a difficult start in cloud computing, Oracle, a long-term commercial software company, has launched a second-generation cloud system that manages the data…

Step by Step Converting a file system From ASM to Non-ASM in Oracle Database
Converting a file system From ASM to Non-ASM in Oracle Database We are going to Converting a file system From ASM to Non-ASM in Oracle Database Check the databa…

Step by Step Converting a file system From Non-ASM to ASM in Oracle Database
Converting a file system From Non-ASM to ASM in Oracle Database We are going to Converting a file system From Non-ASM to ASM in Oracle Database . Check the data…
CHANGING A DATABASE NAME USING NEWID
CHANGING A DATABASE NAME USING NEWID DBNEWID is a database utility that can change the internal database identifier (DBID) and the database name (DBNAME) for an…

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…

Reinstating a Failed Primary Database using Dataguard Broker
Reinstating a Failed Primary Database using Dataguard Broker Details : DETAILS SOURCE TARGET IP_ADDRESS 192.168.1.44 192.168.1.37 SERVER_NAME PRIMARY STANDBY DB…

Oracle Cloud Infrastructure Announces Second Data Center Region in Japan
Oracle has announced that it’s possible to create a new cloud zone in Osaka, Japan. The domain’s name is ap-Osaka-1. The zone key is KIX, and this area contains…
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. C…

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 da…

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 d…
Sql plan base line export and import it in new database
Check the count of sql baselines to be exported:- select count(*) from dba_sql_plan_baselines; 725 Create a user with which the base should be exported:- create…

Oracle 12c- Dataguard Failover Using DGMGRL Utility
Dataguard Failover Using DGMGRL Failover is an irreversible transition of a standby database to the primary role. This is only done in the event of a catastroph…
Oracle 19c-Performing Dataguard Switchover Using DGMGRL Utility
Dataguard Switchover Using DGMGRL A switchover is a role reversal between the primary database and one of its standby databases. A switchover guarantees no data…

External tables & tkprof in DBA
EXTERNAL TABLES External tables are the tables which access the data present in external source This table has the data that is stored in outside database We ca…
How To Setup Dataguard Broker Configuration (DG Broker) In 19c
Dataguard Broker Configuration Description : Dataguard broker is used to automate monitoring and controlling standby setups. It is very much useful, when the or…

DBA Auditing database
DBA Auditing: It is used to audit all the operations performed by the user on schema objects, gor this we need to enable auditing for a database, to enable it w…

Flashback Database
Flashback Drop: Recovering the table for the recycle bin, once a table is dropped it will be stored in recycle bin.Hence recovering the table from recycle bin.…

CLOUD INSTANCE RESOPONSE FILE AND SILENT DB
CREATING A 12C DATABASE IN CLOUD INSTANCE: Create a instance in oracle cloud account Download the oracle 12c software using wget Edit the response file with ORA…
Oracle 19c Database Upgrade From 12.2.0.1.0 to 19.3.0.0 Using Manual Method
Oracle 19c Database Upgrade DETAILS SOURCE TARGET OS_VERSION OEL 6.4 OEL 6.4 DB_VERSION 12.2.0.1 19.3.0.0 DB_NAME PROD PROD ORACLE_HOME /u01/app/oracle/product/…

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…

OEM Installation on 11g database
OEM installation on oracle 11g database 1)emctl start dbconsole [oracle@sakthi admin]$ emctl start dbconsole The following exception occurred: java.net.U…
Snapshot Standby Database
STEPS TO CREATE SNAPSHOT STANDBY DATABASE PRIMARY: SQL> select name, open_mode, database_role from v$database; NAME OPEN_MODE DATABASE_ROLE ——— ——————– —————- G…
Logical Standby Database
LOGICAL STANDBY PRIMARY SQL> select name, open_mode, database_role from v$database; NAME OPEN_MODE DATABASE_ROLE ——— ——————– —————- GPROD READ WRITE PRIMARY SQL…

Redo Transport Attributes required for setting in different protection mode
In this post let us see what attributes we can use under different protection mode. Redo Transport Attributes required for setting different protection mode 1.…

Database upgrade 12c to 19c using DBUA
STEPS TO UPGRADE A DATABASE FROM 12C TO 19C DBUA UPGRADE 12C TO 19C TAKE A RMAN FULL BACKUP. STOPPING THE LISTENER RUN THE PREUPGRADE FIXUPS RUN THE PREU…
Oracle Dataguard Protection modes
Oracle Dataguard Protection modes There are three types of Protection Modes in Oracle Dataguard . Maximum Availability It provides highest level of protection o…

Oracle Dataguard Architecture & Background processes
In this post let us understand the Oracle dataguard Architecture and processes with the help of diagrams. Oracle Dataguard Architecture: how data flows when sta…

RMAN Clonning Active duplication
RMAN CLONNING WITH ACTIVEDUPLICATION: Steps in source database: STEP1:verify whether the database is up with pfile or spfile if started with spfile create a pfi…
Introduction to Oracle Dataguard
In the following posts we will discuss about Oracle Dataguard concepts and implementation. Introduction to Oracle Dataguard 1. Oracle Data Guard ensures high av…

Transportable Database from Linux to Windows
Transportable Database from Linux to Windows Overview : – TDB requires that data files be converted to the target platform format. The data file conversion can…

[Infographic] What Makes Oracle Storage the Best Choice for Oracle Database?
The solutions provided by Oracle Storage, which is co-engineered with Oracle Database, rise above the offerings supplied by traditional storage and help to make…

Migration from Windows to linux Oracle 12c database to 19c database
MIGRATION FROM WINDOWS TO LINUX(12.1.0.1 TO 19.0.0) INSTALLED A DATABASE IN WINDOWS AND CHECKED THE PLATFORM NAME AND ENDIAN FORMAT CREATED A USER…
Disable worklist on the R12 home page
When you login in R12, you could see the workflow notifications listed in the home page. This is an new feature in R12 so that users will get notified whenever…
ORA-01403: no data found while activating SOURCE CONFIG in shareplex
While activating the config in SOURCE, received below error in event_log Warning 2020-01-12 01:13:51.386794 24843 2012734928 Activation: 13007 – No uniqu…
Database crash with error ORA-03113: end-of-file on communication channel
RAC DATABASE Crash with ORA-03113 error Sometimes, RAC database after clone failed to start with ORA-03113 error. This is because of log_archive_config is not s…
ORA-19808: recovery destination parameter mismatch
When 2 rac node database started, it throws ORA-19808 error as below. SQL> startup pfile=’/tmp/pfile.ora’; ORA-32006: SEC_CASE_SENSITIVE_LOGON initializa…

How to Audit particular table in database?
To set audit: AUDIT [option] [BY user|SESSION|ACCESS] [WHENEVER {NOT} SUCCESSFUL] For example: SQL > audit select on dba_users by access whenever not successful…
Useful information about Database audit
Database auditing is the process of recording, monitoring and reporting of the actions performed on a database. It allows the security auditors to observe wheth…
How to find latest recommended patches or patchset in E-business suite?
There are many ways to find latest recommended patch collection or patchset for particual modules in E-business suite. The best way for me is using patchsets.sh…
How to upload Large files in Oracle Support?
Usually, any Service Request created in Oracle requires supported log files and trace files to be uploaded. The usual way of uploading from your desktop to My o…
ORA-01000: maximum open cursors exceeded
ORA-01000: maximum open cursors exceeded – It’s typical error encountered in Oracle database. It happens when too much cursors are opened on an oracle instance.…
ORA-00845: MEMORY_TARGET not supported on this system
Modify the entry in “/etc/fstab” to have persistent settings between reboot of your machine. Here shared segments are set to 3500M. tmpfs /dev/shm tmpfs size=35…
Oracle 18c-RPM Based Installation
yum localinstall oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm Loaded plugins: langpacks, ulninfo Examining oracle-database-preinstall-18c-1.0-1.el7.x86_6…
oracle 18c new features
Snapshot Carousel This is a repository for periodic point-in-time copies of a PDB. The Snapshot Carousel is ideally suited to development environments that typi…
oracle 18c-Private temporary tables
Oracle Database 18c introduces the concept of a private temporary table—a memory-based temporary table that is dropped at the end of the session or transaction…
oracle 18c-Read-only Oracle Home
The new password file location enables you to mount one shared read-only Oracle Home on different systems, making deployment for complex architectures more reli…
Oracle 18c-Checklist for upgrade
Oracle 18c – Complete checklist for Manual Upgrade for Multitenant Architecture Oracle Databases from 12.1.x.x to 18.x.x.x (Doc ID 2422161.1) Oracle DB 18c – Co…
oracle 18c-Password file location
The default location for the Oracle Database 18c password file is now ORACLE_BASE instead of ORACLE_HOME/dbs. This change enables you to use Oracle Home as a st…
oracle 18c-SQL Cancel
In past versions of Oracle whenever a database administrator needed to cancel a SQL query, the session that was running the SQL had to be killed. This meant the…

ERRORMSG: appsborg2.zip not found after upgrade of iAS_ORACLE_HOME in Oracle EBS R12.1.3
Introduction : AutoConfig is a configuration tool that does the automation and the configuration of an Oracle E-Business Suite instance. The data require…

How to recover WebLogic Credentials
Introduction : Oracle WebLogic Server 12c R2 is one of industry’s noteable application servers for building and deploying enterprise Java EE applications…

Steps to recover a corrupted datafile on the standby database
Introduction : There was an issue faced recently on one of the dataguard environments. One of the file systems(/u05/PROD/) in the dataguard environment g…

Steps to run the EBS Technology Code Level Checker (ETCC) in EBS R12.2
Introduction : The Technology Codelevel Checker (ETCC) utility provides two scripts to ensure all the necessary database and application tier patches are instal…

Invalid or unexpected user name entered: when trying to change password with FNDCPASS
Introduction : FNDCPASS is an utility to change passwords of database schemas within the Oracle E-Business Suite. For example, you can change the APPS password…

lsnrctl Commands are working very slowly and are getting hung on windows
Introduction : The listener is a separate database server process that runs locally on the database server or remotely on the Oracle RAC environment. When a req…

Switchover of Standby to Primary : Error ORA-00333, ORA-15079, ORA-17611
Introduction : After configuring the dataguard, databases would be in primary role and standby database role. The above mentioned roles can be altered without t…

Automatic Indexing feature in Oracle Database 19c
The automatic indexing feature automates the indexing in an Oracle database. Automatic indexing automatically creates, rebuilds, and drops indexes in a database…

Purging of Listener log file in Oracle Database
Introduction : The listener is a separate database server process that runs locally on the database server or remotely on the Oracle RAC environment. When a req…

Handy commands for “REPLICAT” Process in Oracle GoldenGate
Introduction: The Goldengate Replicat process is also known as the apply process. It is a mandatory process in the Goldengate setup. This data delivery process…

Important commands in Goldengate related to “EXTRACT” Process
Introduction : The Oracle Goldengate Extract process captures transactions that have been committed from the Oracle Redo Logs or Archived Logs. The Extra…

Frequently used “MANAGER” related commands in Oracle GoldenGate
Introduction : The Goldengate Manager is the first process that needs to be setup in the replication configuration. This process must be running on the source a…
Error while upgrading the database
Error while upgrading the database from 11.2.0.4 to 19.3.0.0:- REASON: ERRORS FOUND: During Upgrade FILENAME: /u01/app/oracle/product/19c/cfgtoollogs/test19C/up…
Step to uninstall Database components(Oracle Application Express,Oracle Workspace Manager,Enterprise Manager):-
To view the database components:- col COMP_ID for a15 col COMP_NAME for a45 col STATUS for a20 set lines 100 pages 100 select COMP_ID,COMP_NAME,STATUS from dba_…
Changing SYSMAN password on oms database
step 1:- connect oem database as sysdba and change the password:- sqlplus “/as sysdba” alter user sysman identified by “oem13c_monitor”; step 2:- Stop all OMS p…

Oracle’s Autonomous Database: A Gift to the ‘Post-Digital’ World
The most renowned enterprise database in the world, Oracle Database has made an eminent advancement in its history by introducing autonomous database. At the in…
Script to check CPU usage and wait events class information of every minute for last 2 hours
set lines 288 col sample_time for a14 col CONFIGURATION head “CONFIG” for 99.99 col ADMINISTRATIVE head “ADMIN” for 99.99 col OTHER for 99.99 SELECT TO_CHAR(SAM…

Oracle Cloud Applications Now Live in Gen 2 Cloud Region in Mumbai
Oracle announces that it’s Gen 2 Cloud Region is now live in Mumbai. As a result of this deployment in India, the existing, as well as new customers, can now le…
AWS Lambda
Description: AWS Lambda is a serverless compute service that runs your code in response to events and automatically manages the underlying compute resources for…
Oracle Multitenant in Database 12c Enterprise Edition
Description: Oracle Multitenant – an Oracle Database 12c Enterprise Edition option – introduces a new architecture that enables customers to easily consolidate…
Generate DDL source code using Oracle SQL
Introduction Customer asks us to generate all the DDL source code for some database objects. So I just found the little piece of code to create DDL source. &nbs…

Oracle Always Free cloud services
Databases Our choice of Autonomous Transaction Processing or Autonomous Data Warehouse. 2 databases total, each with 1 OCPU and 20 GB storage. Note:-We need cho…
RMAN is hung or it is very slow / Clearing RMAN repository / Troubleshoot RMAN-06214 error
This Post describes about RMAN is hung or it is very slow / Clearing RMAN repository / Troubleshoot RMAN-06214 error RMAN> DELETE FORCE NOPROMPT OBSOLETE…

Script to determine the high water mark of tables
TO CHECK THE HIGH WATER MARK LEVEL OF TABLES set verify off col table_name for a20; column owner format a10 column alcblks heading ‘Allocated|Blocks’ just c col…
ORA-01741: illegal zero-length identifier
Posted by : Saravanan Introduction This Post demonstrates about error ORA-01741 : illegal zero-length identifier Scenario While adding multiple schemas t…
Installing various Database Components
Posted by : Mahe This Post describes about Installing various Database Components col COMP_ID for a20 col VERSION for a15 col STATUS for a10 col COMP_NAM…

Oracle Cloud Infrastructure New Feature – Block Volume user-defined backup policies
Oracle introduced new feature/functionality to Oracle cloud infrastructure Block Volume services scheduled backups feature – User defined Backup policies. Using…
Configuring APEX to use BI Publisher
Introduction We will see about how to configuring apex to use bi publisher in Details with steps to follow. Steps To Follow To use BI Publisher as your Report S…

Append the Data Base value to Tabular Form Read only Column
Introduction We can see about append the data base value to tabular form read only column. Steps To Follow Get the interactive repot table id Example : var apex…
Hide the Report Column based on User Condition
Introduction The Interactive Reporting Region is an innovative new technology that allows end users to customize reports.In Interactive Reporting we can hide th…
Apex Interactive Report Look and Feel
Introduction In Apex Interactive Report design, look and feel is a term used with respect to a graphical user interface and comprises aspects of its design, inc…

Integrating With Fusion Application Using Services (APEX)
Introduction Fusion Applications provides web services that allow external systems to integrate with Fusion Applications. There are two types of services: ADF s…
Multiple User Interface for Oracle APEX
Introduction User Interfaces Within a single Application you can have Desktop and Mobile Pages with individual Themes each That means an Application can have mu…
Clearing Session State in APEX
Introduction As you develop your applications, you may find it useful to clear the cached value for specific items, all items on a page, all pages in an applica…

Session State Protection in APEX
Introduction Session State Protection is a built-in functionality that prevents hackers from tampering with the URLs within your application. URL tampering can…

Disabling Keys Using Javascript in Apex
Introduction Application customization, by using JavaScript “Key Disabling” can be achieved, thereby preventing the user from feeding the particular key input v…

Slideshow of Images in Apex
Introduction Websites that include many images, such as art or photo gallery sites, can benefit by presenting some (or all) of their images in slide show format…

Capture Log (login, logout, session, system) Details in Oracle Apex 4.2
Introduction User Log Reports provides the detailed information about the users’ login details along with their history. These reports are more accurate and als…

How To Play Videos in Oracle Apex 4.2
Introduction Viral advertising is a proven technique that will assist to enhance your Enterprise internet presence in a really expense-powerful manner. It is an…

Dynamic Date Range in Apex Datepicker
Introduction Using this method you can set the range of selectable dates by entering a Minimum and Maximum Date value dynamically “real-time”. Steps To Follow S…

Highlight Mandatory Items Throughout The Application
Introduction Here is how to highlight form text items, which Value Required attribute is set to “Yes” and do not have any value. Steps To Follow Step1: Create d…

Coordinate Mapping in Oracle Apex
Introduction Line coordinates are used to specify the position of a line just as point coordinates (or simply coordinates) are used to specify the position of a…

Rupee Symbol in Reports in Oracle Apex 4.2 Using Html
Introduction Most of the Applications includes Accounts Reports like Employee Payroll Reports, Company Purchase Reports, Invoice Reports,etc. Now using this met…

Dynamically Adding Rows in Tabular Form in Oracle Apex 4.2
Introduction A good web design involves the better user interaction and ability to fetch the data in a better way. In Tabular Form user can add rows only by cli…

Adding Favicon To Oracle Apex
Introduction A Favicon (Favorite Icon), also known as a Shortcut Icon, Web site Icon, Tab Icon or Bookmark Icon, is a file containing one or more small icons, a…
Multiple File Upload in Oracle APEX
Introduction This method supports the ability for file inputs to accept and upload multiple files into database. Steps To Follow Step1: Create a File Bro…
Search bar for Tabular form with auto complete option for Date values
Introduction On default, in tabular form Oracle apex did n’t provided the Search option. We provide solution to add search option in Oracle apex. Step1: Created…
11g RAC :Convert NON RAC database to RAC database using RCONFIG
Introduction This blog is about converting NON RAC database to RAC database using RCONFIG in 11g RAC Posted by JAYAKRISHNA 11g RAC :Convert NON RAC database to…
Users Receive Error “Exception: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new Poolable object” During Login To E-Business Suite
Introduction Solution to fix Users Receive Error “Exception: oracle.apps.fnd.common.AppsException: oracle.apps.fnd.common.PoolException: Exception creating new…
Starting Http Server by “Opmnctl Startall” result with “[error] (79) Value too large for define data type: could not open transfer log file /apps/oracle/logs/access_log” error in error_log file
Introduction Solution to fix the error (79) Value too large for define data type when Starting Http Server by “Opmnctl Startall” Posted by Jayachandran A OMS_HO…
How to change oc4jadmin password for Application Server
Introduction Steps to change oc4jadmin password for Application Server Posted by Karthick How to change oc4jadmin password for Application Server You have to ch…
Error while running the pre-clone script on oracle application
Introduction Steps to fix the Error while running the pre-clone script on oracle application Posted by Jayachandran A When we run the pre-clone script we are ge…
REP-51019 system user authentication is missing in oracle reports 12c
Introduction Steps to solve REP-51019 system user authentication is missing in oracle reports 12c Posted by Venkateshwaran REP-51019 system user authentication…
AWR Snapshots are not generated Automatically
Introduction Steps to solve when AWR Snapshots are not generating automatically Posted by Saravanan Scenario: ———— Oracle Database 11.2.0.4. My AWR Snapshots we…
EBS R12.2 Cloning Steps
Introduction Steps to clone EBS R12.2 Clonning Posted by Venkatesh R K NOTE: The following Clone approach is applicable for the APPLICATION version from R12.2.1…
Alert Log: Shutdown Waiting for Active Calls to Complete.
Introduction Steps to solve Shutdown Waiting for Active Calls to Complete. Posted by JAYAKRISHNA Alert Log: Shutdown Waiting for Active Calls to Complete. Error…
OATM Migration Appears to Have Hung. How Can I Monitor It’s Progress?
Introduction Solution to fix OATM Migration Appears to Have Hung. Posted by JAYAKRISHNA OATM Migration Appears to Have Hung. How Can I Monitor It’s Progress? Th…
Software for Oracle Big Data
Introduction This blog has the information about software for oracle big data Posted by Jey Software for Oracle Big Data The Oracle Linux operating system and C…
Software Component Overview for Oracle Big Data
Introduction This explains the Software Component Overview for Oracle Big Data Posted by Jey The major software components perform three basic tasks: Acquire Or…
Oracle Big Data SQL
Introduction Information about Oracle Big Data SQL Posted by Jey Oracle Big Data SQL supports queries against vast amounts of big data stored in multiple data s…
Suspend and Resume in Oracle Database
Introduction Steps to Suspend and Resume in Oracle Database Posted by Sakthi Sethu Perumal The ALTER SYSTEM SUSPEND statement stops all input and output (I/O) t…
Locking statistics for a table
Introduction Steps to create locking statistics for a table Posted by Unknown . You can lock the statistics for the table if you don’t want it be analyzed autom…
FNDCPASS was not able to decrypt password f useorr ‘ANONYMOUS’ during applsys password change
Introduction Steps to solve FNDCPASS was not able to decrypt password for user ‘ANONYMOUS’ during applsys password change Posted by Mahendran Cause: ===== While…
AutoConfig could not successfully instantiate the following files adcrdb.sh INSTE8
Introduction Steps to solve auto config could not successfully instantiate the following files adcrdb.sh INSTE8 Posted by Mahendran DB autoconfig Error: =======…
APEX LOGIN ERROR
Introduction Steps to ix apex login error Posted by Venkateshwaran ERROR: I USED CORRECT USERNAME AND PASSWORD BUT STILL I FACED LOGIN ERROR SOLUTION: SQL> alte…
Discoverer Error : CORBA protocal :Failed to bind session using IOR:null Hint
Introduction Solution to fix Discoverer Error : CORBA protocal :Failed to bind session using IOR:null Hint Posted by Sakthi Sethu Perumal Users getting below er…
The data that defines the flexfield on this field may be inconsistent
Introduction Solution to fix data that defines the flex field on this field may be inconsistent Posted by Venkateshwaran ERROR ———————– The data that defines th…
There are no valid navigations for this responsibility
Introduction Solution to fix There are no valid navigations for this repositry Posted by Venkateshwaran There are no valid navigations for this responsibility U…
ORA-00600: internal error code, arguments: [1350], [1], [23], [], [], [], [], []
Introduction Steps to fix ORA-00600: internal error code, arguments: [1350], [1], [23], [], [], [], [], [] Posted by Sathiyaseelan Issue : ORA-600 while running…
Using Staged Applications System to reduce patching downtime during R12 Upgrade
Introduction Steps to reduce patching downtime during R12 upgrade using staged applications Posted by Sakthi Sethu Perumal Section 1: Overview A Staged Applicat…
ORA-27211: Failed to load Media Management Library
Posted by Sundaravel Ramasubbu Issue : Rman backup script fails with the below error. But strangely if we run the backup manually it went fine. RMAN-00571: ====…
OBIEE 11g Analytics : Error while logging into application portal “Authentication failed: invalid user/password”
Posted by Narasimha Rao Introduction: When we try to login to OBIEE 11g Analytics after installation, We were not able to login to portal and got the error sayi…
Oracle 11g ASM Intelligent Data Placement
Posted by Narasimha Rao Intelligent Data Placement enables you to specify disk regions on Oracle ASM disks for best performance. Using the disk region settings,…
Oracle 12c New Features – Alter Database Move Datafile
Posted by Abishek Kathiresan Introduction: In previous versions of Oracle when DBAs needed to move datafiles to new storage, or migrate between ASM and filesyst…
Oracle 12c New Features – SQL*Loader Express
Posted by Abishek Kathiresan Introduction: Oracle 12c introduces Sql*Loader Express features, which allow users to run sqlldr with minimum configuration. The fo…
Oracle 12c – startup container AND pluggable databases.
Posted by Abishek Kathiresan In Oracle 12c we start the Container Database (CDB) the same as we started previous database versions. [oracle@rac1 lib]$ sqlplus /…
Oracle 12c Common and Local users – ORA-65096 ORA-65049
Posted by Abishek Kathiresan In 12c when you login to a CDB database you default to the CDB$ROOT container. [oracle@rac1 db_1]$ echo $ORACLE_SID T12 [oracle@rac…
Data Guard Log Shipping Fails With Error Ora-16191 In 11g
Posted by Sundaravel Ramasubbu Issue: PING[ARC1]: Heartbeat failed to connect to standby ‘STANDBY’. Error is 16191. Sat Aug 06 02:06:52 2011 Error 1017 received…

How to create Oracle EBS (Applications User ) with only read privilege
Posted by Abishek kathiresan Introduction: Hi Everyone here will discuss how to create Oracle EBS(application user) with only read privilege Steps to be followe…
Concurrent request running abnormally for very long time without completion
Posted by Abishek kathiresan Introduction: In this document I will show you a solution for Concurrent request running abnormally for very long time without comp…
Scripts related to TEMP TABLESPACE
Posted by Abishek Kathiresan Introduction: Hi All, Here we will discuss Scripts related to TEMP TABLESPACE. To check instance-wise total allocated, total used T…

Creating Interactive Report as Excel format with applying font for particular column values
Introduction If we want to show any report in excel format in page level with the different font of column values we can use this component script to achieve th…

Restrict Copy Paste & Right Click In Apex Page
Introduction The Purpose of this component is to restrict the copy option from the user level of apex page. Context Consider in our apex application we are prov…
Breadcrumbs Using Page Items
Introduction According to the customer’s requirement, there is a table that contains both parent parts and child parts in one table. Once we create a part, a li…

MINIMUM DATE AND MAXIMUM DATE FOR A DATE PICKER IN A TABULAR FORM
Introduction Using this you can set the date range of the Date picker in tabular form. Steps to follow: Step 1: Set SYSDATE as the source value to an item Using…

Displaying Classical Report in Full page with Less Columns
Introduction This post details the steps required to display classic report in full page with less number of columns. Step to follow: Step 1: Go to the page hea…
Include or Exclude column in APEX interactive report download
Introduction This is to include or exclude column from interactive report during download. Include column only in download Hidden column cannot be downloaded in…

Stop the user to click a page submit button more than once in Oracle APEX 4.2
Introduction : To stop the user to click a APEX page submit button more than once in Oracle APEX 4.2 Scenario: The standard way to push the page data back to th…
Set Interactive Report Filter with URL Parameters
Introduction Interactive reports are very powerful reports. The end-user can set filters, highlighting, add computed columns, do control breaks or groupings, an…
Highlight Tabular Form Rows on addition from Pop-up
Introduction The purpose of this post to describe the steps required to highlight Tabular Form Rows on addition from Pop-up. Steps to follow Step 1: Past…

Get Filtered Columns and Values in APEX Interactive Report
Introduction The purpose of this post is to find the filtered columns and their corresponding values, conditions, operators are used for the condition in the In…

Excel Merge and Download using Custom Template in APEX
Introduction The purpose of this post is to download data in an excel spreadsheet using the custom template. Steps to follow Step:1 Create a new blank page in t…
Field Locks In Oracle Apex
Introduction: This post describes the steps required to lock the field. Step:1: On-change of items, insert into lock table. Dynamic Action : On-Change Selector…

Oracle Cloud Infrastructure New feature – Block Volume Elastic Performance
@oracle introduced new feature in Oracle Cloud Infrastructure (#oraclecloudinfrastructure) – Block Volume Elastic Performance. The elastic performance feature o…
Losing Data During Validation In Apex Tabular Form !!! – Check In
Introduction This post describes the steps required to stop losing the data during validation in tabular form. Steps to follow Step:1 On Submit, B…
Download hidden column in APEX classic report
Introduction This post describes how to download hidden column in a classic report. Steps to follow Hidden column cannot be downloaded in classic report…

Remove the close icon from Select2 plugin
Introduction The purpose of this post is to remove the close icon from the select2 plugin for the value which comes from Item Source. Challenges faced: S…

Shrinking of Navigation Menu on page load
Introduction This post defines the steps required to shrink the navigation menu on page load. Challenges faced: In Oracle Apex 5, universal theme the navigation…
Freeze Columns in Tabular Form/ Report (Classical Report)
Introduction This post is about “How to Freeze/Fix Column Header Row of a Classic Report” which would be very useful when the number of report columns/rows are…
APEX – Report Rows Clickable to detailed page
Introduction This document describes how to make an Apex Reports clickable to a detailed page with an option of entire row selection. In Apex, Report is an esse…

Word Wrap in APEX IR
Introduction One of the common problems with APEX IR is word wrap. Using the below method, we can unwrap the column labels in report. Output: Call To Action: Fo…

Reports with Row Details
Introduction This document describes how to show an Apex Reports with Row Details. In Apex, Report is an essential tool which is in classical, interactive & oth…

Using Images as an Top Navigation Menu
Introduction In Apex 5, Navigation Menu Position is either Side or Top Navigation. In the Side Navigation menu, if we apply the favicons, then it will display t…

Modal Dialog in Apex 4.2
Introduction This post will help you to create a modal dialog page in Apex 4.2 with simple Javascript code. Scenario: A modal dialog has to open on button click…
Dynamically ordering of rows
Introduction This post will help you to sort the rows in tabular form dynamically. Steps to follow Step 1: Create a tabular form with the query an…
File Type Validation using Java Script
Introduction File type validation before uploading to the server is mandatory for every file upload in the web application. It helps to ensure that the user has…
Displaying of a select list and a button based on conditions in one Tabular Form Column
Introduction This post details the steps required to display a select list and a button based on condition in tabular form. Problem statement For already existi…
Calculating Sum of 2 or More Fields in Oracle Apex
Introduction : This post details the steps that required to calculate sum of 2 or more fields using function. Steps to follow Step 1: Create all the items which…
Custom Popup page APEX 4.2
Introduction: Although HTML DB allows application developers to declaratively add popup list of value (popup LOV) items to their pages, occasionally application…

APEX Reports with dynamic help text in Oracle APEX 4.2 using CSS
Introduction: To show dynamic help text in APEX reports (Interactive/classical) in Oracle APEX 4.2 using CSS. Solution: Step 1: Create Inte…

Scroll to the top of the page/report in Oracle APEX
Introduction: To Scroll the top of the page/report in Oracle APEX application. Scenario: We have encountered an issue that you always stay…
Multiple Interactive Reports in Single Page Oracle Apex 4.2
Introduction : In APEX 4.2, we can have only one IR on one APEX page and APEX won’t let us create more. So, we will have to create one IR each on two separate p…
Upload and Download of Files from Server
Introduction : Oracle Application Express applications support the ability to upload and download files stored in the database. Implementation : Step 1: Create…
Excel Download Package in Apex
Introduction : Below program has been used to download the data in Excel format through apex. Implementations : Step 1: Create below Package in DB. Packa…
Converting into RAC instance
Posted by : Pushparaj This Post describes about converting into RAC instance Add separate Undo Tablespaces First, Create 2 UNDO tablespaces for the 2 instances.…
Oracle Database and Applications Security Audit Part 1
Posted by : Narasimha Rao.K This Post demonstrates about Oracle Database and Applications Security Audit Part 1 Hello Everyone , I would like to start se…
DYNAMIC SAMPLING
Introduction Oracle Database introduced Dynamic Sampling to allow the optimizer to gather additional information at parse time. If database statistics were miss…

Download Blob Files from Oracle Table in APEX using PL/SQL
Introduction : To download blob files (ZIP Files) from table in APEX using Oracle PL/SQL. Scenario: Customer has asked us to give the provision in APEX, which i…

Read and Import XLSX file in Oracle APEX 4.2
Introduction: To read and import XLSX file in Oracle APEX 4.2 Scenario: Customer wants to see their investor details in APEX (in the form of IR). Though investo…

Generating the Checksum id dynamically
Introduction : It is used to solve the apex vulnerability problems by generating the checksum id dynamically. Implementation : Ajax(Application Process) used ca…
Calling the Oracle Job scheduler Using Oracle apex
Introduction : This describes how to use the DBMS_SCHEDULER package to work with Scheduler objects. You can accomplish the same tasks using Oracle apex &…

Report Generation from BI through APEX
In this blog will explain about the generation of report from BI using Oracle apex application. Implementation: Oracle APEX is user friendly for designing part…

DISPLAY COMPANY LOGO FOR APEX APPLICATION
Introduction : A basic requirement in most implementations is displaying company logo. This Blog shows how to achieve it in Application Express. Implemen…

Technical Issues Migrating Apex from 4.0 to 4.2
Introduction : Captured some technical issues during migration of apex from 4.0 to 4.2. Problem 1 : Login Issue. Unable to login to the Apex application. Soluti…
Oracle Database 12c New Features
Introduction : In additional to the changes made to Oracle Application Express 4.2 to work within the new Oracle Database 12c Multitenant Architecture, a…
Custom Alert Box in Oracle APEX
Introduction: This post talks about how to create a custom Alert box and use it for the complete application in the Oracle APEX. Procedure: To display Er…
Avoid wrapping the fields in APEX Interactive reports
Introduction: This post talks about how to avoid auto wrap the fields available in the Interactive Report in the Oracle APEX. Procedure: By default the Oracle A…
Add Row on the Top in the Tabular Form
Introduction: This post talks about how to add row at the Top in the Tabular Form in the Oracle APEX. Procedure: Create a Tabular form region. Aft…

Report Layouts and Report Queries in Oracle APEX 4.2
Introduction: To create PDF, Excel, RTF, HTML reports using report Layouts and report Queries in Oracle APEX 4.2. Procedures: Step 1: Go to Shared Components St…

Radio group with dynamic help text in Oracle APEX 4.2 using CSS
Introduction To show dynamic help text in radio group item in Oracle APEX 4.2 using CSS. Procedure: Step 1: Create Radio group item. Step 2: Use below query in…

TOOL-TIP FOR THE REPORT COLUMN
Introduction: The tool-tip displaying report column while hovering on the another report column. Procedures: STEP 1: ENAME, DEPARTMENT and MANAGER is the report…
Apex – Load Data from Json File to Table
Introduction This blog provides an example of loading data from Json file into Table Procedures Sample Json:- { “department”: { “department_number”: 10, “depart…

XLSX UPLOAD IN APEX USING PL/SQL
Introduction: The process of uploading a .XLSX file in APEX ( 4,5 AND 18C) using PL/SQL. Procedures: Step 1 : We need to create a Page browse item and provide s…

EXCEL UPLOAD IN APEX USING SELECT LIST TEMPLATE
Introduction: This Process helps the user to upload .XLSX file with multiple tabs with Select List in APEX using PL/SQL. Procedures: Step 1 : Create an .XLSX fi…
Custom Excel Download with Chinese Characters (for languages other than English)
Introduction: In APEX 4.2, reports with some Chinese and other language characters gets replaced with inverted question marks if downloaded. This issue can be f…

Creating Checkbox Tree In Oracle Apex 5.0
Introduction This Process helps the user to create checkbox in Tree Region. Procedure Step 1 Create Tree Region Sample code: SELECT CASE WHEN CONNECT_BY_…

JQUERY AUTOCOMPLETE FOR TEXT FIELD ITEM IN ORACLE APEX
Introduction his process helps to enable the users to quickly find and select from a list of values as they type, searching and filtering without Native text wi…

USING APEX_ERROR NOTIFICATIONS TO MANAGE CUSTOM ERROR MESSAGES
Introduction: The Users can customize the Error Messages in Apex Error Notifications Default Messages: Procedures: Steps in APEX : Step 1 : Create a text field…
How to Rename constraints
Posted by : Mahe This Post demonstrates how to Renaming a constraints Renaming a constraints SQL> show user; USER is “MAHE” SQL> select dbms_metad…
Block change tracking for faster Incremental RMAN backups
Posted by : Unknown Introduction This Post demonstrates about the Block change tracking for faster Incremental RMAN backups Block Change Tracking…
Solaris EM12c Agent Unreachable with Error “peer not authenticated”
Posted by : Mahe Introduction This Post demonstrates about the Solaris EM12c Agent Unreachable with Error “peer not authenticated” Issue : ./emctl status agent…
ORA-10873: file 1 needs to be either taken out of backup mode or media recovered
Posted by : Saravanan Introduction This Post demonstrates about ORA-10873 , the file 1 needs to be either taken out of backup mode or media recovered Sce…
12c introduces the Parallel Upgrade Utility
Posted by : Unknown Introduction This post demonstrates the parallel upgrade utility in 12c . Note : Oracle Database 12c introduces the Parallel Upgrade…
How to determine if an index needs to be rebuilt.
Posted by : Unknown This Post demonstrates to determine if an index needs to be rebuilt. We can get an idea of the current state of the index by using th…
RMAN-06613: Connect identifier for DB_UNIQUE_NAME DBNAME_DGS not configured
Posted by : Sundaravel Ramasubbu RMAN-06613: Connect identifier for DB_UNIQUE_NAME DBNAME_DGS not configured This Post demonstrates the Rman backu…
OPATCH FAILED WITH ERROR CODE 73
Posted by : Gangainathan This Post demonstrates about the Opatch failure SQL> select name,open_mode from v$database; NAME OPEN_MODE ——— ——————– DOYEYDB R…
ORA-17502: ksfdcre:4 Failed to create file “FILE NAME” / ORA-15173: entry ‘string’ does not exist in directory ‘string’
Posted by : Mahe ORA-17502: ksfdcre:4 Failed to create file “FILE NAME” / ORA-15173: entry ‘string’ does not exist in directory ‘string’ RMAN> restore sp…
The Data Guard status of xxxx is Error ORA-03135: connection lost contact from Primary database
Posted by : Karthick This Post demonstrates the Dataguard status connection lost contact from Primary database The Data Guard status of xxxx is Error ORA…
Backup Fails Because of Control File Enqueue : ORA-00230
Posted by : Mahe This post will demonstrate the Backup Failure because of Control File Enqueue Error : RMAN-00571: ======================================…
Enable Trace and take Tkprof
Posted by : Unknown This Post will demonstrate to enabling the trace and take tkprof Step 1 : Check Request ID from Find Concurrent request screen…
Steps to Modify Scan listener port number
Posted by : Selvakumar Raja This Post will demonstrate the Steps to Modify Scan listener port . Due to security reasons some of environment require using…

Oracle – Data Guard Broker Setup
Posted by Sundaravel Ramasubbu Introduction : In this session we will see How to set up Data Guard Broker. NOTE: Environment in my case Prerequisite Check DG_BR…
Block change tracking for faster Incremental RMAN backups
Posted by Abishek Kathiresan Introduction: The details of changes in the blocks of the database after the last backup are written in the block change tracking f…
Renaming constraints
Posted by Mahendran Manickam Introduction: Here we will see How to rename a constraint in Oracle Database. Step 1: Login to sqlplus SQL> show user; USER is “MAH…
Starting Http Server by “Opmnctl Startall” result with “[error] (79) Value too large for define data type: could not open transfer log file /apps/oracle/logs/access_log” error in error_log file
Posted by Jayachandran A OMS_HOME/Apache/Apache/log/error_log shows: [timestamp] [error] (79) Value too large for define data type: could not open transfer log…
ORA-00600: internal error code, arguments: [2619], [4476], [], [], [], [], [], [], [], [], [], []
Posted by Sathiyaseelan Mariappan Problem: Physical standby recovery reports error in alert log: Wed Jun 23 01:10:22 2010 Media Recovery Log /mnt/import/recover…
ORA-27492: unable to run job “APEX_040200.ORACLE_APEX_MAIL_QUEUE”: scheduler unavailable
Posted by Venkateshwaran Govindaraj ISSUE: ———- ORA-27492: unable to run job “APEX_040200.ORACLE_APEX_MAIL_QUEUE”: scheduler unavailable SOLUTIONS: —————— Alter…
APEX LOGIN ERROR
Posted by Venkateshwaran Govindaraj Introduction: Here we will discuss the error which i Faced in Oracle Apex. ERROR: I USED CORRECT USERNAME AND PASSWORD BUT S…
Steps to enable recycle bin in oracle 10g and 11g
Posted by Abishek Kathiresan Below are the steps to enable recycle bin in oracle 10 & 11g Step 1: log into sqlplus SQL> SHOW PARAMETER RECYCLEBIN NAME TYPE VALU…
Oracle Database and Applications Security Audit Part 1
Posted by Narasimha Rao.K Oracle Database and Applications Security Audit Part 1 Introduction: Hello Everyone, I would like to start series of write ups/post ba…
Suspend and Resume in Oracle Database
Posted by Abishek Kathiresan Here we will see the suspend/resume feature in Oracle Database. ALTER SYSTEM SUSPEND statement stops all input and output (I/O) to…
Renaming redolog members
Posted by Mahendran Manickam Introduction: In this session we will discuss that how to remane redolog members Steps to be followed: Step1: To complete this requ…
Apps login shows blank page
Introduction solution to fix when apps login shows blank page Posted by Saravanan Problem : R12 AppsLocalLogin shows blank page Check for the following log file…
Restrict adding blank row in Tabular form
Introduction: This post talks about how to restrict adding more than one blank row in Tabular form using JavaScript in Oracle Apex. Procedure: Create a Tabular…

Sending Calendar Invite via APEX Application
Introduction Using below code we can send individual emails to the users with an ICS file as attachment. ICS is a global format for calendar files widely being…

Role based Authorization in Oracle APEX5
Introduction Following below we can implement Role based Authorization in Oracle APEX Application, in version 5. Steps To Follow Create below Application Item:…

Progress Bar in Reports in APEX5
Introduction In APEX we can create “Percentage Bars” within a report. This can be achieved using HTML Code in your Report SQL Query. Steps To Follow Step1: Crea…

Displaying images in a Report
Introduction This document shows user how to include images in report.By assumption we will upload a image to work space and call that particular image through…
How to change Virtual IP and Scan IP in an existing RAC environment
Introduction Steps to change Virtual IP and scan IP in current RAC environment Posted by Sakthi Sethu Perumal Output of current Host file: =================== #…
Installation of 11gR2 Rac on RHEL using VMware and Openfiler
Introduction Steps to install 11gR2 Rac on RHEL in VMware Posted by Gangainathan Oracle RAC Architecture A general pictorial guide for how to the install RHEL 5…
Using adrci Tool in 11g
Introduction Steps to use adrci tool in 11g Posted by Sakthi Sethu Perumal Oracle 11g introduces adrci tool. This tool is used to examine contents of ADR reposi…
Using Keyboard Shortcuts in Oracle Apex
Introduction: This post shows an example of how to add keyboard shortcuts using JavaScript in Oracle Apex. Using a little piece of JavaScript in the Apex page,…
Commands to rebuild Index, Partitioned Index, LOB Index, IOT (Index Organized Table)
Introduction Here are the Commands to rebuild Index, Partitioned Index, LOB Index, IOT (Index Organized Table) Posted by Sakthi Sethu Perumal To rebuild the ind…
Complete Guide for upgrading oracle applications 11i with 10g R2
Introduction This is the guide for upgrading oracle applications 11i with 10g R2 Posted by Narasimha Rao Dear All, Sub: Upgrading oracle applications 11i with 1…
Sending Mails through Os( Unix ) with Mailx
Introduction Steps to send mail through unix with mailx Posted by Narasimha Rao Dear All, This Post is relating to Useful Operating system techniques to send ma…
Oracle EBS Apps in MS-Vista
Introduction Information about Oracle EBS Apps in MS-vista Posted by Narasimha Rao Dear All, This post is relating to using Vista in EBS. Info: Vista is certifi…
DBA Tip : RMAN restore when backup file are spread across 2 different mount points
Introduction Restore rman backup when backup file are spread among two different mount points Posted by Hemanth Sathavalli Customers whose databases are of huge…
Issue in Preclone process after upgrading 11i with 10g R2
Introduction Solution to fix the Issue in Preclone process after upgrading 11i with 10g R2 Posted by Narasimha Rao Dear all, This post is relating to following…
Upgradation of Discoverer from 4i to 10g for Applications 11i CU2 (11.5.10.2)
Introduction Steps to upgrade Discoverer from 41 to 10g Applicatioins Posted by Narasimha Rao Upgradation of Discoverer from 4i to 10g for Applications 11i CU2…
Apex Installation for 11g Instance
Introduction Steps to install Apex in 11g instance Posted by Narasimha Rao Pre Installation Tasks: 1. Create Tablespace for Apex Data and Files. SQL> create tab…
Apex Listener Configuration for Apex
Introduction Steps to configure apex listener for apex. Posted by Narasimha Rao 1) Check java version after completion of glassfish installation . /java -versio…
How to Cancel a Concurrent Request Stuck in the Queue
Introduction Steps to cancel Concurrent Request Stuck in the Queue Posted by Syed Hussaini Some times we get a Request from customers that they are not able to…
Enable Trace and take tkprof
Introduction Steps to see how to enable trace and tkprof Posted by Sakthi Sethu Perumal Step 1 : Check Request ID from Find Concurrent request screen (In my cas…
Add,drop and rebalance ASM diskgroups
Introduction Steps to see how we can add, drop and rebalance diskgroups Posted by Karthick Adding Disks to a Disk Group ALTER DISKGROUP DATA_DG ADD DISK ‘/devic…
How to add the disk to existing diskgroups
Introduction Steps to add new disk to existing groups. Posted by Karthick Steps: Connect as sqlplus / as sysasm; TO CHECK DISKGROUP NAME: select group_number,na…
Oracle – Data Guard Broker Setup
Introduction Steps to configure Oracle – Data Guard Broker Posted by Sundaravel Ramasubbu In this document, Primary Server: Chennai Secondary Server: Trichy Pri…
Steps to Modify Scan listener port number
Introduction Steps to Modify Scan listener port number using a different port than default for the listener Posted by Selvakumar Raja Due to security reasons so…
Enable SQL Trace in Oracle Apps R12
Introduction SQL trace can be enabled in any E-Business module via different ways. The following table shows all possible ways for enabling trace in a form, sel…
Reparing the OCR
Introduction we can use ocrconfig -repair command to repair ocr configuration on a node which was not up when the configuration was modified on the other nodes.…
SGA Resizing history
SGA resizing history Summary You can find all the resizing history of the SGA by querying the view V$SGA_RESIZE_OPS. As you know if you have set the parameter s…
Steps to create ORACLE_HOME after copying oracle binaries from source to destination.
WE ARE GOING TO COPY THE ORACLE BINARIES FORM SOURCE TO DESTINATION. Step 1 : Tar the ORACLE_HOME in the source instance. tar -cvf /DUMP_TABLE/backup/11203_PROD…
Import fails with ORA-39126,ORA-06512,ORA-01403
WE ARE GOING TO SEE THE IMPORT FAILURE with ORA-39126,ORA-06512,ORA-01403 . Cause: The issue happen when we migrate using export from 11gR2 windows and import i…
Useful Information Regarding Oracle Cloud Marketplace
Introduction Information about Oracle Cloud Marketplace Posted by Narasimha Rao.K Some of you might be aware of the Oracle Cloud Market place. But there are cer…
How to deploy Oracle EBS Cloud Manager from Market Place?
Introduction Steps to deploy oracle EBS cloud manager from market place. Posted by Narasimha Rao.K The Main agenda for this post is to demonstrate basic steps t…
WF Mailer Not able to start with the following error : FRAMEWORK_USER=Unable to make a connection with the user and responsibility
Introduction Solution to fix if the WF Mailer Not able to start with the error : FRAMEWORK_USER=Unable to make a connection with the user and responsibility Pos…
Shareplex Installation for Oracle Replication
Introduction: Steps to install shareplux for oracle replication Posted by Hemanth Sathavalli Installation on Source Server : oracle@src_01:~ $ . ./SOURCEDB_12c.…
Shareplex Setup/Configuration for Oracle Replication
Introduction Steps to configure Shareplex for Oracle Replication. Posted by Hemanth Sathavalli Prerequisites for Shareplex Setup on Oracle database : Create tab…
Recreation / Rebuild of Reporting database (for the EBS customers using Shareplex replication)
Introduction Steps for Recreation / Rebuild of Reporting database Posted by Hemanth Sathavalli If you have Reporting database configured for your UAT or Pre-Pro…
OPatch Conflict Checker
Introduction: This is to check if there is a conflict in the patches with the existing patches in our database. Posted by Hemanth Sathavalli When applying OPatc…
DBA Tip : RMAN restore when backup file are spread across 2 different mount points
Introduction This is to perform rman restore of backup files when the backup files are in two different mount points Posted by Hemanth Sathavalli Customers whos…
ORA-38824: A CREATE OR REPLACE command may not change the EDITIONABLE property during Apex install in 12.2
Introduction Solution to fix ORA-38824: A CREATE OR REPLACE command may not change the EDITIONABLE property during Apex install in 12.2 Posted by Sathiyaseelan…
CRS-2632: There are no more servers to try to place resource ‘ora.racdb.db’ on that would satisfy its placement policy
Introduction Solution to fix when there are no more servers to try to place resource ‘ora.racdb.db’ Posted by Sunilkumar ERROR: PRCR-1079 : Failed to start reso…
ORA-15040: diskgroup is incomplete
Introduction Solution to fix ORA-15040: diskgroup is incomplete Posted by Karthick ASM is running but diskgroup is not mounted and its in incomplete state. [ora…
how to increase connection timeout in weblogic
Introduction Steps to increase connection timeout in weblogic Posted by Marimuthu Pandu We need to follow below steps to set this option : -Dsun.net.client.defa…
How to see Last added datafile in Oracle
Introduction We will see how to find the last added datafile in oracle Posted by Arun Below query will give you the last added datafile in oracle. This will be…
SYSADMIN login taking long time to log in
Introduction Solution for sysadmin taking long time to login Posted by Arun Sometimes, SYSADMIN login in particular instance will take long time to log in as it…
FLUSH_DATABASE_MONITORING_INFO Procedure
Posted by Venkateshwaran Govindaraj Introduction: When querying *_TAB_MODIFICATIONS view you should ensure that you run DBMS_STATS.FLUSH_DATABASE_MONITORING_INF…

Useful Information Regarding Oracle Cloud Marketplace
Posted by Narasimha Rao.K Introduction: Some of you might be aware of the Oracle Cloud Market place. But there are certain useful Applications services availabl…

How to deploy Oracle EBS Cloud Manager from Market Place?
Posted by Narasimha Rao.K Introduction: The Main agenda for this post is to demonstrate basic steps to deploy Oracle EBS Cloud Manager from Market Place. Pre-re…

OPatch Conflict Checker
Posted by Hemanth Sathavalli Introduction: When applying OPatches to our Oracle database, we frequently encounter conflicts with the existing patches in our dat…
DBA Tip : RMAN restore when backup file are spread across 2 different mount points
Posted by Hemanth Sathavalli Introduction: Customers whose databases are of huge size and if the RMAN backup size is about 2TB or more and when there is no enou…
ORA-38824: A CREATE OR REPLACE command may not change the EDITIONABLE property during Apex install in 12.2
Posted by Sathiyaseelan Mariappan Hi .. Lets find out the solution for below issue. Issue: Fresh apex install failed with the below error. ORA-38824: A CREATE O…
CRS-2632: There are no more servers to try to place resource ‘ora.racdb.db’ on that would satisfy its placement policy
Posted by Sunilkumar Ramadoss Intoduction: Here we try to resolve the below error that I came across in RAC CRS-2632: There are no more servers to try to place…
ORA-15040: diskgroup is incomplete
Posted by Karthick kannappan Introduction: When I was working in environment came across this below ora error so lets try to resolve that. ASM is running but di…
Upload huge files to MOS (My oracle support)
Posted by Arunkumar Kubendiran Introduction : There are many ways to upload the files to My oracle support SR. But when there is an huge file we may think how t…

How to Create Oracle Cloud Promotion Account
Posted by Narasimha Rao.K Introduction: Learn how to create and set up your Oracle Cloud Promotion account. Steps to be followed: There are certain factors and…
ERROR: ORA-00020: maximum number of processes (1000) exceeded
Posted by Marimuthu Pandu We are going to see the cause and solution for the ORA-00020 error Cause: ORA-00020 this error occurs when database exceeds the initia…
Import fails with ORA-39126,ORA-06512,ORA-01403
Posted by Sathiyaseelan Mariappan We are going to discuss about what makes the import fail in the below scenario. Cause: The issue happen when we migrate using…

REST your EBS data with Oracle RESTful Data Services (ORDS)
Posted by Abishek Kathiresan Introduction Here we share that how to REST your EBS data with Oracle RESTful Data Services (ORDS) APEX and ORDS APEX uses Oracle R…
Error 404 When Accessing /OA_HTML/AppsLogin Not Found After Upgrade To Database 12c
Posted by Abishek Kathiresan Applies to: Oracle E-Business Suite Technology Stack – Version 12.1.3 and later Information in this document applies to any platfor…
Requested URL/OA_HTML/AppsLogin was not found on this server
Posted by Abishek Kathiresan Applies to: Oracle Enterprise Linux 5.5 Oracle Application Install – Version: 12.1.1 Database 11gR1 Description: I recently came ac…
AD Administration error:Connected to db edition other than RUN and PATCH
Posted by Sundaravel Ramasubbu Issue: When we try to compile apps schema through adadmin AD Administration error: Connected to db edition other than RUN and PAT…
ORA-27102: out of memory (Startup)
Posted by Mahendran Manickam Introduction: We are going to see how to resolve ORA-27102: out of memory Solution: You have started up with pfile. 1. Remove SGA_*…
ERROR: Invalid username and/or password LOG: Local Authentication failed…Attempt PAM authentication…PAM failed with error: Authentication failure
Introduction Solution to fix Invalid username and/or password LOG: Local Authentication failed Attempt PAM authentication Issue: Got the following error while s…
MDB application XXXX is NOT connected to messaging system
Introduction Solution for MDB application is not connected to messaging system Posted by Mahendran This can be avoided by using the parameter below <start-mdbs-…
How to deconfig oracle rac grid installation, deinstall oracle rac grid
Introduction: We will see how to uninstall oracle rac grid Posted by Karthik Steps to deinstall wrongly installed oracle RAC GRID. [root@test ~]# cd /u01/app/gr…
Steps for tuning Redo logs and Checkpoints (Contention, Waits, Number/Duration of Checkpoints)
Introduction: Steps for tuning Redo logs and Checkpoints Posted by Sandeep 1). Redolog Buffer Contention —————————– SELECT SUBSTR(name,1,20) “Name”,gets,misses,…
OEM Agent Upgrade From 12 1 0 1 to 12 1 0 3
Introduction We will see how to upgrade OEM Agent From 12 1 0 1 to 12 1 0 3 Posted by gopinath 1.1) Steps to Upgrade target OEM agent from 12.1.0.1 to 12.1.0.3…
OPP “outofmemory” best practices
Introduction OPP “outofmemory” best practices Posted by gopinath OPP “outofmemory” best practices The “outofmemory” error occurs – when the Output Post Processo…
Opatch lsinventory or Apply Output Issue Because of Lock File
Introduction We will see how to Apply Output Issue Because of Lock File or Opatch lsinventory Posted by Selvakumar Raja When performing command “opatch lsinvent…
Tuning SQL Statements Using SQL Tuning Advisor (without Enterprise Manager)
Introduction uning SQL Statements Using SQL Tuning Advisor Posted by Arun Tuning SQL Statements Using SQL Tuning Advisor (without Enterprise Manager) Below are…
APEX INSTALLATION WITH HTTP(OHS) SERVER
Introduction We will see how to install APEX WITH HTTP(OHS) SERVER Posted by Sakthi Sethu Perumal APEX INSTALLATION WITH HTTP(OHS) SERVER Description: 1.We have…
How to Generate auth token in Oracle public cloud
Introduction Steps to Generate auth token in Oracle public cloud Posted by :Arun Introduction We will see How to Generate auth token in Oracle public cloud How…
Output Post Processor is Down with Actual Process is 0 And Target Process is 1
Introduction Solution to fix Output Post Processor is Down with Actual Process is 0 And Target Process is 1 Posted by :Nirmal Kumar Introduction Solution to fix…
Weblogic Patching Error Using BSU – “java.lang.OutOfMemoryError: GC overhead limit exceeded”
Introduction Solution for Weblogic Patching Error Using BSU – “java.lang.OutOfMemoryError: GC overhead limit exceeded” Posted by:Selvakumar Raja While applying…
Goldengate: ERROR OGG-08221 – Cannot Register Or Unregister EXTRACT In Oracle GoldenGate
Introduction Solution for OGG-08221 – Cannot Register Or Unregister EXTRACT In Oracle GoldenGate Posted by: Sunilkumar OGG-08221 – Cannot Register Or Unregister…
Goldengate: ./ggsci: error while loading shared libraries: libclntsh.so.12.1: cannot open shared object file: No such file or directory
Introduction: Solution for Goldengate: ./ggsci: error while loading shared libraries Posted by:Sunilkumar Error while loading shared libraries: libclntsh.so.12.…
Goldengate: REPLICAT ABENDS OGG-00423 Could not find definition for demo.xxxx
Posted by sunil71093 Introduction Solution for REPLICAT ABENDS OGG-00423 Could not find definition for demo.xxxx This is a case-sensitivity issue. The object na…
Few queries for OPP
Introduction Few queries for OPP Posted by Akhash Ramnath 1. How to monitor the workload of OPP In general “Administer Concurrent Manager Screen” shows pending…
Cloning a PDB in Same CDB in 12c
Introduction Cloning a PDB in Same CDB in 12c Posted by :Ramkumar The Hot cloning is ability to clone a active database, and create a copy of that database in m…
Weblogic Smart Update (BSU) Hangs when Starting or Errors with Exception in thread “Main Thread” java.lang.OutOfMemoryError
Introduction Solution to fix if Weblogic Smart Update (BSU) Hangs when Starting or Errors with Exception in thread “Main Thread” java.lang.OutOfMemoryError Post…
OGG-00529 DDL Replication is enabled but table gguser.GGS_DDL_HIST is not found. Please check DDL installation in the database.
Introduction Solution to fix the error OGG-00529 DDL Replication is enabled but table gguser.GGS_DDL_HIST is not found Posted by Sunilkumar Configure Goldengate…
Please move GGUSER to its own tablespace
Posted by sunil71093 Please move GGUSER to its own tablespace SQL> @ddl_setup.sql Oracle GoldenGate DDL Replication setup script Verifying that current user has…
Configuring the JBoss ON Server as a Service on Red Hat Enterprise Linux
The rhq-server.sh script can be managed by the init process so that the server starts automatically when the system boots. This also allows the server process t…
Ansible: Install and Configure Ansible Tower On oracle linux 7
Introduction Steps to install Ansible: Install and Configure Ansible Tower On oracle linux 7 Posted by Sunilkumar Ansible: Install and Configure Ansible Tower O…
Creating a Custom Application in Oracle E-Business Suite Release 12.2
Introduction: Steps to create Custom Application in Oracle E-Business Suite Release 12.2 Posted by Sakthi Sethu Perumal Step 1: Create A Custom Application Usin…
AD Administration error:Connected to db edition other than RUN and PATCH
Introduction Solution to fix AD Administration error:Connected to db edition other than RUN and PATCH Posted by Sundaravel Ramasubbu Issue: When we try to compi…
RMAN duplicate database having multiple directories to assign to BACKUP LOCATION
Introduction Steps to assign Backup location in Rman duplicate database having multiple directories. Posted by Mahendran Applies To By default RMAN picks one ba…

18c Oracle Database Installation(On-Premise)
Posted by : AnilKumar Kandepu You have three options to install database; Starting with Oracle Database 18c release. 1) Image-based Oracle Database Installation…
Query to find audit information about dropped users
Find audit information about dropped users NOTE : “DROP USER” is audited by default from Oracle 12c onwards. Use the below query to take information if you have…
ORA-01270: RENAME operation is not allowed if STANDBY_FILE_MANAGEMENT is auto
INTRODUCTION : This post describes renaming a datafile in standby. NOTE : In Primary database renaming a Datafile will not be reflected in Standby database even…
Extract a particular file from an zipped archive file to a given directory.
Unzip particular file from an zip file NOTE : Sometimes we would know the archive file present in zip folder and would like to unzip only that particular file.…
Query to check when the profile was updated
To check when the profile was updated. QUERY : select p.profile_option_name SHORT_NAME, n.user_profile_option_name “PROFILE NAME”, decode(v.level_id, 10001, ‘Si…
APEX INSTALLATION WITH HTTP(OHS) SERVER
APEX INSTALLATION WITH HTTP(OHS) SERVER Description: 1.We have to install first apex in our database after we have to install http(OHS) server: Apex Installatio…
ORA-28000 “the account is locked” in the standby database
INTRODUCTION : This Post describes that account is locked in the standby database, even after the account was unlocked in the primary. Scenario: The user attemp…

Installing and Configuring ASMLIb on Oracle Linux 7
Differences to start ASMLib on OEL 6 and 7. Quick guide to install (done on OEL 7), start and configure: 1. Install the ASMLib kernel module package as root usi…

How to Resolve Error in invoking target ‘agent_nmhs’ of makefile ins_emagent.mk
ins_emagent.mk During the installation of Oracle 11.2.0.4 on RHEL 7, I faced this error about ins_emagent.mk below: error in invoking target ‘agent nmhs’ of mak…

error: package cvuqdisk is not installed – grid installation
While installing ORACLE GRID INFRASTRUCTURE the below issue is faced. I managed to install the RMP from the grid software itself. Work Around: Locate the cvuqdi…

oracleasm module not loaded or /dev/oracleasm not mounted
Tried to create disk using # oracleasm createdisk DATA1 /dev/xvdc11 oracleasm module not loaded or /dev/oracleasm not mounted. SOLUTION: # oracleasm status Chec…
R12.2: Workflow Java Deferred Listener Goes Down with java.sql.SQLException: ORA-01000 ,WF_EVENT_OJMSTEXT_QH.ENQUEUE on Maximum Open Cursor
Issue : R12.2: Workflow Java Deferred Listener Goes Down with java.sql.SQLException: ORA-01000 ,WF_EVENT_OJMSTEXT_QH.ENQUEUE on Maximum Open Cursor …
RMAN Backup of SPFILE Returns Error ORA-17507: I/O request size 512 is not a multiple of logical block size
Issue : RMAN Backup of SPFILE Returns Error ORA-17507: I/O request size 512 is not a multiple of logical block size Cause : Snapshot controlfile is config…
ORA-00600: internal error code, arguments: [kzckmumkm: input mkm size] TDE keystore backup 12.2
Issue : ORA-00600: internal error code, arguments: [kzckmumkm: input mkm size] TDE keystore backup 12.2 Cause : The issue happens where there is an Incorr…
RMAN Backup to Oracle Database Backup Cloud Service fails with KBHS-00715 ORA-29024
Issue : RMAN Backup to Oracle Database Backup Cloud Service fails with KBHS-00715 ORA-29024 Cause : ORA-29024 is raised due to incorrect certificate chain. Solu…
Backups Have Failed For OIC-C – ORA-19554: error allocating device
Issue : Backups Have Failed For OIC-C – ORA-19554: error allocating device Cause : Certificate validation error during backup Solution : Please set the followin…
RMAN Backup Error ORA-19588: Archived Log Recid Stamp Is No Longer Valid
Issue : RMAN Backup Error ORA-19588: Archived Log Recid <n> Stamp <nn> Is No Longer Valid Cause : 1. Invalid records in the controlfile 2. The rman backup…
Oracle EBS R12 Notification Mailer Does Not Start, Remains In Status Starting
Issue : Notification Mailer Does Not Start, Remains In Status Starting Cause : The problem is very likely to occur after a clone process is performed, therefore…
Web Applications Desktop Integrator (Web ADI)
· Step 1.1. Microsoft Excel and Word Configuration Requirements for WebADI Integration o Step 1.1.1. Macro Settings o Step 1.1.2. Developer Macro Settings o Ste…
Microsoft Projects Configuration Requirements for WebADI Integration
To integrate Microsoft Projects with WebADI, make sure the following settings are enabled in Microsoft Projects and Internet Explorer on the users desktop. Step…
Login Page Error in R12.2 The system has encountered an error while processing the request
On 12.2.x version, Post cloning When attempting to login to oracle applications the following error occurs: The system has encountered an error while processing…
List of Bugs, Issues and Solutions Fixed in 12.2.7 & 12.2.8 Release
1.1 Fixed in 12.2.7 Release These issues have been fixed in 12.2.7 RUP, 12.2.0 CUP8 or associated patches. Bug No Upgrade Stage Upgrade Script Other References…
E-Business Suite 12.2 Forms Error ‘FRM-92101’ Connection from new browser window not supported if using custom jars not added in user jarfile
When accessing the forms with using IE8 and higher, opening 2nd forms applet fails with the following error: ERROR FRM-92101: There was a failure in the Forms S…
Calculation program is failing with dead lock error very frequently in R12.2
Cause: The deadlocks appear to have been caused by the database table storage parameter initrans being set too low. The default value for initrans is 10 f…
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 nnnnn’
Requests fail during Post Processing with the following errors: ‘Unable to find an Output Post Processor service to post-process request xxxxx. Check that the O…
Using sql_profile to force a execution plan
Often, we face an issue where developers shout on us that their query was performing good and now it is behaving bad. There can be many cause for this lag but i…
No Write Permission on ACFS Mount Point
We managed to create the ACFS Mount Point after resolving the issue “ACFS-9459: ASVM/ACFS is not supported on this os version”. But, after creating the ACFS Mou…
How To Purge FND_AQ Tables
Symptoms(Doc ID 1156523.1) 1. The Internal standard manager take a long time to startup 2. The table AQ$_FND_CP_GSM_OPP_AQTBL table grow up enormously and has a…
AutoConfig Encounters ORA- errors in a fresh physical standby database for EBS 12.2.7
For the past few days, i was making my hands dirty on setting up a physical standby database for EBS 12.2.7. Once i had…
Untitled
How To Allow ADOP To Continue As If It Were Successful After Hitting An Error While Applying Patch(es) We can skip patches when there are multiple patches in a…
ORA-15067: command or option incompatible with diskgroup redundancy
When dropping an online disk from a diskgroup why is ORA-15067 error returned? SQL> alter diskgroup data01 drop disk data01_01; alter diskgroup data01 drop disk…
Untitled
Data dictionar…
Untitled
Timeout Error Encountered for pasteBinary.sh While Running “adop phase=fs_clone” While running fs_clone phase in 12.2.2, we have faced the following…
expdp job still executing even after killed from OS level
I killed a expdp job from OS level but I saw that the job still executing. I started the job as background like below: $ nohup expdp “/ as sysdba” parfile=expor…
ORA-20005: object statistics are locked (stattype = ALL) – Solution
During tuning a query, I found one table has stale statistics. While running gather stats for that table, got below error. Let me demonstrate with a demo table:…
SSD script
— Find segments with most read operations, and hopefully relatively few writes — These are good candidates for placing on SSD storage WITH segment_stats …
check and kill
— Check what the sessions in our instance are waiting for select event,count(*) from v$session group by event order by count(*); — Flexible query to check what’…
TFSCLOCK
SET ECHO off REM NAME: TFSCLOCK.SQL REM USAGE:”@path/tfsclock” REM ———————————————————————— REM REQUIREMENTS: REM SELECT on V_$LOCK, V_…
Start workflow services from backend
Get the component id from below command col component_name for a20; col COMPONENT_STATUS for a20; select COMPONENT_NAME, COMPONENT_STATUS,Component_Id from fnd_…
Get standard view definition details
Sometime you wonder about the standard oracle views that where it gets information. Also, you might be interested in getting base table information so tha…
Last added datafile in Oracle
Below query will give you the last added datafile in oracle. This will be useful to check whenever you have datafile related issues. DBA_HIST_DATAFILE is the vi…
Shrink datafile with free space beyond high water mark
There are times where we need to clear the space of the mount point when the database grows. Sometimes, we run out of space and we may need to wait for storage…
Unzip particular file from an zip file
Sometimes we would know the archive file present in zip folder and would like to unzip only that particular file. The ‘-j’ option help us to achieve the s…
How to Tar excluding few sub directories
Many of us would have perform tar of directories for cloning/file movement between the servers. Many times we would have think to exclude some sub-directo…
Not Able To Create A New Database Connection: FNDSECURITY_APPL_SERVER_ID with Instance Mapping For iSetup
ISSUE: On Oracle Applications 12.1.3 version, when attempt to register the target instance on a central instance,getting following error: Message not found. App…
OPatch Failed with Error Code 19 – “The OPatch version is not applicable for current OUI version”
ISSUE: While trying to apply a patch on a Fusion Middleware or WebLogic Server Oracle home, the following error occurs: $ ./opatch lsinventory -jre /usr/java/jd…

Untitled
ORA-29702: error occurred in Cluster Group Service operation ORA-29702: error occurred in Cluster Group Service operation If you are working on Solaris&nbs…
Untitled
Applying WebLogic Server APRIL PSU 2019 WebLogic 29016089 PATCH Fails saying “Conflicts/Supersets” or “error code 73” OPatch details: – [oraapp@middle…
how to increase connection timeout in weblogic
We need to follow below steps to set this option : -Dsun.net.client.defaultConnectTimeout=5000) through Weblogic Admin Console. To set this JVM options using th…
How to set initial and max heapsize in weblogic
When we create a managed server either on the same machine or on remote machine it gets its initial startup parameters from $DOMAIN_HOME/bin/setDomain…
How to apply weblogic bsu patch
step1: Download latest “patch-client-installer310_generic32.jar” from Oracle Support Site step2: Go to “bsu” directory of your WLS Ins…
OGG-01172 Discard file (dirrpt/REPTMP.dsc) exceeded max bytes (20000000).
OGG-01172 Discard file (dirrpt/REPTMP.dsc) exceeded max bytes (20000000). One of my replicate got abended due to discard file reach max bytes value. There…
OGG-02538 Cannot unregister REPLICAT REPIR because of the following SQL error: OCI Error ORA-00942: table or view does not exist (status = 942)
Unregistering an INTEGRATED REPLICAT from an unsupported Oracle database (11.2.0.3) OGG-02538 Cannot unregister REPLICAT REPIR because of the following SQ…

Login to Oracle Cloud …. After Oracle Cloud Promotion Account Creation
This post is in continuation of my previous post. After you created promotion account, you will receive an confirmation email along with credentials from oracle…

How to Create Oracle Cloud Promotion Account
This post is to create Promotion (trial) account for Oracle public Cloud. 1. Open below link in Web Browser. Enter Valid Email Address https://myservices.…

Untitled
18c Oracle Database Installation(On-Premise) You have three options to install database; Starting with Oracle Database 18c release. 1) Image-b…

Untitled
SYSTEM Tablespace is space increasing Abnormally in 12c SYSTEM tablespace was growing rapidly. We observe that we were not doing much on this database. Only few…

Terraform : Creating New EC2 instance via Terraform
In this post, We will share – What is Terraform, How to install it, and How to Create EC2 instance via Terraform. What is Terraform Terraform is a tool for buil…
Untitled
List of hidden parameters in Oracle database:- SET PAUSE ON SET PAUSE ‘Press Return to Continue’ SET PAGESIZE 60 SET LINESIZE 300 COLUMN ksppinm FORMAT A50 COLU…
Steps to clone a database through RMAN using standby database.
Please follow the below for database clone through RMAN using standby database. 1) Step 1: ——————- a) Cancel the recovery in CTL DR on dbpr…
Steps to upgrade Time Zone version to 26 for 12.2 database.
Please follow the below steps to update the timezone to 26 for 12.2 database. conn / as sysdba purge dba_recyclebin; EXEC DBMS_APPLICATION_INFO.SET_CLIENT_INFO(…
Script to get explain plan for the baselines created with SQL_ID
Please run the below query and get the explain plan for which baselines created for an SQL ID. col sql_text for a60 wrap set verify off set pagesize 999 set lin…
Script to copy table from one database to another database
— STEPS: — — Disable constraints — Disable triggers — Copy — Enable constraints — Enable triggers SET SERVEROUTPUT ON PROMPT Enter the table’s name you want to…
Script to get the details of Index fragmentation of a schema
prompt — Drop and create temporary table to hold stats… drop table my_index_stats / create table my_index_stats ( index_name varchar2(30), height number(8), del…
Script to determine the high water mark of tables
set verify off column owner format a10 column alcblks heading ‘Allocated|Blocks’ just c column usdblks heading ‘Used|Blocks’ just c column hgwtr heading ‘High|W…
Script to analyze all table and index partitions individually
set feed off echo off head off trimspool on line 500 spool /tmp/analyze$$.sql select ‘ANALYZE TABLE ‘||table_owner||’.’||table_name||’ partition (‘|| partition_…
Script to know the audit information
conn / as sysdba tti “Auditing Initialisation Parameters:” select name || ‘=’ || value PARAMETER from sys.v_$parameter where name like ‘%audit%’ / tti “Statemen…
Script to delete RMAN backupsets older than a specified number of days
DAYSTOKEEP=60 # — Do not change anything below this line ————————— CMDFILE=/tmp/rmanpurge$$.rcv LOGFILE=/tmp/rmanprige$$.log if [ ! -x $ORACLE_HOME/bin/rman ];…
Script to list all Installed Oracle Products
PAGER=more if [ ! -d “${ORACLE_HOME}” ]; then print “ERROR: Oracle home not set.” exit -1 fi print “Oracle Installed Products for ORACLE_HOME ${ORACLE_HOME}:” i…
DBALAM
# ###################################################################################################################################################### # Datab…
start and stop tracing script
# ################################################# # Script to Enable tracing for an Oracle Session. # # # # # # ###############…
Moving objects from one tablespace to another
set serveroutput on set lines 300 DECLARE V_CURRENT_TABLESPACE VARCHAR2(50); V_DEST_TABLESPACE VARCHAR2(50); V_SQL VARCHAR2(1000); V_OVE…
Query to find list of users who modified the profile options
SELECT fpot.user_profile_option_name, profile_option_value, fpov.creation_date, fpov.last_update_date, fpov.creation_date – fpov.last_update_date “Change Date”,…
A concurrent request fails to complete successfully due to a timeout caused by the Concurrent Processing integration with BI Publisher (formerly XML Publisher) functionality
ISSUE: A concurrent request fails to complete successfully due to a timeout caused by the Concurrent Processing integration with BI Publisher (formerly XML Publ…
Various programs (like the AP Trial Balance and Invoice Register Report) complete with a warning status. The log file shows the following error message:
Issue: Various programs (like the AP Trial Balance and Invoice Register Report) complete with a warning status. The log file shows the following error message:…

Untitled
MAX_STRING_SIZE Parameter In Oracle 12c This parameter was introduced in Oracle 12c. MAX_STRING_SIZE controls the maximum size of string size in Oracle database…
Untitled
Default Collation and PL/SQL PLS-00761: Program unit collation may only be USING_NLS_COMP One of the new features that got introd…
Oracle Notification Troubleshooting in 3 steps
From the failed notification, determine the notification ID. Step 1: Use the notification ID to determine the context under which the API was called select subs…
SOA certification import using keytool
1)Login as soauser and append below environment variables in .profile export SOA_HOME=/DEVSOA/product/SOASuite export JAVA_HOME=$SOA_HOME/jdk export PATH=$SOA_H…
Error in password verification for APPS
FNDCPASS error in R12 as below. [app***@yrdy-testapp ~]$ cat L6630162.log +—————————————————————————+ Application Object Library: Version : 12.1 Copyright…

Attach block volume using ICSCI commands and create mount points in OCI
Attach created storage in new server using ISCSI commands: Verify storage attachment using fdisk fdisk –l Create physical volume pvcreate /dev/sdb Create volume…
Quick installation of OCI client
Below command will quickly install all perl/python libraries along wit CLI sudo yum install gcc libffi-devel python-devel openssl-devel sudo easy_install pip cu…
TUNING SQL STATEMENTS USING SQL TUNING ADVISOR (WITHOUT ENTERPRISE MANAGER)
Below are the steps to use SQL Tuning Advisor for particular SQL.1) Create tuning task using SQL_ID2) Execute tuning task3) Generate report for the tuning taskS…
Restricting access to su for group(dba) of users.
Providing su access to group of users in Oracle Cloud. Add below line in /etc/sudoers.d/90-cloud-init-users %dba ALL=(ALL) NOPASSWD: /bin/su – oracloud And then…
Server login details like who and when logged in OCI server
Option 1: We shall schedule this periodically to get the report cat /var/log/secure* | grep Accepted Option2: We shall use last or lastb command. T…
Creating a Swap File in OCI
To add a swap file: Determine the size of the new swap file in megabytes and multiply by 1024 to determine the number of blocks. For example, the block size of…
How to fix an “out of Sync”:repair table Shareplex replication in oracle database
How to fix an “out of Sync”:repair table Shareplex replication in oracle database ================================================== please first note that we h…
SharePlex tips
–setup shareplex steps 1. install shareplex software at source and target2. startup shareplex at source and target3. stop post at target4. activate config confi…
How to Add LDAP Users and Groups in OpenLDAP on Linux
To add something to the LDAP directory, you need to first create a LDIF file. The ldif file should contain definitions for all attributes that are required for…
"Verify Access Signing Certificate in Settings" in OCI when running curl REST calls
Those days I was trying to retrieve some OCI Json data using REST calls via curl. However, even though I’ve set up an application and Client ID and Secret accor…
The best upcoming features in Oracle Database 19c
As we DBA’s are always excited about the upcoming features, I will share below some of the main things that I’ve spotted on OOW. Please note that this can chang…
REST API for Oracle Database Cloud Service:
Start a Backup Operation POST /paas/service/dbcs/api/v1.1/instances/{identityDomainId}/{serviceId}/backups Starts an on-demand backup for a Database Cloud Servi…
The server is asking for your user name and password. The server reports that it is from XDB.
Issue: “The server” “is asking for your user name and password”. “The server reports that it is from XDB” Got the above error while accessing the apex applicati…
Internal Concurrent Manager logfile Error : Routine &ROUTINE has attempted to start the internal concurrent manager.
Internal Concurrent Manager logfile Error : Routine &ROUTINE has attempted to start the internal concurrent manager. Issue : Users encounter the following error…
Concurrent Manager : Standard Manager Going Down and Actual and Target Processes are Different
Issue : Concurrent manager (includes Standard Manager) is not stable, actual and target processes are different. Navigation :- Logging as Sysadmin > Concurrent…
ICM Log Filled With: Could not contact Service Manager FNDSM_ The TNS alias could not be located on RAC with Multi Apps Tiers
Error : Could not contact Service Manager FNDSM_SRVRAP2_PROD. The TNS alias could not be located, the listener process on SRVERPAP2 could not be contacted, or t…
Error: Your Oracle E-Business Suite account has not been linked with the Single Sign-On account that you just entered.
Error: Your Oracle E-Business Suite account has not been linked with the Single Sign-On account that you just entered. Issue : Gettig the Error below while logg…
Error while activating 'Oracle ERP Cloud' Endpoint Integration error 'Integration "LLU_TEST_JOURNALIMP | 1.0" cannot be activated.
Error : Cannot active Integration : “LLU_TEST_JOURNALIMP | 1.0” Fails with error: ERROR —— error ‘Integration “LLU_TEST_JOURNALIMP | 1.0” cannot be activated. I…
Error : ORA-10459 "cannot start media recovery on standby database; conflicting state detected"
Error : ORA-10459 “cannot start media recovery on standby database; conflicting state detected” Cause : An attempt To Start Up The MRP Process In Physical Stand…
Error : ORA-00600:[KFDARELOCSET10] DURING ASM REBALANCE
Error : ORA-00600:[KFDARELOCSET10] DURING ASM REBALANCE Cause : Rebalance operation can be initiated because of disk being added or manual rebalance. Cause of t…
Error : FRM-40010 Cannot Read From /path/form.fmx Error in 12c
Error : FRM-40010 Cannot Read From /path/form.fmx Error in 12c Cause : New Forms 12c installation. Expected behavior since Forms 12c version. Solution : Startin…
Error Running RMAN duplicate of Offline (Cold) Database Backup
Issue : Error Running RMAN duplicate of Offline (Cold) Database Backup Cause : When the target database is running in ARCHIVELOG mode, RMAN will want to do some…
Error : RMAN Active Database Duplicate For Standby Failing With ORA-15001 Diskgroup FRA Does Not Exist
Error : RMAN Active Database Duplicate For Standby Failing With ORA-15001 Diskgroup FRA Does Not Exist Issue : In primary, SNAPSHOT CONTROLFILE NAME was wrongly…
Form did not come up after cloning. FRM-40010: Cannot read form FND_TOP/forms/US/FNDSCSGN
Issue : Form did not come up after cloning. FRM-40010: Cannot read form FND_TOP/forms/US/FNDSCSGN Solution : 1. Stop the application tier services 2. Take a bac…
Login In Oracle Database Service Cloud as root user
Cause : Oracle doesn’t allow direct access to root on cloud machines. sudo is the only option users have to access the root privileges. Solution for the above i…
Query Clause In Expdp(DATAPUMP)
Query Clause In Expdp(DATAPUMP): ================================ QUERY clause can be used in expdp or impdp to export/import subset of the data or data with sp…
REUSE_DUMPFILES Parameter In EXPDP
REUSE_DUMPFILES Parameter In EXPDP: =================================== If we try to export a dump file with the name, which is already present in that director…
Find user commits per minute in oracle database
Find user commits per minute in oracle database: =================================== Below script is useful in getting user commit statistics information in the…
ENABLE_PARALLEL_DML Hint In Oracle 12c
ENABLE_PARALLEL_DML Hint In Oracle 12c: ======================================= Till Oracle 12c, For doing DML transactions in parallel, we need to enable PDML…
IN-MEMORY In Oracle 12c
IN-MEMORY In Oracle 12c ======================= How to check whether inmemory is enabled or not: SQL> show parameter inmemory NAME &n…
MONITORING LONG RUNING QUERY
MONITORING LONG RUNING QUERY ============================== using the v$session_longops view, you can view any SQL statement that executes for more than 6 secon…
Untitled
Deinstall Oracle Database 12c with all PDBs Deinstall Oracle Database 12c with all PDBs How to deinstall oracle database 12c and all PDBs which are connected to…
Untitled
Oracle Database 12c Silent Installation Oracle Database 12c Silent Installation Step 1 PrerequisitesStep 2 Assumption for In…
Untitled
Adop fs_clone fails with error – the following nodes are not in sync. Issue: EBS Application is multi node setup and a patch has been applied by DBA from Primar…
Untitled
…
Untitled
Workflow notification mailer not sending emails in Oracle Apps We often find issues in Oracle App…

Untitled
SYSTEM Tablespace is Growing Abnormally in 12c SYSTEM Tablespace is Growing Abnormally in 12c My SYSTEM tablespace was growing rapidly. This was happening in my…

Untitled
Set Autotrace Traceonly giving error SP2-0618 and SP2-0611 in Oracle 18c I was trying few things in Oracle 18c database using command window and needed autotrac…
Database restoration Failed with ORA-15001,ORA-17502
Database restoration Failed with ORA-15001,ORA-17502 Symptoms : channel ORA_DISK_1: starting datafile backup set restorechannel ORA_DISK_1: specifying datafile(…
Path is lost with error in ASM
Path is lost with error Symptoms: Errors in file /u01/oracle/product/diag/asm/+asm/+ASM/trace/+ASM_gmon_11519.trc:ORA-27072: File I/O error>>>>>Linux-x86_64 Err…
PRCR-1013 : Failed to start resource ora.proxy_advm + ORA-09925: Unable to create audit trail file
PRCR-1013 : Failed to start resource ora.proxy_advm + ORA-09925: Unable to create audit trail file Symptoms : # srvctl start asm -proxy -n asmcloud1 PRCR-1013 :…
Volume Creation endup with ORA-15221
Volume Creation endup with ORA-15221 Symptoms : ASMCMD> volcreate -G DATA -s 250G volume1ORA-15032: not all alterations performedORA-15479: ASM diskgroup does n…
"ORA-01017: invalid username/password; logon denied" while starting up asm
“ORA-01017: invalid username/password; logon denied” while starting up asm Symptoms : I. ASM instance can be started manually using sqlplus “/as sysasm” but the…
Correct permission for oracle binary from GRID and RDBMS Home and ASM devices to avoid ORA-27041 ORA-15025 ORA-15081
Correct permission for oracle binary from GRID and RDBMS Home and ASM devices. GRID(oracle binary) RDBMS(oracle binary) ASM Devices permission Correct Pe…
RMAN-20109: remote database has different database ID
Cause: Command RESYNC CATALOG FROM DB_UNIQUE_NAME was executed and the database ID of the remote database was different than the connected target database. Acti…
RMAN-20222: datafile name not found in recovery catalog or is ambiguous
Cause: The specified datafile name is not the name of a datafile that is currently part of the target database, or an UNTIL clause has been specified and the fi…
RMAN-20246: new db_unique_name is already known to the recovery catalog
Cause: the user specified known DB_UNIQUE_NAME value when renaming a DB_UNIQUE_NAME in the recovery catalog. Action: change the database DB_UNIQUE_NAME to…
RMAN-20501: redo logs from parent database incarnation cannot be applied
Cause: A RESTORE or RECOVER of a datafile was requested, but recovery of the datafile would require applying redo logs that were generated before the most recen…
RMAN-20507: some targets are remote – aborting restore
Cause: During the restore process, one or more backup files were unavailable locally for the restore operation. Action: This message should be accompanied with…
RMAN-20511: database name is ambiguous in source recovery catalog database
Cause: Two or more databases in the source recovery catalog database match this name. Action: Use DBID option in IMPORT CATALOG command to specify the sou…
RMAN-20512: source database already registered in recovery catalog
Cause: Source database was already registered in the recovery catalog. Action: If the source database is really registered, there is no need to register it agai…
ORA-39358: Export dump file version 12.1.0.2.0 not compatible with target version 11.2.0.4.0
Problem: While doing import got te below error. ORA-39358: Export dump file version 12.1.0.2.0 not compatible with target version 11.2.0.4.0 . Solution: 1. Chec…
OPATCHAUTO-72046: No Wallet Option Provided
Problem: While applying latest PSU patch on oracle 12c RAC database, execution of opatchauto apply command got below error. $ORACLE_HOME/OPatch/opatchauto apply…
Query to find audit information about dropped users
Find audit information about dropped users “DROP USER” is audited by default from Oracle 12c onwards. Use the below query to take information if you have not tu…
ORA-28017: The password file is in the legacy format.
SQL> alter user sys identified by iossKfGHsdsdUVu93xxswQ; alter user sys identified by iossKfGHsdsdUVu93xxswQ * ERROR at line 1: ORA-28017: The password file is…
ORA-39165: Schema SYS was not found ORA-39166: Object AUD$ was not found.
When trying to backup the SYS.AUD$ table using datapump getting below error expdp directory=EXPDR dumpfile=SYS_AUD_table.dmp logfile=exp_SYS_AUD_table.log table…
RMAN-06820: WARNING: failed to archive current log at primary database
CAUSE: From 11.2.0.4 onward as per ‘unpublished’ Bug 8740124, We include the current standby redo log as part of an RMAN archivelog backup at the standby site.…
ORA-01031: insufficient privileges
Cause: An attempt was made to change the current username or password without the appropriate privilege. This error also occurs if attempting to install a datab…
ORA-00257: archiver error. Connect internal only, until freed.
Cause: The archiver process received an error while trying to archive a redo log. If the problem is not resolved soon, the database will stop executing transact…
ORA-07445 – exception encountered: core dump
ORA-07445 – exception encountered: core dump Cause : An operating system exception occurred which should result in the creation of a core file. This is an inter…
ORA-00245: control file backup failed; target is likely on a local file system
ORA-00245: control file backup failed; target is likely on a local file system $ cat rman_ORA-DATA_full-02Aug2017.log Starting backup at 02-AUG-17 channel c1: s…
RMAN failed to connect target database with ORA-00020: maximum number of processes (150) exceeded
Solution: Here, we can see in error as maximum number of processes has exceeded. So, we need to Increase the number of processes from sys user with sysdba privi…
ORA-00609: could not attach to incoming connection ORA-609: opiodr aborting process unknown ospid ORA-609: opiodr aborting process unknown ospid Cause and Solution
ORA-00609: could not attach to incoming connection This error is usually a secondary error. This means that the actual cause of the issue is another…
ORA-02304: invalid object identifier literal
ORA-02304: invalid object identifier literal Cause: An attempt was made to enter an object identifier literal for CREATE TYPEthat is either: – not a string of 3…
ORA-02266: unique/primary keys in table referenced by enabled foreign key
ORA-02266: unique/primary keys in table referenced by enabled foreign key Cause: An attempt was made to truncate a table with unique or primary keysreferenced b…

Untitled
Extended Data Type in Oracle 12c Extended Data Type in Oracle 12c Oracle 12c introduced extended data types, in which, VARCHAR2, NVARCHAR2, and RAW data t…

Untitled
How to Plug non-CDB database to CDB database? How to Plug non-CDB database oracle11g to CDB database? This article is in continuation of my previous article i.e…
Untitled
ORA-39142: incompatible version number 5.1 in dump file ORA-39142: incompatible version number 5.1 in dump file. Recently I came across one issue while importin…
Untitled
Active transactions in oracle database:- col name format a10 col username format a8 col osuser format a8 col start_time format a17 col status format a12 tti ‘Ac…
How to Resolve “ORA-29548: Java system class reported” in 12c?
After applying PSU to 12.1.0.2.0, the application gets following error. [Error] Execution (1: 1): ORA-29548: Java system class reported: release of classes.bin…
EBS R12 Login Page Is Not Coming Up – java.lang.RuntimeException: Guest user/pwd does not exist or match: GUEST/ORACLE
Acual Behavior E-Business Suite (EBS) Production Instance Login page is not coming up, Instead a blank page is being displayed. The issue can be reproduced at w…
How to attach ebs 10.1.2 oracle home to central inventory
This post is to define “How to attach ebs 10.1.2 oracle home to central inventory” bash-3.2$ opatch apply Oracle Interim Patch Installer version 1.0.0.0.64 Copy…
How To Create An OCM Response File.
During patching, Opatch tool may ask for an OCM (Oracle configuration manager) response file. OCM can collect the configuration of your servers and send it to O…
Opatch fails with Lock file error
While applying Oracle Patch, Opatch reports the below error : OUI-67064:OPatchSession cannot load inventory for the given Oracle Home /ora01/app/oracbr/product/…
INCOIN The concurrent program for your request exited without calling standard Application Object Library exit routines or the process could have been terminated by the operating system
1.Check with the DBA about the field LFILE_SIZE in the table FND_CONCURRENT_REQUESTS is set to what value. 2.Check if log file is created properly with LFILE_SI…
Query To Get Internal Manager (ICM) Log File Location
Query To Get Internal Manager (ICM) Log File Location ———————————————————————– SELECT ‘ICM_LOG_NAME=’ || fcp.logfile_name FROM fnd_concurrent_proce…
TNS-00583: Valid node checking: unable to parse configuration parameters
TNS-12560: TNS:protocol adapter error TNS-00583: Valid node checking: unable to parse configuration parameters I Received following errors whe…
Troubleshooting ASM Proxy instance startup
I had trouble starting ASM proxy instance on one of the nodes in my 2 node flex cluster having nodes host01 and host02. As a result I could not acce…
How to get the output xml file (.out) file of the specific concurrent request in application R12.
How to get the output xml file (.out) file of the specific concurrent request in application R12. Requirements: 1.Concurrent program Request ID. 2.Output file d…
Query to check assigned responsibility of FND User.
Query to check assigned responsibility of FND User. —————————————————————- select usr.user_id, usr.user_name, res.RESPONSIBILITY_ID, res.RESPONSIBILITY_NAME fro…
Query for High CPU consuming queries since past one day
set pages 50000 lines 32767 select * from ( select SQL_ID, sum(CPU_TIME_DELTA),sum(DISK_READS_DELTA),count(*) from DBA_HIST_SQLSTAT a, dba_hist_snapshot s where…
ORA-19566: Exceeded limit of 0 corrupt blocks for file:
**ORA-19566: Exceeded limit of 0 corrupt blocks for file: RMAN-00571: =======…
ORA-02374: Conversion error loading table during impdp
Error: ORA-02374: conversion error loading table “SCHEMA”.”TABLENAME” ORA-12899: value too large for column ENAME (actual: 66, maximum: 64) ORA-02372: dat…
ORA-27125: unable to create shared memory segment
When try to start up an Oracle database, the below errors occur: ORA-27125: unable to create shared memory segment Linux-x86_64 Error: 28: No space left on devi…
Query to Moving data files between disks
set trimspool on wrap off set heading off set verify off set pages 1000 lines 1000 spool rename.sql select ‘alter database rename file ”’ || …
Query for performance stats for the instance
select n.name, s.value from v$statname n, v$sysstat s where n.statistic# = s.statistic#…
Database Security Assessment Tool.
Database Security Assessment Tool. The Oracle Database Security Assessment Tool (DBSAT) analyzes database configurations, users, their entitlements, security po…
APEX IMAGE ISSUE (503 Unavailable Error raising while access or load the images through Apex user).
APEX IMAGE ISSUE (503 Unavailable Error raising while access or load the images through Apex user). Requirements: ————– Apex 5.1.3 ORDS 3.0.9 Glassfish 3.0 Erro…
ORA-39166 – When Trying To Export The Data From A View
When i am trying to export table i am facing below error. Error ==== ORA-39166: Object APEX_050100.xxxxxx was not found or could not be exported or import…
Query to find the concurrent programs completed in specific day.
Query to find the concurrent programs completed in specific day. ===================================================== select f.request_id , pt.user_concurrent_…
ORA-30079: cannot alter database timezone when database has TIMESTAMP WITH LOCAL TIME ZONE columns
Error ==== ORA-39166: Object APEX_050100.APEX was not found or could not be exported or imported. ORA-31655: no data or metadata objects selected for job Job “R…
Identifying the FND_LOBS segments attached to the database
Total number of attachments per program —————————————– select distinct program_name, count(*) from fnd_lobs group by program_name order by 2 desc; Total number…
Queries related to workflow
Important queries related to workflow 1.Check the status of Notifications: ==================================== col RECIPIENT_ROLE format a20 col FROM_USER form…
Export and Import from On-premise database to AWS cloud database
Schema Export and Import from On-premise database to AWS cloud database. Step 1:Connect the on-premise database and the export the schema DECLARE hdn…
ORA-16816: incorrect database role
In Data Guard, for some reason, standby database rule are incorrectly shown as primary database, while primary database shows as standby rule. DGMGRL> show conf…
ORA-27125: unable to create shared memory segment Linux-x86_64 Error: 28: No space left on device
When try to start up an Oracle database, the below errors occur: ORA-27125: unable to create shared memory segment Linux-x86_64 Error: 28: No space left…
DBMS_METADATA.GET_DDL Fails with ORA-04063 Error
Symptoms Call to dbms_metadata.get_ddl failed with following error – ORA-04063: package body “SYS.DBMS_METADATA” has errors expdp failed with following error –…
ORA-4063 when Executing DBMS_LOGMNR_D.SET_TABLESPACE (Doc ID 577426.1)
Symptoms — Problem Statement:Setiting logminer to a specific tablespace reports the following error SQL> create tablespace logmnr_tbs datafile ‘${vtbsp_dir01}/l…
Resolving ORA-02374: conversion error loading table during impdp
Error: ORA-02374: conversion error loading table “SCHEMA”.”TABLENAME” ORA-12899: value too large for column MINE_TEXT (actual: 66, maximum: 64) ORA-02372:…
GoldenGate – Error (904, ORA-00904: : Invalid Identifier) Selecting Data in ORAUTIL_getCurrentSCN()
GoldenGate – Error (904, ORA-00904: : Invalid Identifier) Selecting Data in ORAUTIL_getCurrentSCN() Extract process return error (904, ORA-00904: : invalid iden…
OGG-02544 Unhandled Error (ORA-00904: : Invalid Identifier) in replicat.
OGG-02544 Unhandled Error (ORA-00904: : Invalid Identifier) WARNING OGG-02544 Unhandled error (ORA-00904: : invalid identifier) while processing the record at S…
OGG-06601 Mismatch Between The Length Of Seqno From Checkpoint (9) And Recovery (6) For Ext
OGG-06601 Mismatch Between The Length Of Seqno From Checkpoint (9) And Recovery (6) For Ext Trying to read trail file which uses 6 digit checkpoint with version…
Command to check the details of applied Patch
Please find the below query to check. SQL>set pages 1000 SQL>set linesize 100 SQL>column APPLIED_PATCH_ID format 9999999999 SQL>column PATCH_NAME format a16 SQL…
Tracking failed logon attempts
I am doing an audit and I need to be able to track all failed login (logon) attempts. Because the user never gets logged-on to Oracle The Oracle auditing…
Oracle GoldenGate Architecture
Oracle Goldengate supports the replication of data across various heterogeneous platforms. The Goldengate replication topology includes the capture and transfer…
Untitled
PRCD-1229 : An attempt to access configuration of database xxxxxx was rejected PRCD-1027 : Failed to retrieve database xxxxxx PRCD-1229 : An attempt to acc…
Untitled
ORACLE GOLDENGATE AUTOMATIC CONFLICT DETECTION AND RESOLUTION(CDR) Automatic Conflict Detection and Resolution is a new feature that is specific to Oracle Golde…
Untitled
OPATCHAUTO-68061 The orchestration engine failed…
Query to find datafile used and free space
SELECT Substr(df.tablespace_name,1,20) “Tablespace Name”, Substr(df.file_name,1,40) “File Name”, Round(df.bytes/1024/1024,2) “Size (M)”, Round(e.used_bytes/1024…
Find the sql_text using ospid
Find top pids of oracle user $top -u oracle Enter the os pid and find the sql id select sid, sql_id from v$session s, v$process p where s.paddr = p.addr a…
Query to find all executing sql
Query to find all executing sql select sql_text from v$sqlarea where users_executing > 0 / Query to find a particular users current sql Select sql_text from v$s…
Query to find all constraints in a table
col type format a10 col cons_name format a30 select decode(constraint_type, ‘C’, ‘Check’, ‘O’, ‘R/O View’, ‘P’, ‘Primary’, ‘R’, ‘Foreign’, ‘U’, ‘Unique’, ‘V’, ‘…
Query to find the table with most physica i/o
select table_name,total_phys_io from (select owner ||’.’|| object_name as table_name, sum(value) as total_phys_io from v$segment_statistics where owner!=’SYS’ a…
Query to find which user using temp tablespace
select username, tablespace ,sql_id from v$tempseg_usage; (or) select S.sid,S.username,U.tablespace,S.sql_hash_value ||’/’|| U.sqlhash hash_value, U.segtype,u.c…
ORA-12154: TNS:could not resolve service name
If you are using local naming (TNSNAMES.ORA file): Make sure that “TNSNAMES” is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle…
Use of TABLE_EXISTS_ACTION parameter in IMPDP
Table_Exists_Action used in impdp if table is already exists in the database where you want to import. TABLE_EXISTS_ACTION = SKIP Table_Exists_Action =Skip: ski…
ORA-04044: procedure, function, package, or type is not allowed here
Note: Tables containing ‘$’ SYMBOL and when ever we use tables like v$session,v$log,v$logfile etc shell script take ‘$’ SYMBOL as shell variables and then while…
Script to know the history of an sql_id and its plan change details
selectSQL_ID, PLAN_HASH_VALUE, sum(EXECUTIONS_DELTA) EXECUTIONS, sum(ROWS_PROCESSED_DELTA) CROWS, trunc(sum(CPU_TIME_DELTA)/1000000/60) CPU_MINS, trunc(sum(ELAP…
Script will generate the list of users which are currently under waiting
set pages 50000 lines 32767col username format a12col sid format 9999col state format a15col event format a50col wait_time format 99999999set pagesize 100set li…
Script will create a report of reads,writes on your data files
col PHYRDS format 99,999,999 col PHYWRTS format 99,999,999 ttitle “Disk Balancing Report” col READTIM format 99,999,999 col WRITETIM for…
Script to generate gather table stats for all the tables which dont have upto date statistics
set serveroutput on set serveroutput on size 1000000 declare sql_string varchar2(2000); CURSOR OBJ IS select owner,table_name from dba_tables where last_analyze…
Script to know the procedure of a schema owner
ACCEPT user_namen CHAR PROMPT ‘Schema Owner: ‘ set feed off; set pagesize 10000; set wrap off; set linesize 200; set heading on; set tab on; set scan on; set ve…
OracleHomeInventory was not able to create a lock file
OUI-67076: opatch lsinventory Error Faced an issue with command ‘opatch lsinventory’ and reports below error in log file. Cause: OUI-67076:OracleHomeInventory w…
Privilage Analysis Basic 12cR2
Oracle 12c introduced the DBMS_PRIVILEGE_CAPTURE package, which allows you to track the privileges being used, making it much simpler to perform privilege analy…
How to resolve the "The file could not be uploaded because file size is too large Issue" in OEM 12c
How to resolve the “The file could not be uploaded because file size is too large Issue” in OEM 12c Step 1: Copy the patch to the staging area. Ex: /home/oracle…
Rebuild the DATAPUMP utility in Internal Error situations
Rebuild the DATAPUMP utility in Internal Error situations Step1 : Run the Catproc.sql in affected database: SQL> @$ORACLE_HOME/rdbms/admin/catproc.sql Step 2: C…
How To Setup Partitioned Linux Block Devices Using UDEV (Non-ASMLIB) for ASM
How To Setup Partitioned Linux Block Devices Using UDEV (Non-ASMLIB) 1) This example was performed on an OEL 6.3 configuration: [grid@asmlnx2 ~]$ uname -a Linux…
RAC Message Flow
RAC Message Flow Instance 1 …
How to find out the active sql details
column sid format 9999 column username format a12 column sql_text form a64 select a.sid,a.serial#,a.username,c.executions,status, b.sql_text from v$session a ,v…
Scriprt For Finding Unusable Index :
This scripts using finding unusable index. SET VERIFY OFF LINESIZE 200 COLUMN owner FORMAT A30 COLUMN index_name FORMAT A30 COLUMN table_owner FORMAT A30 COLUMN…
Query showing unsuccessful logins for local users in E-Business Suite
set pagesize 1000 set linesize 200 select u.user_name, ful.user_id, to_char(attempt_time,’DD-MON-RRRR HH24:MI:SS’) attempt_time from fnd_unsuccessful_logins ful…
After Clone Concurrent Managers not coming up
When cloned my DEV instance last time, I have an issue with concurrent manager not coming up using Finally decided to stop the concurrent manager using $A…
Apex front end issue
ISSUE: After installing apex front end is not opening SOLUTION: This is because dispatchers parameter hasn’t set. STEPS: SQL> select value from v$paramete…
script will list unnecessary privs in the APPLSYSPUB account
col GRANTOR format a24 col PRIVILEGE format a14 col TABLE_NAME format a32 select GRANTOR,PRIVILEGE, TABLE_NAME from DBA_TAB_PRIV…

Enable Diagnostics in Oracle apps for certain user.
How to enable Oracle apps Diagnostics-> Examine, for certain users? Steps 1 Navigate to System Administrator responsibility> Profile> System> Steps 2 Enter prof…
query to find all the select statement which is using Full Table Scan
query to find all the select statement which is using Full Table Scan SELECT SQL_ID,OPERATION,OPTIONS,OBJECT_NAME,OBJECT_OWNER FROM V$SQL_PLAN WHERE OPTION like…
How many users per application in Backend
How many users per application in Backend select application_name, count(user_name) from (SELECT fu.user_name, &nb…
DBMS_SCHEDULER in Oracle Database
DBMS_SCHEDULER in Oracle Database Scheduler in the Oracle Database is done by DBMS_SCHEDULER package. This package can be used to create different types of jobs…
DATAGUARD MONITORING
DATAGUARD MONITORING ==================== Check DB role(PRIMARY/STANDBY): ================================ SELECT DATABASE_ROLE, DB_UNIQUE_NAME INSTANCE, OPEN_M…
OEM CONTROL COMMANDS
OEM CONTROL COMMANDS: ===================== Stop/start and status oms in cloud control =============================== cd $ORACLE_HOME/bin emctl stop oms emctl…
Viewing an Alert Log from ADRCI
You want to view an alert log by using ADRCI commands. To view an alert log with ADRCI, follow these steps: Invoke ADRCI. $ adrci Set the ADR home with the set…
Finding What’s Consuming the Most Undo
Use the following query to find out which SQL statement has run for the longest time in your database. SQL> select s.sql_text from v$sql s, v$undostat u where u…
Determining the Optimal Undo Retention Period
You need to determine the optimal length of time for undo retention in your database. Use the following formula to calculate the optimal value of the UNDO_RETEN…
Unable to Save New Item in Master Items EBS
Error: Unable to save new item in Master Items form (INVIDITM).Also unable to assign the item to new organization.After saving, nothing happens. No error occurs…
adoacorectl.sh: exiting with status 150 & exiting with status 204
Error: Executing service control script: /u01/applR12/inst/apps/TEST_linuxerp1/admin/scripts/adoacorectl.sh stop script returned: ******************************…
Purging the SYSAUX tablespace statistics
Purging statistics from the SYSAUX tablespace Whenever statistics in the dictionary are modified, old versions of statistics are saved automatically for fu…
Query on largetables from remote Client hangs
Symptoms: Particular queries are hanging when they are executed from remote Clients and also when using database links. But the smaller queries are successful a…
ORA-00600: Internal Error Code, Arguments: [krccckp_scn_low]
Symptoms: After converting from Snapshot Standby to Physical Standby, managed recovery fails: ORA-00600: internal error code, arguments: [krccckp_scn_low], [723…
ORA-00600: internal error code, arguments: [krcgrsz_bad_shrink]
Symptoms: When issued alter database open the below error occurs. ORA-00600: internal error code, arguments: [krcgrsz_bad_shrink] Cause: The issue occurs when B…
ORA-1017 after DB upgrade to 12cR2
Symptoms: After db upgrade to 12cR2 user log in fails with ORA-1017. Cause: This is due to sec_case_sensitive_logon set to false. sec_case_sensitive_l…
ORA-16188: LOG_ARCHIVE_CONFIG settings inconsistent with previously started instance
Cause: Setting log_archive_config to null in RAC standby database and Startup of node 2 fails with ORA-16188. Alter system set log_archive_config=” scope=both s…
ORA-28041 Occurs Attempting to Change an Expired Password through Forms
The error occurs when changing expired password after database upgrade to 12cR2. Cause: The SQL client used in Forms 11.1.1.x is not supported against the 12.2.…
EXPDP Failed with ORA-39065, ORA-39079, ORA-06512, ORA-06512, ORA-24033
ERROR : Error Description: IMPDP fails or terminate with following errors. ORA-39065: unexpected master process exception in SEND ORA-39079: unable to enqueue m…
ASM – ORA-00020: maximum number of processes
The Oracle parameter PROCESSES has been exceeded as a result of multiple database instances connecting to the ASM instance. The default value (often 40) is insu…
Query to check Table Full Scan
Query: spool large_table_scans.txt –Find Large Table Scans set linesize 132 SELECT substr(table_owner,1,10) Owner, substr(table…
Size need to check as DBAs
How to find database size? SQL> select sum(bytes)/1024/1024 from dba_data_files; &n…
Deconfig Oracle RAC Grid Installation
Steps to deconfig GRID Installation :- To cleanup the failed installation of GRID,run the script of failed node. [root@test ~]# cd /u01/app/grid/crs/install/roo…
Show the High Water Mark for Specific Table
SET LINESIZE 300 SET SERVEROUTPUT ON SET VERIFY OFF DECLARE CURSOR cu_tables IS SELECT a.owner, a.…
Bursting Fails With File Is Not Accessible From Node/Machine
BI Publisher (formerly XML Publisher) – Version 12.0 to 12.2 [Release 12.0 to 12.2]Information in this document applies to any platform. Issue: Bursting program…
XML Publisher Bursting Failing with error: oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.getSystemTempDirectory
Issue: XML Publisher Bursting program – XDOBURSTREP errors with:Exception null java.lang.NullPointerException at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.get…
WSHPSGL: Pick Selection List Generation Errors Out : ORA-06508: PL/SQL: could not find program unit being called
Issue: WSHPSGL: Pick Selection List Generation Errors Out : ORA-06508: PL/SQL: could not find program unit being called Symptoms: On : 12.1.1 version, Pick Rele…
Script to Monitor Cost Manager and other Inventory Interface Managers
#!/bin/bash ############################################################################### # Script Name : MonInterfaceMgr.sh …
Script to Monitor Long Running Concurrent Requests
#!/bin/bash ############################################################################################# # Script Name : LongRunningReq.sh # # # # Description:…
Script to check workflow mailer service components status and send notification if DOWN
#!/bin/bash ################################################################################### # Script Name : WorkflowStatusCheck.sh # # # # Description: # #…
Script To Monitor "Gather Schema Statistics" concurrent request
#!/bin/bash ############################################################################################################# # Script Name : MonGSSRequest.sh …
Script to Monitor Output Post Processor (OPP) Concurrent Manager
#!/bin/bash ########################################################################### # Script Name : MonOPPMgr.sh &nb…
Script To Monitor Concurrent Managers
#!/bin/bash ########################################################################## # Script Name : CMStatusCheck.sh …
Untitled
R12.2: OUI CLI Cloning Failed While Running adcfgclone appstier dualfs With Registration Driver regclone.drv Missing. Error: When attempting to run comman…
Untitled
…
Untitled
Query to pick up the last one days logs in…
Untitled
Common issue while doing Re-org in 12.1.0.2 database:- While importing the database in 12.1.0.2.. ORA-39346: data loss in character set conversion for object DA…
Untitled
Dynamic script to compile all the invalids:- SELECT CASE WHEN object_type = ‘SYNONYM’ AND owner = ‘PUBLIC’ THEN ‘alter ‘ || owner || ‘ ‘ || DECODE(object_type,…
Untitled
Fixing dblink issue:- create database link ats_ora connect using <username> identified by <password> using ‘<dblink name>’; place the target database tns entry…
Oracle 12c Common User & Local User
Common Users Common user must be created in CDB only. When we create a common user must give C## as prefix …
Datapatch apply on 12c Databases after patch
Datapatch apply steps on 12c Databases after patch- Run the below steps to apply datapatch for all the databases running on 12C RDBMS home. Set environment . or…
Untitled
EXCLUDE=STATISTICS Or EXCLUDE=INDEX_STATISTICS During Datapump Import Still Analyzes The Indexes APPLIES TO: Oracle Database – Enterprise Edition – Version 10.2…
Untitled
While Accessing Public Synonym Getting Error ORA-1775: looping chain of synonyms APPLIES TO: Oracle Database – Enterprise Edition – Version 11.2.0.3 and later S…
Untitled
DataPump Import Results In ORA-39001 Invalid Argument Value ORA-1775 Looping Chain Of Synonyms APPLIES TO: Oracle Database – Enterprise Edition – Version 10.2.0…
Untitled
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL Worked But Nothing In Dba_network_acls APPLIES TO: Oracle Database – Enterprise Edition – Version 11.2.0.2 and later SYMPTOMS:…
Untitled
Different Results Between QUERY Parameter Used With EXP/EXPDP and SQL*Plus APPLIES TO: Oracle Database – Enterprise Edition – Version 10.1.0.2 to 11.2.0.3 [Rele…
View running processes in Oracle DB
View running processes in Oracle DB This will show you a list of all running processes: SET LINESIZE 200SET PAGESIZE 200SELECT PROCESS pid, sess.process, sess.s…
Untitled
DELETE/REMOVE Non Executing Datapump Jobs Step 1:- Normally, we can run the below query to find the datapump jobs and get their status:- SQL> SET lines 150 page…
Start / Stop / Relocate SCAN listener in Oracle 11gR2 RAC
Start/ Stop / Relocate SCAN listener in Oracle 11gR2 RAC1) Check listener status ( login to grid home)a) Check the cluster resource status $ crsctl stat res -tv…

Tablespace Thresholds and Alerts
How to set tablespace thresholds?If you have very less no. of targets and you are using dbcontrol for each database, then use DBMS_SERVER_ALERT package to set.…
Untitled
Removing a NODE from RAC Delete the instance on the node to be removed Clean up ASM Remove the listener from the node to be removed Remove the node from the dat…
Untitled
Data Guard Configuration Primary d/b:- prac1 and Standby d/b :-standby Step-1:- In primary data base prac1. SQL >alter d…
Oracle Online Redefinition
Oracle Online Redefinition When a table records fragmented, the select statement takes more I/O. Its causes a performance issue. …
Find DBID in NOMOUNT Stage
How To Find DBID in NOMOUNT Stage Oracle database identifier in short DBID is an internal,unique identifier for an oracle database. Database admin…
Untitled
Login flow in R12.2 and basic troubleshooting Login flow in R12.2 When a HTTP request is made for EBS, the request is received by the Oracle HTTP Server (OHS).…
Untitled
Find IOPS of an Oracle database There may be a situation where we have to calculate IOPS (Input Output Per Second) of oracle database to know the performance bo…

How to Cancel a Concurrent Request Stuck in the Queue
Some times we get a Request from customers that they are not able to cancel their request because of the following error. “The concurrent manager process that w…
How to change Date & time in AIX.
smitty date # smitty date &n…
Oracle License Calculations
To calculate/compare the user license according to application/responsibility. –In Details which user using which responsibility. SELECT fu.employee…
ORA-04063: package body “APPS.AD_ZD_ADOP” has errors
adop prepare phase was failing with the following error in customer test environment. echo $FILE_EDITION run echo $TWO_TASK test adop phase=prepare Enter…
Oracle Database and Applications Security Audit Part 1
Hello Everyone, I would like to start series of write ups/post based on the experience regarding How to perform Security Audit for oracle database and applicati…
MRP0: Background Media Recovery terminated with error 448
MRP0: Background Media Recovery terminated with error 448 Recently encountered ORA-00448: normal completion of background process Managed Standby Recovery not u…
Untrusted Certificate Issue in ECX (XML PO) transmission
When the XML Gateway (ECX) has been configured for XML PO Transmission , when https protocol has been configured in trading partner setup , valid certific…
Troubleshooting Punchout Issues
This post helps or guide you in fixing all issues related to punchout. 1. When user click over the punchout link, and in the detailed exception message you see…
Assigning Approval Management Responsibilities
This post helps you to assign Approvals Management (AME) responsibilities to a Oracle Applications User Login as SYSADMIN user. Switch the responsibility to “Us…
Troubleshooting Oracle Workflow Mailer Issues
This Post helps you to find almost straight solutions for the issues you are facing in Oracle Workflow Mailer. Assumption: It is assumed that you ha…
Untitled
Resource manager capabilities (limit CPU and sessions) ————————————————————————— — Create plan with consumer groups ————————————————————————— exec dbms_resource…
Untitled
Oracle WebLogic Server does not start after domain creation after installation of WebLogic binaries and creation of the simplest domain configuration (only with…
Renaming UNNAMED datafile(s) to standby database
Renaming UNNAMED datafile(s) to standby database If parameter STANDBY_FILE_MANAGEMENT is set to MANUAL in Oracle standby database you may getthis error when rol…
Find segments with corrupted blocks
Find segments with corrupted blocks RMAN picks up logical block corruption when you use the following option in your backup script: backup full check logi…
Moving Data Files Between Oracle ASM Disk Groups Using RMAN
1. Start RMAN and connect to the target database. $ rman target / connected to target database: ORCL (DBID=1217369048) 2. Generate a report that shows the names…
Fix Pending Distributed Transactions
Here is how to fix Pending Distributed Transactions SELECT * FROM DBA_2PC_PENDING COUNT(*)————– 1 select max(fail_time) from dba_2pc_pe…
Unable to Mount ASM DiskGroup
Your ASM disk group will be vanished for some reasons if you try to mount it you will get an error some thing like the below SQL> alter diskgroup DATA1 mount;&n…
Applying WebLogic 10.3.6.0 PSU and patch conflicts!
Applying latest PSU ?Patch Set Update? for latest bug fixes and security vulnerabilities, (PSU October 2016? Patch ID: K25M Patch No: 23743997 To find the relev…
Steps to find values populated in DBA_TAB_MODIFICATIONS
Goal : The goal is to explain why the view DBA_TAB_MODIFICATIONS does sometimes have no values even when the parameter STATISTICS_LEVEL is set to TY…
Shell Script to Run RMAN Backup in Background with nohup
Please find the below steps. Step 1. Prepare a RMAN command file vi bkup.cmd run { allocate channel ch1 device type disk;allocate channel ch2 device type disk;…
Steps to Purge a Distributed Transaction from a Database. (ORA-24756: transaction does not exist tips)
Please follow the below steps. If the remote database cannot be accessed, a failed distributed transaction cannot be committed or rolled back and so must be pur…
Query to find blocking session details for the past by using time interval
Please find the queries below. 1) The below one will show all the sessions. set lines 170set pages 10000col event format a40col sample_time format a40select to_…
Query to get bind variable, eplan using sql_id and eplan using sql text with table format
Please find the queries below. 1) BIND VARIABLE USING SQL_ID ============================= column name format a30column datatype_string…
Oracle Applications Server level Setups related to Dunning letters
This post related to Oracle Applications Server level Setups related to Dunning letters. Assumption: It is assumed that the Dunning letter process is not c…
Converting HTTPS TO HTTP for Oracle applications
This post is to guide to Convert HTTPS TO HTTP for Oracle applications. 1. Bring down Oracle applications: cd $ADMIN_SCRIPTS_HOME sh adstrtal.sh apps/apps123 2.…

How to debug Outbound ECX Transactions ( XML PO Transmission)
There is a very good diagnostics script provided by oracle support it self. When you execute the sql script, it produces the html output, which shows all…

CE UMX Security Roles Assignment to Cash Management Responsibility
This post is to guide “CE UMX Security” Roles Assignment to Cash Management Responsibility 1. Login to sysadmin , navigate to User Management / Roles and Role I…
SQL Query to get list of user,assigned responsibilties and assigned modules
Below SQL Query helps us to get list of users, assigned responsibilities and its modules. Query gets “Last time the user used the responsibility”, Use…
Oracle Transport Agent for XML Gateway
How to Configure Oracle Transport Agent (OTA) for XML Gateway. OTA Overview: In E-Business Suite Applications (EBS) Release 12 (R12), Jserv is no longer u…
Untitled
Steps to change APPS password in EBS 12.2 From EBS 12.2, after changing APPS password using FNDCPASS/AFPASSWD, we need to perform some additional m…
Punchout Configuration
Overview : What is Punchout? Punchout is a feature from iProcurement and Oracle Supplier Network which allows to access the external catalog and bring the items…

How to Exclude Failure Notice/Any Pattern Emails from Processing in Oracle Applications Workflow
How to Exclude Failure Notice/Any Pattern Emails from Processing in Oracle Applications Workflow When there is a out of office notification or Email got bounced…
Workflow mailer outbound and inbound setup
Workflow mailer outbound and inbound setup for R12 Oracle Applications. Assumption : It is assumed that the setup is being done for both outbound (send emails)…
Untitled
Cannot identify any valid application tier nodes in ADOP_VALID_NODES Issue: PROGRAM : (/u01/oracle/fs1/EBSapps/appl/ad/12.0.0/bin/adzdoptl.pl) TIME : FUNC…
Untitled
Weblogic Server 12.1.2 Performance Issue Due To weblogic.socket.NIOSocketMuxer Weblogic server 12.1.2 in a runnable state consuming h…
Untitled
ERRORS During 12.2.4 Upgrade Error 1: If W…
Untitled
OID EMCTL Agent not starting due to Daylight Savings Timezone Issue The issue was actually because of incorrect timezone daylight savings up…
Untitled
OIDMOS status stop and OID not starting up after crash Our system has a system shutdown in which OID 11.1.1.9 was runni…
Identical parameters in RAC
Parameters that must have identical in RAC database: In a RAC database there may contain several instances and the initialization parameters of all of the insta…
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
During startup,ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance. SQL> startup ORA-32004: obsolete or deprecated parameter(s) specifie…
ORA-12541: TNS:no listener
ORA-12541: TNS:no listener ************************ Resolution: Now you have to follow below mentioned steps to resolve the ORA-12541 issue. STEP-1: First check…
Ora-12560: TNS: protocol adapter error
Ora-12560: TNS: protocol adapter error ************************************************ Make sure that you have set the correct ORACLE_SID: C:>sqlplus sys…
Untitled
ORA-12012: error on auto execute of job “SYS”.”BSLN_MAINTAIN_STATS_JOB” Error in Alert-Log : ORA-12012: error on auto execute of job “SYS”.”BSLN_MAINTAIN_STATS_…
WAIT Event : Log File Sync
Log File Sync : To Find out Storage is the problem? -> Run AWR Report during the problematic time -> Check “Wait Avg(ms)” for the wait event “log file syn…
History of enq: TX – row lock contention
As a DBA, we should be able to provide the history of locks to the application team to check. This is the query to get the information from v$active_sessio…
Untitled
Actualize the old database editions after online patching to avoid possible performance issues: EBS 12.2.3/12.2.4 During Online patching (ADOP) : An addit…
Untitled
Adpreclone Fails in EBS 12.2.3 : There is already an ACTIVE ADOP CYCLE with session id Adpreclone Fails in EBS 12.2.3 : There is already an ACTIVE ADOP CYCLE wi…
Solved ” ORA-16057: server not in Data Guard configuration ” , in oracle dataguard environment
We faced the error ORA-16057 while building a standby database.archives were not shipping to the DR site Now in the production database, Select dest_id,error fr…
EBS R12.2 Cloning Steps
NOTE: The following Clone approach is applicable for the APPLICATION version from R12.2.1 To R12.2.4 ENVIRONMENT:- Source:- BASE_PATH=/s01/oracle/R122 RUN_FILE_…
AWR Snapshots are not generated Automatically
Scenario: ———— Oracle Database 11.2.0.4. My AWR Snapshots were not being generated even though it was full enabled. Basic Checks done: ———————— 1. Checked that…
Tempfiles in Standby database
In a active standby database we had a problem due to temp tablespace. So we increased the temp tablespace by adding a 10G tempfile in the primary database. SQL>…
solved ORA-01187 ORA-01110 in standby database
We got the below error on a active standby databse ORA-01187: cannot read from file because it failed verification tests ORA-01110: data file 73: ‘/u02/oracle/o…
Solved ORA-00304: requested INSTANCE_NUMBER is busy
On starting upan instance in 3 node RAC Database,and got the below error SQL> startup mount ; ORA-00304: requested INSTANCE_NUMBER is busy SQL>EXIT on che…
Untitled
Log files differences in Oracle EBS Release 12.1.3 and Oracle EBS Release 12.2.4 The Log files locations in Oracle EBS Release 12.1.3 are given below: 1.Instanc…
Untitled
How to Change Weblogic user password in Oracle EBS Applications 12.2.5 We can change the ‘weblogic’ user password in EBS Release 12.2.5 using txkUpdateEBSDomain…
“ORA_01033:ORACLE initialization or shutdown in progress” .
Issue: The issue is in racprd database while connecting to service name racprdha1 is showing ORACLE initialization or shutdown in progress. Wor…
ORA-20100: Temporary file creation for FND_FILE failed
Scenario: ———– While running a report in Payables or any of the program errored out and the log file shows the following error in 12.2.4 ORA-20100: Temporary fi…
The Data Guard status of xxxx is Error ORA-03135: connection lost contact from Primary database
We have got a error from OEM “The Data Guard status of xxxx is Error ORA-03135: connection lost contact.”After that, we have resolve the error using b…
How to Check or Validate The RMAN Backups
Step 1: The below command just gives the report of backups that are used to do the restore and recover : RMAN> run { set until time “to_date(‘2016-24-10:9…
Untitled
Script to analyze all tables for the specified schema SET PAGESIZE 0 SET FEEDBACK OFF SET VERIFY OFF SPOOL temp.sql SELECT ‘ANALYZE TABLE “‘ || table_name || ‘”…
Untitled
Displays information on all database sessions with the username column displayed as a hierarchy if locks are present. SET LINESIZE 500 SET PAGESIZE 10…
Untitled
Displays threshold information for tablespace SET VERIFY OFF DECLARE l_warning VARCHAR2(2) := ‘&1’; l_critical VARCHAR2(2) := ‘&2’; BEGIN &n…
Difference between v$sql v$sqltext v$sqltext_with_newlines
Difference between v$sql v$sqltext v$sqltext_with_newlines v$sql : if you have multiple copies of the query: select * from x if user A and B are executing (in s…
Installing various Database Components
col COMP_ID for a20 col VERSION for a15 col STATUS for a10 col COMP_NAME for a40 select COMP_ID, COMP_NAME, VERSION, STATUS from DBA_REGISTRY order by STATUS ;…
ORA-00309: log belongs to wrong database
Message: ORA-00309: log belongs to wrong database Cause: The system cannot access the archived redo log because it belongs to another database. Action: Specify…
ORA-17502: ksfdcre:4 Failed to create file “FILE NAME” / ORA-15173: entry ‘string’ does not exist in directory ‘string’
RMAN> restore spfile from ‘+FRA/SRPRIMT/AUTOBACKUP/2016_07_10/s_788290484.315.788290487’; Starting restore at 10-JUL-16 using channel ORA_DISK_1 channel ORA_DIS…
Converting into RAC instance
Converting into RAC instance Add separate Undo Tablespaces First, Create 2 UNDO tablespaces for the 2 instances.PLINKTST1 > create undo tablespace UNDOTBS1 data…
ORA-12720: operation requires database is in EXCLUSIVE mode
SQL> @create_ctrl.sql CREATE CONTROLFILE REUSE DATABASE “TEST” RESETLOGS FORCE LOGGING ARCHIVELOG * ERROR at line 1: ORA-01503: CREATE CONTROLFILE failed ORA-12…
Changing the heap size of the OMS in EM12c
The Java heap memory utilization for your Oracle Management Service (OMS) should be averaging at under 75%, and anything over this could mean the Garbage C…
To change timeout settings in cluster
CSS ADMINISTRATION: crsctl get css diagwait The time limit is to update the respective output logfiles for every process. crsctl get css disktimeout&…
To check the master node in RAC environment
In 3 node RAC setup,In initial stage–node 3 is the master node. [oracle@host01 ~]$ cat $ORACLE_HOME/log/host01/cssd/ocssd.log |grep ‘master node’ |ta…
Error: Primary database is in MAXIMUM PERFORMANCE mode
Error: RFS[4]: No standby redo logfiles of size 102400 blocks exist Fix: In standby database, standby redo logs on the standby database and the online redo…
Unreachable Alerts in OEM with error meassage as ‘Agent to OMS Communication is broken’
Sometimes, we can see number of alerts stating that OEM is unable ping agent(Agent Unreachable) But when we the check the status of the agent ,it shows up and a…
OEM Critical Alerts:Grid Control Reports Incident (Bea-337 [Weblogicserver])
OEM Critical Alerts:Grid Control Reports Incident (Bea-337 [Weblogicserver]) ========================================================== We can see the below err…
Log File Location in EBS R12
Log File Location in EBS R12 Alert Log File location: $ORACLE_HOME/admin/$CONTEXT_NAME/bdump/alert_$SID.log Trace file location: $ORACLE_HOME/admin/SID_Hostname…
Script to unlock locked users
# ########### # Description: # ########### echo echo “=================================” echo “This script LOCKS database users.” echo “========================…
Shell script for Database COLD Backup in Linux and Solaris
# ################################################# # Database COLD Backup Script. # ################################################# # ########### # Descripti…
Identify the datafiles in number of hosts in hostfile
for host in `cat ~oracle/.rhosts| cut -d”.” -f1|awk ‘{print $1}’|sort -u` do echo ” “ echo “************************” …
Script to check the node Eviction (RAC)
#!/bin/bash . ~/.bash_profile mailid=’nimai.karmakar@hotmail.com’ date=`date +%Y-%m-%d” “%H:` alertlog=/rac/app/oracle/product/11.2.0/dba-scripts/logs/ioe…
Script to find Oracle database performance
This single script provides the overall picture of the database in terms of Waits events, Active/Inactive killed sessions, Top Processes (physical i/…
The automatic installation script for Oracle Database on Linux
#########———— Installing Rpm files —–######## #Change directory to /tmp/install cd /tmp/install #Install all packages that are not installed during OS installat…
User access to database within limits of time
SQL> create user gangai identified by gangai; User created. SQL> grant connect, resource to gangai; Grant succeeded. SQL> conn gangai/gangai Connected. SQL> dis…
Check the concurrent manager status from backend (database)
Check the concurrent manager status from backend (database) SELECT a.USER_CONCURRENT_QUEUE_NAME ” MANAGER_NAME” ,a.MAX_PROCESSES,a.RUNNING_PROCESSES…
Block developers from using TOAD and other tools on production databases
CREATE OR REPLACE TRIGGER block_tools_from_prod AFTER LOGON ON DATABASE DECLARE v_prog sys.v_$session.program%TYPE; BEGIN SELECT program INTO v_prog FROM sys.v_…
ORA-01940: cannot drop a user that is currently connected
ORA-01940: cannot drop a user that is currently connected Solution: sql> drop user oracle;drop user&…
ORA-609 : opiodr aborting process unknown ospid
ORA-609 : opiodr aborting process unknown ospid Solution: Increase the values for INBOUND_CONNECT_TIMEOUT …
ORA-25153 temporary tablespace is empty
ORA-25153 temporary tablespace is empty Solution: Use one of the below to fix the issue. 1. Create n…
Steps to install a Management Agent in silent mode.
Please follow the below steps. 1.On the OMS host, from the OMS home, log in to the EMCLI client. EMCLI Client is available by default with every OMS installatio…
Dynamic query to generate script for compiling invalids manually
Please use the below dynamic query and get the script to compile your invalids instead of compiling 1 by 1. select ‘alter FUNCTION “‘||owner||’”.’||object_name|…
Steps to update the TIME ZONE in a database.
Please follow the below step to update the timezone in a database whenever you upgrade the database if your timezone version is less than 14. SQL> select * from…
OATM Migration Not Completed 100% Errors With: Io exception: invalid arguments in call
OATM Migration Not Completed 100% Errors With: Io exception: invalid arguments in call The issue can be reproduced at will with the following steps: 1. R…

BI Publisher Advanced RTF Template Image, Chart and Graph Techniques
Images and Charts Oracle BI Publisher supports several methods of including images or charts in an Oracle BI Publisher report. • &n…
Running OATM Migration Utility Fails With “sh: syntax error at line 1: `(‘ unexpected “
Running OATM Migration Utility Fails With “sh: syntax error at line 1: `(‘ unexpected “ SYMPTOMS When attempting to run OATM migration utilit…
Populating Oracle Application LOV values from server
Populating Oracle Application LOV values from server path Description This blog is used to explain how to populate the LOV values of the files placed in specifi…
Bank Accounts APPEND , MICR , End Date using API
AR Cash Management Description This blog is used to load Bank and Branch data from the load files. It end date the bank accounts which are invalid. Create new b…
Reminder Alert to PO Workflow Approver
Workflow Mail Notification &…
Oracle HRMS- Person, Assignment , Job , Location Conversion Using Api
Workday Integration Process Description This blog is used to Creating new Person, Assignment, Job creation, Location creation, and Rehiring Person. This blog in…
RMAN ISSUES AND SOLUTIONS
Please find the below steps when u face error like below in RMAN. ISSUE ———– RMAN-00571: =========================================================== RMAN-03009:…
Steps to Create Baseline
File name: create_baseline.sql — — Purpose: Creates a SQL Baseline on a SQL statement in the shared pool. — Usage: &nbs…
Script to find statements that have significantly different elapsed time than before
File name: whats_changed.sql — Purpose: Find statements that have significantly different elapsed time than before. — Usage: …
Move SQL Profile
File name: move_sql_profile.sql — — Purpose: Moves a SQL Profile from one statement to another. – Usage: This scripts…
Script to Find Whether SQL using Profile
break on sql_id on sql_profile on sql_text skip 1 set lines 165 col sql_profile for a30 col sql_text for a60 wrap set verify off set pagesize 999 col username f…
Script to Build Bind Variables
Purpose: Build SQL*Plus test script with variable definitions Description: This script creates a file which can be executed in SQL*Plus. It create…
Query to find out FULL table scan and table extent in a database
Query to find out FULL table scan and table extent in a database 1) The below query will provide all the select statement which is using FTS in the whole databa…
If Condition Options – BASH/SHELL Script
The below conditions can be used in IF condition to match you requirements [ -a FILE ] True if FILE exists. [ -b FILE ]  …
Dataguard Queries
SELECT DATABASE_ROLE, DB_UNIQUE_NAME INSTANCE, OPEN_MODE, PROTECTION_MODE, PROTECTION_LEVEL, SWITCHOVER_STATUS FROM V$DATABASE; Check for messages/errors SELECT…
XML-20201: (Fatal Error) Expected name instead of .
Error : ——- Output post processor failed with below error processing report output Caused by: org.xml.sax.SAXParseException: <Line 17018, Column 25>: XML-2…
Dataguard Background Process
The services required on the primary database are: •Log Writer Process (LGWR) – Collects redo information and updates the online redo logs. It can also create l…
Oracle Standby databases
Types Of standby databases Physical standby database Logical standby database Oracle Active Data Guard(11g) Snapshot standby database (11g) Heterogeneous D…
Step by Step Failover Datagurd
In case of our bad situation with data guard primary database, or not available for production than we can activated standby database as a primary production da…
Step by Step Dataguard Switchover
Step:1 ALTER SESSION SET nls_date_format=’DD-MON-YYYY HH24:MI:SS’; SELECT sequence#, first_time, next_time, applied FROM v$archived_log ORDER BY sequence#; Step…

VGA Graphics Error in Solaris 10
VGA Gr…
Error while running autoconfig in DB Tier
Error while running…
REP-56055 exceeded max connections allowed Oracle Reports Erro
ERROR: REP-56055 exceeded max connections allowed Oracle Reports Error SOLUTION: 1. Find the file $DOMAIN…
Oracle Reports taking more time to load when huge number of users are using at a time
ERROR: Oracle Reports taking more time to load when huge number of users are using at …
ora-28040 no matching authentication protocol in 12C
ERROR: ——————————– ora-28040 no matching authentication protocol in 12C SOLUTION: ——————————- 1. Edit the sqlnet.or…
Oracle Big Data SQL
Oracle Big Data SQL supports queries against vast amounts of big data stored in multiple data sources, including Apache Hive, HDFS, Oracle NoSQL Database, and A…
Software Component Overview for Oracle Big Data
The major software components perform three basic tasks: Acquire Organize Analyze and visualize The best tool for each task depends on the density of the inform…
Software for Oracle Big Data
The Oracle Linux operating system and Cloudera’s Distribution including Apache Hadoop (CDH) underlie all other software components installed on O…
The Oracle Big Data Solution
Oracle Big Data Appliance is an engineered system comprising both hardware and software components. The hardware is optimized to run the enhanced big data softw…
Creating Multiple Indexes on the Same Set of Columns
You can create multiple indexes on the same set of columns when the indexes are different in some way. To create multiple indexes on the same set of columns, th…
Creating an Invisible Index
An invisible index is an index that is ignored by the optimizer unless you explicitly set the OPTIMIZER_USE_INVISIBLE_INDEXES initialization parameter…
Creating an Unusable Index
When you create an index in the UNUSABLE state, it is ignored by the optimizer and is not maintained by DML. An unusable index must be rebuilt, or dro…
Advanced Index Compression
Advanced Index Compression works well on all supported indexes, including those indexes that are not good candidates for the existing prefix compression feature…
About Incidents in OEM
An incident is a single occurrence of a problem. When a problem (critical error) occurs multiple times, an incident is created for each occurrence. In…
Database Smart Flash Cache
If your database is running on Solaris or Oracle Linux, you can optionally add another memory component: Database Smart Flash Cache. Database Smart Flash Cache…
check the load average in Solaris platform
Commands to check the load average in Sola…
OATM Migration Appears to Have Hung. How Can I Monitor It’s Progress?
OATM Migration Appears to Have Hung. How Can I Monitor It’s Progress? The Oracle Applications Tablespace…
Alert Log: Shutdown Waiting for Active Calls to Complete.
Alert Log: Shutdown Waiting for Active Calls to Complete. Error: You are attempting to shut…
Exporting Views as Tables in 12c datapump
Oracle 12c introduces the possibility to export VIEWS as TABLES using the expdp parameter VIEWS_AS_TABLES: VIEWS_AS_TABLES=[schema_name.]view_name[:table_name],…
LOG TIME in 12c datapump
Data Pump – LOGGING. This command-line parameter can have four values: NONE: No timestamp information is displayed. (This is the default.) STATUS: Timestamp mes…
Compress/Uncompressed Data During Import in 12c
COMPRESSION options is COMPRESSION_ALGORITHM=[BASIC | LOW | MEDIUM | HIGH] BASIC offers the most efficient usage of CPU and effective compression ratio; it is d…
Data Pump Enhancements in Oracle Database 12c Release 1 (expdp, impdp)
New parameters of DataPump: LOGGING DISABLE_ARCHIVE_LOGGING (part of the TRANSFORM parameter) ENCRYPTION_PWD_PROMPT COMPRESSION_ALGORITHM
Oracle Database 12C release 1 (12.1)-ENCRYPTION_PWD_PROMPT=Y
There is new option to pass in silent mode encryption password in Oracle 12C during exporting sensitive data. In new version user is asked about password during…
Some Useful DBA Queries Related to TEMP Usage, Free Blocks, Temp tablespace groups, Block Wise Check, Free Extents, Segments etc
Some Useful DBA Queries Related to TEMP Usage, Free Blocks, Temp tablespace groups, Block Wise Check, Free Extents, Segments etc.. To check instance-wise total…

Manual Method to generate Output files(PDF,EXCEL,TXT,HTML) Using BI-Publisher Desktop in EBS When OPP fails or not able to generate Out for some Concurrent Programs.
Manual Method to generate Output files(PDF,EXCEL,TXT,HTML) Using BI-Publisher Desktop in EBS When OPP fails or not able to generate Out for some Concurrent Prog…
Find whether user is active or Inactive in EBS
Query to Find whether user is active or Inactive in EBS SQL : SELECT ‘Active’, valid.* FROM fnd_user valid WHERE valid.user_id IN (SELECT user_…
Script to get SQL ID which has more than one plan hash value.
— Script to get SQL ID which has more than one plan hash value. — This is for last 7 days data from sysdate, SET SERVEROUTPUT ON DECLARE v_co…
Script to find Invalid objects list with Error details
— Script to find Invalid objects list with Error details set lines 170 set pages 10000 col owner format a20 col TEXT format a100 col NAME format a30 col LI…
Steps to purge the FND_OPP_AQ Table if the count reaches the threshold
Steps to purge the FND_OPP_AQ Table if the count reaches the threshold 1) Bring down the Application services before performing this activity 2) Reboot the data…
Untitled
Steps to remove “DATABASE SYSTEM” target from OEM 12C The issue is after removing all the targets from a host , database system targets still appears in the oem…
Steps to drop a private database link
Steps to drop a private database link Below is a step to drop a private database link. As sys user create the following procedure under the schema from which da…
Steps to create database link in other schema
Steps to create db link in other schema Below is a method to create private database link in other schema As sys user create the following procedure under the s…
CRS-0215 & PRKP-1001 when starting RAC database
CRS-0215 & PRKP-1001 when starting RAC database Setup is with oracle 11.2.0.3 , 2 node RAC database. I have created a a new spfle and deleted old one. old…
ORA-29701: Unable to connect to Cluster Manager
ORA-29701: Unable to connect to Cluster Manager When trying to start the ASM instance in cluster, and getting the below error ORA-29701: Unable to connect to Cl…

Error Oracle – 20001
Error Oracle – 20001 When trying to assign responsibility to a user, the following error occurs. ERROR Error Oracle – 20001: ORA-20001: FND_CANT_INSERT_US…

Patch Wizard Configuration and Patch Analysis without accessing the Internet
Patch Wizard Configuration and Patch Analysis without accessing the Internet (Without Providing Metalink Credentials) in EBS R12 1. We c…
OUI-67215: OPatch found the word “warning” in the stderr of the make command.
Opatch Warning During Patch Apply : “ld: warning: option -YP or -Q appears more than once, first setting taken ERROR: ————- You may receive the following warnin…
Show_user_with_top_io
SELECT ses.sid, ses.serial#, ses.osuser, ses.process, sio.physical_reads FROM v$session ses, v$sess_io sio WHERE ses.sid = sio.sid &nb…
Show_statistics_of_connected_users
col osuser format a10 trunc heading “OSUSER AS” col orauser format a10 trunc col machine format a10 trunc col sprogram format a15 trunc col process format a20 t…
Rac_balance_delta
col instance_name format a20 heading “Instance|name” col elapsed_seconds format 999,999 Heading “Elapsed|seconds” col cpu_ms_ps format 999,999.99 heading “CPU m…
Logged on Users
SET linesize 200 PAGESIZE 1000 FEED OFF; COLUMN “sid,serial#” FORMAT A12 COLUMN “pid” FORMAT 999 COLUMN “status” FORMAT A8 COLUMN “schema” FORMAT A10 COLUMN “os…
Invalieds
spool show_summary_invalid_objects.lst set pause off set feed off; set pagesize 10000; set wrap off; set linesize 200; set heading on; set tab on; set scan on;…
Patch Error while appying 22502456 RDBMS Database Patch Set Update 11.2.0.4.160419
Patch Error while appying 22502456 RDBMS Database Patch Set Update 11.2.0.4.160419 Error: ——— The patch directory area…
Current Database Account
set termout off set head off set termout on select ‘User: ‘|| user || ‘ on database ‘ || global_name, ‘(Terminal=’||USERENV(‘TERMINAL…
Datafile Activity
SELECT d.name file_name, d.blocks, f.phywrts, f.phyrds, f.readtim, f.writetim, t.name tablespace_name, f.phywrts/d.blocks wrts_per_block, f.phyrds/d.blocks rds_…
buffer_busy_sample
column wait format a15 column address noprint column piece noprint break on wait select /*+ ordered */ distinct w.wait, t.address, t.piece,…
how to check the database health checkup
spool tuning_stats.txt ttitle ‘SYSTEM STATISTICS’ select ‘LIBRARY CACHE STATISTICS:’ from dual; ttitle off select ‘PINS – # of times an item in the library cach…
how to create sql tuning task
SET LONG 10000; SET PAGESIZE 9999 SET LINESIZE 155 set verify off col recommendations for a150 accept task_name – prompt ‘Task_Name:…
How to find out the active sql details
break on sid skip 1 on serial# on username on executions on status column sid format 9999 column username format a12 column sql_text form a64 select a.sid,a.ser…
Steps to know the rollback segments used by a user
— ############################################################################################# — — %Purpose: Show which Users are accessing which Rollback Segm…
STEPS TO ANALYZE TABLE LIST CHAINED ROWS
— ############################################################################################# — — %Purpose: Show block chaining (chained rows) with ANALYZE TA…
Steps to know the Execution Plan of a DML statment
— ############################################################################################# — — %Purpose: Displays the execution plan for a SQL DML statemen…
Steps to Reclaim Unused Space From Indexes and Tables
— ############################################################################################# — — %Purpose: How to reclaim UNUSED_SPACE from Indexes and Table…
Steps to Tune Redologs undo Checkpoints for Contention,Waits and Number/Duration of Checkpoints
— ############################################################################################# — — %Purpose: Tuning Redologs und Checkpoints (Contention, Waits…
Weblogic Reports and forms services Start/Stop
Weblogic Reports and forms services Start/Stop Start a WebLogic Forms and Reports Services : export MW_HOME=/u01/app/oracle/middleware export DOMAIN_HOME=$MW_HO…
Steps to start and stop a WebLogic domain and managed server
Steps to start and stop a WebLogic domain and managed server Start a WebLogic domain and managed server : export MW_HOME=/u01/app/oracle/middleware export…
Steps to start and stop Node-manager in weblogic
Steps to start and stop Node-manager in weblogic Starting node-manager : export MW_HOME=/u01/app/oracle/middleware export WLS_HOME=$MW_HOME/wlserver_10.3 echo “…
To find the dependent packages or objects related to a package
To find the dependent packages or objects related to a package Below query is used to find the dependencies for an objects or a package So we can avoid the inva…
Query to find current cache hit ratio in database
Query to find current cache hit ratio in database Below query represents the exact cache hit ratio happening currently in database The minimum figure of 89% is…
Steps to Run Expdp Impdp Jobs in Background with nohup mode
How to Run Expdp Impdp Jobs in Background Step 1: Create export or import parameter file $ cat exp.par userid=abc/def job_name=tab_export directory=EXP_DIR dump…
ORA-1166 file number 101 is larger than MAXDATAFILES (100)
In the process of upgrading EBS R12 DB from 11.2.0.3 to 11.2.0.4 using DBUA. The end of the upgrade, DBUA fails with following error message. During the DBUA, I…
Find Roles and Privelages for USER
Following query will be useful to findout Roles and Privileges assigned to a user. Here, used SCOTT as User: COL “USER,HIS ROLES AND PRIVILEGES” FORMAT a100 set…
Log files in Oracle EBS Release 12.1.3 and Oracle EBS Release 12.2.4
The Log files locations in Oracle EBS Release 12.1.3 and Oracle EBS R 12.2.4 are given below: 1.Instance startup and configuration Log files are loc…
Output Post Processor is Down with Actual Process is 0 And Target Process is 1
If you see OPP is Down with Actual Process is 0 And Target Process is 1 then do the following 1. Shutdown concurrent server via command adcmctl.sh under&nb…
R12.2 Autoconfig failing with ORA-06512: at “APPS.ADX_PRF_PKG”, line 83
In the proces of upgrading from R12.1.3 to R12.2.4. I encountered an issue with autoconfig on database side Below is the excert from error log afdbprf.sh starte…
ORA-609 : opiodr aborting process unknown ospid
Cause: The ORA-609 error is thrown when a client connection of any kind failed to complete or aborted the connectionprocess before the server process was comple…
To list table blocks, empty blocks, extent count, and chain block count
SELECT blocks as BLOCKS_USED, empty_blocks FROM dba_tablesWHERE table_name=TNAME;SELECT chain_cnt AS CHAINED_BLOCKSFROM dba_tablesWHERE table_name=TNAME;SELECT…
Query to check the everyday redo logs information
SELECT A.*, Round(A.NUMBER_of_LOGS*B.AVG#/1024/1024) Daily_Avg_Mb FROM ( SELECT To_Char(First_Time,’YYYY-MM-DD’) DAY, Count(1) NUMBER_OF_LOGS, Min(RECID) MIN_RE…
To get the details of audit records for user sessions
select os_username “O/S User”, /*Operating system username used.*/ username “User”, …
How to find the dependencies of schema
SELECT DECODE(referenced_type, ‘NON-EXISTENT’, ‘…..’, referenced_type) Type , referenced_owner,referenced_name Object, name referenced_by, owner, type, ‘ Refere…
Enable trace whenever user logged into DB
We can accomplish this by creating a trigger. Please note that you disable this trigger after you done with your activity. Else it will fill up user dump destin…
Step to Reload JVM in 12c
1. Verify that the following System Requirements are available The Shared Pool has at least 96 MB of free space. The Jav…
ORA-29548: Java system class reported: Solution
ORA-29548: Java system class reported: Solution Check the database for error: SQL> select dbms_java.get_jdk_version() from dual; select dbms_java.get_jdk_…
12c far sync database creation and configuration Step by step using dgmgrl
Create the Pfile for farsync: ===================== Instance parameter file – as a copy of primary database configuration (not necessary) *.audit_file_dest=’/ho…
ACFS File system creation Step by Step
Manual Creation of ACFS filesystem Create the directory for the acfs in each node. ================================ # mkdir -p /oracle/app/oracle/acfsmounts/dat…
Steps to fix below constraint issue while doing an alter table
Please find the below as an example and see the steps for fixing. Failing sql is: ALTER TABLE “ABC”.”DEF” ADD CONSTRAINT “G_490” FOREIGN KEY (“ORDERS_ID”) REFER…
Recreation of Temporary Tablespace
Steps to implement 1. alter database backup controlfile to trace; 2. select file_name,tablespace_name from dba_temp_files; 3. create temporary tablespace tempbk…
ORA-19809: limit exceeded for recovery files
SQL> startup ORACLE instance started. Total System Global Area 599785472 bytes Fixed Size 12…
ORA-16028: new LOG_ARCHIVE_DEST_STATE_2 causes less destinations than LOG_ARCHIVE_MIN_SUCCEED_DEST requires
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ALTERNATE SCOPE=BOTH; ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ALTERNATE SCOPE=BOTH * ERROR at line 1: ORA-02097…
Query to check RMAN job status
Please use the below query to check for RMAN job status in DB level. col INPUT_TYPE format a15 col STATUS format a12 col START_TIME format a18 col END_TIME form…
DRG-10701: preference CTXSYS.DEFAULT_LEXER already exists
While creating oracle text indexes when we get below error. @?/ctx/admin/defaults/drdefus.sql DRG-10701: preference CTXSYS.DEFAULT_LEXER already exists DRG-1070…
Changing the oc4jadmin password for a Application Server
Log in to the server where oc4j is running Locate the following configuration file in the Oracle home of the OC4J instance: ORACLE_HOME/j2ee/oc4j_instance_name/…
Converting Snapshot Standby Database into Physical Standby Database
Oracle uses restore point and Flashback Database feature to accomplish this conversion of snapshot standby database to physical standby database. Restore point…
Converting Physical Standby Database into Snapshot Standby Database
There are three restrictions where we cannot convert to a snapshot. a) If it is the only standby of a Maximum Protection configuration.b) If it is the target of…
Script to generate Schema creation,grants and roles in a database for an existing schema without connecting to TOAD
Please change accordingly as per the need. set long 20000 longchunksize 20000 pagesize 0 linesize 1000 feedback off verify off trimspool on column ddl format a1…
Asadmin with Remote GlassFish
I’ve faced issue while working with Amazon EC2, I’m starting to appreciate how useful theGlassFish asadmin tool is with a remo…
CP Admin in R12.2.5
CP Admin in R12
RAC Grid Infrastucture Startup Sequence and Important Logfile Location
RAC Grid Infrastucture Startup Sequence and Important Logfile Location
Setting up a GoldenGate replication with mapping between different columns
Setting up a GoldenGate replication with mapping between different columns
Adding Custom Fields to a Replicated Record Using SQLEXEC
Adding Custom Fields to a Replicated Record Using SQLEXEC
Adding Custom Fields for a Replicated Record Using
Adding Custom Fields for a Replicated Record Using
Untitled
Performing a healthcheck of a live GoldenGate configuration How to do it… The state of a GoldenGate replication can be checked by performing the following steps…
Steps to configure a BATCHSQL mode in Oracle GoldenGate
Steps to configure a BATCHSQL mode in Oracle GoldenGate How to do it… The BATCHSQL mode can be configured by adding the following parameters in the replic…
Query to find all responsibilities of a user in oracle apps
…
adapcctl.sh: exiting with status 204 in oracle apps
Error: You are running adapcctl.sh version 120.7.12010000.2 Starting OPMN managed Oracle HTTP Server (OHS) instance … adapcctl.sh: exiting with status 204 Cause…
How to change passwords to include special characters using FNDCPASS
Note that the term ‘Special Characters’ is used in this article to refer to those characters who are shown in the table below. Use of the FNDCPASS utility to ch…
Error while running the autoconfig on the apps Node
Error: Autoconfig could not process the following files: Directory: /u01/app/oracle/inst/apps/SVRPRD_svrprdebsal1/ora/10.1.3/Apache/Apache/bi…
IDENTIFYING CORRUPTION SEGMENTS
set linesize 140col owner format a10col segment_type format a10col segment_name format a30col partition_name format a15col file# format 999SELECT e.owner, e.seg…
Top 10 – Biggest Tables and Indexes
set lines 170set pages 20col owner format a20col object format a30col type format a6col tablespace format…
11gR2 RAC ASM using RMAN Multiplexing the control file
STEP 1. Check the current control file status SQL> select name from v$controlfile; NAME ——————————————————————————– +DATA/orcl/controlfile/current.263.800…
ORA-28000 “the account is locked” in the standby database
Scenario: ======= The user attempts to logon and gets an error ORA-28000 “the account is locked” in the primary database which is configure with Dataguard. &nbs…
ASM Diskgroup free space check script
#!/bin/bash ############################################################################### # File Name : asmdiskgroup_free_space.sh # Author &nbs…
Tablespace free space check script
#!/bin/bash ############################################################################### # File Name : tablespace_free_space.sh # Author …
Query String Parse Error
Issue: We had a request to refresh FND_TOP alone. We stopped the application process and refreshed the FND_TOP from production. As expected forms were not…
Commands to rebuild Index, Partitioned Index, LOB Index, IOT (Index Organized Table)
Find the below commands to rebuild Index, Partitioned Index, LOB Index, IOT (Index Organized Table), To rebuild the index: set pagesize 1000 SELECT ‘ALTER INDEX…
EXPDP/IMPDP failing with UDE-31623: operation generated ORACLE error 31623
While exporting we got the following error, UDE-31623: operation generated ORACLE error 31623ORA-31623: a job is not attached to this session via the specified…
Database is getting failed with ORA-27300: OS system dependent operation:semget failed with status: 28 while starting up the database
We got the following error while starting up the database, SYS> startup mount pfile=initabc.oraORA-32006: PARALLEL_SERVER initialization parameter has been depr…
Enterprise Manager Cloud Control 12c Agent Keeps Going Down With java.lang.OutOfMemoryError: unable to create new native thread
If your are getting the below error while starting the 12c OEM agent, java.lang.OutOfMemoryError: unable to create new native thread Then check for the be…
Oracle Application User(s) List With Age Threshold
The Below script will List the Oracle Application users with the specified age limit select papf.employee_number,papf.full_name, papf.date_of_birth from per_all…

How to Find E-Business Suite & E-Business Suite Technology Stack Patches (Doc ID 1633974.2)
How to Find E-Business Suite Patches & E-Business Suite Technology Stack Patches

To unlock OID super user !!!
If you are getting the below error in OID while using ldap, then it means the super user is locked. [oracle@xyz bin]$ ./ldapsearch -h xyz.oracle.com -p 38…
Oracle database 12c – Deprecation of catupgrd.sql and Introduction of catctl.pl Utility
Oracle Database 12c introduces the new Parallel Upgrade Utility, catctl.pl. This utility replaces the catupgrd.sql script that was used in earlier releases. Alt…
Query to find out the status of the undo and temp tablespace usage currently at the time of process execution
For undo ———— set lines 130 col SID_SERIAL format a20 col PROGRAM format a25 col Undo format a30 SELECT TO_CHAR(s.sid)||’,’||TO_CHAR(s.serial#) sid_serial, NVL(…
How to clone Oracle 10g and 11g binaries in silent mode
For the purpose of demonstration, I will clone an existing 11.2.0.2 (11gR2) ORACLE_HOME on the source server. Directories Needed: —————————— Source Server: ————…
Untitled
Creating private database links without user credentials The following process can be followed to create private database link for an user whose login credentia…
Untitled
To copy files from one server to another without promting/giving the password. For example there are two servers hosta and hostb to enable passwordless scp from…
Untitled
Recovering a standby database from missing archive logs There would be scenarios where the standby database lags far behind from the primary database leading to…
Internal error code, arguments [kcratr_nab_less_than_odr]
Solution for kcratr_nab_less_than_odr argument This error may cause due to improper shutdown and will throws the error ORA-00600: internal error code…
Enable Auditing for DB user login attempts in 11g
1 – Add initialization parameters & bounce instance: alter system set audit_trail=db scope=spfile; audit_file_dest=’/u01/app/oracle/mysid/mydir/’ 2 – Enable aud…
12c database table recovery with rman
Rman 12c new features
Using adrci Tool in 11g
Oracle 11g introduces adrci tool. This tool is used to examine contents of ADR repository and also to package information related to a specific problem into a c…
Instance Caging to Manage CPU Usage in 11g R2
Managing CPU usage can be an issue when trying to consolidate multiple databases on to a single server, because if one database starts to hog all the CPU on the…
Automatic SQL Tuning in Oracle Database 11g Release 2 (DBMS_AUTO_SQLTUNE)
Oracle Database 11g Release 2 (11.2.0.2 onward) has some minor changes to the Automatic SQL Tuning feature introduced on Oracle 11g Release 1. In the previous r…
Flashback features of Oracle 11g
Following are the features of Flashback on Oracle 11g 1. Flashback Query, 2. Flashback Database, 3. Flashback Drop 4. Flashback Table. 1. Flashback Query – Supp…
Datapump 11g COMPRESSION Parameter
Prior to 11g only METADATA_ONLY and NONE could be specified. With now COMPRESSION=ALL, dumpfile size can be greatly reduced so no need to use any compression ut…
Recovery Manager (Data Recovery Advisor)
One of the great new features of RMAN in Oracle 11g is the new tool named Data Recovery Advisor. This tool automates the diagnose of the data…
ORA-03113 and ORA-03114 Error when trying to insert on Global Temporary table.
Issue : I was getting ORA-03113 and ORA-03114 Error when trying to insert on Global Temporary table. Reproduce the Issue: Create Global Temporary table: C…
HUNG IN AUTO SQL TUNING TASK
Scenario: In 11.2.0.3 database , we get alert in EM related to metric “Generic Operational Error” or “Generic Operational Error Status “. Occasionally when runn…
Query Result Cache in Oracle Database 11g
Oracle 11g allows the results of SQL queries to be cached in the SGA and reused to improve performance. Setup===== Set up the following schema objects to see ho…
How to determine if an index needs to be rebuilt.
We can get an idea of the current state of the index by using the ANALYZE INDEX VALIDATE STRUCTURE command. The VALIDATE STRUCTURE command can be safely execute…

Oracle GoldenGate Veridata Installation and Configuration
Oracle GoldenGate Veridata Installation and Configuration Oracle GoldenGate Veridata is a product that enables us to compare two sets of data and identify and r…
ORACLE DOWNSTREAM CONFIGURATION STEPS
Oracle DownStream Replication Configuration Technical Specification

Export APEX Application Backup Using Application ID from BACKEND
Shell Script : #BASH export APEX_UTIL_HOME=/u01/Soft/apex/utilities export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1 export CLASSPATH=.:${ORACLE_HOME}/oui…
ORACLE GOLDEN GATE – ZERO DOWNTIME
Introduction: Zero downtime is used to perform a cross platform database migration (in our scenario Linux to CentOS) and also a database upgrade (in our s…

ORACLE GOLDEN GATE – UNIDIRECTIONAL
Introduction: Oracle Golden Gate is a comprehensive software package for real-time data integration and replication in heterogeneous IT environments. The produc…
Rectify lossy data before changing the character set.
As everyone knows the biggest task of changing the character set is clean up the lossy data. Challenge is if we have records in millions means how we are going…
Cluster verify utility fails with the user eqivelence test PRVF-4007 : User equivalence check failed for user “grid”
./runcluvfy.sh stage -pre crsinst -fixup -n racinst1.doyensys.com,racinst2.doyensys.com -verbose Performing pre-checks for cluster services setup Checking…

Installation of 11gR2 Rac on RHEL using VMware and Openfiler
Oracle RAC Architecture A general pictorial guide for how to the install RHEL 5.4 for Oracle RAC can be found here Hostname & I…

Install and configure openfiler (SAN) storage On VMware
Download OpenFiler from the link Click here to download Lets start the OpenFiler installation: &nbs…
ORA-00600: internal error code, arguments: [4194]
ERROR: ====== ORA-00600: internal error code, arguments: [4194], [#], [#], [], [], [], [], [] CAUSE: ====== This also can be cause by the following defect Bug 8…
Expdp Hangs :-
Experience on EXP JOB Hangs :- Oracle DB Version – 10.1/Sun Solaris 5.8 Expdp/Exp hangs for more than 4 hrs, No errors were reported in the alert log…
Step by Step Asm Instance And Database Creation
&nbs…
Flashback Table
Flashback Table
Script to check if sql connectivity hangs in RAC nodes due to different issues
### Schedule the script in crontab every 2 minutes based on need, to check if the sql connectivity is ### successful without hanging in each RAC node. mail_id=`…
How to change Virtual IP and Scan IP in an existing RAC environment
Output of current Host file: =================== # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0…
Calling Operating System Commands From PL/SQL Using External Procedures
Calling Operating System Commands From PL/SQL Using External Procedures (Doc ID 99136.1) Overview The ability to call operating system commands from PL/SQL is a…
Minimal downtime rolling database upgrade to 12c Release 1
Minimal downtime rolling database upgrade to 12c Release 1 This note describes the procedure used to perform a rolling database upgrade from 11.2.0.3 to Oracle…
Windows Batch Script To Generate AWR Report
Windows Batch Script to Generate AWR Report
Oracle E-Business Suite Extensions for Oracle Endeca
Overview: Oracle Endeca Information Discover…
Run SQL Tuning Advisor from SQL Prompt
Get SQL ID===========select distinct hash_value, sql_id, sql_textfrom v$sqlwhere sql_text like ‘%pktable_cat%’and sql_text not like ‘select distinct hash_value,…
ORA-01741: illegal zero-length identifier
Scenario: ======== While adding multiple schemas to a single workspace, we get the following error in Apex version 4.1 which is identified as a Bug in the versi…
Error “ORA-0000: normal, successful completion” during Gather Schema Statistics for AP Schema
ISSUE:——— When attempting to run the concurrent program Gather Schema Statistics for AP schema the following error occurs. ERROR ———- ORA-0000: normal, successf…
Adpreclone.pl fails with RC-50007: Could not create cloning stage area
Issue : adpreclone.pl fails with RC-50007: Could not create cloning stage area. Can see the entire log below. # Calling StageAppsTechStack… Evaluated inter…
Points to look for while writing SQL Code
Avoiding the Pitfalls of Database Programming – this is a very good material which every SQL developer should read. I’m sure when each developer reads this they…

Paper Presentation in AIOUG – Sangam’13
We , From Doyensys , are going to present paper in AIOUG – Sangam’13. Below are the presenter and paper to be presented. Presenter: Somu Chockaling…
ORA-10873: file 1 needs to be either taken out of backup mode or media recovered
Scenario : Database went down due to power fluctuation and during that time hot backup was running.So once we started the database we face the following issue.…
Oracle OS Watcher Black Box Analyzer OSWBBA
OSWatcher Black Box Analyzer (oswbba) is a graphing and analysis utility which comes bundled with oswbb v4.0.0 and higher. oswbba allows the use…
Oracle OS Watcher Black Box
OS Watcher Black Box (oswbb) is a collection of UNIX shell scripts intended to collect and archive operating system and network metrics to aid support in diagno…
Unable to Access Apex due to APEX_PUBLIC_USER password expiry
In 11g database the password for the APEX_PUBLIC_USER expires after 180 days. First check if the details of the profile assigned to the APEX_PUBLIC_USER select…
Installation of Oracle Database 12c
Installation of Oracle Database 12c

ORA-06508 : PL/SQL: Could not find the program unit being called in Package AHL_UMP_SR_GRP Procedure Create_SR_Unit_Effectivity
When we run Depot report in 12.1.3, we end up with the following error. Error: ORA-06508 : PL/SQL: Could not find the program unit being called in Package AHL_U…
Oracle 12c Database New Features
Oracle 12c Database New Features powered by GoBookee.net
Namespace prefix ‘crosstab’ used but not declared
Report Completed with Warning which shows the OPP error in the log file in R12.1.1 Scenario ======== When we tried to run an cutom report using RTF we get…
SQLTXPLAIN
What is SQLTXPLAIN (SQLT)? Ø SQLTXPLAIN is tool to enable users to analyze and tune the&nb…
Oracle 11g Resiliency feature
Oracle 11g Resiliency Feature
REP-3000: Internal error starting Oracle Toolkit
Scenario: ========= Active Users concurrent request Errored out. Log file shows the following error: ================================== APPLLCSP Environment Var…
Installation of Oracle Database Express Edition 11g Release 2 on RHEL5 (Red Hat Enterprise Linux ) using VMware Workstation
Oracle Database Express Edition Docs
Oracle 12c R1 Released Officially
Content From Oracle Press Release Oracle Announces General Availability of Oracle Database 12c, the First Database D…
Script to check AD Jobs which runs more than 60mins
set lines 170 set pages 1000 select distinct t.job_name, TRUNC(t.ELAPSED_TIME * 24 * 60) MINUTES, t.PROGRA…
Extension function error: Method not found ‘xdo_format_currency’
Scenario : ======== After the upgrade from 12.0.4 to 12.1.3 the custom reports are completed with warning and the request log file show there was an error in OP…
Role of APPLSYSPUB, GUEST, APPLSYS, APPS users
Role of APPLSYSPUB, GUEST, APPLSYS, APPS users APPLSYSPUB user/schema in Oracle Applications: When we login to applications, initially oracle applications…
Apex Users Login’s details
select WORKSPACE,APEX_USER,PAGE_NAME, trunc(VIEW_DATE) “Date”, VIEW_DATE from APEX_040100.APEX_WORKSPACE_ACTIVITY_LOG Where workspace in (‘DOYEN’) AND tru…
Find the Max file size in Linux and Last 10 users logins in putty
Find the Max file size: [applmgr@xxxxx out]$ ls -lSr -rwxrwxrwx 1 applmgr oinstall 3703635 Jun 6 15:45 o5829172.out-rwxrwxrwx 1 applmgr…
11g RMAN PL/SQL package CATALOG.DBMS_RCVCAT version 11.02.00.02 in GIS database is not current.
PL/SQL package RCAT.DBMS_RCVCAT version 11.02.00.02 in RCVCAT database is not current. when we are trying to connect the Rman catalog database we are getting&nb…
Script to collect Apache, Jserv, Forms, Jinitiator and Perl version in E-Business suite R12
# +===========================================================================+ # | FILENAME # | R12_Instance_Version_Information.sh # | # | DESCRIPTION # |&nbs…
Oracle 11g Parallel Backup of the Same Datafile
Parallel Backup of the Same Data files in Oracle 11g RMAN In Oracle Database 11g RMAN, the channels can break the datafiles into chunks known as “section…
Check Listening Ports in AIX
To Determine which processes have listening ports on AIX The open source “lsof” tool is great for determining what process has a port open. Unfortun…
Oracle 11g Server Result Cache
In Oracle 11g, there is a new SGA component called result cache, which is used cache SQL query and PL/SQL function results. The database serves the results for…
Oracle 11g ASM Intelligent Data Placement
Intelligent Data Placement enables you to specify disk regions on Oracle ASM disks for best performance. Using the disk region settings, you can ensure that fre…
Script to check AD Patch timing
set lines 130 alter session set nls_date_format=’DD-MON-YY HH24:MI:SS’; select APPS_SYSTEM_NAME,DRIVER_FILE_NAME,start_date,end_date from AD_PATCH_RUNS a,AD_PAT…

You must allow access to at least one attribute group
Scenario: When are working in the inventory module and when we tried to do some transactions, We faced the following issue. Error : You must allow access to at…
Performance issue after 11.2.0.3 Database Upgradation
After the Upgradation from 11.1.0.7 to 11.2.0.3 we started facing performance issue in execution of the custom concurrent program. The program which was running…
OBIEE 11g Analytics : Error while logging into application portal “Authentication failed: invalid user/password”
OBIEE 11g Analytics : Error while logging into application portal “Authentication failed: invalid user/password” When we try to login to OBIEE 11g Analytics aft…
ORA-12537 While Connecting To Database Via Listener
ORA-12537 While Connecting To Database Via Listener Connection to the database server fails with ORA-12537 Local connections working fine but the…
OBIEE 11g Client Admin Tool Connection To Datasource In Offline Mode Fails With Error “The Connection Has Failed”
OBIEE 11g Client Admin Tool Connection To Datasource In Offline Mode Fails With Error “The Connection Has Failed” Created a new repository (RPD) using the Oracl…
ORA-27211: Failed to load Media Management Library
Issue : Rman backup script fails with the below error. But strangely if we run the backup manually it went fine. RMAN-00571: ===================================…
ORA-24067: exceeded maximum number of subscribers for queue APPLSYS.FND_CP_GSM_OPP_AQ
ORA-06512: at “APPS.FND_CP_OPP_IPC”, line 85 ISSUE:XML reports complete in warning This is a freshly cloned instance and all managers and OPP services wer…
Find Total Version Count for Every one hour from AWR table
Script: set serveroutput onset lines 130set verify offaccept v_begin_time prompt ‘Enter BEGIN_TIME DD-MON-YY HH24:MI:SS->’accept v_end_time prompt ‘Enter END_TI…
Hard_Parse Value for every one hour from AWR tables.
Script : set serveroutput on set lines 130 set verify off accept v_begin_time prompt ‘Enter BEGIN_TIME DD-MON-YY HH24:MI:SS->’ accept v_end_time prompt ‘…

SSL Configuration on R12
OS level Required rpm’s: xmlsec1-openssl-1.2.6-3 openssl-0.9.7a-43.18.el4 openssl-devel-0.9.7a-43.18.el4 openssl-devel-0.9.7a-43.18.el4 xmlsec1-openssl-1.2.6-3…

INSTALLING ORACLE APEX 3.1 ON ORACLE 10g
Download…

Configure Apex 4.0 with Apex Listener using Glassfish
Software Requirement: 1.JDK 1.6 or Higher (Download it from http://www.oracle.com/technetwork/java/javase/downloads /jdk7-downloads-1880260.html ) 2…
DBMS_NETWORK_ACL
1. To Drop ACLexec DBMS_NETWORK_ACL_ADMIN.DROP_ACL(‘utlmailpkg.xml’); 2. Create and Assign ACL TO DBUSER and Assign it all host.BEGIN DBMS_NETWORK_ACL_ADMIN.CRE…
Upgrade Oracle Applications 11i with 10g R2
Dear All, Subject : Upgrade Oracle applications11i with 10g R2 . Steps as below: Complete the Installation of Oracle Apps EBS 11.5.10 ( with 9.2.0.6.0 ) with Pr…
Query to check whether the debug option is enabled in the profile
SELECT po.profile_option_name “NAME”, po.USER_PROFILE_OPTION_NAME, decode(to_char(pov.level_id), ‘10001’, ‘SITE’, ‘10002’, ‘APP’, ‘10003’, ‘RESP’, ‘10005’, ‘SER…
Query to check the values of the given profile option
The below Query will give the value for the particular PROFILE OPTION what you give as input. For example if you give the profile name as “ICX_FORMS_LAUNCHER” T…
Oracle 11g Advance Compression Technology
Oracle Compression
Creating External Table
Creating External Table.
OPatch failed with error code 73
Scenario : ========= While running opatch lsinventory we get the following error in db Tier Error : ====== $ opatch lsinventory Invoking OPatch 11.1.0.6.2 Oracl…
Workflow Data Purge
Please review the Workflow data purge presentation using the below link: https://docs.google.com/file/d/0B9yQYdntOc42UXMwQUxKQk5qQnc/edit?usp=sharing
OPP Issue while generating the XML Output in apps 11i
Problem Description: Ø Few XML type concurrent programs taking long time and completed with warning OPP log file registered below error  …
Send emails with UTL_MAIL package in 10g
UTL_MAIL:UTL_MAIL is a wrapper, which internally uses UTL_TCP and UTL_SMTP UTL_MAIL package is much easier to use than the UTL_SMTP package. 1) The package is l…
To generate an email if more than 10 archives are generated in an Hour
SDATE=`date +”%d%b%y %H:%M”`; sqlplus -s ‘/ as sysdba’ @/home/oracle/COOL/archcounthr.sql > /home/oracle/COOL/archcounthr.log; cnt=`cat /home/oracle/COOL/archco…
Failed to start a managed process after the maximum retry limit
Scenario: ======== We have copied the Ias from different machine and while starting opmn we get the following error: Error : ====== [oracle@doyen ~]$ opmnctl st…
The custom manager restarts often by itself
Issue : The custom manager restarts often by itself. Scenario: We have a custom manager XX_Custom_Receiving_mgr which has 3 programs 1. Purchasing &n…
Active Users concurrent program never completes after clone
Version : 12.1.1 Scenario: ======= Active Users concurrent program never completes after clone: Recently we did a clone (R12). Everything worked as expected, ex…
Error Code 160 With OPatch, Crash In $ORACLE_HOME/jdk/jre/bin/libj9jit23.so (Unhandled Exception )
Error: ====== Error Code 160 With OPatch, Crash In $ORACLE_HOME/jdk/jre/bin/libj9jit23.so (Unhandled Exception ) cskront1(/app/oracle/product/11.1.0/OPatch): ./…
Error while loading shared libraries: libdb.so.2: cannot open shared object file
Error : ===== Error while loading shared libraries: libdb.so.2: cannot open shared object file: No such file or directory R12.1.1 Installation on Linux 5.4 I wa…

ORA-04062 signature of package APPS.WSH_DELIVERY_DETAILS_INV has been changes
Error message: =========== APP-WSH-231210 An unexpected Error Occurred for Line .. The Error is ORA-04062 signature of package APPS.WSH_DELIVERY_DETAILS_I…

FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration.
Scenario: After cloning, While launching the forms we get the following error Error : FRM-92101: There was a failure in the Forms Server during startup. This co…
Error while loading shared libraries: libdb.so.2: cannot open shared object file
Scenario: While starting Apache after clone we faced the following error. [applmgr@trinity scripts]$ sh adapcctl.sh start You are running adapcctl.sh version 12…
Apps login shows blank page
Problem : R12 AppsLocalLogin shows blank page Check for the following log file cd $LOG_HOME/ora/10.1.3/j2ee/oacore/oacore_default_group_1 vi application.log Go…
ORA-00600: internal error code, arguments: [krr_init_lbufs_1], [74]
Error : ===== ORA-00600: internal error code, arguments: [krr_init_lbufs_1], [74] Scenario: ======= When we are applying the archives for recovering the databas…
How to check currently active process
Untitled
Secure Configuration Guide for Oracle E-Business Suite Release 12 From Metalink
Security is very important factors for Oracle Apps DBAs. The Metalink Doc : [ID 403537.1], Secure Configuration Guide for Oracle E-Business Suite Release 12, Sh…
AFPASSWD – New password utility in EBS 12.1.2
AFPASSWD: In R12.1.1 and before oracle EBS Versions EBS passwords are changed using FNDCPASS.AFPASSWD Usage and Syntax:• -h – Displays help. From R12.1.2…
FRM-92095 Oracle Jinitiator version too low
FRM-92095 Oracle Jinitiator version too low: Disable JRE 1.7 Auto-Update for All E-Business Suite and Oracle Forms End-Users Oracle Support advising all Forms a…
Oracle Standard Script to find all the Oralce Applications Product related details
One Stop Oracle Standard Script to find all the Oralce Applications Product related details In AD Top we have script by name adutconf.sql ($AD_TOP/sql/adut…
EBusiness Suite Application Techstack component Versions
One Stop Standard Script to Oracle E-BS Application Techstack component Versions: Really Required for Apps DBAs MOS ID :601736.1 On Application Tier Establish t…
Recovering Block Corruption when the block does not belong to any segment
Let me Share one of my recent incident , where im suppose to recover the block which was marked as corrupted and the same was found belongs to free extent [ or…
Purging/Archiving Partial Data from Very Huge Table
Real challange for DBA’s when they archive table , is when they perform partial data archiving from a very huge table. This is my case : I was pushed into…
SQL*Loader-128: unable to begin a session , ORA-01017: invalid username/password; logon denied
Description : ========= The Custom upload program which is using the sqlldr was running fine till yesterday and there was no changes made in the server. But all…
Relink of module “fndfmxit.so” failed
Scenario: While applying the application patch end up with relink error. Note : Issue Occurs in 12.0 and later versions Error: ld: 0711-851 SEVERE ERROR: Output…

FRM-92050 : Failed to connect to the Server: /forms/lservlet-1
Scenario : When we login to Oracle Application R12 we get the following error : Note : Browser version used : IE 8 Error : FRM-92050 : Failed to connect to the…

ORA-06508 ONT_HEADER_Def_Hdlr
ERROR : Unable To Open The Sales Order Form ORA-06508 ONT_HEADER_Def_Hdlr in R12.1.1 with 11.1.0.7 Error while opening Sales Order Form CAUSE : The issue is cau…
EBS R12 Application Purging Routines
Concurrent Processing – Purge Concurrent Request and/or Manager Data Program (FNDCPPUR) Use this program to delete: – &…
Untitled
Query for Scheduled request start on prior run less than 5 mins select cs.request_id,cs.concurrent_program_id,cs.program,cs.argument_text,cr.resubmit_…
ASMlib for RHEL6
Dear all, Oracle has not yet released ASMlib for RHEL6 yet. Oracle’s policy about this can be found in the metalink document id 1089399.1 Regarding ASMLIB…
Script to find who has changed the sysadmin Password
The below script helps us to find the user_name who has changed the sysadmin password SELECT substr(d.user_name,1,30) || ‘~’||substr(f.user_name,1,10)||’~’||sub…
What are the key configuration files of Oracle EBS and Where are the key configuration files located(for 11i and Rel 12)
EXPLANATION OF SOME IMPORTANT CONFIGURATION FILES in 11i:- =================================================== httpd.conf ->This is main Apache configuration fi…
How to find all Form Personalization through script in Oracle APPS
SELECT FORM_ID, FORM_NAME, USER_FORM_NAME, DESCRIPTION FROM FND_FORM_VL WHERE FORM_NAME IN (SELECT FORM_NAME FROM FND_FORM_CUSTOM_RULES GROUP&nbs…
Golden Gate Installation and Configuration
https://docs.google.com/open?id=0B0ip-JHgbUQ7Q01PeFFMTFFOams
How do you restrict (with password) HELP – > Examine – > Debug option in Oracle EBS Forms
How to Make Help Diagnostics Examine be Password Protected OR Not? 1. Login to Applications and choose the System Administrator responsibility. 2. Navigate to P…
How to search for a pattern for all files under a given directory and its subdirectory
How to search for a pattern for all files under a given directory and its subdirectory. Examples with in COMMON_TOP we need to find all files that have the word…
How to get the process id of all active unix process that are related to f60web and kill them
How to get the process id of all active unix process that are related to f60web and build a script at run time to kill them, after executing this unix script no…
To find for files that has been modified before 5 days
Syntax: find {path} –type f –mtime +{days} –ls Eg: find /home/oraapp –type f -mtime +5 –ls
To find files size greater than 100mb
Syntax: To find the files for specific size : find {path} -size +{size} –ls For files greater than 100mb find /home/oraapp –size +100000c -ls
Given a Patch number – To find if a patch is applied or n
i. To verify whether the patch has been already applied query for the patch number in ad_applied_patches as follows, select APPLIED_PATCH_ID, PATCH_…
How to create to Oracle DB User which is like APPS but has only SELECT privileges (this user should not have to use schema name.objectname and all SELECT qeries run from APPS user should work from this DB User as well)
a. Create a user using Create user ‘username’ identified by ‘password’; b. Then execute the fo…
How to create Oracle EBS (Applications User ) with only read privilege
a.Connect to the Oracle EBS b.Select system Administrator responsibility c. Choose Users->Define d. Create a user and give him the corresponding responsibilitie…
Given a concurrent request id how do you find the trace file generated by this request id
Execute the following query and give the request id when asked, that would display the location and name of the trace file generated. column traceid format a8 c…
Script that will list all Concurrent programs for which trace is enabled – output should be Program Name / Shortname / Application
#Script to list the concurrent programs with trace enabled output_log=/tmp/practice/log.txt export output_log sqlplus -S apps/xxxxxxx << EOF spool $output_log s…
Concurrent Request completed with “sqlldr : Permission denied” error
While running the Concurrent Request it has completed with the following Error. Arguments ———— /testapps/apps/apps_st/appl/doyen/12.0.0/Interfaces/DOYENINBOUND/…
While cloning R12 instance apps Tier Error occurs at 3% after running adcfgclone.pl
Error: ====== ouicli.pl INSTE8_APPLY -1…
Script to disable all scheduled requests – After cloning
update fnd_concurrent_requests set phase_code=’C’, status_code=’D’ where phase_code = ‘P’ and (status_code = ‘I’ OR status_code = ‘Q’); and requested_start_date…
Steps to debug “Not able to view Concurrent request Output “
When we try to view the concurrent request output or log files we would get the following Error: ” An error occurred while attempting to establish an Appl…
To check the Size of RAM in Unix
HP-UX swapinfo –tm Linux free –m free -g AIX lsdev -C|grep mem Solaris prtconf|grep -i mem
To check number of CPU’s in the server
Linux cat /proc/cpuinfo | grep “processor”|wc –l HP-UX ioscan -C processor | grep processor | wc –l SUN Solaris psrinfo -v|grep “Status of processor”|wc –l AIX…
To identify High Disk I/o using Unix command
/usr/bin/ps -eo pid,user,pcpu,args | grep -v %CPU | sort -nbk 3 | tail -25
Number of times Purge Concurrent Request execution was run in last 30 days
set pages 1000 set line 132 set head on select r.requested_start_date,r.actual_start_date,r.phase_code,r.status_code,r.actual_completion_date from apps.fn…
Number of times gather schema stats was run in last 30 days
set pages 1000 set line 132 set head on select r.request_id,r.actual_start_date,r.phase_code,r.status_code,r.actual_completion_date,argument_text from app…
Concurrent Requests Average/Max/Min hours runtime details
set linesize 200 col username for a10 col status for a10 col phase for a10 col PNAME for a70 col request_id for 99999999999 col PNAME for a40 select…
OS commands Very useful for DBAs and OS files management
Finding OS Version and Bit OS Version uname -a AIX <ServerName> 3 5 00C8E96B4C00 uname AIX oslevel -r 5300-06 OS Bit lsconf|grep -i kernel Kernel Type: 64-bit p…
How to compress the export on the fly
Exporting a table using MKNOD (On the fly zipping and exporting a table) Note: This method is mainly useful when the table size is huge and when we want to expo…
Using DBV(DB Verify utility)
NOTE: Can be used to identify block corruption Need to identify and pass the block size argument Can be directly run on the file from the OS Prompt Finding Bloc…
RMAN Backups Monitoring
select count(*) from v$backup_async_io where status=’IN PROGRESS’; Session information on backups SELECT s.sid, username AS “User”, program, module, actio…
Restoring a Corrupted Non System Tablespace using RMAN WITHOUT SHUTTING DOWN THE DATABASE
Assumptions 1. Non-system tablespace is corrupted or the datafile of the tablespace is deleted/corrupted. 2. Required archivelogs (‘sysdate – x’) are present in…
Restoring a corrupted Non system datafile RMAN
Assumptions 1. Non-system datafile is corrupted. 2. Required archivelogs (‘sysdate – x’) are present in the archive log dest file system. Datafile Corrupted (Co…
Recovery scenario during loss of Undo tablespace datafile
LOSS OF UNDO TABLESPACE DATAFILE(Complete Recovery and Only will loose the un commited transactions. Loss of undo datafile need the database outage)1. I have cr…
Recovery scenario during Loss of system datafile
LOSS OF SYSTEM DATAFILE (Complete recovery because we have online redo logs and current controlfile) Assumption: – All the archive logs are found in local file…
Recevery scenario during Loss of non system datafile
Loss of non system datafile which not available in last night backup (Complete and Online recovery) Note:(Eg: We have taken th…
Restore/Recovery using RMAN with different scenarios
POINT IN TIME PRODUCTION RESTORE/RECOVERY USING RMAN BACKUPS ASSUMPTION: *This restore recover situation is pertaining to Restoring database from 15th Sep 09 ba…
Cloning Database and Oracle Homes Complete using RMAN
Steps for CLONING USING RMAN RECOVERY WITH ANY STORAGE MANAGER backups CLONING USING RMAN INCOMPLETE RECOVERY (DISK BACKUPS) With Shell script automation.HOW TO…
LATCH Free Sessions Monitoring and Troubleshooting
LATCH COUNT ON DATABASE:set pagesize 5000set lines 180set long 5000col username for a15col osuser for a15col program for a20col “LOGON_TIME” for a23col “LAST_CA…
DB File Scattered read Monitoring and Troubleshooting
Note: This event signifies that the user process is reading buffers into the SGA buffer cache and is waiting for a physical I/O call to return. A db file scatte…
Troubleshooting BUFFER BUSY WAITS
Note: This wait indicates that there are some buffers in the buffer cache that multiple processes are attempting to access concurrently. Query V$WAITSTAT for th…
Oracle Wait Event Analysis
Wait event column seq# format 99999 column EVENT format a30 column p2 format 999999 column STATE format a10 column WAIT_T format 9999 select SID,SEQ#,EVENT,P1,P…
Locked objects analysis
Checking Timing details, Client PID of associated oracle SID set head off set verify off set echo off set pages 1500 set linesize 100 set lines 120 prompt…
To check for Various Locking/Blocking Issues
Different Lock Modes with explanation 0, ‘None’, 1, ‘Null’, 2, ‘Row-S (SS)’, 3, ‘Row-X (SX)’, 4, ‘Share’, 5, ‘S/Row-X (SSX)’, 6, ‘Exclusive’ EXCLUSI…
To Check the Timing Details of SID and event waiting
select a.sid, a.serial#, a.status, a.program, b.event,to_char(a.logon_time, ‘dd-mon-yy hh24:mi’) LOGON_TIME, to_char(Sysdate, ‘dd-mon-yy–hh24:mi’) CURRENT_TIME,…
To check for Long Running Sessions
SESSIONS ACTIVE FOR MORE THAN AN HOUR: set pagesize 5000 set lines 150 col username for a15 col osuser for a15 col program for a20 col logon_time for a20 col st…
Session information on known SID basis
set echo off set linesize 132 set verify off set feedback off set serveroutput on; declare SID  …
Session info based on process id(pid)
set echo off set linesize 132 set verify off set feedback off set serveroutput on; declare SID  …
Details of the Session information
select ‘ Sid, Serial#, Aud sid : ‘|| s.sid||’ , ‘||s.serial#||’ , ‘|| s.audsid||chr(10)|| ‘ DB User / OS User : ‘||s.username|| ‘ &…
To identify the Largest Archivelog generators
select s.sid, username,t.used_ublk,t.used_urec from v$transaction t,v$session s where t.addr=s.taddr order by 3;
Checking rollback/Undo segment info used by SID (single – multiple)
column rr heading ‘RB Segment’ format a18 column us heading ‘Username’ format a15 column os heading ‘OS User’ format a10 column te heading ‘Terminal’ format a10…
To find Sqltext based on the SID
select sql_text from v$sqltext a,v$session b where a.address=b.sql_address and b.sid=&sidnumber order by piece; select b.sid, b.serial#,b.username,a.sql_text, a…
SQL Script to pull out complete Session details information on a single page
Procedure to use 1) Choose a handy location to save this file in Unix server 2) Open a new vi file vi sid.sql 3) Copy the whole content below and save in the si…
To check the sessions with most Active I/O
SELECT DISTINCT wait_class FROM gv$event_name ORDER BY 1; SELECT sql_id, COUNT(*) FROM gv$active_session_history ash, gv$event_name evt WHERE ash.sample_time >…
To get the Most Active SQL in the previous hour
SELECT sql_id,COUNT(*),ROUND(COUNT(*)/SUM(COUNT(*)) OVER(), 2) PCTLOAD FROM gv$active_session_history WHERE sample_time > SYSDATE – 1/24 AND session_type = ‘BAC…
To check the Active Waiting sessions
Select sysdate sample_time, s.sid “SESSION_ID” , decode(w.…
To check the TOP SQL in last 2 minutes sample
select round(avg(max(cnt_tot)) over (order by sample_time RANGE BETWEEN INTERVAL ‘5’ minute PRECEDING AND current row)) as avg,max(cnt_tot) as tot, SAMPLE_time,…
To Check the TOP SQL in last 5 minutes sample
select round(avg(max(cnt_tot)) over (order by sample_time RANGE BETWEEN INTERVAL ‘5’ minute PRECEDING AND current row)) as avg,max(cnt_tot) as tot, SAMPLE_time,…
Top Session per User with CPU Status
select/* if sid not found in v$session then disconnected */decode(nvl(to_char(s.sid),-1),-1,’DISCONNECTED’,’CONNECTED’)“STATUS”,topsession.session_id “SESSION_I…
To get the Top Session Userwise
select /* if sid not found in v$session then disconnected */ decode(nvl(to_char(s.sid),-1),-1,’DISCONNECTED’,’CONNECTED’) “STATUS”, topsession.sessi…
To check the Top Sessions
select ash.session_id, ash.session_serial#, ash.user_id, ash.program, sum(decode(ash.session_state,’ON CPU’,1,0)) “CPU”, sum(decode(ash.…
To get the Top SQL from ASH
select ash.SQL_ID , sum(decode(ash.session_state,’ON CPU’,1,0)) “CPU”, sum(decode(ash.session_state,’WAITING’,1,0)) –…
Top Waiting Session in last 5 minutes
Select session_id, count(*) from v$active_session_history where session_state=’WAITING’ and SAMPLE_TIME > SYSDATE – (60/(24*60)) and rownum<11 group…
To check Top CPU Session in last 5 minutes
Select session_id, count(*) from v$active_session_history where session_state= ‘ON CPU’ and SAMPLE_TIME > sysdate – (120/(24*60)) and rownum<11 group by session…
Scripts to check Rollback Segments information
Rollback segment Information SELECT segment_name, tablespace_name, status FROM sys.dba_rollback_segs; SELECT segment_…
Segments Unable to extend/Segments reached max extents
SET pages 2000 SET verify OFF SET heading off set lines 150 undef warning def Warning=5 spool alter_chunk.sql — Alter tables and table partitions in ts wi…
IDENTIFYING the Activities done in the Tablespace
Find the creation dates of datafiles for the reported tablespace set pagesize 100 select FILE#||’ ‘||CREATION_TIME||’ ‘||TS#…
To check Tablespaces Approaching Max Extents
Approaching Max extents different formula (less than 500 extents to extend) select owner, SEGMENT_NAME, segment_type, tablespace_name, NEXT_EXTENT,PCT_INCREASE,…
To get the Segment Information
select owner, SEGMENT_NAME, segment_type, tablespace_name, NEXT_EXTENT,PCT_INCREASE, INITIAL_EXTENT, EXTENTS, MAX_EXTENTS from dba_segments where tablespace_nam…
To check if tablespace is dictionary managed or locally managed
select tablespace_name, extent_management from dba_tablespaces where tablespace_name = <Tablespace_name> order by 1
To check the Segments Approaching Max extent in specific tablespaces
set linesize 160 set pagesize 9999 alter session set nls_date_format=’dd-mon-RR hh24:mi:ss’; col tbs format a12 col owner format a8 col segment format a30 col t…
To Identify all segments for a tablespace
select * from dba_segments where tablespace_name =’ENIX’ and next_extent > (selectmax(BYTES) from dba_free_space where tablespace_name =’ENIX’) order by next_ex…
To identify the Segments Unable to extend
Segments in TS unable to extend set linesize 150 select tablespace_name||’ ‘||owner||’ ‘||segment_name||’ ‘||next_extent||’ …
To check the SEGMENTS APPROCHING MAX EXTENTS
Identify all objects in the instance that do NOT have maxextents set to “UNLIMITED”Applicable to all database versions –col segment_name format a30 col owner fo…
Scripts related to TEMP TABLESPACE
To check instance-wise total allocated, total used TEMP for both rac and non-rac set lines 152 col FreeSpaceGB format 999.999 col UsedSpaceGB format 999.999 col…
To find Percentage Usage of Undo Tablespace which considers Expired Space
SELECT d.tablespace_name, round(((NVL(f.bytes,0) + (a.maxbytes – a.bytes))/1048576+ u.exp_space),2) as max_free_mb, round(((a.bytes – (NVL(f.bytes,0)+ (1024*102…
Tablespace Monitoring script
select d.tablespace_name,round((d.max – u.bytes)/1024/1024,2) as max_free_mbytes,round(u.bytes*100/d.max,2) as used_pctfrom sys.SM$TS_USED u,(select tablespace_…
Oracle Tablespace Maintenance scripts excluding Undo and Temp tablespaces
To Find % of free space left in Tablespace select (BYTES/1024)/1024 “Used Space(MB)”, total “allocated size(MB)”, maxi “maximum allowable (MB)”, maxi-(BYT…
To get the NLS PARAMETER details
set linesize 150set pagesize 1000col name for a50col parameter for a30col value for a30col member for a50col DATAFILE_NAME for a70col TEMPFILE_NAME for a70col C…
To Find Oracle Server bit (32 or 64bit server)
Method 1) sqlplus “/as sysdba”-> Verify the bit in the banner message of SQLPLUS OR “select banner from v$version;” Method 2) $ cd $ORACLE_HOME/bin …
To check the Instance Uptime
select instance_name||’, up since ‘|| to_char(startup_time,’DD-MON-YYYY HH24:MI:SS’) start_time &nb…
To Identify Space occupied and original space utilized of a database
set numf 999999.99 select sum(bytes)/(1024*1024*1024) “Total Allocated GB”,Total_Consumed_GB from dba_data_files, (select sum(bytes)/(1024*1024*1024) Total_Cons…
To get the DATABASE SCHEMA SIZE from the database
set linesize 150 set pagesize 5000 col owner for a15 col segment_name for a30 col segment_type for a20 col TABLESPACE_NAME for a30 clear breaks clear computes c…
To get the LOGFILES INFORMATION from the database
col member for a65 select lf.MEMBER,l.GROUP#,THREAD#,SEQUENCE#,MEMBERS,bytes/1024/1024 “BYTES IN MB”,ARCHIVED,l.status from v$log l,v$logfile lf where l.GROUP#=…
To get the CONTROLFILES INFORMATION from the database
col name for a90 select * from v$controlfile
To get the TEMPFILES SIZE from the database
select tablespace_name,file_name,bytes/1024/1024 “SIZE_IN_MB” from dba_temp_files order by file_name asc;
To get the TABLESPACE SIZE from the database
select tablespace_name,sum(bytes)/1024/1024 “SIZE_IN_MB” from dba_data_files group by tablespace_name;
To get the datafile sizes from the database
col file_name for a70 col tablespace_name for a30 clear breaks clear computes compute sum of SIZE_IN_MB on report break on report select tablespace_name,file_na…
To get information about the database
Following queries can be used to get information about the database SET LINESIZE 150 SET PAGESIZE 50000 cOL HOST_NAME FOR A25 col LOGINS FOR A20 col STATUS for…
Given a portion of the profile option name – list all profile option name and their value
SELECT t.profile_option_name,v.profile_option_value FROM FND_PROFILE_OPTION_VALUES v, fnd_profile_options t, fnd_profile_options_tl tl where v.profile_option_id…
Concurrent request running abnormally for very long time without completion
1. Identified the long running query by taking trace of the concurrent request 2. Executed the tuning advisor for the problematic query using the following step…
If a Patch is applied when was it applied and what are the files affected by this patch
Step 1: Log in to Oracle Applications ManagerStep 2: Go the Simple Search pageStep 3: Select search criteriaApplied Patches Search PagesSimple Search Patch: Ent…
Issue with using ASMLIB with Multipath Disks
During Grid infrastructure installation root.sh ran successfully in first root and it errored in the second node with the following message as it could not reco…
How To License A New Product in Oracle Applications
1. After we purchase a license for an Application Product/Module, we have to use license manager to record that the product/module is now lic…
Patch restart on failure due to pre-requisites
If the Adpatch Fails due to a pre-requisite Patch or for some other reason and a lot of time has already been spent since the patch has started running th…
Patch Impact Analysis in Oracle Applications R12
Basic Patch Analysis:- 1) view the readme.txt in the patch directory or in metalink, 2) note all the prerequisites the patch tells about, 3) check if the prereq…
Given a Patch number – To find if a patch is applied or not
i. To verify whether the patch has been alread…
To create Oracle DB User like APPS but has only SELECT privileges in EBS
This user should not have to use schema name.objectname and all SELECT qeries run from APPS user should work from this DB User as well a.  …
To create Oracle EBS (Applications User ) with only read privilege
a.Connect to the Oracle EBS b.Select system Administrator responsibility c. Choose Users->Define d. Create a user and give him the corresponding responsibilitie…
Given a concurrent request id how do you find the trace file generated by this request id
Execute the following query and give the request id when asked, that would display the location and name of the trace file generated. column traceid format a8 c…
Script that will list all Concurrent programs for which trace is enabled
#To find concurrent programs for which trace is enabled output_log=/tmp/practice/log.txt export output_log sqlplus -S apps/apps << EOF spool $output_log set pag…
Templates to manage patch information
Patches applied information ==================== https://docs.google.com/spreadsheet/ccc?key=0Ajy49fqduBhhdFUtQS00cW1BMkV4YmZUN01TZHdFZ2c Details of the individ…
To configure Load Balancer in Oracle E-Business Suite R12
Load Balancing configuration for R12: For overview and various options for High Availability (at application tier level) follow Metalink (Oracle My Suppo…
Profile Options that are used commonly by APPS DBA’s
Concurrent Related Profile Options Concurrent: Active Request Limit Value: Numeric This profile options will restrict the number of concurrent reque…
Various ways of enabling trace in E-business suite
Generating a Trace File for Forms Navigate to Menu – Help > Diagnostics Select one of the following options: Regular Trace Trace with Binds Trace with Waits Tra…
USING FNDLOAD FOR OBJECT MOVEMENT
FNDLOAD is one and only oracle solution. It can be defined as a concurrent program that can move Oracle Applications data between database and text file represe…
Oracle iSetup document – Automatic migration of setups in EBS R12
https://docs.google.com/document/d/1CtKNFnMP1w39y0Z8RfCnLZykPWB_qBQiyMDlfxDl8c8/edit
Script to Check Oracle EBS Profile options based on Profile Value
select p.profile_option_name SHORT_NAME, n.user_profile_option_name NAME, decode(v.level_id, 10001, ‘Site’, 10002, ‘Application’, 10003, ‘Responsibility’, 10004…
Useful options in FNDCPASS…Which is good to know!!
Generally we know that FNDCPASS utility can be used to change the apps schema password andindividual base/application schemas (ap,ar,gl,etc etc) password. But t…
Oracle EBS user level scripts

Easy Way to find Ports in Oracle Applications
Here is one of the easy way to find PORT details in Oracle Application environment.1. Login to applmgr user2. cat $CONTEXT_FILE “Pipe” grep “Port” “Pipe” grep -…
Environment Details Template [ E-Business Environment ]
please find Template to store Environment Details [ E-Business Environment ] in the below link. Click ME !!! for template – Environment Details Hope it helps…
Steps to test Oracle DR switchover Simulation with Oracle EBS
Environment Details: Operating System : EL 4 Update 6 Oracle DB &…

Oracle EBS password security measure
Password Related Profile Options in APPS: Signon Password Case :-This profile option is used to force case sensitivity in user passwords. This option allows for…
Steps to Debug Oracle Patch Failure in Oracle Applications
Following are the steps to debug Patch failures in Oracle applications 1) Check the patch log file : Log file for adpatch or apps patch will exist as spec…
Reduce Patching Downtime in Oracle Applications
Following are the various ways to reduce Oracle Application patching downtime. 1. Consolidate Patches Using AD Merge Patch to merge multiple patches into a sing…
R12 Configurations in DMZ
DMZ … Easy to notify as External URL… [ I dont want to explain … what is DMZ ??? Lots of stuff available in MOS Doc : 380490.1 , below is to provide the straigh…
To debug oracle application web server issues after cloning
The AOL/J Setup Test suite consists of a collection of tests that you can run to determine if your web server is configured properly. The suite is made up of Ja…
To display the details of available server CPU resources in UNIX
Display the number of CPUs in HP/UX In HP/UX the ioscan command is used to display the number of processors available on the server. root> ioscan -C processor |…
Common port numbers used for various services of Oracle EBS components
Common port numbers used for various services of Oracle EBS components
Non ASM to ASM Conversion
Before Proceeding to process, please know what is ASM and how to use it. 1. Set the ASM environment and create diskgroup oracle@AIX01]. oraenv ORACLE_SID] +ASM1…
ACL Creation and Access in 11g
1. To Drop ACL exec DBMS_NETWORK_ACL_ADMIN.DROP_ACL(‘utlmailpkg.xml’); 2. Create and Assign ACL TO DBUSER and Assign it all host. — BELOW CODE WILL CREATE NETWO…
Enabling HTTP Header Trace from Firefox
Live HTTP headers is a public add-in for Mozilla browsers that captures HTTP information during navigation, including URLs, cookies, and other headers. Informat…
Enabling HTTP Header Trace from Internet Explorer
HTTPHeaders is an Explorer Bar for Microsoft Internet Explorer that will display the HTTP Headers sent and received by Internet Explorer as you surf the web. It…
Enabling IAS debug in R12 Applications
1. cd $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/config 1. vi oc4j.properties 2. Add: values AFLOG_ENABLED=true AFLOG_LEVEL=statement AFLOG_MODULE=% AFLOG_FILENAME=/tm…
Procedure for generating the DDL statements of the database objects.
There are two parameters used in the specified object, 1. Object Type ==> eg: FUNCTION,PROCEDURE,PACKAGE,TABLE,…
How to Tell if the Oracle Software is 32-Bit or 64-Bit
How to find if the Oracle Client Software is 32-Bit or 64-Bit ? here you can have some ways to find it. You can find whether Oracle Client Software is 32-Bit or…
Data Guard Log Shipping Fails With Error Ora-16191 In 11g
Issue: PING[ARC1]: Heartbeat failed to connect to standby ‘STANDBY’. Error is 16191. Sat Aug 06 02:06:52 2011 Error 1017 received logging on to the standby ————…
REP-3000: Internal error starting Oracle Toolkit
Issue: Recently we had issue with Concurrent requests which having print format of PDF or XML, and the exact error is “REP-3000: Internal error starting Oracle…
Provides a report on the top segments (in bytes) grouped by Segment Type
— +==================================================================+ — PURPOSE: Provides a report on the top segments (in bytes) grouped by Segment Type…
To check for index fragmentation
— +——————————————————————————+ — | PURPOSE : To check for index fragmentation. As a rule of thumb if 10-15% | — |  …

Backup Schedule Template
Report free space fragmentation
— +—————————————————————————-+ — | PURPOSE : Report free space fragmentation. &nb…
List all currently connected user sessions ordered by current PGA size
— +————————————————————————————-+ — | PURPOSE : List all currently connected user sessions ordered by current PGA size | — +————————————————————————…
List all currently connected user sessions ordered by Logical I/O
— +——————————————————————————–+ — | PURPOSE : List all currently connected user sessions ordered by Logical – I/O | — +——————————————————————————–+ SET LI…
List all currently connected user sessions ordered by CPU time.
— +—————————————————————————-+— | DATABASE : Oracle |— | PURPOSE : List all currently connected user sessions ordered by CPU time. |— +—————————————————————————…
To Identify the manager for a given concurrent program
The script given below identifies which manager is going to execute a given Concurrent program: SELECT user_concurrent_program_name, user_concurrent_queue_name…
To identify long running concurrent requests for more than 1 hour.
# To identify the long running concurrent requests for more than 1 hour Mailid=<List of Mail ids> <Set the Environment> sqlplus -s ‘apps/<apps password><<EOF >>…
Apex Listener Configuration for Apex
1) Check java version after completion of glassfish installation . /java -version 2) Go to location /oracle/glassfishv3/jdk/bin and Run ./java -jar /oracle/apex…
Installation of Glassfish for configuring apex frontend
1. Download the Glassfish http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-6u3-jdk-6u26-downloads-439816.html Example File name : java_ee_sdk…
Apex Installation for 11g Instance
Pre Installation Tasks: 1. Create Tablespace for Apex Data and Files.SQL> create tablespace apex datafile ‘//apexd01.dbf’ size 500m;Tablespace created. 2. Ensur…
Concurrent Processing – Best Practices for Performance for Concurrent Managers in E-Business Suite
Generic Tips 1) Sleep Seconds – is the number of seconds your Concurrent manager waits between checking the list of pending concurrent requests (concurrent requ…
Start Tuning….
How to Start tuning: Server Level (Focus from Oracle Database) Whenever there is server level issue, The tuning starts from the server .. Just remember the phra…
Apps User who are assigned a particular responsibility
— This is to list the Apps User who are assigned a particular responsibility select a.user_name,b.responsibility_name from fnd_user a,fnd_responsibi…
List Responsibilities That Can Run a Given Concurrent Program
Purpose ——- This script helps in identifying the list of responsibilities that can run a given concurrent request REM Save this file as whocanrun.sql REM Usage:…
Upgradation of Discoverer from 4i to 10g for Applications 11i CU2 (11.5.10.2)
Upgradation of Discoverer from 4i to 10g for Applications 11i CU2 (11.5.10.2)Environment Details : Operating system : Solaris Sparc 64 Bit (5.10)Applications :…
Issue in Preclone process after upgrading 11i with 10g R2
Dear all, This post is relating to following issue we face after upgrading 11i with 10g R2 in Preclone process of dbTier. ERROR: The version of the OUI found in…
Some ADADMIN Activities Shortcuts
Dear all, This post is to share some shortcuts for adadmin activities. To Enable and disable maintainence mode 1. Enable Maintainence mode sqlplus -s apps/<`app…
Oracle EBS Apps in MS-Vista
Dear All, This post is relating to using Vista in EBS. Info: Vista is certified in Ebs 11i. Permenant solution : Upgrade Sun Java Plug-in JRE 1.5.0_12 Certified…
Sending Mails through Os( Unix ) with Mailx
Dear All, This Post is relating to Useful Operating system techniques to send mails using command : Mailx 1. To send mails with body and without attachments syn…
R12 New Features
Hi, Please find the Release 12 New features through the below link. http://beginapps.blogspot.com/2008/06/release-content-document-release-12.html Thanks & Rega…
Complete Guide for upgrading oracle applications 11i with 10g R2
Dear All, Sub: Upgrading oracle applications 11i with 10g R2. ( This ll be the complete guide for upgradation ) 1. Complete the Installation of Oracle Apps EBS…
How to configure “Forgot your password” link
Dear All, After a very long time,im updating this blog. Sorry for that. Subject :How to enable the “Forgot Your Password” in oracle applications login page : 1.…
Registering a Shell Script in Oracle Applications 11i
Hi all, This post is to discuss : How to register a Host concurrent program or Shell Script in Oracle Applications 11i. Follow Document Id : 156636.1 https://me…
Create a new custom application in Oracle Application 11i
Hi All, This Post is to : Create a new custom application in Oracle Application 11i : For Creating a new Custom Application Please follow Document Id : 216589.1…
OCFS Space Management
Another useful website for Oracle technologists:http://oss.oracle.com/ OCFS: Oracle Cluster File System > What is OCFS? http://oss.oracle.com/projects/ocfs/ > H…
Tools for Oracle Apps DBA
Hi , This is to share basic tools for Oracle Apps DBA s. Thanks & Regards, Allappsdba Blog Team 1. Free Tool for telnet / ssh client [ name : putty ] http://the…