views:

213

answers:

5

Our application has a fairly large, sprawling DB design, with 175 tables. Most tables are used by one or two primary features, and I'd like to create several little "mini-schemas" to describe the structure of different parts of the system to new hires (without showing them the gigantic total schema which is, frankly, so big as to be useless).

Since these are already-extant tables, I need a tool which will allow me to enter completely custom names for fields and specify connections myself (since some of our foreign keys don't follow the standard naming pattern).

What's the best cheap or free tool for this?

Bonus points if it allows custom colors to be selected for diagram elements (i.e., tables), since this would allow me to create a reassembled version of the schema for discussion of how the major systems interact.

A: 

Check out this Open source Diagramming tool found here.

Here is another called DBDesigner found here.

Hope this helps, Best regards, Tom.

tommieb75
+3  A: 

Well, it doesn't do custom colors, but MySQL Workbench is a free database modelling tool provided by MySQL.

You can even set it up to reverse engineer a full schema diagram just by having it connect to your database. You could take it from there and partition out what you needed into separate modelling diagrams.

zombat
I wound up using this and doing my final markup in Paint.NET. Thanks for the tip!
Arkaaito
+2  A: 

For any kind of graph drawing I really find it hard to beat the utility of Graphviz; but it'd require you to learn a new (and I use "learn" loosely here) language called "dot". The language is incredibly simple, and there's plenty of templates around for using it to document schemas.

On a side note, there's an excellent schema mapping tool which can infer connections based on column names that may get you pretty close to what you need, it's called SchemaSpy.

Mark E
+1  A: 

I enjoy the simplicity of WWW SQL Designer (Demo):

WWW SQL Designer

Alix Axel
A: 

I use Visio. It has a reverse engineer capability that allows you to point to an ODBC source and it will pull in the tables, views and store procedures as drawing elements. If the contraints are present, it will auto connet the tables via their relationship. want to draw a sub-schema, just select the tables you need during the extraction and viola! it also has multiple pages inside the drawing so you can have a master page with everything and subsequent pages with subschema details embedded.

You can also set line styles, fill styles and font styles too. And If you are on MSDN, you already have it...

MikeJ
Do many people on Windows use MySQL?
Chip Uni
I think mysql is used in more places than just the LAMP stack than people realize. We hook a lot of windows and java clients to mysql that started out as internal development systems in government.
MikeJ