INCREMENTAL BACKUP ICIN BLOCK CHANGE TRACKING DOSYASININ OLUSTURMAK

1.AMAÇ VE KAPSAM

 

Incremental backup alımını ve restore işlemini hızlandırmak için BCT dosyasını oluşturmakta yarar vardır.

 

2.UYGULAMA

 

2.1. Veritabanı BCT moddamı diye kontrol ediyoruz.

 

SELECT filename, status, bytes FROM v$block_change_tracking;

 

2.2.  BCT mod’u aktif etmek.

 

DATABASE { ENABLE | DISABLE } BLOCK CHANGE TRACKING USING FILE ‘/home/oracle/bctracking.log’;

 

2.3. Backup aldıktan sonra kontrol için

 

SELECT file#, avg(datafile_blocks), avg(blocks_read), avg(blocks_read/datafile_blocks) * 100 “Yedekleme Yüzdesi”, avg(blocks) FROM v$backup_datafile WHERE used_change_tracking = ‘YES’ AND incremental_level > 0 GROUP BY file#;

tayfun inam

Computer Engineer -Oracle Database Administrator

One thought on “INCREMENTAL BACKUP ICIN BLOCK CHANGE TRACKING DOSYASININ OLUSTURMAK

  • April 12, 2019 at 9:57 pm
    Permalink

    Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details, provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests.

    Reply

Leave a Reply

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