Where is Oracle Block Change Tracking Today?

Feb 15, 2013 / By Alex Gorbachev

Tags:

Update 7-May-2013: Almost 100 people filled in the survey and here are the result:

BCT survey results

BCT survey results

Oracle BCT Internals by Alex GorbacheI wrote a presentation on Oracle Block Change Tracking (BCT) internals more than 6 years ago. Back then it was based on Oracle Database 10g Release 1. I have also wrote a paper in support of the presentation for Collaborate 2007 (You are coming to COLLABORATE 13 in April. Aren’t you?).

To the best of my knowledge, the core principles of block change tracking are still the same. In fact, recently Oracle asked me if they could publish this paper in the knowledge base on My Oracle Support so now it’s there — ORACLE 10G BLOCK CHANGE TRACKING INSIDE OUT [ID 1528510.1]. I guess it means it’s still very relevant.

This reminded me that Fast Incremental Backups, enabled by Oracle BCT, is a very handy feature and I see lots of use cases that could leverage it but for some reason don’t. Thus, I wanted to run a quick poll to see how the adoption of BCT is amongst the audience of this blog. If the poll embedded below doesn’t get displayed, you can follow this link.

As a reminder, Block Change Tracking enables Oracle database to keep track of changed fragments of datafiles between incremental backups. Using this log, it’s possible to identify the fragments of a datafile that changed after a particular incremental backup and then only read those fragments during the next incremental backup.

innovationBlock Change Tracking enabled us to deliver some innovative solutions to our customers. One unconventional use case is incrementally updated standby when you need to replicate a database that changes the same blocks over and over again and by that generates so much redo that it’s not feasible to transfer that amount of redo to a remote site (like DR site) for replication. Transferring and applying incremental backups often requires much less bandwidth in these cases. Incrementally updated standby is also a way to replicate large data warehouses that are updated in NOLOGGING mode because standard physical standby doesn’t capture those NOLOGGING changes so Data Guard for Data Warehouse is useless if you need to replicate NOLOGGING changes.

What are your use cases for block change tracking? Take the poll and feel free to provide more details in the comments section below on how you are using the Block Change Tracking feature or what prevents you from the using it.

4 comments on “Where is Oracle Block Change Tracking Today?

  1. Martin Berger on said:

    Alex,
    thank you again for your great paper!
    Based on my observations there are no big new features on BCT even in 11.2.0.3:
    select * from v$fixed_table where name like ‘%$KRC%’ order by object_id; still shows the same 10 tables with identical OBJECT_IDs. Only X$KRCSTAT has 5 new columns: HCI, PMRSLAVES, MEDIA_REC_START_SCN, NEWREDOSCN, OLDCKPTSCN – all Numbers. (in comparison to 10.2.0.5)
    We are using BCT to decide ‘in case we already have enough good full backups within retention, is the amount of changes above a threshold, we do a full BU, otherwise an incremental BU is done’ on per datafile base.

  2. Alex Gorbachev on said:

    Thanks for the update Martin.

  3. Pingback: Oracle Block Change Tracking Internal | Shrikant's Blog

  4. Pingback: Latest data Industry news round up, Log Buffer #308

Leave a Reply

Your email address will not be published. Required fields are marked *

*

HTML tags are not allowed.