Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I am developing this application with an Oracle database. I haven't been documenting the data model, but now an auditor wants to have an entity relationship diagram of my database. There are many tables and creating the ERD in visio manually is out of the question.

I know Toad has Database > Export ER Diagram option, but the result is not exactly presentable because of ugly layout and difficult to edit. Do you know an alternative way which can create a presentable ER diagram? Preferably it will be nice if the resulting diagram is editable and also if the tool is free.

share|improve this question
add comment

6 Answers

up vote 6 down vote accepted

Have you got access to Microsoft Visio?

If you can get an ODBC connection to your Oracle DB then you can use Visio to scan the database. It will display all the entities, relationships, etc.

Have a look at this on Stack Exchange http://stackoverflow.com/questions/4891387/how-can-i-import-the-contents-of-an-oracle-database-into-visio-to-create-an-enti

Hope that helps

share|improve this answer
add comment

Oracle has a free tool SQL Developer that has can presumably reverse engineer an Oracle database.

If the database isn't too large then you could possibly use a tool like DbVisualizer (which is either free or low cost depending on the version). You can only diagram one schema at a time and results aren't directly editible (it's really more of an exploration tool) but you can save the diagram as GML and edit it with a tool such as yEd (which is a free download) (Note that you will need to edit the gml file slightly before bringing it into yEd by replacing all instances of 'customconfiguration "SimpleRectangle"' with 'type "rectangle"').

Note that SQL Developer, DbVisualizer, and yEd are all cross platform tools so you can use them on any system that has Java installed.

Update -- I just tried reverse engineering (154 tables) using SQL Developer. It appears to work reasonably well but it isn't going to win any beauty contests...

share|improve this answer
add comment

There's an open source project in SourceForge called Schema Spy (http://schemaspy.sourceforge.net/) which generates HTML schema reports, including ERDs: http://schemaspy.sourceforge.net/unifieddb/mangos/relationships.html

On the good side this tool is free, however the diagrams are not editable.

share|improve this answer
add comment

SchemaCrawler is a free tool that can generate database diagrams for Oracle, with help from GraphViz. Actually, SchemaCrawler generates GraphViz DOT files, which are plain text files that are editable.

Sualeh Fatehi, SchemaCrawler

share|improve this answer
add comment

I would suggest you to try a free tool called Oracle SQL Developer Data Modeler.

share|improve this answer
add comment

You are using the export graphics feature in Toad but you should instead use the print feature, but instead just printing it, print it to PDF. This will give you non-blurry ER-diagrams.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.