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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: User/Schema ?

RE: User/Schema ?

From: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Tue, 28 Aug 2001 05:50:01 -0700
Message-ID: <F001.0037964C.20010828052021@fatcity.com>

Richard,

The easiest way to move the data would be to perform an Export on the production DB,
make sure all of the users/roles exist in the TestDB, and perform an Import. You could also set up database links and simply copy the tables (in logical order to make sure all PK/FK constraints will work). Any PL/SQL stuff you have in the Producution DB will need to be moved by hand.

Just a comment - if it was me, I would create the same tablespaces in development as in production. A true Dev environment should require a structure that prod would follow - just for proper testing and data access mirroring. It will make changes much easier to apply as you move forward - like if you create a new table, and assign it to a tablespace in dev. If you do not have the same tablespace structure, you would need to remember to change the script for prod.

hope this helps

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Monday, August 27, 2001 6:22 PM
To: Multiple recipients of list ORACLE-L

The database setup for an application is as follows...schema1 (owns objects) and schema2 (accesses objects owned by schema1). I need to copy the DB setup for the application to a test server set up with a development-like setup, i.e. instead of the tablespaces that are created in production for the application there is a generic USERS tablespace, etc... Can anyone give suggestions on what the quickest way to copy the schemas would be given the difference with the physical setup (disk layout) and logical setup (different tablespaces)??? What are my alternatives?

TIA, Richard Huntley
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Richard Huntley
  INET: rhuntley_at_mindleaders.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Aug 28 2001 - 07:50:01 CDT

Original text of this message

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