Search This Blog

Thursday, January 12, 2012

A Brief Introduction to Materialized Views.

The Following tutorial is prepared on Oracle Database 11gR2.

Materialized views facilitate you to execute a SQl query and 
save its results either locally or in a remote database.

After the Materialized view is initially populated it can be
refreshed later on to store fresh results into the underlying 
table.
Read more >>

Wednesday, January 11, 2012

Oracle Database Undo Tablespace Mangement.

Creating undo tablespace.

SQL> create undo tablespace undotbs2 
  2  datafile '/u01/app/oracle/oradata/orcl
     /undotbs201.dbf' size 200m
  3  autoextend on 
  4  extent management local;
Read more >>

Oracle Database Temporary Tablespace Management.

To check for all the default tablespaces in your database 
execute the following query.

SQL> column property_name format a30
SQL> column property_value format a30
SQL> column description format a50
Read more >>

Tuesday, January 10, 2012

Oracle 11g Feature Read Only Tables.

In oracle database 11g you can alter individual tables
to be read only. When in read-only mode, you can’t
issue any DML statements against the table. 

SQL>alter table emp read only;

Table altered.
Read more >>

Sunday, January 8, 2012

Oracle 10g Dataguard Physical Standby.

This tutorial is for configuring
physical standby database.


The dataguard type which we are configuring
here is "Maximum Performance Mode".

Primary Machine IP: 192.168.1.160

Database name:orcl
Read more >>

Monday, January 2, 2012

Oracle 11gR2 Compression feature.

In Oracle 10g we had basic compression in RMAN.
But Oracle 11gR2 has added some more compression features.

There are basically four compression levels.

HIGH   = unmodified BZIP2
MEDIUM = ZLIB
LOW    = LZO
BASIC  = BZIP2
Read more >>

Oracle 11g Feature Multisection Backup.

With this new feature RMAN backups can be split 
into multiple pieces.

Suppose you want to backup your system tablespace and spread the 
backups to three different backup locations.
You can do so through the following query.
Read more >>