Linux 下 PostgresQL 的高质量 ERD 生成器?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2937723/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 22:31:50  来源:igfitidea点击:

High-quality ERD generator for PostgresQL under Linux?

database-designpostgresqlentity-relationshiperd

提问by Dave Jarvis

Background

背景

MySQL Workbench can produce appealing and high-quality ERDs such as:

MySQL Workbench 可以生成吸引人的高质量 ERD,例如:

Research

研究

What PostgreSQL ERD tools are available that meet the requirements? The following are unsuitable:

有哪些 PostgreSQL ERD 工具可以满足要求?以下是不合适的:

Requirements

要求

Looking for an ERD tool:

寻找 ERD 工具:

  • Visually stunning by default
  • Can reverse-engineer a PostgreSQL (or JDBC-compliant) database
  • Runs on Linux (or under WINE)
  • Export high-resolution PNG (or SVG)
  • Free or Open Source
  • 默认情况下视觉震撼
  • 可以对 PostgreSQL(或 JDBC 兼容)数据库进行逆向工程
  • 在 Linux 上运行(或在 WINE 下)
  • 导出高分辨率 PNG(或 SVG)
  • 免费或开源

采纳答案by jhexp

This is a little bit dated question, but for completeness. What about PgModeler? According to their github repoit's under GPL3. Schema creation works well.

这是一个有点过时的问题,但为了完整性。什么PgModeler?根据他们的github repo,它在 GPL3 下。模式创建效果很好。

回答by Subbu

DbSchemais a Visual Designer for Relational & NoSQL Databases. It can be evaluated 15 days for free. After that a paid License must be purchased.

DbSchema关系数据库和 NoSQL 数据库可视化设计器。可以免费评估 15 天。之后必须购买付费许可证

It can be used to generate a ERD for Postgresql as well as other databases.

它可用于为Postgresql 以及其他数据库生成 ERD 。

Downloading installer

下载安装程序

Installersare available to download for various platforms (Linux, Windows and MacOS).

安装程序可用于各种平台(Linux、Windows 和 MacOS)的下载。

Installing and running DbSchema on Linux

在 Linux 上安装和运行 DbSchema

To install run following commands in your shell:

要在 shell 中安装运行以下命令:

wget https://dbschema.com/download/DbSchema_unix_8_2_5.tar.gz
tar xf DbSchema_unix_8_2_5.tar.gz
cd DbSchema
chmod +x DbSchema_unix_8_x_x.sh

To run DbSchema:

要运行 DbSchema:

./DbSchema_unix_8_x_x.sh

Note:Dependent on the downloaded version (e.g. 8_2_5) the commands above may change (i.e. replace 8_x_xwith downloaded 8_2_5).

注意:根据下载的版本(例如8_2_5),上面的命令可能会改变(即替换8_x_x为下载的8_2_5)。

回答by metamorph

You may try DbVisualizer. In my opinion, DbVisualizer in references graphshas met my needs in generating ERD from existing database.

你可以试试DbVisualizer。在我看来,参考图中的DbVisualizer满足了我从现有数据库生成 ERD 的需求。

回答by Frank Heikens

What about SQL Power Architect? Works for many databases, PostgreSQL included, and on many operating systems.

什么SQL电源建筑师?适用于许多数据库,包括 PostgreSQL,以及许多操作系统。