Q
Manage Learn to apply best practices and optimize your operations.

How to use the Oracle export utility to duplicate database structure

Oracle expert Brian Peasland explains how to use the Oracle export utility to duplicate Oracle database structure without duplicating Oracle data in this tip.

I need to duplicate the structure of an Oracle database, but I do not want to duplicate the data. How can I accomplish this with DBCA?
I would not use the DBCA to do this task because it cannot be used to duplicate anything. Instead, use the Oracle export utility. The following will duplicate the structure without data:

exp file=my_db.dmp full=y rows=n

The ROWS=N parameter will not export any data (no rows). The structure will be in the dump file though. Oracle's import utility can then be used to import the structure into another database. Please refer to your version's Utilities Guide for more information on these two utilities.

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close