|
ttio.rcv
- run{
- set newname for datafile 5 to '/home/oracle/examplettio.dbf';
- restore datafile 5;
- delete datafilecopy '/home/oracle/examplettio.dbf';
- }
复制代码
2014-08-30-plsql.sql:
- select * from v$block_change_tracking;
- SELECT file#, avg(datafile_blocks),
- avg(blocks_read),
- avg(blocks_read/datafile_blocks)
- * 100 AS PCT_READ_FOR_BACKUP,
- avg(blocks)
- FROM v$backup_datafile
- WHERE used_change_tracking = 'YES'
- AND incremental_level > 0
- GROUP BY file#;
复制代码
|
|