Database Blog

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 context file…

Read More

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 snapshot of a boot volume without application interruption…

Read More

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…

Read More

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 were modified by an insert, delete…

Read More

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 INTO form.…

Read More

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 columns) that were modified by an…

Read More

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 using the create database statement, then oracle asm enables you…

Read More

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_address=t.address and s.sql_hash_value=t.hash_value and p.spid = 32370;  

Read More

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’,’TABLE SUBPARTITION’,’TABLE PARTITION’) UNION ALL SELECT i.table_name, i.owner, s.bytes FROM dba_indexes i, dba_segments s…

Read More

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 exceptions: [UNEXPECTED] java.sql.SQLException:…

Read More