

In the SchemaCrawler configuration file,, this would look like: _opts=-Gdpi=300 A useful Graphviz command-line option to set is -Gdpi=300. SchemaCrawler does not set the dpi, or resolution of generated graphs. or by setting the SC_GRAPHVIZ_OPTS environmental variable.by passing in the additional arguments using the SC_GRAPHVIZ_OPTS Java system property,.using the _opts property in the SchemaCrawler configuration file,.You can provide additional Graphviz command-line options in one of three ways: You can hide empty tables with an additional -no-empty-tables option. You can how table row counts on the database diagram by running SchemaCrawler with the -load-row-counts option. You can decide whether primary key, foreign key and other names, column ordinal numbers, and schema names are displayed by setting the following properties in the SchemaCrawler configuration file,. See weak associations in dotted lines on the diagram, use -weak-associations on the command-line.

#DBSCHEMA PORTABLE HOW TO#
See below for how to generate Mermaid Entity Relationship Diagrams and dbdiagram.io diagrams from your database, which can then be further edited. SchemaCrawler allows editing diagram via third-party applications. An example of a SchemaCrawler database diagram is below.

See the diagram example in the SchemaCrawler examples download. Then you can run SchemaCrawler with the correct command-line options - for example, -command=schema -output-format=png -output-file=graph.png Currently, the the pure Java Graphviz library is only able to generate PNG and SVG diagrams.

Instructions are provided with the SchemaCrawler download, in the diagram example. If installing Graphviz is not an option for you, use the pure Java Graphviz library.
#DBSCHEMA PORTABLE INSTALL#
Install Graphviz first, and ensure that it is on the system PATH. SchemaCrawler relies on Graphviz to generate diagrams. If your schema changes, you can simply regenerate the diagram, without having to know the exact changes that were made to the schema. SchemaCrawler has powerful command-line options to match tables, and then find other tables related to the matched ones, whether they are parent or child tables. You can filter out tables, views, and columns based on regular expressions, using grep functionality. All you need to know is what to search for, in the form of a regular expression. SchemaCrawler is unique among database diagramming tools in that you do not need to know the table names or column names that you are interested in. SchemaCrawler generates database diagrams using Graphviz in any of the output formats supported by Graphviz.
