Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

majidshabani/rman_scripts

Repository files navigation

rman_scripts

Please be aware, all the scripts prefixed witn cat_* must be used against recovery catalog database.

  1. cat_db_detail.sql

What is it: displays the database ID and DATABASE key of the given database name.

Usage:

cat_db_detail.sql

  1. cat_bkp_detail.sql

What is it: shows the backup detail of the given database name for specified time period. Usage: cat_db_detail.sql

Usage:

cat_bkp_detail.sql

  1. cat_list_ctl_bkps.sql

What is it: It shows the backup set details of controlfile for the given DB name using the value obtained from SESSION_KEY column of the previous script or by specifying time period.

Usage:

cat_list_ctl_bkps.sql null OR cat_list_ctl_bkps.sql null

  1. cat_list_spfile_bkps.sql

What is it: The script returns no row If the backup piece doesn’t contain spfile.

Usage:

cat_list_spfile_bkps.sql null OR cat_list_spfile_bkps.sql null

  1. cat_show_arch_scn.sql

What is it: It shows the archive log in the specified backup using of the value obtained from SESSION_KEY column of the 'cat_bkp_detail.sql' script or by specifying time period.

Usage:

cat_list_ctl_bkps.sql null OR cat_list_ctl_bkps.sql null

  1. cat_show_arch_scn.sql

What is it: shows the number of pieces in the specified backup for specific database.

Usage:

cat_piece_count.sql

  1. cat_bkpset_details.sql

What is it: shows all the information is required for restore operation including how many file exists in each backup piece, pnumber of backup pieces, size of backup pieces, control file names, scn value in archivelog backup and so on so forth.

Usage:

cat_bkpset_details.sql

  1. cat_bkp_log.sql

What is it: display the log of RMAN job saved in the catalog db.

Usage:

cat_bkp_log.sql

  1. cat_db_scp.sql

What is it: show the backup script saved in the catalog DB of the given databasename.

Usage:

cat_db_scp.sql

  1. rman_sess.sql

What is it: script shows RMAN session and time needed to perform its operation.

Usage:

rman_sess.sql

  1. rman_tio.sql

What is it: shows how much of data restored by all channels.

Usage:

@ rman_tio.sql

  1. rman_sess_io.sql What is it:

shows how much of data restored by each channel.

Usage:

@ rman_sess_io.sql

  1. cat_bkpset_more_detail

What is it: its shows what is in the specific backup piece also, use it to find the piece that has specific datafile by its file#.

Usage:

@ cat_bkpset_more_detail <file#>

@ cat_bkpset_more_detail null

@ cat_bkpset_more_detail null null

@ cat_bkpset_more_detail null <file#>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published