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: How do you create a small version of a large database ?

Re: How do you create a small version of a large database ?

From: Mark C. Stock <mcstockX_at_Xenquery>
Date: Wed, 31 Mar 2004 06:46:50 -0500
Message-ID: <9bCdncb7VtpFMvfdRVn-vg@comcast.com>

"Richard Elliott" <richard.a.elliott_at_williams.com> wrote in message news:8c132b3c.0403301134.5258b0df_at_posting.google.com...
| I want to create a much smaller version of an existing database. I was
| planning on just using export/import with import being objects only,
| no data. The data was going to be loaded with custom sql to select a
| specific subset of the existing database via a BD link. The export
| however creates DDL that has the large extent sizes and these fail
| when being created in the smaller instance since there is not enough
| space in the table spaces. I am trying to create a database that is
| 10% the size of another. I can't edit the export text ( to adjust the
| DDL) without causing it to be corrupt. How else can this be done ?
|
|
| Thanks in advance for the help.

look into dbms_metadata to generate the ddl statements, then apply the appropriate logic to the results to modify the storage parameters

or, if you don't have 9i (version number missing in OP), use a tool to generated the DDL (TOAD does this, as do tools mentioned in other posts) or roll your own routine to generate modified DDL based on the data dictionary views

;-{ mcs Received on Wed Mar 31 2004 - 05:46:50 CST

Original text of this message

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