How to get ERD diagram for an existing database?

前端 未结 12 1006
灰色年华
灰色年华 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:25

    pgModeler can generate nice ER diagram from PostgreSQL databases.

    • https://pgmodeler.io/
    • License: GPLv3

    It seems there is no manual, but it is easy enough without manual. It's QT application. AFAIK, Fedora and Ubuntu has package. (pgmodeler)

    In the latest version of pgModeler (0.9.1) the trial version allows you to create ERD (the design button is not disabled). To do so:

    1. Click Design button to first create an empty 'design model'
    2. Then click on Import and connect to the server and database you want (unless you already set that up in Manage, in which case all your databases will be available to select in step 3)
    3. Import all objects (it will warn that you are importing to the current model, which is fine since it is empty).
    4. Now switch back to the Design tab to see your ERD.

提交回复
热议问题