Search This Blog

Wednesday, November 14, 2012

Oracle Goldengate 11g Initial Load Using Direct Load Method.

This article focuses on initial synchronization of source and
target databases by using Golden Gate initial direct load method for the
purpose of zero downtime DML replication.


Prerequisites:

1) Target Tables should be empty. Otherwise you can get duplicate row errors.
2) Disable Foreign Key and Check Constraints. They can be enabled later on
   when the initial load is complete.
3) (Optional) Remove indexes from target tables as they may slow down the
   initial loading process.
4) To use handlecollisions function, each target table must have a
   primary or unique key. If that's not possible use the KEYCOLS 
   option of the TABLE and MAP parameters. Even if that is not possible
   then quiesce your database for the duration of intial load.

Read more >>

Sunday, November 11, 2012

Delete or Remove Extract & Replicat Processes (Golden Gate 11g).

1)Stop extract/replicat.

kill extract group_name
kill replicat group_name

2)Delete extracat / replicat.

delete extract group_name
delete replicat group_name

3) Cleanup. 

cleanup extract group_name
cleanup replicat group_name

Read more >>

Tuesday, October 30, 2012

How to Tune Shared Pool Cache ?

The one basic rule for tuning the shared pool is to
avoid or minimize parses of any kind, whether they be
soft parses or hard parses.


Parses can only be avoided by your developers by efficiently coding
the application.

As a DBA you can only minimize parses.
Read more >>

Friday, October 5, 2012

Oracle 11gR2 RAC Enable Archive log Mode.

In the cluster log in from anyone of the instances.

In my case it is DELL1

[oracle@rac1 ~]$ export ORACLE_SID=dell1
[oracle@rac1 ~]$ sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Thu Oct 4 16:38:15 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.

Read more >>

Monday, September 24, 2012

Oracle RAC 11gR2 Server Side TAF Using SRVCTL.

Add services on cluster through srvctl.
Read more >>

Sunday, September 23, 2012

Oracle RAC 11gR2 Client Side TAF.

TYPE: TAF supports three types of failover types

1.SESSION failover - If a user's connection is lost, SESSION failover establishes a new session 
automatically created for the user on the backup node. This type of failover does not attempt 
to recover selects. This failover is ideal for OLTP (online transaction processing) systems, 
where transactions are small.

2.SELECT failover – If the connection is lost, Oracle Net establishes a connection to another 
node and re-executes the SELECT statements with cursor positioned on the row on which it was 
positioned prior to the failover. This mode involves overhead on the client side and Oracle 
NET keeps track of SELECT statements. This approach is best for data warehouse systems, 
where the transactions are big and complex

3.NONE: This setting is the default and no failover functionality is provided. Use this setting to
 prevent failover.

Read more >>

Saturday, September 22, 2012

Oracle RAC 11gR2 ACFS Configuration & Snapshots.

On Oracle Version 11.2.0.1 ACFS is only supported on the following OS Platforms.

1) OL5 and RHEL5
2) Windows 2003 R1 (64-bit)
3) Windows 2003 R2 (64-bit)

Oracle ACFS Disk Space Usage.

1) Upto 64 million files in a file system.
2) 63 snapshots.
3) 64 Mounts on 32-bit systems.
4) 256 Mounts on 64-bit systems.
Read more >>