DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: Query for finding databases not using the RMAN catalog for backup..?

Hybrid View

  1. #1
    Join Date
    Jul 2002
    Posts
    205

    Query for finding databases not using the RMAN catalog for backup..?

    Hi,

    We have recovery catalog in RMAN. Most of the databases are registered in catalog. But we are not taking the backup using the RMAN catalog.

    What query I need to use to find out the databases which is not using the catalog for backup..?

  2. #2
    Join Date
    Apr 2001
    Location
    Bangalore, India
    Posts
    727
    May be use can use a simple script to identify when was the last backup registered in the catalog for each database.

    select NAME,max(START_TIME)
    from RC_BACKUP_SET rset, RC_DATABASE rdat
    where rset.DB_KEY=rdat.DB_KEY and rset.DB_ID=rdat.DBID
    group by NAME;


    Be careful if you have too many records in the RC_BACKUP_SET.

    Thanks,
    Thomas Saviour(royxavier@yahoo.com)
    Technical Lead (Databases)
    Thomson Reuters (Markets)

    http://ora600tom.wordpress.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width