How to get ERD diagram for an existing database?

前端 未结 12 1001
灰色年华
灰色年华 2021-01-30 03:00

I have a PostgreSQL database. I want to get its ERD. How can I do so?

相关标签:
12条回答
  • 2021-01-30 03:10

    Download DbVisualizer from : https://www.dbvis.com/download/10.0

    and after installing create database connection:

    Change highlighted detail of your db and test by click ping server. Finally click connect

    Enjoy.

    0 讨论(0)
  • 2021-01-30 03:12

    ERBuilder can generate ER diagram from PostgreSQL databases (reverse engineer feature).

    Below step to follow to generate an ER diagram:

    • Click on Menu -> File -> reverse engineer

    • Click on new connection

    • Fill in PostgresSQL connection information

    • Click on OK

    • Click on next

    • Select objects (tables, triggers, sequences…..) that you want to reverse engineer.

    • Click on next.

    • If you are using trial version, your ERD will be displayed automatically.
    • If your are using the free edition you need to drag and drop the tables from the treeview placed in the left side of application

    0 讨论(0)
  • 2021-01-30 03:13

    I wrote this utility, it automatically generates the DSL code from a postgres database which you can then paste into dbdiagram.io/d website to get ER diagrams

    https://github.com/nsingla/dbdiagrams

    0 讨论(0)
  • 2021-01-30 03:13

    Our team use Visual Paradigm to generate ER diagram from database in many of our projects. While we mainly work on MS SQL and Oracle, as I know they also support some other DBMS like PostgreSQL, MySQL, Sybase, DB2 and SQLite.

    Steps:

    1. Select Tools > DB > Reverse Database... from the toolbar of Visual Paradigm
    2. Keep the settings as is and click Next Select PostgreSQL as driver and provide the driver file there. You can simply click on the download link there to get the driver.
    3. Enter the hostname, database name, user and password, and then click Next
    4. They will then study your database and lists out the tables in it.
    5. Select the table to form an ERD and continue, and that's it. An ERD will be generated with the tables you selected presented.

    BTW they also support generating and updating database schema from ERD.

    Hope this helps. :-)

    More information about generating ERD from PostgreSQL database

    0 讨论(0)
  • 2021-01-30 03:15

    Perhaps have a look at AquaFold's Aqua Data Studio. It is a database IDE with entity-relationship diagramming. It also includes data profiling. It is not free but its price is very reasonable considering its capabilities.

    0 讨论(0)
  • 2021-01-30 03:18

    We used DBVisualizer for that.

    Description: The references graph is a great feature as it automatically renders all primary/foreign key mappings (also called referential integrity constraints) in a graph style. The table nodes and relations are layed out automatically, with a number of layout modes available. The resulting graph is unique as it displays all information in an optimal and readable layout. from its site

    0 讨论(0)
提交回复
热议问题