Experience: is what you get soon after you need it.

Experience: is what you get soon after you need it.

****************I am authoring a Book on Oracle Database Cloud Services.......More details to follow.***************

Title : Oracle Database Cloud Revealed
Publisher : Apress
Release Date : Jan-2019

**********************************************************************************


Rasul Allah (sal Allahu alaihi wa sallam) said: "Restore the trusts of those who trust you, and deal not falsely with him who deals falsely with you." [Abu Dawud, Tirmidhi]


My Cloud Certifications:
Oracle Cloud Infrastructure 2018 Certified Architect Associate.
Oracle Cloud Infrastructure Classic 2018 Certified Architect Associate.
Oracle Database Cloud Administrator Certified Professional.
Oracle Database Cloud Service Operations Certified Associate.

Search This Blog

Tuesday, August 11, 2015

Oracle Enable block change tracking

 How to enable block change tracking in Oracle Database 11gR2:

 Database block change tracking if enabled then RMAN can refer to the change tracking file to identify changed blocks in datafiles without scanning the full contents of the datafile. Once enabled, block change tracking does not alter how you take or use incremental backups, other than offering increased performance.

 
SQL> select * from v$block_change_tracking;

STATUS        FILENAME        BYTES
----------------------------------------------------------------------------------------------------------------------------------------------------------
DISABLED


SQL> alter database enable block change tracking using file '+DATA2';

Database altered.


Disable Block change tracking:


SQL> select * from v$block_change_tracking;

STATUS        FILENAME                                BYTES
----------------------------------------------------------------------------------------------------------------------------------------------------------
ENABLED          +DATA2/orcl/changetracking/ctf.281.886864739                11599872

SQL> alter database disable block change tracking;

Database altered.

SQL> select * from v$block_change_tracking;

STATUS       FILENAME                    BYTES
---------- ----------------------------------- ----------
DISABLED
 

No comments: