Evaluate Weigh the pros and cons of technologies, products and projects you are considering.

Tools for reverse engineering a database

Is there a tool or a script that can be used to generate Oracle database schema to reverse engineer the database?...

I would like to pre-create the tables, indexes, etc. before I import into production. I know you can do this by using indexfile in import utility, but this is too messy. I was wondering if there is any other way.

There are lots of tools on the market. Toad from Quest and Quest's new Knowledge Base tools (previously from RevealNet) will reverse engineer the database for you. And there are other tools as well like Oracle Designer, etc. So they are out there, but they will cost money.

If you are using Oracle 9i, then you can look at the DBMS_METADATA package. This package will reverse engineer any database object for you.

Another free avenue is the export file of the database. You've already mentioned the INDEXFILE option, but the SHOW option also works. Both are a little "messy" though.

And you can search the WWW for many, many scripts out there to do this as well.

For More Information

This was last published in September 2002

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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.