Search This Blog
Monday, April 16, 2012
Wednesday, March 28, 2012
Oracle GoldenGate DDL Replication.
This post is built upon the previous post on Oracle GoldenGate DML replication. Points to consider before implementing DDl replication. 1) Recyclebin feature should be turned off(Oracle 10g onwards).
Monday, March 26, 2012
Explain Plan Using Statement ID.
SQL>explain plan set statement_id = 'TEST' FOR select * from scott.EMP;
Explained.
SQL>@explain TEST
PLAN OBJECT_NAME OBJECT_TYPE BYTES COST PARTITION_START PARTITION_STOP
--------------------- ------------ ------------ -------- -------- -------------------- --------------
Select Statement 1218 3
1.1 Table Access (Full) EMP TABLE 1218 3
Gathering Oracle Database Statistics Using DBMS_STATS.
Gathering Table Statistics.
Check the table for when it was last analyzed.
SQL> select last_analyzed, sample_size from dba_tables where owner='SCOTT' and
table_name='EMP';
LAST_ANAL SAMPLE_SIZE
--------- -----------
19-MAR-12 14
Friday, March 16, 2012
Oracle GoldenGate Basic DML Replication.
Schema to be replicated "SCOTT".
SOURCE DATABASE.
OS - Red Hat Enterprise Linux Server release 5.4
Hostname - canada
IP Address - 192.168.1.100
Database - Oracle 11g Release 2.
SID - orcl
GoldenGate Version - 11.1.1.1.2
Sample "/etc/hosts" file.
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
192.168.1.100 canada canada
192.168.1.200 london london
Oracle GoldenGate Basic Architecture.
Labels:
11g,
Concepts,
GoldenGate,
Oracle,
Tutorial
Monday, March 12, 2012
Tools & commands for analyzing server performance.
To check for disk space.
[root@london ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 26G 16G 8.3G 66% /
/dev/sda1 99M 12M 83M 12% /boot
tmpfs 742M 0 742M 0% /dev/shm
Subscribe to:
Posts (Atom)
