Syed Saad Ali

Oracle ACE Pro

Oracle Solution Architect

Oracle E-Business Suite

Oracle Cloud Infrastructure

Oracle Fusion Middleware

Oracle Database Administration

Oracle Weblogic Administration

Syed Saad Ali

Oracle ACE Pro

Oracle Solution Architect

Oracle E-Business Suite

Oracle Cloud Infrastructure

Oracle Fusion Middleware

Oracle Database Administration

Oracle Weblogic Administration

Month: September 2017

September 1, 2017 RAC Voting Disk
Installation/Configurations10gInstallation/Configurations11gInstallation/Configurations12cOracle Database Material

Rac Voting Disk

The Voting Disk File is a file on the shared cluster system or a shared raw device file.

Voting disk a key component of clusterware and its failure can lead to inoperability of the cluster.

In RAC at any point in time the clusterware must know which nodes are member of the rso that

  • it can perform load balancing
  • In case a node fails, it can perform failover of resources as defined in the resource profiles
  • If a node joins, it can start resources on it as defined in OCR/OLR
  • If a node joins, it can assign VIP to it in case GNS is in use
  • If a node fails, it can execute callouts if defined

Adding

crsctl add css votedisk <file>

deleting

crsctl delete css votedisk <file>

querying

crsctl query css votedisk

 

 

September 1, 2017 Undo Related Queries Part 1
APPS DBAAppsDBA ScriptsScripts

To check Retention Guarantee for Undo Tablespace

(more…)

September 1, 2017 ORA-04031: unable to allocate adautoconfig.sh dbTier txkcreateACL.sh exiting with status 1
APPS DBAErrors/Workarounds-ApplicationsOracle APPS DBA

ERROR

Checking for existence of the ACL ….

DECLARE

*

ERROR at line 1:

(more…)

September 1, 2017 PL/SQL Code for Counting Rows In Schema Tables
Database ScriptsScripts

PL/SQL Code for Counting Rows In Schema Tables

 

DECLARE
i INTEGER;
BEGIN
dbms_output.Put_line(‘Table Name,Row Count,’
|| To_char(SYSDATE, ‘DD-MON-YYYY HH24:MI:SS’));

FOR v_table IN (SELECT ut.table_name
FROM   user_tables ut) LOOP
EXECUTE IMMEDIATE ‘select count(*) from ‘|| v_table.table_name INTO i;

dbms_output.Put_line(v_table.table_name
|| ‘,’
|| To_char(i));
END LOOP;
END;