Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: rman duplication question

Re: rman duplication question

From: sybrandb <sybrandb_at_gmail.com>
Date: Mon, 12 Nov 2007 07:44:20 -0800
Message-ID: <1194882260.925534.77850@22g2000hsm.googlegroups.com>


On Nov 12, 4:11 pm, Chuck <skilover_nos..._at_bluebottle.com> wrote:
> I have a question for the experts about rman duplication.
>
> First let me explain the problem. We do "refreshes" of development
> databases using an rman duplicate of our production database (exp/imp
> would take way too long). But on production the undo tablespace is
> usually huge compared to the dev ones. So huge that sometimes there's
> not enough space to copy it to dev.
>
> Here's my quesiton. Do I really need to copy that huge undo tablespace?
> If it's only going to be used for recovery of the duplicate, can I do
> something like this? Create a relatively small undo tablespace that is
> not active on the production db. It would only be big enough to do the
> recovery on the aux db. It's sits there idle and never gets used in
> production. Then when I am duplicating to aux, on the aux instance set
> up the init parameters to use that small rollback, and SKIP the big undo
> tablespace.
>
> Shouldn't this work? I mean, doesn't the duplicate process only need an
> undo (any undo) to make the aux db transactionally conistent for recovery?

A database is a database is a database is a database. Oracle considers the database as a whole.
Duplicate duplicates the database. Whatever exists on the target is irrelevant and will be overwritten.
If you really want to hack yourself out, you would need to set up a different (smaller) undo tablespace in the source database (your production)
and revert the change after the deed.

--
Sybrand Bakker
Senior Oracle DBA
Received on Mon Nov 12 2007 - 09:44:20 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US