Archive for April, 2010

Configure Databse to Run in ARCHIVELOG Mode

Part I) First of  all you must configure the following parameters related to database archiving: You have two main options for define archive log destinations: 1) Flash Recovery Area (recommended) In this part, first of[...]


Generate Workload CPU statistics using dbms_stats.gather_system_stats

In Oracle 9i and up, you can generate CPU cost information during a workload with a procedure of the dbms_stats package. The dbms_stats.gather_system_stats packaged procedure can be used during a certain interval to meas[...]


ORA-02292: integrity constraint (%s.%s) violated – child record

You are trying to delete a record, but one or more child records were found, preventing the delete. A (parent / child) relationship between 2 tables are defined by a foreign key constraint. eg: CREATE TABLE PARENT ( ID [...]


How to Safely Remove a Data Guard Broker Configuration

How to Safely Remove a Data Guard Broker Configuration Doc ID: 261336.1 Type: REFERENCE Modified Date: 20-MAY-2009 Status: PUBLISHED PURPOSE ——- How to safely remove a Data Guard Broker conf[...]


Finding specific data in Oracle Tables

Imagine, there are a few tables in your schema and you want to find a specific value in all columns within these tables. Ideally, there would be an sql function like select * from * where any(column) = 'value'; Unfort[...]