Re: Visualize database schema - Mailing list pgsql-general

From Wolfgang Keller
Subject Re: Visualize database schema
Date
Msg-id 20120814191441.7e4f280039873542e2f55e88@gmx.net
Whole thread Raw
In response to Visualize database schema  (Dario Beraldi <dario.beraldi@gmail.com>)
Responses Re: Visualize database schema  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general
> Can anyone advice about a tool to visualize a database schema?

SQLalchemy, a Python module, can produce dot (Graphviz) output which you
can load into your favourite diagramming application such as e.g.
Omnigraffle, yEd or Dia:

http://www.sqlalchemy.org/trac/wiki/UsageRecipes/SchemaDisplay

Since this can be automated, it's nice for documentation work.

For inclusion in LaTeX documents, the dot output can then be converted
to TikZ with dot2tex, which is also implemented in Python:

http://www.fauskes.net/code/dot2tex/documentation/

If you're looking for DB modeling tools, here's a pretty comprehensive
list:

http://www.databaseanswers.org/modelling_tools.htm

Sincerely,

Wolfgang Keller


pgsql-general by date:

Previous
From: amit sehas
Date:
Subject: Indexing question
Next
From: Andreas Kretschmer
Date:
Subject: Re: Indexing question