RMAN catalog

I need to come up with a way to delete and purge old backup information from RMAN catalogs. Our catalog database has become very slow and sometimes non-responsive for other databases. Whats the best way to do this.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Geert GOracle dbaCommented:
you could unregister an old database from the catalog
> this remove all the entries

there are a few notes about rman performance on the http://support.oracle.com site.
hmm, posting a link doesn't work.
Here is the doc id you need to look for: Doc ID 748257.1
Praveen Kumar ChandrashekatrDatabase Analysist Senior Commented:
you can allocate a maintenance channel and cross check and delete the expired and obsolete data from catalog.

RMAN> allocate channel for maintenance device type disk;
RMAN> crosscheck backup;

check this doc for more info.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
k3vsmithAuthor Commented:
Ok thanks both of you for your responses. Lets take a step back. Do I connect to RMAN database to run these commands? Is connecting to the database the same as connecting to the catalog?
For example:
Im at the prompt
RMAN> connect target /
connected to target database: RMAN

Once here I only see info for the rman database. Like when I do crosscheck's etc. I dont think Im connected to the catalog. How do I do this?
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Praveen Kumar ChandrashekatrDatabase Analysist Senior Commented:
you need to connect to catalog database same as connecting to target i.e

RMAN>CONNECT CATALOG <user_name>/<passwd>@<catlog_db>

the above command will connect to catalog database then you can perform the above mention commands.
k3vsmithAuthor Commented:
Ok thanks, I was able to connect to catalog. When I run crosscheck backup I get tons of backups listed. Is there a way to export the results of this command to a file to review before running delete expired. I am showing 13000 objects as Expired. I want to run these by my manager before deleting. Of course in my putty window I can only scroll up so far. Thanks!
Praveen Kumar ChandrashekatrDatabase Analysist Senior Commented:
You can achieve these in many ways some i have listed here you can log the rman session to a file or you can use spool log in rman.

check these doc for more detail info.

k3vsmithAuthor Commented:
Great, thanks for the help!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.